Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wrangler

Package Overview
Dependencies
Maintainers
4
Versions
3862
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-aff4276 to 0.0.0-b2bf0b1

36

bin/wrangler.js

@@ -1,34 +0,2 @@

#!/usr/bin/env node
const { spawn } = require("child_process");
const { join } = require("path");
const semiver = require("semiver");
const MIN_NODE_VERSION = "16.7.0";
async function main() {
if (semiver(process.versions.node, MIN_NODE_VERSION) < 0) {
// Note Volta and nvm are also recommended in the official docs:
// https://developers.cloudflare.com/workers/get-started/guide#2-install-the-workers-cli
console.error(
`Wrangler requires at least Node.js ${MIN_NODE_VERSION}.
You should use the latest Node.js version if possible, as Cloudflare Workers use a very up-to-date version of V8.
Consider using a Node.js version manager such as https://volta.sh/ or https://github.com/nvm-sh/nvm.`
);
process.exitCode = 1;
return;
}
spawn(
process.execPath,
[
"--no-warnings",
"--experimental-vm-modules",
...process.execArgv,
join(__dirname, "../wrangler-dist/index_node.js"),
...process.argv.slice(2),
],
{ stdio: "inherit" }
).on("exit", (code) => process.exit(code ?? 0));
}
void main();
#!/usr/bin/env -S node --no-warnings
require("../wrangler-dist/index_node.js");

12

package.json
{
"name": "wrangler",
"version": "0.0.0-aff4276",
"version": "0.0.0-b2bf0b1",
"author": "wrangler@cloudflare.com",

@@ -37,4 +37,3 @@ "description": "Command-line interface for all things Cloudflare Workers",

"esbuild": "^0.13.12",
"miniflare": "2.0.0-rc.1",
"semiver": "^1.1.0"
"miniflare": "2.0.0-rc.1"
},

@@ -45,6 +44,4 @@ "optionalDependencies": {

"devDependencies": {
"@cfpreview/plinko": "^0.3.0",
"@iarna/toml": "^2.2.5",
"@types/cloudflare": "^2.7.6",
"@types/express": "^4.17.13",
"@types/react": "^17.0.34",

@@ -57,3 +54,2 @@ "@types/signal-exit": "^3.0.1",

"execa": "^5.1.1",
"express": "^4.17.1",
"finalhandler": "^1.1.2",

@@ -63,11 +59,9 @@ "find-up": "^6.2.0",

"http-proxy": "^1.18.1",
"http-proxy-middleware": "^2.0.1",
"ink": "^3.2.0",
"ink-select-input": "^4.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",
"open": "^8.4.0",
"react": "^17.0.2",
"serve": "^13.0.2",
"serve-static": "^1.14.1",

@@ -74,0 +68,0 @@ "signal-exit": "^3.0.5",

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