Porównaj commity

...

11 Commity

Autor SHA1 Wiadomość Data
Christian Paul a45870de45 Merge remote-tracking branch 'origin/master' into unit-tests 2023-02-26 17:57:20 +01:00
Christian Paul 214339dc49 Revert "Hide "Unimplemented type: 4" error" 2023-02-26 17:49:16 +01:00
Christian Paul fbe3d629d0 Upgrade dependencies 2023-02-26 17:40:17 +01:00
dependabot[bot] 4fe9a60a0c
Bump jsdom from 16.4.0 to 16.7.0 (#118)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.7.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 16:14:17 +01:00
dependabot[bot] 1ac31f62e9
Bump ansi-regex from 4.1.0 to 4.1.1 (#125)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 16:13:15 +01:00
dependabot[bot] 84f29b8e8b
Bump minimatch from 3.0.4 to 3.1.2 (#126)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 16:12:38 +01:00
dependabot[bot] dcc2508761
Bump json-schema and jsprim (#127)
Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together.

Updates `json-schema` from 0.2.3 to 0.4.0
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.3...v0.4.0)

Updates `jsprim` from 1.4.1 to 1.4.2
- [Release notes](https://github.com/joyent/node-jsprim/releases)
- [Changelog](https://github.com/TritonDataCenter/node-jsprim/blob/v1.4.2/CHANGES.md)
- [Commits](https://github.com/joyent/node-jsprim/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: indirect
- dependency-name: jsprim
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 16:12:16 +01:00
dependabot[bot] bae6fcfc93
Bump node-fetch from 2.6.1 to 2.6.7 (#119)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 13:13:13 +01:00
dependabot[bot] e39cd8783b
Bump decode-uri-component from 0.2.0 to 0.2.2 (#122)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 13:12:49 +01:00
dependabot[bot] c093199c65
Bump json5 from 2.1.3 to 2.2.3 (#124)
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 13:12:24 +01:00
dependabot[bot] edeb0ebb2d
Bump qs from 6.5.2 to 6.5.3 (#123)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 13:12:10 +01:00
3 zmienionych plików z 1850 dodań i 1509 usunięć

3334
package-lock.json wygenerowano

Plik diff jest za duży Load Diff

Wyświetl plik

@ -33,21 +33,21 @@
"dependencies": {
"@mapbox/vector-tile": "^1.3.1",
"bresenham": "0.0.4",
"earcut": "^2.2.3",
"earcut": "^2.2.4",
"env-paths": "^3.0.0",
"keypress": "^0.2.1",
"node-fetch": "^3.2.4",
"node-fetch": "^3.3.0",
"pbf": "^3.2.1",
"rbush": "^3.0.1",
"simplify-js": "^1.2.4",
"string-width": "^5.1.2",
"term-mouse": "^0.2.2",
"x256": "0.0.2",
"yargs": "^17.4.1"
"yargs": "^17.7.1"
},
"devDependencies": {
"eslint": "^8.14.0",
"eslint-plugin-jest": "^26.1.5",
"jest": "^28.0.3"
"eslint": "^8.35.0",
"eslint-plugin-jest": "^27.2.1",
"jest": "^29.4.3"
}
}

Wyświetl plik

@ -25,18 +25,7 @@ export default class Tile {
}
_loadTile(buffer) {
try {
this.tile = new VectorTile(new Protobuf(buffer));
} catch (error) {
// Ignoring upstream issue https://github.com/rastapasta/mapscii/issues/87
if (error.message === 'Unimplemented type: 4') {
this.tile = {
layers: [],
};
return;
}
throw error;
}
this.tile = new VectorTile(new Protobuf(buffer));
}
_unzipIfNeeded(buffer) {