Comparing version 0.15.18 to 0.16.0
@@ -27,28 +27,28 @@ "use strict"; | ||
var knownWindowsPackages = { | ||
"win32 arm64 LE": "esbuild-windows-arm64", | ||
"win32 ia32 LE": "esbuild-windows-32", | ||
"win32 x64 LE": "esbuild-windows-64" | ||
"win32 arm64 LE": "@esbuild/win32-arm64", | ||
"win32 ia32 LE": "@esbuild/win32-ia32", | ||
"win32 x64 LE": "@esbuild/win32-x64" | ||
}; | ||
var knownUnixlikePackages = { | ||
"android arm64 LE": "esbuild-android-arm64", | ||
"darwin arm64 LE": "esbuild-darwin-arm64", | ||
"darwin x64 LE": "esbuild-darwin-64", | ||
"freebsd arm64 LE": "esbuild-freebsd-arm64", | ||
"freebsd x64 LE": "esbuild-freebsd-64", | ||
"linux arm LE": "esbuild-linux-arm", | ||
"linux arm64 LE": "esbuild-linux-arm64", | ||
"linux ia32 LE": "esbuild-linux-32", | ||
"linux mips64el LE": "esbuild-linux-mips64le", | ||
"linux ppc64 LE": "esbuild-linux-ppc64le", | ||
"linux riscv64 LE": "esbuild-linux-riscv64", | ||
"linux s390x BE": "esbuild-linux-s390x", | ||
"linux x64 LE": "esbuild-linux-64", | ||
"android arm64 LE": "@esbuild/android-arm64", | ||
"darwin arm64 LE": "@esbuild/darwin-arm64", | ||
"darwin x64 LE": "@esbuild/darwin-x64", | ||
"freebsd arm64 LE": "@esbuild/freebsd-arm64", | ||
"freebsd x64 LE": "@esbuild/freebsd-x64", | ||
"linux arm LE": "@esbuild/linux-arm", | ||
"linux arm64 LE": "@esbuild/linux-arm64", | ||
"linux ia32 LE": "@esbuild/linux-ia32", | ||
"linux mips64el LE": "@esbuild/linux-mips64el", | ||
"linux ppc64 LE": "@esbuild/linux-ppc64", | ||
"linux riscv64 LE": "@esbuild/linux-riscv64", | ||
"linux s390x BE": "@esbuild/linux-s390x", | ||
"linux x64 LE": "@esbuild/linux-x64", | ||
"linux loong64 LE": "@esbuild/linux-loong64", | ||
"netbsd x64 LE": "esbuild-netbsd-64", | ||
"openbsd x64 LE": "esbuild-openbsd-64", | ||
"sunos x64 LE": "esbuild-sunos-64" | ||
"netbsd x64 LE": "@esbuild/netbsd-x64", | ||
"openbsd x64 LE": "@esbuild/openbsd-x64", | ||
"sunos x64 LE": "@esbuild/sunos-x64" | ||
}; | ||
var knownWebAssemblyFallbackPackages = { | ||
"android arm LE": "@esbuild/android-arm", | ||
"android x64 LE": "esbuild-android-64" | ||
"android x64 LE": "@esbuild/android-x64" | ||
}; | ||
@@ -94,4 +94,4 @@ function pkgAndSubpathForCurrentPlatform() { | ||
}).toString().trim(); | ||
if (stdout !== "0.15.18") { | ||
throw new Error(`Expected ${JSON.stringify("0.15.18")} but got ${JSON.stringify(stdout)}`); | ||
if (stdout !== "0.16.0") { | ||
throw new Error(`Expected ${JSON.stringify("0.16.0")} but got ${JSON.stringify(stdout)}`); | ||
} | ||
@@ -148,3 +148,3 @@ } | ||
child_process.execSync( | ||
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.15.18"}`, | ||
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.16.0"}`, | ||
{ cwd: installDir, stdio: "pipe", env } | ||
@@ -200,3 +200,3 @@ ); | ||
async function downloadDirectlyFromNPM(pkg, subpath, binPath) { | ||
const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.15.18"}.tgz`; | ||
const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.16.0"}.tgz`; | ||
console.error(`[esbuild] Trying to download ${JSON.stringify(url)}`); | ||
@@ -203,0 +203,0 @@ try { |
@@ -196,4 +196,4 @@ export type Platform = 'browser' | 'node' | 'neutral'; | ||
contents: Uint8Array; | ||
/** "contents" as text */ | ||
text: string; | ||
/** "contents" as text (changes automatically with "contents") */ | ||
get text(): string; | ||
} | ||
@@ -200,0 +200,0 @@ |
{ | ||
"name": "esbuild", | ||
"version": "0.15.18", | ||
"version": "0.16.0", | ||
"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.15.18", | ||
"@esbuild/linux-loong64": "0.15.18", | ||
"esbuild-android-64": "0.15.18", | ||
"esbuild-android-arm64": "0.15.18", | ||
"esbuild-darwin-64": "0.15.18", | ||
"esbuild-darwin-arm64": "0.15.18", | ||
"esbuild-freebsd-64": "0.15.18", | ||
"esbuild-freebsd-arm64": "0.15.18", | ||
"esbuild-linux-32": "0.15.18", | ||
"esbuild-linux-64": "0.15.18", | ||
"esbuild-linux-arm": "0.15.18", | ||
"esbuild-linux-arm64": "0.15.18", | ||
"esbuild-linux-mips64le": "0.15.18", | ||
"esbuild-linux-ppc64le": "0.15.18", | ||
"esbuild-linux-riscv64": "0.15.18", | ||
"esbuild-linux-s390x": "0.15.18", | ||
"esbuild-netbsd-64": "0.15.18", | ||
"esbuild-openbsd-64": "0.15.18", | ||
"esbuild-sunos-64": "0.15.18", | ||
"esbuild-windows-32": "0.15.18", | ||
"esbuild-windows-64": "0.15.18", | ||
"esbuild-windows-arm64": "0.15.18" | ||
"@esbuild/android-arm": "0.16.0", | ||
"@esbuild/android-arm64": "0.16.0", | ||
"@esbuild/android-x64": "0.16.0", | ||
"@esbuild/darwin-arm64": "0.16.0", | ||
"@esbuild/darwin-x64": "0.16.0", | ||
"@esbuild/freebsd-arm64": "0.16.0", | ||
"@esbuild/freebsd-x64": "0.16.0", | ||
"@esbuild/linux-arm": "0.16.0", | ||
"@esbuild/linux-arm64": "0.16.0", | ||
"@esbuild/linux-ia32": "0.16.0", | ||
"@esbuild/linux-loong64": "0.16.0", | ||
"@esbuild/linux-mips64el": "0.16.0", | ||
"@esbuild/linux-ppc64": "0.16.0", | ||
"@esbuild/linux-riscv64": "0.16.0", | ||
"@esbuild/linux-s390x": "0.16.0", | ||
"@esbuild/linux-x64": "0.16.0", | ||
"@esbuild/netbsd-x64": "0.16.0", | ||
"@esbuild/openbsd-x64": "0.16.0", | ||
"@esbuild/sunos-x64": "0.16.0", | ||
"@esbuild/win32-arm64": "0.16.0", | ||
"@esbuild/win32-ia32": "0.16.0", | ||
"@esbuild/win32-x64": "0.16.0" | ||
}, | ||
"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
122784
3109