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 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",