Comparing version 0.16.13 to 0.16.14
@@ -17,2 +17,6 @@ "use strict"; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
@@ -94,2 +98,13 @@ mod | ||
stdout = child_process.execFileSync(command.shift(), command, { | ||
// Without this, this install script strangely crashes with the error | ||
// "EACCES: permission denied, write" but only on Ubuntu Linux when node is | ||
// installed from the Snap Store. This is not a problem when you download | ||
// the official version of node. The problem appears to be that stderr | ||
// (i.e. file descriptor 2) isn't writable? | ||
// | ||
// More info: | ||
// - https://snapcraft.io/ (what the Snap Store is) | ||
// - https://nodejs.org/dist/ (download the official version of node) | ||
// - https://github.com/evanw/esbuild/issues/1711#issuecomment-1027554035 | ||
// | ||
stdio: "pipe" | ||
@@ -116,4 +131,4 @@ }).toString().trim(); | ||
} | ||
if (stdout !== "0.16.13") { | ||
throw new Error(`Expected ${JSON.stringify("0.16.13")} but got ${JSON.stringify(stdout)}`); | ||
if (stdout !== "0.16.14") { | ||
throw new Error(`Expected ${JSON.stringify("0.16.14")} but got ${JSON.stringify(stdout)}`); | ||
} | ||
@@ -170,3 +185,3 @@ } | ||
child_process.execSync( | ||
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.16.13"}`, | ||
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.16.14"}`, | ||
{ cwd: installDir, stdio: "pipe", env } | ||
@@ -222,3 +237,3 @@ ); | ||
async function downloadDirectlyFromNPM(pkg, subpath, binPath) { | ||
const url = `https://registry.npmjs.org/${pkg}/-/${pkg.replace("@esbuild/", "")}-${"0.16.13"}.tgz`; | ||
const url = `https://registry.npmjs.org/${pkg}/-/${pkg.replace("@esbuild/", "")}-${"0.16.14"}.tgz`; | ||
console.error(`[esbuild] Trying to download ${JSON.stringify(url)}`); | ||
@@ -225,0 +240,0 @@ try { |
{ | ||
"name": "esbuild", | ||
"version": "0.16.13", | ||
"version": "0.16.14", | ||
"description": "An extremely fast JavaScript and CSS bundler and minifier.", | ||
@@ -18,26 +18,26 @@ "repository": "https://github.com/evanw/esbuild", | ||
"optionalDependencies": { | ||
"@esbuild/android-arm": "0.16.13", | ||
"@esbuild/android-arm64": "0.16.13", | ||
"@esbuild/android-x64": "0.16.13", | ||
"@esbuild/darwin-arm64": "0.16.13", | ||
"@esbuild/darwin-x64": "0.16.13", | ||
"@esbuild/freebsd-arm64": "0.16.13", | ||
"@esbuild/freebsd-x64": "0.16.13", | ||
"@esbuild/linux-arm": "0.16.13", | ||
"@esbuild/linux-arm64": "0.16.13", | ||
"@esbuild/linux-ia32": "0.16.13", | ||
"@esbuild/linux-loong64": "0.16.13", | ||
"@esbuild/linux-mips64el": "0.16.13", | ||
"@esbuild/linux-ppc64": "0.16.13", | ||
"@esbuild/linux-riscv64": "0.16.13", | ||
"@esbuild/linux-s390x": "0.16.13", | ||
"@esbuild/linux-x64": "0.16.13", | ||
"@esbuild/netbsd-x64": "0.16.13", | ||
"@esbuild/openbsd-x64": "0.16.13", | ||
"@esbuild/sunos-x64": "0.16.13", | ||
"@esbuild/win32-arm64": "0.16.13", | ||
"@esbuild/win32-ia32": "0.16.13", | ||
"@esbuild/win32-x64": "0.16.13" | ||
"@esbuild/android-arm": "0.16.14", | ||
"@esbuild/android-arm64": "0.16.14", | ||
"@esbuild/android-x64": "0.16.14", | ||
"@esbuild/darwin-arm64": "0.16.14", | ||
"@esbuild/darwin-x64": "0.16.14", | ||
"@esbuild/freebsd-arm64": "0.16.14", | ||
"@esbuild/freebsd-x64": "0.16.14", | ||
"@esbuild/linux-arm": "0.16.14", | ||
"@esbuild/linux-arm64": "0.16.14", | ||
"@esbuild/linux-ia32": "0.16.14", | ||
"@esbuild/linux-loong64": "0.16.14", | ||
"@esbuild/linux-mips64el": "0.16.14", | ||
"@esbuild/linux-ppc64": "0.16.14", | ||
"@esbuild/linux-riscv64": "0.16.14", | ||
"@esbuild/linux-s390x": "0.16.14", | ||
"@esbuild/linux-x64": "0.16.14", | ||
"@esbuild/netbsd-x64": "0.16.14", | ||
"@esbuild/openbsd-x64": "0.16.14", | ||
"@esbuild/sunos-x64": "0.16.14", | ||
"@esbuild/win32-arm64": "0.16.14", | ||
"@esbuild/win32-ia32": "0.16.14", | ||
"@esbuild/win32-x64": "0.16.14" | ||
}, | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
126604
3173