Replace compression polyfill ("Worker" related errors) (#222)

* replace compression-streams-polyfill with globalThis check [#167]

* work around web worker issue with decompression polyfill.

* js 2.10.0-beta.0

* js 2.10.0; update examples
This commit is contained in:
Brandon Liu
2023-07-31 22:20:42 +08:00
committed by GitHub
parent 6a4a403942
commit 77c956d381
7 changed files with 23 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "pmtiles",
"version": "2.9.0",
"version": "2.10.0",
"description": "PMTiles archive decoder for browsers",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
@@ -32,7 +32,6 @@
"typescript": "^4.5.5"
},
"dependencies": {
"compression-streams-polyfill": "^0.1.3",
"fflate": "^0.8.0"
}
}