@b9g/platform-cloudflare 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b9g/platform-cloudflare",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Cloudflare Workers platform adapter for Shovel - already ServiceWorker-based!",
5
5
  "keywords": [
6
6
  "shovel",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@b9g/assets": "^0.2.1",
20
20
  "@b9g/async-context": "^0.2.1",
21
- "@b9g/cache": "^0.2.1",
22
- "@b9g/filesystem": "^0.1.9",
23
- "@b9g/platform": "^0.1.16",
21
+ "@b9g/cache": "^0.2.2",
22
+ "@b9g/filesystem": "^0.1.10",
23
+ "@b9g/platform": "^0.1.17",
24
24
  "@logtape/logtape": "^1.2.0",
25
25
  "mime": "^4.0.4",
26
26
  "miniflare": "^4.20251118.1"
package/src/index.js CHANGED
@@ -269,8 +269,9 @@ export default { fetch: createFetchHandler(registration) };
269
269
  getDefaults() {
270
270
  return {
271
271
  caches: {
272
- default: {
273
- module: "@b9g/platform-cloudflare/caches"
272
+ "*": {
273
+ module: "@b9g/platform-cloudflare/caches",
274
+ export: "CloudflareNativeCache"
274
275
  }
275
276
  },
276
277
  directories: {
package/src/platform.js CHANGED
@@ -40,7 +40,7 @@ function getESBuildConfig() {
40
40
  function getDefaults() {
41
41
  return {
42
42
  caches: {
43
- default: {
43
+ "*": {
44
44
  module: "@b9g/platform-cloudflare/caches",
45
45
  export: "CloudflareNativeCache"
46
46
  }