Comparing version 0.16.16 to 0.16.17
@@ -129,4 +129,4 @@ "use strict"; | ||
} | ||
if (stdout !== "0.16.16") { | ||
throw new Error(`Expected ${JSON.stringify("0.16.16")} but got ${JSON.stringify(stdout)}`); | ||
if (stdout !== "0.16.17") { | ||
throw new Error(`Expected ${JSON.stringify("0.16.17")} but got ${JSON.stringify(stdout)}`); | ||
} | ||
@@ -183,3 +183,3 @@ } | ||
child_process.execSync( | ||
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.16.16"}`, | ||
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.16.17"}`, | ||
{ cwd: installDir, stdio: "pipe", env } | ||
@@ -235,3 +235,3 @@ ); | ||
async function downloadDirectlyFromNPM(pkg, subpath, binPath) { | ||
const url = `https://registry.npmjs.org/${pkg}/-/${pkg.replace("@esbuild/", "")}-${"0.16.16"}.tgz`; | ||
const url = `https://registry.npmjs.org/${pkg}/-/${pkg.replace("@esbuild/", "")}-${"0.16.17"}.tgz`; | ||
console.error(`[esbuild] Trying to download ${JSON.stringify(url)}`); | ||
@@ -248,4 +248,8 @@ try { | ||
if (ESBUILD_BINARY_PATH) { | ||
applyManualBinaryPathOverride(ESBUILD_BINARY_PATH); | ||
return; | ||
if (!fs2.existsSync(ESBUILD_BINARY_PATH)) { | ||
console.warn(`[esbuild] Ignoring bad configuration: ESBUILD_BINARY_PATH=${ESBUILD_BINARY_PATH}`); | ||
} else { | ||
applyManualBinaryPathOverride(ESBUILD_BINARY_PATH); | ||
return; | ||
} | ||
} | ||
@@ -252,0 +256,0 @@ const { pkg, subpath } = pkgAndSubpathForCurrentPlatform(); |
{ | ||
"name": "esbuild", | ||
"version": "0.16.16", | ||
"version": "0.16.17", | ||
"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.16", | ||
"@esbuild/android-arm64": "0.16.16", | ||
"@esbuild/android-x64": "0.16.16", | ||
"@esbuild/darwin-arm64": "0.16.16", | ||
"@esbuild/darwin-x64": "0.16.16", | ||
"@esbuild/freebsd-arm64": "0.16.16", | ||
"@esbuild/freebsd-x64": "0.16.16", | ||
"@esbuild/linux-arm": "0.16.16", | ||
"@esbuild/linux-arm64": "0.16.16", | ||
"@esbuild/linux-ia32": "0.16.16", | ||
"@esbuild/linux-loong64": "0.16.16", | ||
"@esbuild/linux-mips64el": "0.16.16", | ||
"@esbuild/linux-ppc64": "0.16.16", | ||
"@esbuild/linux-riscv64": "0.16.16", | ||
"@esbuild/linux-s390x": "0.16.16", | ||
"@esbuild/linux-x64": "0.16.16", | ||
"@esbuild/netbsd-x64": "0.16.16", | ||
"@esbuild/openbsd-x64": "0.16.16", | ||
"@esbuild/sunos-x64": "0.16.16", | ||
"@esbuild/win32-arm64": "0.16.16", | ||
"@esbuild/win32-ia32": "0.16.16", | ||
"@esbuild/win32-x64": "0.16.16" | ||
"@esbuild/android-arm": "0.16.17", | ||
"@esbuild/android-arm64": "0.16.17", | ||
"@esbuild/android-x64": "0.16.17", | ||
"@esbuild/darwin-arm64": "0.16.17", | ||
"@esbuild/darwin-x64": "0.16.17", | ||
"@esbuild/freebsd-arm64": "0.16.17", | ||
"@esbuild/freebsd-x64": "0.16.17", | ||
"@esbuild/linux-arm": "0.16.17", | ||
"@esbuild/linux-arm64": "0.16.17", | ||
"@esbuild/linux-ia32": "0.16.17", | ||
"@esbuild/linux-loong64": "0.16.17", | ||
"@esbuild/linux-mips64el": "0.16.17", | ||
"@esbuild/linux-ppc64": "0.16.17", | ||
"@esbuild/linux-riscv64": "0.16.17", | ||
"@esbuild/linux-s390x": "0.16.17", | ||
"@esbuild/linux-x64": "0.16.17", | ||
"@esbuild/netbsd-x64": "0.16.17", | ||
"@esbuild/openbsd-x64": "0.16.17", | ||
"@esbuild/sunos-x64": "0.16.17", | ||
"@esbuild/win32-arm64": "0.16.17", | ||
"@esbuild/win32-ia32": "0.16.17", | ||
"@esbuild/win32-x64": "0.16.17" | ||
}, | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
127275
3188
16