From de5a4f927177250b907eb6f51010e9a8d34ae025 Mon Sep 17 00:00:00 2001 From: Damian Krzeminski Date: Sat, 31 Jan 2026 14:02:46 -0700 Subject: [PATCH 1/2] upgrade `tile-cache` to 3.0.0 --- lib/cache.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cache.js b/lib/cache.js index 7fdd370..e6e29a3 100644 --- a/lib/cache.js +++ b/lib/cache.js @@ -1,4 +1,4 @@ -import tileCache from 'tile-cache'; +import * as tileCache from 'tile-cache'; export function from(params, store = 'json') { return tileCache.get(store, getKey(params)); diff --git a/package.json b/package.json index 8bc10f6..0a11bf6 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ ], "dependencies": { "@mapwhit/style-expressions": "^1.2.0", - "tile-cache": "^2.0.0" + "tile-cache": "^3.0.0" }, "devDependencies": { "@biomejs/biome": "2.3.11", From 7e40e149123e57eccef44a3126324680b1865568 Mon Sep 17 00:00:00 2001 From: Damian Krzeminski Date: Sat, 31 Jan 2026 14:06:01 -0700 Subject: [PATCH 2/2] fix project name in Readme --- Readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index 0e1d13d..d59ac2f 100644 --- a/Readme.md +++ b/Readme.md @@ -24,11 +24,11 @@ mapStyle('Rainbow'); MIT © [Natalia Kowalczyk](https://melitele.me) -[npm-image]: https://img.shields.io/npm/v/map-style -[npm-url]: https://npmjs.org/package/map-style +[npm-image]: https://img.shields.io/npm/v/@mapwhit/map-style +[npm-url]: https://npmjs.org/package/@mapwhit/map-style [build-url]: https://github.com/mapwhit/map-style/actions/workflows/check.yaml [build-image]: https://img.shields.io/github/actions/workflow/status/mapwhit/map-style/check.yaml?branch=main -[deps-image]: https://img.shields.io/librariesio/release/npm/map-style -[deps-url]: https://libraries.io/npm/map-style +[deps-image]: https://img.shields.io/librariesio/release/npm/@mapwhit/map-style +[deps-url]: https://libraries.io/npm/@mapwhit%2Fmap-style