Changeset e29cc2e for trip-planner-front/node_modules/esbuild/lib
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/esbuild/lib/main.js
r59329aa re29cc2e 710 710 isFirstPacket = false; 711 711 let binaryVersion = String.fromCharCode(...bytes); 712 if (binaryVersion !== "0.13. 4") {713 throw new Error(`Cannot start service: Host version "${"0.13. 4"}" does not match binary version ${JSON.stringify(binaryVersion)}`);712 if (binaryVersion !== "0.13.8") { 713 throw new Error(`Cannot start service: Host version "${"0.13.8"}" does not match binary version ${JSON.stringify(binaryVersion)}`); 714 714 } 715 715 return; … … 1598 1598 "freebsd arm64 LE": "esbuild-freebsd-arm64", 1599 1599 "freebsd x64 LE": "esbuild-freebsd-64", 1600 "openbsd x64 LE": "esbuild-openbsd-64",1601 1600 "linux arm LE": "esbuild-linux-arm", 1602 1601 "linux arm64 LE": "esbuild-linux-arm64", … … 1605 1604 "linux ppc64 LE": "esbuild-linux-ppc64le", 1606 1605 "linux x64 LE": "esbuild-linux-64", 1606 "netbsd x64 LE": "esbuild-netbsd-64", 1607 "openbsd x64 LE": "esbuild-openbsd-64", 1607 1608 "sunos x64 LE": "esbuild-sunos-64" 1608 1609 }; … … 1686 1687 } 1687 1688 var _a; 1688 var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.13. 4";1689 var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.13.8"; 1689 1690 var esbuildCommandAndArgs = () => { 1690 if ( path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib") {1691 if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) { 1691 1692 throw new Error(`The esbuild JavaScript API cannot be bundled. Please mark the "esbuild" package as external so it's not included in the bundle. 1692 1693 … … 1745 1746 } 1746 1747 }; 1747 var version = "0.13. 4";1748 var version = "0.13.8"; 1748 1749 var build = (options) => ensureServiceIsRunning().build(options); 1749 1750 var serve = (serveOptions, buildOptions) => ensureServiceIsRunning().serve(serveOptions, buildOptions); … … 1854 1855 return longLivedService; 1855 1856 let [command, args] = esbuildCommandAndArgs(); 1856 let child = child_process.spawn(command, args.concat(`--service=${"0.13. 4"}`, "--ping"), {1857 let child = child_process.spawn(command, args.concat(`--service=${"0.13.8"}`, "--ping"), { 1857 1858 windowsHide: true, 1858 1859 stdio: ["pipe", "pipe", "inherit"], … … 1961 1962 }); 1962 1963 callback(service); 1963 let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.13. 4"}`), {1964 let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.13.8"}`), { 1964 1965 cwd: defaultWD, 1965 1966 windowsHide: true, … … 1977 1978 let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel(); 1978 1979 let worker = new worker_threads2.Worker(__filename, { 1979 workerData: { workerPort, defaultWD, esbuildVersion: "0.13. 4" },1980 workerData: { workerPort, defaultWD, esbuildVersion: "0.13.8" }, 1980 1981 transferList: [workerPort], 1981 1982 execArgv: []
Note:
See TracChangeset
for help on using the changeset viewer.