Commit Graph

298 Commits

Author SHA1 Message Date
Christian Paul
af464f3c9b Make _seen local to a single render and make it safer by using Set 2024-11-03 17:02:46 +01:00
Christian Paul
91855972b8 _addBoundaries: Use safe integers as default boundary 2024-11-03 17:01:35 +01:00
Christian Paul
ec0877830a Suggest Bun and Deno 2; Upgrade most packages; Remove babel, ESLint and jest as dependencies 2024-11-03 16:25:18 +01:00
Christian Paul
81a7fdea12 Upgrade RBush; add @mapbox/mbtiles 2024-11-03 15:41:25 +01:00
Christian Paul
9d8a2d76f1 More types and refactoring; require @mapbox/mbtiles 2024-11-03 15:36:18 +01:00
Christian Paul
c55157878f More types 2024-11-03 11:06:19 +01:00
Christian Paul
e18d1214d8 More types and small refactorings (runs with Bun and Deno 2.0) 2024-11-03 10:42:19 +01:00
Christian Paul
98051b62ca Translate to TypeScript (runs with "bun run main.ts") 2024-11-02 16:01:04 +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
Christian Paul
76f541db46
Test on Node 14, 16 and 18 2022-04-29 20:03:20 +02:00
dependabot[bot]
2315a3515c
Bump path-parse from 1.0.6 to 1.0.7 (#109)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-31 23:28:17 +02:00
dependabot[bot]
7f0c04cb49
Bump hosted-git-info from 2.8.8 to 2.8.9 (#102)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 03:59:48 +02:00
dependabot[bot]
c58da4e86f
Bump ws from 7.3.1 to 7.4.6 (#103)
Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.3.1...7.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 03:59:00 +02:00
dependabot[bot]
f2a694f26d
Bump glob-parent from 5.1.1 to 5.1.2 (#104)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 03:58:08 +02:00
Michael Straßburger
9f0fa46f92
Merge pull request #101 from rastapasta/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21
2021-05-08 15:06:18 +02:00
Michael Straßburger
da9d4d05a6
Merge pull request #99 from rastapasta/dependabot/npm_and_yarn/y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1
2021-05-08 15:06:03 +02:00
dependabot[bot]
64c53f6d01
Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 20:49:46 +00:00
dependabot[bot]
dafe5cf4cb
Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 10:02:56 +00:00
dependabot[bot]
9be22c8a1a
Bump node-notifier from 8.0.0 to 8.0.1 (#96)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 14:08:22 +01:00
Christian Paul
b70e64f378 Upgrade dependencies 2020-09-09 00:40:47 +02:00
Christian Paul
247122f684
Remove bluebird (#94) 2020-09-09 00:36:37 +02:00
Christian Paul
a7e7621705
Replace userhome with env-paths (#91)
* Replace userhome with env-paths

* Download the correct package
2020-08-17 12:02:07 +02:00
Christian Paul
2d88b6f16d Merge branch 'master' of github.com:rastapasta/mapscii 2020-08-12 02:08:04 +02:00
Christian Paul
0ce9b27a04 Upgrade dependencies 2020-08-12 02:07:55 +02:00
Christian Paul
df269c10d9
Fix TileSource test to be a test (#90) 2020-08-12 02:06:01 +02:00
Christian Paul
26f8ebe1f5 Add lennonhill to the AUTHORS file 2020-08-12 01:59:51 +02:00
Christian Paul
5c8ded81dc Change the unit of width and length options to full characters 2020-08-12 01:58:25 +02:00
Christian Paul
9eb2e5ef25 Regenerate package-lock.json 2020-08-12 01:50:26 +02:00
Christian Paul
9bee8cca19 Fix the initial center to be the c-base 2020-08-12 01:46:20 +02:00
Thorkil Værge
34d628d1d1
Add preliminary support for parsing of command line options (#86)
* Add preliminary support for parsing of command line options

* Remove redundant options for width and height

* Add parser for command line arguments. Type validation outstanding.

* Update TODO list

* Use config for argv's default values, simplify argument management

Co-authored-by: LH <@>
2020-08-12 01:44:39 +02:00
dependabot[bot]
219161e13e
Bump lodash from 4.17.15 to 4.17.19 (#88)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-16 13:53:43 +02:00
Christian Paul
393f867c84
Raise the minimum NodeJS version to 10 (#84) 2020-05-28 12:18:00 +02:00
Christian Paul
8475501605 Upgrade dev dependencies: jest and eslint 2020-05-21 14:47:59 +02:00
dependabot[bot]
739176e817
Bump acorn from 6.4.0 to 6.4.1 (#82)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-16 01:34:48 +01:00
Michael Straßburger
7103ecc0b7 re-adding jest, making the CI happy again 2020-02-19 10:23:55 +01:00
Michael Straßburger
223bb9b644 🔖 bumping 0.3.1 2020-02-18 21:42:14 +01:00
Michael Straßburger
c1cfe3ecfe ⬆️ upgrading dependencies 2020-02-18 21:41:39 +01:00
Michael Straßburger
3b85c6d513 🔖 bumping 0.3.0, adding @quincylvania to the authors 2019-10-14 17:01:50 +02:00
Quincy Morgan
a872c0ee6d Zoom toward the mouse pointer instead of the map center (#75) 2019-10-13 17:59:03 +02:00
Michael Straßburger
dcda97e305 📝 adding travis badge to readme 2019-10-11 15:46:47 +02:00
Michael Straßburger
4011c877bb
Merge pull request #74 from rastapasta/eslint
CI: Add linting with ESLint
2019-10-11 15:44:01 +02:00
Michael Straßburger
b76e626d5e 🔖 bumping 0.2.0 2019-10-11 00:51:36 +02:00
Christian Paul
b2e491d9ea
Run the linter on CI 2019-10-10 21:05:24 +02:00