@miniflare/sites
Advanced tools
Comparing version 2.0.0-rc.2 to 2.0.0-rc.3
@@ -86,3 +86,4 @@ var __defProp = Object.defineProperty; | ||
const { FileStorage } = await import("@miniflare/storage-file"); | ||
const storage = new FileStorage(path.resolve(this.sitePath), false); | ||
const sitePath = path.resolve(this.ctx.rootPath, this.sitePath); | ||
const storage = new FileStorage(sitePath, false); | ||
const bindings = { | ||
@@ -99,3 +100,3 @@ __STATIC_CONTENT: new FilteredKVNamespace(storage, { | ||
}; | ||
return { bindings, watch: [this.sitePath], additionalModules }; | ||
return { bindings, watch: [sitePath], additionalModules }; | ||
} | ||
@@ -102,0 +103,0 @@ async setup() { |
{ | ||
"name": "@miniflare/sites", | ||
"version": "2.0.0-rc.2", | ||
"version": "2.0.0-rc.3", | ||
"description": "Workers Sites module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers", | ||
@@ -43,11 +43,11 @@ "keywords": [ | ||
"dependencies": { | ||
"@miniflare/kv": "2.0.0-rc.2", | ||
"@miniflare/shared": "2.0.0-rc.2", | ||
"@miniflare/storage-file": "2.0.0-rc.2" | ||
"@miniflare/kv": "2.0.0-rc.3", | ||
"@miniflare/shared": "2.0.0-rc.3", | ||
"@miniflare/storage-file": "2.0.0-rc.3" | ||
}, | ||
"devDependencies": { | ||
"@cloudflare/kv-asset-handler": "^0.1.3", | ||
"@miniflare/core": "2.0.0-rc.2", | ||
"@miniflare/shared-test": "2.0.0-rc.2" | ||
"@miniflare/core": "2.0.0-rc.3", | ||
"@miniflare/shared-test": "2.0.0-rc.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10336
176
+ Added@miniflare/kv@2.0.0-rc.3(transitive)
+ Added@miniflare/shared@2.0.0-rc.3(transitive)
+ Added@miniflare/storage-file@2.0.0-rc.3(transitive)
+ Added@miniflare/storage-memory@2.0.0-rc.3(transitive)
- Removed@miniflare/kv@2.0.0-rc.2(transitive)
- Removed@miniflare/shared@2.0.0-rc.2(transitive)
- Removed@miniflare/storage-file@2.0.0-rc.2(transitive)
- Removed@miniflare/storage-memory@2.0.0-rc.2(transitive)
Updated@miniflare/kv@2.0.0-rc.3
Updated@miniflare/shared@2.0.0-rc.3