wrangler
Advanced tools
Comparing version 0.0.0-ccd28bd to 0.0.0-cf28327
@@ -1,2 +0,2 @@ | ||
#!/usr/bin/env node --no-warnings --experimental-vm-modules | ||
#!/usr/bin/env node --no-warnings | ||
require("../wrangler-dist/index_node.js"); |
{ | ||
"name": "wrangler", | ||
"version": "0.0.0-ccd28bd", | ||
"version": "0.0.0-cf28327", | ||
"author": "wrangler@cloudflare.com", | ||
@@ -37,4 +37,3 @@ "description": "Command-line interface for all things Cloudflare Workers", | ||
"esbuild": "^0.13.12", | ||
"miniflare": "^1.4.1", | ||
"yargs": "^17.2.1" | ||
"miniflare": "2.0.0-rc.1" | ||
}, | ||
@@ -52,3 +51,4 @@ "optionalDependencies": { | ||
"clipboardy": "^3.0.0", | ||
"cloudflare": "^2.9.1", | ||
"command-exists": "^1.2.9", | ||
"execa": "^5.1.1", | ||
"finalhandler": "^1.1.2", | ||
@@ -60,2 +60,4 @@ "find-up": "^6.2.0", | ||
"ink-table": "^3.0.0", | ||
"ink-text-input": "^4.0.1", | ||
"ink-select-input": "^4.2.0", | ||
"node-fetch": "github:tekwiz/node-fetch#fix/redirect-with-empty-chunked-transfer-encoding", | ||
@@ -67,3 +69,4 @@ "open": "^8.4.0", | ||
"tmp-promise": "^3.0.3", | ||
"ws": "^8.2.3" | ||
"ws": "^8.2.3", | ||
"yargs": "^17.2.1" | ||
}, | ||
@@ -75,3 +78,4 @@ "files": [ | ||
"static-asset-facade.js", | ||
"vendor" | ||
"vendor", | ||
"import_meta_url.js" | ||
], | ||
@@ -82,7 +86,21 @@ "scripts": { | ||
"build": "npm run clean && npm run bundle", | ||
"start": "npm run bundle && ./bin/wrangler.js" | ||
"start": "npm run bundle && NODE_OPTIONS=--enable-source-maps ./bin/wrangler.js", | ||
"test": "npm run build && NODE_OPTIONS=--enable-source-maps jest --silent=false" | ||
}, | ||
"engines": { | ||
"node": ">=16.0.0" | ||
}, | ||
"jest": { | ||
"transform": { | ||
"^.+\\.tsx?$": [ | ||
"esbuild-jest", | ||
{ | ||
"sourcemap": true, | ||
"loaders": { | ||
".spec.ts": "tsx" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
@@ -19,9 +19,2 @@ // DO NOT IMPORT THIS DIRECTLY | ||
try { | ||
if (__DEBUG__) { | ||
// customize caching | ||
options.cacheControl = { | ||
bypassCache: true, | ||
}; | ||
} | ||
const page = await getAssetFromKV( | ||
@@ -51,4 +44,6 @@ { | ||
return worker.fetch(request); | ||
// TODO: throw here if worker is not available | ||
// (which implies it may be a service worker) | ||
} | ||
}, | ||
}; |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
3
42
7745638
25
8940
1
+ Added@miniflare/cache@2.0.0-rc.1(transitive)
+ Added@miniflare/cli-parser@2.0.0-rc.1(transitive)
+ Added@miniflare/core@2.0.0-rc.1(transitive)
+ Added@miniflare/durable-objects@2.0.0-rc.1(transitive)
+ Added@miniflare/html-rewriter@2.0.0-rc.1(transitive)
+ Added@miniflare/http-server@2.0.0-rc.1(transitive)
+ Added@miniflare/kv@2.0.0-rc.1(transitive)
+ Added@miniflare/runner-vm@2.0.0-rc.1(transitive)
+ Added@miniflare/scheduler@2.0.0-rc.1(transitive)
+ Added@miniflare/shared@2.0.0-rc.1(transitive)
+ Added@miniflare/sites@2.0.0-rc.1(transitive)
+ Added@miniflare/storage-file@2.0.0-rc.1(transitive)
+ Added@miniflare/storage-memory@2.0.0-rc.1(transitive)
+ Added@miniflare/watcher@2.0.0-rc.1(transitive)
+ Added@miniflare/web-sockets@2.0.0-rc.1(transitive)
+ Addedcron-schedule@3.0.6(transitive)
+ Addeddotenv@10.0.0(transitive)
+ Addedignore@5.3.2(transitive)
+ Addedminiflare@2.0.0-rc.1(transitive)
+ Addedset-cookie-parser@2.7.0(transitive)
+ Addedundici@4.16.0(transitive)
+ Addedws@8.18.0(transitive)
- Removedyargs@^17.2.1
- Removed@cloudflare/workers-types@2.2.2(transitive)
- Removed@mrbbot/node-fetch@4.6.0(transitive)
- Removed@nodelib/fs.scandir@2.1.5(transitive)
- Removed@nodelib/fs.stat@2.0.5(transitive)
- Removed@nodelib/fs.walk@1.2.8(transitive)
- Removed@peculiar/asn1-schema@2.3.13(transitive)
- Removed@peculiar/json-schema@1.1.12(transitive)
- Removed@peculiar/webcrypto@1.5.0(transitive)
- Removed@types/node@16.18.112(transitive)
- Removed@wessberg/stringutil@1.0.19(transitive)
- Removedansi-regex@5.0.1(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedanymatch@3.1.3(transitive)
- Removedasn1js@3.0.5(transitive)
- Removedbase64-arraybuffer-es6@0.7.0(transitive)
- Removedbinary-extensions@2.3.0(transitive)
- Removedbraces@3.0.3(transitive)
- Removedchalk@4.1.2(transitive)
- Removedchokidar@3.6.0(transitive)
- Removedcjstoesm@1.1.5(transitive)
- Removedcliui@7.0.48.0.1(transitive)
- Removedcluster-key-slot@1.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedcommander@9.5.0(transitive)
- Removedcompatfactory@0.0.13(transitive)
- Removedcrosspath@1.0.0(transitive)
- Removeddebug@4.3.7(transitive)
- Removeddenque@1.5.1(transitive)
- Removeddotenv@8.6.0(transitive)
- Removedemoji-regex@8.0.0(transitive)
- Removedenv-paths@2.2.1(transitive)
- Removedescalade@3.2.0(transitive)
- Removedevent-target-shim@6.0.2(transitive)
- Removedfast-glob@3.3.2(transitive)
- Removedfastq@1.17.1(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedformdata-node@2.5.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-caller-file@2.0.5(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhelpertypes@0.0.18(transitive)
- Removedioredis@4.28.5(transitive)
- Removedis-binary-path@2.1.0(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlodash.defaults@4.2.0(transitive)
- Removedlodash.flatten@4.4.0(transitive)
- Removedlodash.isarguments@3.1.0(transitive)
- Removedmerge2@1.4.1(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedmime-db@1.46.0(transitive)
- Removedmime-types@2.1.29(transitive)
- Removedminiflare@1.4.1(transitive)
- Removedms@2.1.3(transitive)
- Removednode-cron@2.0.3(transitive)
- Removednormalize-path@3.0.0(transitive)
- Removedopencollective-postinstall@2.0.3(transitive)
- Removedp-map@2.1.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedpvtsutils@1.3.5(transitive)
- Removedpvutils@1.1.3(transitive)
- Removedqueue-microtask@1.2.3(transitive)
- Removedreaddirp@3.6.0(transitive)
- Removedredis-commands@1.7.0(transitive)
- Removedredis-errors@1.2.0(transitive)
- Removedredis-parser@3.0.0(transitive)
- Removedrequire-directory@2.1.1(transitive)
- Removedreserved-words@0.1.2(transitive)
- Removedresolve@1.22.8(transitive)
- Removedreusify@1.0.4(transitive)
- Removedrun-parallel@1.2.0(transitive)
- Removedsanitize-filename@1.6.3(transitive)
- Removedstandard-as-callback@2.1.0(transitive)
- Removedstring-width@4.2.3(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedtr46@2.1.0(transitive)
- Removedtruncate-utf8-bytes@1.0.2(transitive)
- Removedtslib@2.7.0(transitive)
- Removedtypescript@4.9.5(transitive)
- Removedtypeson@6.1.0(transitive)
- Removedtypeson-registry@1.0.0-alpha.39(transitive)
- Removedtz-offset@0.0.1(transitive)
- Removedutf8-byte-length@1.0.5(transitive)
- Removedweb-streams-polyfill@3.3.3(transitive)
- Removedwebcrypto-core@1.8.0(transitive)
- Removedwebidl-conversions@6.1.0(transitive)
- Removedwhatwg-url@8.7.0(transitive)
- Removedwrap-ansi@7.0.0(transitive)
- Removedws@7.5.10(transitive)
- Removedy18n@5.0.8(transitive)
- Removedyargs@16.2.017.7.2(transitive)
- Removedyargs-parser@20.2.921.1.1(transitive)
Updatedminiflare@2.0.0-rc.1