@cloudflare/wrangler
Advanced tools
Comparing version 1.16.0 to 1.16.1
@@ -1,2 +0,2 @@ | ||
const { Binary } = require("@cloudflare/binary-install"); | ||
const { Binary } = require("./binary-install"); | ||
const os = require("os"); | ||
@@ -15,8 +15,6 @@ const { join } = require("path"); | ||
} | ||
if (type === "Darwin" && arch === "x64") { | ||
if (type === "Darwin" && (arch === "x64" || arch == "arm64")) { | ||
// for users of M1 / Apple Silicon devices, use an x86 binary automatically run by Rosetta 2. | ||
return "x86_64-apple-darwin"; | ||
} | ||
if (type === "Darwin" && arch === "arm64") { | ||
return "aarch64-apple-darwin"; | ||
} | ||
@@ -65,2 +63,2 @@ throw new Error(`Unsupported platform: ${type} ${arch}`); | ||
uninstall, | ||
}; | ||
}; |
{ | ||
"name": "@cloudflare/wrangler", | ||
"version": "1.16.0", | ||
"lockfileVersion": 2, | ||
"version": "1.16.1", | ||
"lockfileVersion": 1, | ||
"requires": true, | ||
"packages": { | ||
"": { | ||
"name": "@cloudflare/wrangler", | ||
"version": "1.16.0", | ||
"hasInstallScript": true, | ||
"license": "MIT OR Apache-2.0", | ||
"dependencies": { | ||
"@cloudflare/binary-install": "0.2.0" | ||
}, | ||
"bin": { | ||
"wrangler": "run-wrangler.js" | ||
} | ||
}, | ||
"node_modules/@cloudflare/binary-install": { | ||
"version": "0.2.0", | ||
"resolved": "https://registry.npmjs.org/@cloudflare/binary-install/-/binary-install-0.2.0.tgz", | ||
"integrity": "sha512-54n9ILgln+qUJc0BtbetEIEi1GrIL88p7ZDJy+BV8EsUqA7pMCMHAUOHjDq+YrIoqJHGJktlQJxBYB+4Umf3ww==", | ||
"dependencies": { | ||
"axios": "^0.21.1", | ||
"rimraf": "^3.0.2", | ||
"tar": "^6.0.2" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
} | ||
}, | ||
"node_modules/axios": { | ||
"version": "0.21.1", | ||
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", | ||
"integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", | ||
"dependencies": { | ||
"follow-redirects": "^1.10.0" | ||
} | ||
}, | ||
"node_modules/balanced-match": { | ||
"version": "1.0.0", | ||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", | ||
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" | ||
}, | ||
"node_modules/brace-expansion": { | ||
"version": "1.1.11", | ||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", | ||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", | ||
"dependencies": { | ||
"balanced-match": "^1.0.0", | ||
"concat-map": "0.0.1" | ||
} | ||
}, | ||
"node_modules/chownr": { | ||
"version": "2.0.0", | ||
"resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", | ||
"integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", | ||
"engines": { | ||
"node": ">=10" | ||
} | ||
}, | ||
"node_modules/concat-map": { | ||
"version": "0.0.1", | ||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | ||
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" | ||
}, | ||
"node_modules/follow-redirects": { | ||
"version": "1.13.2", | ||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.2.tgz", | ||
"integrity": "sha512-6mPTgLxYm3r6Bkkg0vNM0HTjfGrOEtsfbhagQvbxDEsEkpNhw582upBaoRZylzen6krEmxXJgt9Ju6HiI4O7BA==", | ||
"engines": { | ||
"node": ">=4.0" | ||
} | ||
}, | ||
"node_modules/fs-minipass": { | ||
"version": "2.1.0", | ||
"resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", | ||
"integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", | ||
"dependencies": { | ||
"minipass": "^3.0.0" | ||
}, | ||
"engines": { | ||
"node": ">= 8" | ||
} | ||
}, | ||
"node_modules/fs.realpath": { | ||
"version": "1.0.0", | ||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", | ||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" | ||
}, | ||
"node_modules/glob": { | ||
"version": "7.1.6", | ||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", | ||
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", | ||
"dependencies": { | ||
"fs.realpath": "^1.0.0", | ||
"inflight": "^1.0.4", | ||
"inherits": "2", | ||
"minimatch": "^3.0.4", | ||
"once": "^1.3.0", | ||
"path-is-absolute": "^1.0.0" | ||
}, | ||
"engines": { | ||
"node": "*" | ||
} | ||
}, | ||
"node_modules/inflight": { | ||
"version": "1.0.6", | ||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", | ||
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", | ||
"dependencies": { | ||
"once": "^1.3.0", | ||
"wrappy": "1" | ||
} | ||
}, | ||
"node_modules/inherits": { | ||
"version": "2.0.4", | ||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", | ||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" | ||
}, | ||
"node_modules/minimatch": { | ||
"version": "3.0.4", | ||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", | ||
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", | ||
"dependencies": { | ||
"brace-expansion": "^1.1.7" | ||
}, | ||
"engines": { | ||
"node": "*" | ||
} | ||
}, | ||
"node_modules/minipass": { | ||
"version": "3.1.3", | ||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", | ||
"integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", | ||
"dependencies": { | ||
"yallist": "^4.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=8" | ||
} | ||
}, | ||
"node_modules/minizlib": { | ||
"version": "2.1.2", | ||
"resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", | ||
"integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", | ||
"dependencies": { | ||
"minipass": "^3.0.0", | ||
"yallist": "^4.0.0" | ||
}, | ||
"engines": { | ||
"node": ">= 8" | ||
} | ||
}, | ||
"node_modules/mkdirp": { | ||
"version": "1.0.4", | ||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", | ||
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", | ||
"bin": { | ||
"mkdirp": "bin/cmd.js" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
} | ||
}, | ||
"node_modules/once": { | ||
"version": "1.4.0", | ||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", | ||
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", | ||
"dependencies": { | ||
"wrappy": "1" | ||
} | ||
}, | ||
"node_modules/path-is-absolute": { | ||
"version": "1.0.1", | ||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", | ||
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", | ||
"engines": { | ||
"node": ">=0.10.0" | ||
} | ||
}, | ||
"node_modules/rimraf": { | ||
"version": "3.0.2", | ||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||
"dependencies": { | ||
"glob": "^7.1.3" | ||
}, | ||
"bin": { | ||
"rimraf": "bin.js" | ||
} | ||
}, | ||
"node_modules/tar": { | ||
"version": "6.1.0", | ||
"resolved": "https://registry.npmjs.org/tar/-/tar-6.1.0.tgz", | ||
"integrity": "sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA==", | ||
"dependencies": { | ||
"chownr": "^2.0.0", | ||
"fs-minipass": "^2.0.0", | ||
"minipass": "^3.0.0", | ||
"minizlib": "^2.1.1", | ||
"mkdirp": "^1.0.3", | ||
"yallist": "^4.0.0" | ||
}, | ||
"engines": { | ||
"node": ">= 10" | ||
} | ||
}, | ||
"node_modules/wrappy": { | ||
"version": "1.0.2", | ||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", | ||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" | ||
}, | ||
"node_modules/yallist": { | ||
"version": "4.0.0", | ||
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", | ||
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" | ||
} | ||
}, | ||
"dependencies": { | ||
"@cloudflare/binary-install": { | ||
"version": "0.2.0", | ||
"resolved": "https://registry.npmjs.org/@cloudflare/binary-install/-/binary-install-0.2.0.tgz", | ||
"integrity": "sha512-54n9ILgln+qUJc0BtbetEIEi1GrIL88p7ZDJy+BV8EsUqA7pMCMHAUOHjDq+YrIoqJHGJktlQJxBYB+4Umf3ww==", | ||
"requires": { | ||
"axios": "^0.21.1", | ||
"rimraf": "^3.0.2", | ||
"tar": "^6.0.2" | ||
} | ||
}, | ||
"axios": { | ||
@@ -232,0 +8,0 @@ "version": "0.21.1", |
{ | ||
"name": "@cloudflare/wrangler", | ||
"version": "1.16.0", | ||
"version": "1.16.1", | ||
"description": "Command-line interface for all things Cloudflare Workers", | ||
@@ -45,4 +45,6 @@ "main": "binary.js", | ||
"dependencies": { | ||
"@cloudflare/binary-install": "0.2.0" | ||
"axios": "^0.21.1", | ||
"rimraf": "^3.0.2", | ||
"tar": "^6.0.2" | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
8
21110
3
327
5
2
+ Addedaxios@^0.21.1
+ Addedrimraf@^3.0.2
+ Addedtar@^6.0.2
+ Addedaxios@0.21.4(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedminipass@3.3.65.0.0(transitive)
+ Addedtar@6.2.1(transitive)
- Removed@cloudflare/binary-install@0.2.0
- Removed@cloudflare/binary-install@0.2.0(transitive)
- Removedaxios@0.21.1(transitive)
- Removedbalanced-match@1.0.0(transitive)
- Removedfollow-redirects@1.13.2(transitive)
- Removedglob@7.1.6(transitive)
- Removedminimatch@3.0.4(transitive)
- Removedminipass@3.1.3(transitive)
- Removedtar@6.1.0(transitive)