Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/esbuild/install.js

    r59329aa re29cc2e  
    5151  "freebsd arm64 LE": "esbuild-freebsd-arm64",
    5252  "freebsd x64 LE": "esbuild-freebsd-64",
    53   "openbsd x64 LE": "esbuild-openbsd-64",
    5453  "linux arm LE": "esbuild-linux-arm",
    5554  "linux arm64 LE": "esbuild-linux-arm64",
     
    5857  "linux ppc64 LE": "esbuild-linux-ppc64le",
    5958  "linux x64 LE": "esbuild-linux-64",
     59  "netbsd x64 LE": "esbuild-netbsd-64",
     60  "openbsd x64 LE": "esbuild-openbsd-64",
    6061  "sunos x64 LE": "esbuild-sunos-64"
    6162};
     
    9293  command.push("--version");
    9394  const stdout = child_process.execFileSync(command.shift(), command).toString().trim();
    94   if (stdout !== "0.13.4") {
    95     throw new Error(`Expected ${JSON.stringify("0.13.4")} but got ${JSON.stringify(stdout)}`);
     95  if (stdout !== "0.13.8") {
     96    throw new Error(`Expected ${JSON.stringify("0.13.8")} but got ${JSON.stringify(stdout)}`);
    9697  }
    9798}
     
    144145  try {
    145146    fs2.writeFileSync(path2.join(installDir, "package.json"), "{}");
    146     child_process.execSync(`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.13.4"}`, { cwd: installDir, stdio: "pipe", env });
     147    child_process.execSync(`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.13.8"}`, { cwd: installDir, stdio: "pipe", env });
    147148    const installedBinPath = path2.join(installDir, "node_modules", pkg, subpath);
    148149    fs2.renameSync(installedBinPath, binPath);
     
    192193}
    193194async function downloadDirectlyFromNPM(pkg, subpath, binPath) {
    194   const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.13.4"}.tgz`;
     195  const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.13.8"}.tgz`;
    195196  console.error(`[esbuild] Trying to download ${JSON.stringify(url)}`);
    196197  try {
     
    203204}
    204205async function checkAndPreparePackage() {
    205   if (process.env.ESBUILD_BINARY_PATH) {
    206     applyManualBinaryPathOverride(process.env.ESBUILD_BINARY_PATH);
     206  if (ESBUILD_BINARY_PATH) {
     207    applyManualBinaryPathOverride(ESBUILD_BINARY_PATH);
    207208    return;
    208209  }
Note: See TracChangeset for help on using the changeset viewer.