esbuild 0.19.7 → 0.19.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/bin/esbuild +1 -1
  2. package/lib/main.js +8 -8
  3. package/package.json +23 -23
package/bin/esbuild CHANGED
@@ -199,7 +199,7 @@ for your current platform.`);
199
199
  "node_modules",
200
200
  ".cache",
201
201
  "esbuild",
202
- `pnpapi-${pkg.replace("/", "-")}-${"0.19.7"}-${path.basename(subpath)}`
202
+ `pnpapi-${pkg.replace("/", "-")}-${"0.19.9"}-${path.basename(subpath)}`
203
203
  );
204
204
  if (!fs.existsSync(binTargetPath)) {
205
205
  fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
package/lib/main.js CHANGED
@@ -746,8 +746,8 @@ function createChannel(streamIn) {
746
746
  if (isFirstPacket) {
747
747
  isFirstPacket = false;
748
748
  let binaryVersion = String.fromCharCode(...bytes);
749
- if (binaryVersion !== "0.19.7") {
750
- throw new Error(`Cannot start service: Host version "${"0.19.7"}" does not match binary version ${quote(binaryVersion)}`);
749
+ if (binaryVersion !== "0.19.9") {
750
+ throw new Error(`Cannot start service: Host version "${"0.19.9"}" does not match binary version ${quote(binaryVersion)}`);
751
751
  }
752
752
  return;
753
753
  }
@@ -1939,7 +1939,7 @@ for your current platform.`);
1939
1939
  "node_modules",
1940
1940
  ".cache",
1941
1941
  "esbuild",
1942
- `pnpapi-${pkg.replace("/", "-")}-${"0.19.7"}-${path.basename(subpath)}`
1942
+ `pnpapi-${pkg.replace("/", "-")}-${"0.19.9"}-${path.basename(subpath)}`
1943
1943
  );
1944
1944
  if (!fs.existsSync(binTargetPath)) {
1945
1945
  fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
@@ -1974,7 +1974,7 @@ if (process.env.ESBUILD_WORKER_THREADS !== "0") {
1974
1974
  }
1975
1975
  }
1976
1976
  var _a;
1977
- var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.19.7";
1977
+ var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.19.9";
1978
1978
  var esbuildCommandAndArgs = () => {
1979
1979
  if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
1980
1980
  throw new Error(
@@ -2041,7 +2041,7 @@ var fsAsync = {
2041
2041
  }
2042
2042
  }
2043
2043
  };
2044
- var version = "0.19.7";
2044
+ var version = "0.19.9";
2045
2045
  var build = (options) => ensureServiceIsRunning().build(options);
2046
2046
  var context = (buildOptions) => ensureServiceIsRunning().context(buildOptions);
2047
2047
  var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
@@ -2151,7 +2151,7 @@ var ensureServiceIsRunning = () => {
2151
2151
  if (longLivedService)
2152
2152
  return longLivedService;
2153
2153
  let [command, args] = esbuildCommandAndArgs();
2154
- let child = child_process.spawn(command, args.concat(`--service=${"0.19.7"}`, "--ping"), {
2154
+ let child = child_process.spawn(command, args.concat(`--service=${"0.19.9"}`, "--ping"), {
2155
2155
  windowsHide: true,
2156
2156
  stdio: ["pipe", "pipe", "inherit"],
2157
2157
  cwd: defaultWD
@@ -2251,7 +2251,7 @@ var runServiceSync = (callback) => {
2251
2251
  esbuild: node_exports
2252
2252
  });
2253
2253
  callback(service);
2254
- let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.19.7"}`), {
2254
+ let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.19.9"}`), {
2255
2255
  cwd: defaultWD,
2256
2256
  windowsHide: true,
2257
2257
  input: stdin,
@@ -2271,7 +2271,7 @@ var workerThreadService = null;
2271
2271
  var startWorkerThreadService = (worker_threads2) => {
2272
2272
  let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
2273
2273
  let worker = new worker_threads2.Worker(__filename, {
2274
- workerData: { workerPort, defaultWD, esbuildVersion: "0.19.7" },
2274
+ workerData: { workerPort, defaultWD, esbuildVersion: "0.19.9" },
2275
2275
  transferList: [workerPort],
2276
2276
  // From node's documentation: https://nodejs.org/api/worker_threads.html
2277
2277
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild",
3
- "version": "0.19.7",
3
+ "version": "0.19.9",
4
4
  "description": "An extremely fast JavaScript and CSS bundler and minifier.",
5
5
  "repository": "https://github.com/evanw/esbuild",
6
6
  "scripts": {
@@ -15,28 +15,28 @@
15
15
  "esbuild": "bin/esbuild"
16
16
  },
17
17
  "optionalDependencies": {
18
- "@esbuild/android-arm": "0.19.7",
19
- "@esbuild/android-arm64": "0.19.7",
20
- "@esbuild/android-x64": "0.19.7",
21
- "@esbuild/darwin-arm64": "0.19.7",
22
- "@esbuild/darwin-x64": "0.19.7",
23
- "@esbuild/freebsd-arm64": "0.19.7",
24
- "@esbuild/freebsd-x64": "0.19.7",
25
- "@esbuild/linux-arm": "0.19.7",
26
- "@esbuild/linux-arm64": "0.19.7",
27
- "@esbuild/linux-ia32": "0.19.7",
28
- "@esbuild/linux-loong64": "0.19.7",
29
- "@esbuild/linux-mips64el": "0.19.7",
30
- "@esbuild/linux-ppc64": "0.19.7",
31
- "@esbuild/linux-riscv64": "0.19.7",
32
- "@esbuild/linux-s390x": "0.19.7",
33
- "@esbuild/linux-x64": "0.19.7",
34
- "@esbuild/netbsd-x64": "0.19.7",
35
- "@esbuild/openbsd-x64": "0.19.7",
36
- "@esbuild/sunos-x64": "0.19.7",
37
- "@esbuild/win32-arm64": "0.19.7",
38
- "@esbuild/win32-ia32": "0.19.7",
39
- "@esbuild/win32-x64": "0.19.7"
18
+ "@esbuild/android-arm": "0.19.9",
19
+ "@esbuild/android-arm64": "0.19.9",
20
+ "@esbuild/android-x64": "0.19.9",
21
+ "@esbuild/darwin-arm64": "0.19.9",
22
+ "@esbuild/darwin-x64": "0.19.9",
23
+ "@esbuild/freebsd-arm64": "0.19.9",
24
+ "@esbuild/freebsd-x64": "0.19.9",
25
+ "@esbuild/linux-arm": "0.19.9",
26
+ "@esbuild/linux-arm64": "0.19.9",
27
+ "@esbuild/linux-ia32": "0.19.9",
28
+ "@esbuild/linux-loong64": "0.19.9",
29
+ "@esbuild/linux-mips64el": "0.19.9",
30
+ "@esbuild/linux-ppc64": "0.19.9",
31
+ "@esbuild/linux-riscv64": "0.19.9",
32
+ "@esbuild/linux-s390x": "0.19.9",
33
+ "@esbuild/linux-x64": "0.19.9",
34
+ "@esbuild/netbsd-x64": "0.19.9",
35
+ "@esbuild/openbsd-x64": "0.19.9",
36
+ "@esbuild/sunos-x64": "0.19.9",
37
+ "@esbuild/win32-arm64": "0.19.9",
38
+ "@esbuild/win32-ia32": "0.19.9",
39
+ "@esbuild/win32-x64": "0.19.9"
40
40
  },
41
41
  "license": "MIT"
42
42
  }