Socket
Socket
Sign inDemoInstall

wrangler

Package Overview
Dependencies
Maintainers
4
Versions
3503
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wrangler - npm Package Compare versions

Comparing version 0.0.0-ccd28bd to 0.0.0-cf28327

import_meta_url.js

2

bin/wrangler.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc