Revert cloudflare decompression to own function

* polyfill takes up too much CPU time
* bump cloudflare workers-types
* add tsc checks to CI for serverless
This commit is contained in:
Brandon Liu
2023-06-22 13:47:06 +08:00
parent 07f8fd8a09
commit 2cb9f5868a
5 changed files with 29 additions and 13 deletions

View File

@@ -8,7 +8,7 @@
"name": "pmtiles-cloudflare",
"version": "0.0.0",
"devDependencies": {
"@cloudflare/workers-types": "^3.17.0",
"@cloudflare/workers-types": "^4.20230518.0",
"esbuild-runner": "^2.2.2",
"typescript": "^4.8.4",
"wrangler": "2.18.0"
@@ -24,9 +24,9 @@
}
},
"node_modules/@cloudflare/workers-types": {
"version": "3.17.0",
"resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-3.17.0.tgz",
"integrity": "sha512-u0cUQ4ntWFFwn5jx0ETa2ItvwvfOMjyaKF2fX2vFVujrSgNES/PnvRzPAhdt9CMYAMidInm0MGkIjxHRsFBaeg==",
"version": "4.20230518.0",
"resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-4.20230518.0.tgz",
"integrity": "sha512-A0w1V+5SUawGaaPRlhFhSC/SCDT9oQG8TMoWOKFLA4qbqagELqEAFD4KySBIkeVOvCBLT1DZSYBMCxbXddl0kw==",
"dev": true
},
"node_modules/@esbuild-plugins/node-globals-polyfill": {
@@ -1620,9 +1620,9 @@
}
},
"@cloudflare/workers-types": {
"version": "3.17.0",
"resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-3.17.0.tgz",
"integrity": "sha512-u0cUQ4ntWFFwn5jx0ETa2ItvwvfOMjyaKF2fX2vFVujrSgNES/PnvRzPAhdt9CMYAMidInm0MGkIjxHRsFBaeg==",
"version": "4.20230518.0",
"resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-4.20230518.0.tgz",
"integrity": "sha512-A0w1V+5SUawGaaPRlhFhSC/SCDT9oQG8TMoWOKFLA4qbqagELqEAFD4KySBIkeVOvCBLT1DZSYBMCxbXddl0kw==",
"dev": true
},
"@esbuild-plugins/node-globals-polyfill": {