Comparing version 0.17.5 to 0.17.6
@@ -30,2 +30,3 @@ "use strict"; | ||
var ESBUILD_BINARY_PATH = process.env.ESBUILD_BINARY_PATH || ESBUILD_BINARY_PATH; | ||
var isValidBinaryPath = (x) => !!x && x !== "/usr/bin/esbuild"; | ||
var knownWindowsPackages = { | ||
@@ -130,4 +131,4 @@ "win32 arm64 LE": "@esbuild/win32-arm64", | ||
} | ||
if (stdout !== "0.17.5") { | ||
throw new Error(`Expected ${JSON.stringify("0.17.5")} but got ${JSON.stringify(stdout)}`); | ||
if (stdout !== "0.17.6") { | ||
throw new Error(`Expected ${JSON.stringify("0.17.6")} but got ${JSON.stringify(stdout)}`); | ||
} | ||
@@ -184,3 +185,3 @@ } | ||
child_process.execSync( | ||
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.17.5"}`, | ||
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.17.6"}`, | ||
{ cwd: installDir, stdio: "pipe", env } | ||
@@ -236,3 +237,3 @@ ); | ||
async function downloadDirectlyFromNPM(pkg, subpath, binPath) { | ||
const url = `https://registry.npmjs.org/${pkg}/-/${pkg.replace("@esbuild/", "")}-${"0.17.5"}.tgz`; | ||
const url = `https://registry.npmjs.org/${pkg}/-/${pkg.replace("@esbuild/", "")}-${"0.17.6"}.tgz`; | ||
console.error(`[esbuild] Trying to download ${JSON.stringify(url)}`); | ||
@@ -248,3 +249,3 @@ try { | ||
async function checkAndPreparePackage() { | ||
if (ESBUILD_BINARY_PATH) { | ||
if (isValidBinaryPath(ESBUILD_BINARY_PATH)) { | ||
if (!fs2.existsSync(ESBUILD_BINARY_PATH)) { | ||
@@ -251,0 +252,0 @@ console.warn(`[esbuild] Ignoring bad configuration: ESBUILD_BINARY_PATH=${ESBUILD_BINARY_PATH}`); |
{ | ||
"name": "esbuild", | ||
"version": "0.17.5", | ||
"version": "0.17.6", | ||
"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.17.5", | ||
"@esbuild/android-arm64": "0.17.5", | ||
"@esbuild/android-x64": "0.17.5", | ||
"@esbuild/darwin-arm64": "0.17.5", | ||
"@esbuild/darwin-x64": "0.17.5", | ||
"@esbuild/freebsd-arm64": "0.17.5", | ||
"@esbuild/freebsd-x64": "0.17.5", | ||
"@esbuild/linux-arm": "0.17.5", | ||
"@esbuild/linux-arm64": "0.17.5", | ||
"@esbuild/linux-ia32": "0.17.5", | ||
"@esbuild/linux-loong64": "0.17.5", | ||
"@esbuild/linux-mips64el": "0.17.5", | ||
"@esbuild/linux-ppc64": "0.17.5", | ||
"@esbuild/linux-riscv64": "0.17.5", | ||
"@esbuild/linux-s390x": "0.17.5", | ||
"@esbuild/linux-x64": "0.17.5", | ||
"@esbuild/netbsd-x64": "0.17.5", | ||
"@esbuild/openbsd-x64": "0.17.5", | ||
"@esbuild/sunos-x64": "0.17.5", | ||
"@esbuild/win32-arm64": "0.17.5", | ||
"@esbuild/win32-ia32": "0.17.5", | ||
"@esbuild/win32-x64": "0.17.5" | ||
"@esbuild/android-arm": "0.17.6", | ||
"@esbuild/android-arm64": "0.17.6", | ||
"@esbuild/android-x64": "0.17.6", | ||
"@esbuild/darwin-arm64": "0.17.6", | ||
"@esbuild/darwin-x64": "0.17.6", | ||
"@esbuild/freebsd-arm64": "0.17.6", | ||
"@esbuild/freebsd-x64": "0.17.6", | ||
"@esbuild/linux-arm": "0.17.6", | ||
"@esbuild/linux-arm64": "0.17.6", | ||
"@esbuild/linux-ia32": "0.17.6", | ||
"@esbuild/linux-loong64": "0.17.6", | ||
"@esbuild/linux-mips64el": "0.17.6", | ||
"@esbuild/linux-ppc64": "0.17.6", | ||
"@esbuild/linux-riscv64": "0.17.6", | ||
"@esbuild/linux-s390x": "0.17.6", | ||
"@esbuild/linux-x64": "0.17.6", | ||
"@esbuild/netbsd-x64": "0.17.6", | ||
"@esbuild/openbsd-x64": "0.17.6", | ||
"@esbuild/sunos-x64": "0.17.6", | ||
"@esbuild/win32-arm64": "0.17.6", | ||
"@esbuild/win32-ia32": "0.17.6", | ||
"@esbuild/win32-x64": "0.17.6" | ||
}, | ||
"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
129954
3216