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AAa,UAAYP,GAClBO,EAAa,WAAaP,4BAG3BF,EAAY,UAAYE,GACvBF,EAAY,WAAaE,WAGhC,MAAUtB,MAAK,0BtFanBo9C,euFhCkC97C,EAA6B5D,EAAsBC,UAC7EE,QAAQC,sBACA,OACNsE,EAAc,WAAad,GACjC,MAAMM,EAAM,mCACZU,GAAAC,QAAQX,WACCA,uBAGFC,EAAa,WAAaP,sBAG1BF,EAAY,WAAaE,WAGhC,MAAUtB,MAAK,0BvFkBnBs8C,KAAM9mC,GAIFkE,GAAK,sIAsBLlB,GAAM,8BAAkDkB,IAoH9DpC,EAAKzZ,QAAQw/C,MACV97B,MAAM0V,IACLp5B,QAAQke,SAAWkb,KAEpBqmB,OAAOjtC,IACN/N,GAAA+N,MAAU,oBACV/N,GAAA+N,MAAWA,GACXxS,QAAQke,SAAW","sources":["node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","src/brew/brew.ts","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","src/utils/setup/sudo.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupBrewPack.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/exec.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/setup/setupBin.ts","src/cmake/cmake.ts","src/python/setup-python/src/utils.ts","src/python/setup-python/src/find-python.ts","src/python/setup-python/src/install-pypy.ts","src/python/python.ts","src/python/setup-python/src/find-pypy.ts","src/python/setup-python/src/install-python.ts","src/utils/http/validate_url.ts","src/utils/setup/setupPipPack.ts","src/utils/setup/version.ts","src/utils/setup/extract.ts","src/llvm/llvm.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/default_versions.ts","src/gcc/gcc.ts","src/main.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","node_modules/.pnpm/@actions+io@1.1.1/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.1/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.5/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/subset.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/index.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/proxy.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","node_modules/.pnpm/hasha@5.2.2/node_modules/hasha/index.js","src/msvc/msvc-dev-cmd/index.js","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/ccache/ccache.ts","src/doxygen/doxygen.ts","src/cppcheck/cppcheck.ts"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","import { execFileSync } from \"child_process\"\nimport { dirname } from \"path\"\nimport which from \"which\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupBrew(_version: string, _setupCppDir: string, _arch: string) {\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // brew is not thread-safe\n execFileSync(`/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"`, {\n stdio: \"inherit\",\n })\n binDir = \"/usr/local/bin/\"\n\n return { binDir }\n}\n","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","let _issudo: boolean | undefined = undefined\n\nexport function isRoot(): boolean {\n if (_issudo !== undefined) {\n return _issudo\n }\n // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions, @typescript-eslint/no-unnecessary-condition\n _issudo = Boolean(process.env.CI) || process.getuid?.() === 0\n return _issudo\n}\n\nexport function mightSudo(command: string) {\n if (isRoot()) {\n return `sudo ${command}`\n }\n return command\n}\n","/* eslint-disable require-atomic-updates */\nimport spawn from \"cross-spawn\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { mightSudo } from \"./sudo\"\n\nlet didUpdate: boolean = false\n\n/** A function that installs a package using apt */\nexport function setupAptPack(name: string, version?: string, repository: boolean | string = true): InstallationInfo {\n const apt = mightSudo(\"apt-get\")\n\n let exit: number | null = 0\n\n if (typeof repository === \"string\") {\n exit = spawn.sync(mightSudo(\"add-apt-repository\"), [\"--update\", repository], { stdio: \"inherit\" }).status\n }\n\n if (!didUpdate || repository === true) {\n exit = spawn.sync(apt, [\"update\"], { stdio: \"inherit\" }).status\n didUpdate = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n exit = spawn.sync(apt, [\"install\", `${name}=${version}`], { stdio: \"inherit\" }).status\n } catch {\n exit = spawn.sync(apt, [\"install\", `${name}-${version}`], { stdio: \"inherit\" }).status\n }\n } else {\n exit = spawn.sync(apt, [\"install\", name], { stdio: \"inherit\" }).status\n }\n\n if (exit !== 0) {\n throw new Error(`Failed to install ${name} ${version}`)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport spawn from \"cross-spawn\"\nimport which from \"which\"\nimport { setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport function setupBrewPack(name: string, version?: string): InstallationInfo {\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n // brew is not thread-safe\n spawn.sync(\"brew\", [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name], {\n stdio: \"inherit\",\n })\n\n return { binDir: \"/usr/local/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport spawn from \"cross-spawn\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"path\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\n\nlet binDir: string | undefined\n\nexport function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): InstallationInfo | undefined {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n const exit = spawn.sync(\n `@\"%SystemRoot%\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\" && SET \"PATH=%PATH%;%ALLUSERSPROFILE%\\\\chocolatey\\\\bin\"`,\n { stdio: \"inherit\" }\n ).status\n\n if (exit !== 0) {\n throw new Error(`Failed to install chocolatey`)\n }\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n\n if (existsSync(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","/* eslint-disable require-atomic-updates */\nimport { addPath } from \"@actions/core\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport spawn from \"cross-spawn\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n let exit\n if (version !== undefined && version !== \"\") {\n exit = spawn.sync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], { stdio: \"inherit\" }).status\n } else {\n exit = spawn.sync(\"choco\", [\"install\", \"-y\", name, ...args], { stdio: \"inherit\" }).status\n }\n\n if (exit !== 0) {\n throw new Error(`Failed to install ${name} ${version}`)\n }\n\n const binDir = \"C:/ProgramData/Chocolatey/bin/\"\n addPath(binDir)\n return { binDir }\n}\n",null,null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath, info } from \"@actions/core\"\nimport { join } from \"path\"\nimport { existsSync } from \"fs\"\nimport * as hasha from \"hasha\"\nimport { tmpdir } from \"os\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: {\n (file: string, dest: string): Promise | Promise\n }\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n}\n\n/**\n * A function that:\n *\n * - Downlodas and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the dowloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform) => PackageInfo | Promise,\n setupCppDir: string\n): Promise {\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n\n const { url, binRelativeDir, extractedFolderName, extractFunction } = await getPackageInfo(version, process.platform)\n\n // Restore from cache (if found).\n try {\n const dir = find(name, version)\n if (dir) {\n info(`${name} ${version} was found in the cache.`)\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n addPath(binDir)\n return { installDir, binDir }\n }\n } catch {\n // fails on a local machine?\n }\n\n // Get an unique output directory name from the URL.\n const key: string = await hasha.async(url)\n const rootDir = join(setupCppDir, key)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(rootDir)) {\n info(`Download and extract ${name} ${version}`)\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, rootDir)\n }\n\n const installDir = join(rootDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(rootDir, name, version)\n }\n\n return { installDir, binDir }\n}\n/** Add bin extension to a binary. This will be `.exe` on Windows. */\nexport function addBinExtension(name: string) {\n if (process.platform === \"win32\") {\n return `${name}.exe`\n }\n return name\n}\n","import { extractZip, extractTar } from \"@actions/tool-cache\"\nimport { getInput } from \"@actions/core\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform?: NodeJS.Platform): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n const platformStr = platform ?? process.platform\n const arch = getInput(\"architecture\") || process.arch\n switch (platformStr) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platformStr}'`)\n }\n}\n\n/** Setup cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCmake(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupCppDir)\n}\n","import fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n let fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a seperate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\n// Note on the tool cache layout for PyPy:\n// PyPy has its own versioning scheme that doesn't follow the Python versioning scheme.\n// A particular version of PyPy may contain one or more versions of the Python interpreter.\n// For example, PyPy 7.0 contains Python 2.7, 3.5, and 3.6-alpha.\n// We only care about the Python version, so we don't use the PyPy version for the tool cache.\nfunction usePyPy(\n majorVersion: '2' | '3.6',\n architecture: string\n): InstalledVersion {\n const findPyPy = tc.find.bind(undefined, 'PyPy', majorVersion);\n let installDir: string | null = findPyPy(architecture);\n\n if (!installDir && IS_WINDOWS) {\n // PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.\n // On our Windows virtual environments, we only install an x86 version.\n // Fall back to x86.\n installDir = findPyPy('x86');\n }\n\n if (!installDir) {\n // PyPy not installed in $(Agent.ToolsDirectory)\n throw new Error(`PyPy ${majorVersion} not found`);\n }\n\n // For PyPy, Windows uses 'bin', not 'Scripts'.\n const _binDir = path.join(installDir, 'bin');\n\n // On Linux and macOS, the Python interpreter is in 'bin'.\n // On Windows, it is in the installation root.\n const pythonLocation = IS_WINDOWS ? installDir : _binDir;\n core.exportVariable('pythonLocation', pythonLocation);\n\n core.addPath(installDir);\n core.addPath(_binDir);\n // Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be \"Scripts\" on Windows.\n if (IS_WINDOWS) {\n core.addPath(path.join(installDir, 'Scripts'));\n }\n\n const impl = 'pypy' + majorVersion.toString();\n core.setOutput('python-version', impl);\n\n return {impl: impl, version: versionFromPath(installDir)};\n}\n\nasync function useCpythonVersion(\n version: string,\n architecture: string\n): Promise {\n const desugaredVersionSpec = desugarDevVersion(version);\n const semanticVersionSpec = pythonVersionToSemantic(desugaredVersionSpec);\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n throw new Error(\n [\n `Version ${version} with arch ${architecture} not found`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n core.exportVariable('pythonLocation', installDir);\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n\n core.addPath(installDir);\n core.addPath(binDir(installDir));\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `>= 3.8.0-a0`. */\nfunction desugarDevVersion(versionSpec: string) {\n if (versionSpec.endsWith('-dev')) {\n const versionRoot = versionSpec.slice(0, -'-dev'.length);\n return `>= ${versionRoot}.0-a0`;\n } else {\n return versionSpec;\n }\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n */\nexport function pythonVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2');\n}\n\nexport async function findPythonVersion(\n version: string,\n architecture: string\n): Promise {\n switch (version.toUpperCase()) {\n case 'PYPY2':\n return usePyPy('2', architecture);\n case 'PYPY3':\n // keep pypy3 pointing to 3.6 for backward compatibility\n return usePyPy('3.6', architecture);\n default:\n return await useCpythonVersion(version, architecture);\n }\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string\n) {\n let downloadDir;\n\n const releases = await getAvailablePyPyVersions();\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n const releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture\n );\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n let downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nasync function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n let binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(pypyVersionToSemantic(item.pypy_version), pypyVersion);\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any) {\n return item.files.some(\n (file: any) =>\n WINDOWS_ARCHS.includes(file.arch) &&\n WINDOWS_PLATFORMS.includes(file.platform)\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any) {\n return releases.files.find(\n (item: any) =>\n WINDOWS_ARCHS.includes(item.arch) &&\n WINDOWS_PLATFORMS.includes(item.platform)\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n","import * as core from \"@actions/core\"\nimport * as finder from \"./setup-python/src/find-python\"\nimport * as finderPyPy from \"./setup-python/src/find-pypy\"\nimport * as path from \"path\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy-\")\n}\n\nexport async function setupPython(version: string, _setupCppDir: string, arch: string) {\n try {\n if (isPyPyVersion(version)) {\n const installed = await finderPyPy.findPyPyVersion(version, arch)\n core.info(\n `Successfully setup PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`\n )\n } else {\n const installed = await finder.findPythonVersion(version, arch)\n core.info(`Successfully setup ${installed.impl} (${installed.version})`)\n }\n const matchersPath = path.join(__dirname, \"..\", \".github\")\n core.info(`##[add-matcher]${path.join(matchersPath, \"python.json\")}`)\n } catch (err) {\n core.setFailed((err as Error).message)\n }\n}\n","import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({\n installDir,\n resolvedPythonVersion,\n resolvedPyPyVersion\n } = await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n core.exportVariable('pythonLocation', pythonLocation);\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN || isGhes() ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string\n): Promise {\n const manifest: tc.IToolRelease[] = await tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n return await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n const pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n}\n\nfunction isGhes(): boolean {\n const ghUrl = new URL(\n process.env['GITHUB_SERVER_URL'] || 'https://github.com'\n );\n return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';\n}\n","import * as https from \"https\"\n\nexport function isValidUrl(url: string) {\n return new Promise((resolve) => {\n https.get(url, (res) => {\n if (res.statusCode !== undefined && res.statusCode >= 200 && res.statusCode <= 399) {\n resolve(true)\n } else {\n resolve(false)\n }\n })\n })\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport spawn from \"cross-spawn\"\nimport which from \"which\"\nimport { addPath, info } from \"@actions/core\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"path\"\n\nlet pip: string | undefined\n\nlet binDir: string | undefined\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string) {\n // setup python and pip if needed\n if (pip === undefined) {\n if (which.sync(\"pip3\", { nothrow: true }) !== null) {\n pip = \"pip3\"\n } else if (which.sync(\"pip\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n pip = \"pip\"\n } else {\n await setupPython(\"3.x\", \"\", process.arch)\n pip = \"pip3\"\n }\n }\n\n const exit = spawn.sync(pip, [\"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name], {\n stdio: \"inherit\",\n }).status\n if (exit !== 0) {\n throw new Error(`Failed to install ${name} ${version}`)\n }\n\n if (binDir === undefined) {\n if (process.platform === \"linux\") {\n binDir = \"/home/runner/.local/bin/\"\n } else if (process.platform === \"darwin\") {\n binDir = \"/usr/local/bin/\"\n } else {\n try {\n binDir = join(\n (await getExecOutput('python3 -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n } catch {\n binDir = join(\n (await getExecOutput('python -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n }\n }\n info(`${binDir} to PATH`)\n addPath(binDir)\n }\n\n return { binDir }\n}\n","import { isValidUrl } from \"../http/validate_url\"\nimport semverCompare from \"semver/functions/compare\"\nimport { getExecOutput } from \"@actions/exec\"\n\n/**\n * Gets the specific versions supported by this action compatible with the supplied (specific or minimum) version in\n * descending order of release (e.g., `5.0.2`, `5.0.1`, and `5.0.0` for `5`).\n */\nexport function getSpecificVersions(versions: Set, semversion: string): string[] {\n return Array.from(versions)\n .filter((v) => /^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion))\n .sort()\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise\n): Promise<[string, string]> {\n if (!versions.has(version)) {\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n }\n\n for (const specificVersion of getSpecificVersions(versions, version)) {\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isValidUrl(url))) {\n return [specificVersion, url]\n }\n }\n\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const { stderr, stdout } = await getExecOutput(file, [\"--version\"])\n const version = stdout.match(versionRegex)?.[1] ?? stderr.match(versionRegex)?.[1]\n return version\n } catch (e) {\n console.error(e)\n return undefined\n }\n}\n\n/** Check if the given bin is up to date against the target version */\nexport async function isBinUptoDate(\n givenFile: string,\n targetVersion: string,\n versionRegex: RegExp = defaultVersionRegex\n) {\n const givenVersion = await getBinVersion(givenFile, versionRegex)\n if (\n typeof givenVersion === \"string\" &&\n typeof targetVersion === \"string\" &&\n givenVersion !== \"\" &&\n targetVersion !== \"\"\n ) {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n","import { exec } from \"@actions/exec\"\nimport { mkdirP } from \"@actions/io\"\nexport { extractTar, extractXar, extract7z, extractZip } from \"@actions/tool-cache\"\n\nexport async function extractExe(file: string, dest: string) {\n const exit = await exec(\"7z\", [\"x\", file, `-o${dest}`])\n if (exit !== 0) {\n throw new Error(`Failed to extract ${file} to ${dest} with 7z`)\n }\n return dest\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=1\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n const exit = await exec(\"tar\", [\"xf\", file, \"-C\", dest, ...flags])\n if (exit !== 0) {\n throw new Error(`Failed to extract ${file} to ${dest} with tar`)\n }\n return dest\n}\n","import * as core from \"@actions/core\"\nimport * as path from \"path\"\nimport semverLte from \"semver/functions/lte\"\nimport semverMajor from \"semver/functions/major\"\nimport { isValidUrl } from \"../utils/http/validate_url\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\nimport { getSpecificVersionAndUrl, getVersions } from \"../utils/setup/version\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { existsSync } from \"fs\"\n\n//================================================\n// Version\n//================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n])\n\n//================================================\n// URL\n//================================================\n\n/** Gets a LLVM download URL for GitHub. */\nfunction getGitHubUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`\n}\n\n/** Gets a LLVM download URL for https://releases.llvm.org. */\nfunction getReleaseUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://releases.llvm.org/${version}/${file}`\n}\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING: Set = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n])\n\n/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_MISSING.has(version)) {\n return null\n }\n\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\"\n const prefix = \"clang+llvm-\"\n const suffix = `-x86_64${darwin}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map([[\"12.0.1\", \"12.0.1-rc4\"]])\n\n/** The (latest) Ubuntu versions for each LLVM version. */\nconst UBUNTU: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1-rc4\": \"-ubuntu-21.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"12.0.1-rc4\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nfunction getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let ubuntu: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n ubuntu = version\n } else if (version !== \"\" && version in UBUNTU) {\n ubuntu = UBUNTU[version]\n } else {\n // default to the maximum vresion\n ubuntu = UBUNTU[MAX_UBUNTU]\n }\n\n const prefix = \"clang+llvm-\"\n const suffix = version === \"5.0.0\" ? `-linux-x86_64${ubuntu}.tar.xz` : `-x86_64-linux-gnu${ubuntu}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\"])\n\n/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isValidUrl(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\n//================================================\n// Action\n//================================================\n\nconst DEFAULT_NIX_DIRECTORY = \"./llvm\"\nconst DEFAULT_WIN32_DIRECTORY = \"C:/Program Files/LLVM\"\n\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n core.setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n extractFunction: platform === \"win32\" ? extractExe : extractTarByExe,\n }\n}\n\nexport async function setupLLVM(\n version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string | undefined,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n let directory = _setupCppDir\n if (directory === \"\" || directory === undefined) {\n directory = process.platform === \"win32\" ? DEFAULT_WIN32_DIRECTORY : DEFAULT_NIX_DIRECTORY\n }\n\n directory = path.resolve(directory)\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, directory)\n\n // Adding environment variables\n const lib = path.join(directory, \"lib\")\n\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n core.exportVariable(\"LLVM_PATH\", directory) // the output of this action\n\n const llvmMajor = semverMajor(version)\n\n // Setup LLVM as the compiler\n core.exportVariable(\"LD_LIBRARY_PATH\", `${lib}${path.delimiter}${ld}`)\n core.exportVariable(\"DYLD_LIBRARY_PATH\", `${lib}${path.delimiter}${dyld}`)\n\n core.exportVariable(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`)\n\n core.exportVariable(\"LDFLAGS\", `-L${directory}/lib`)\n core.exportVariable(\"CPPFLAGS\", `-I${directory}/include`)\n\n core.exportVariable(\"CC\", `${directory}/bin/clang`)\n core.exportVariable(\"CXX\", `${directory}/bin/clang++`)\n\n core.exportVariable(\"LIBRARY_PATH\", `${directory}/lib`)\n\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (existsSync(sdkroot)) {\n core.exportVariable(\"SDKROOT\", sdkroot)\n }\n } catch (e) {\n core.error(e as Error | string)\n }\n }\n\n return installationInfo\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { error, exportVariable } from \"@actions/core\"\nimport { existsSync } from \"fs\"\n\ntype MSVCVersion = \"2015\" | \"2017\" | \"2019\" | string\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupMSVC(\n version: MSVCVersion,\n _setupCppDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n): Promise {\n if (process.platform !== \"win32\") {\n return\n }\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n try {\n if (version === \"2015\") {\n toolset = \"14.0.25420.1\"\n await setupChocoPack(\"visualcpp-build-tools\", toolset, [\n \"--ignore-dependencies\",\n \"--params\",\n \"'/IncludeRequired'\",\n ])\n\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n if (existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n } else if (version === \"2017\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.38.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"2019\") {\n toolset = \"14.29.30133\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.2.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n }\n } catch (e) {\n error(e as string | Error)\n }\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n\n // lazy load the action so it is not executed\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const { setupMSVCDevCmd } = require(\"./msvc-dev-cmd/index\")\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre)\n}\n","import { extractZip } from \"@actions/tool-cache\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupNinja(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupCppDir)\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","const DefaultVersions: Record = {\n msvc: \"2019\",\n llvm: \"11\",\n ninja: \"1.10.2\",\n cmake: \"3.20.2\",\n gcovr: \"5.0\",\n conan: \"1.40.1\",\n meson: \"0.59.1\",\n python: \"3.x\",\n gcc: process.platform === \"win32\" ? \"10.2.0\" : \"11\",\n}\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined) {\n if (version === \"true\" || (version === undefined && name in DefaultVersions)) {\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n","import { addPath, exportVariable, info } from \"@actions/core\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, _setupCppDir: string, arch: string) {\n let binDir: string | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n await setupChocoPack(\"mingw\", version)\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n addPath(binDir)\n } else if (existsSync(\"C:/ProgramData/Chocolatey/bin/g++.exe\")) {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n break\n }\n case \"darwin\": {\n binDir = setupBrewPack(\"gcc\", version).binDir\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n binDir = (await setupAptPack(\"g++\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n binDir = (await setupAptPack(\"g++-multilib\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n }\n break\n }\n // TODO support bare-metal\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, \"ppa:ubuntu-toolchain-r/test\")\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (binDir !== undefined) {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n // // Setup gcc as the compiler\n // exportVariable(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`)\n // exportVariable(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`)\n\n // exportVariable(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`)\n\n // exportVariable(\"LDFLAGS\", `-L${installDir}/lib`)\n // exportVariable(\"CPPFLAGS\", `-I${installDir}/include`)\n\n if (process.platform === \"win32\") {\n exportVariable(\"CC\", `${binDir}/gcc`)\n exportVariable(\"CXX\", `${binDir}/g++`)\n } else {\n exportVariable(\"CC\", `${binDir}/gcc-${majorVersion}`)\n exportVariable(\"CXX\", `${binDir}/g++-${majorVersion}`)\n }\n return { binDir }\n }\n return undefined\n}\n","import * as core from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey\"\nimport { setupCmake } from \"./cmake/cmake\"\nimport { setupConan } from \"./conan/conan\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck\"\nimport { setupDoxygen } from \"./doxygen/doxygen\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPython } from \"./python/python\"\nimport mri from \"mri\"\nimport untildify from \"untildify\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\n\n/** The setup functions */\nconst setups = {\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n ccache: setupCcache,\n doxygen: setupDoxygen,\n cppcheck: setupCppcheck,\n msvc: setupMSVC,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"cmake\",\n \"ninja\",\n \"python\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"llvm\",\n \"gcc\",\n \"choco\",\n \"brew\",\n \"ccache\",\n \"doxygen\",\n \"cppcheck\",\n \"msvc\",\n]\n\n/** The possible inputs to the program */\ntype Inputs = keyof typeof setups | \"compiler\" | \"architecture\"\n\n// an array of possible inputs\nconst inputs: Array = [\"compiler\", \"architecture\", ...tools]\n\n/** The main entry function */\nexport async function main(args: string[]): Promise {\n // parse options using mri or github actions\n const opts = mri & { help: boolean }>(args, {\n string: inputs,\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildify(\"~/setup_cpp\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n try {\n if (maybeCompiler !== undefined) {\n // detecting the compiler version. Devide the given string by `-` and use the second element as the version\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n let version: string | undefined\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n version = maybeVersion\n } else {\n core.error(`Invalid version ${maybeVersion} used for the compiler. Using the default version...`)\n }\n }\n\n // install the compiler. We allow some aliases for the compiler name\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n await setupLLVM(getVersion(\"llvm\", version) as string, setupCppDir, arch)\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n await setupGcc(getVersion(\"gcc\", version) as string, setupCppDir, arch)\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n await setupMSVC(getVersion(\"msvc\", version) as string, setupCppDir, arch)\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n }\n } catch (e) {\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n }\n\n // installing the specified tools\n\n // loop over the tools and run their setup function\n for (const tool of tools) {\n // get the version or \"true\" or undefined for this tool from the options\n const value = opts[tool]\n\n // skip if undefined\n if (value !== undefined) {\n // get the setup function\n const setupFunction = setups[tool]\n\n // runnig the setup function for this tool\n try {\n // eslint-disable-next-line no-await-in-loop\n const installationInfo = await setupFunction(getVersion(tool, value), setupCppDir, arch)\n\n // preparing a report string\n if (installationInfo !== undefined) {\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } else {\n successMessages.push(` ${tool} was successfully installed`)\n }\n } catch (e) {\n // push error message to the logger\n errorMessages.push(` ${tool} failed to install`)\n }\n }\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => core.info(tool))\n errorMessages.forEach((tool) => core.error(tool))\n\n core.info(\"setup_cpp finished\")\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\n// Run main\nmain(process.argv)\n .then((ret) => {\n process.exitCode = ret\n })\n .catch((error) => {\n core.error(\"main() panicked!\")\n core.error(error as string | Error)\n process.exitCode = 1\n })\n\nfunction printHelp() {\n core.info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan \"1.40.1\"\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-11'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool.\n\nAll the available tools:\n--llvm\n--gcc\n--cmake\n--ninja\n--meson\n--conan\n--ccache\n--cppcheck\n--doxygen\n--gcovr\n--opencppcoverage\n--python\n--choco\n--brew\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = core.getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\n\nfunction getSuccessMessage(tool: string, installationInfo: InstallationInfo) {\n let success = ` ${tool} was successfully installed`\n if (\"installDir\" in installationInfo) {\n success += `\\nThe installation direcotry is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n success += `\\nThe binary direcotry is ${installationInfo.binDir}`\n }\n return success\n}\n",null,null,null,null,"const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n",null,null,null,"// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nmodule.exports = {\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: require('./internal/constants').SEMVER_SPEC_VERSION,\n SemVer: require('./classes/semver'),\n compareIdentifiers: require('./internal/identifiers').compareIdentifiers,\n rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,\n parse: require('./functions/parse'),\n valid: require('./functions/valid'),\n clean: require('./functions/clean'),\n inc: require('./functions/inc'),\n diff: require('./functions/diff'),\n major: require('./functions/major'),\n minor: require('./functions/minor'),\n patch: require('./functions/patch'),\n prerelease: require('./functions/prerelease'),\n compare: require('./functions/compare'),\n rcompare: require('./functions/rcompare'),\n compareLoose: require('./functions/compare-loose'),\n compareBuild: require('./functions/compare-build'),\n sort: require('./functions/sort'),\n rsort: require('./functions/rsort'),\n gt: require('./functions/gt'),\n lt: require('./functions/lt'),\n eq: require('./functions/eq'),\n neq: require('./functions/neq'),\n gte: require('./functions/gte'),\n lte: require('./functions/lte'),\n cmp: require('./functions/cmp'),\n coerce: require('./functions/coerce'),\n Comparator: require('./classes/comparator'),\n Range: require('./classes/range'),\n satisfies: require('./functions/satisfies'),\n toComparators: require('./ranges/to-comparators'),\n maxSatisfying: require('./ranges/max-satisfying'),\n minSatisfying: require('./ranges/min-satisfying'),\n minVersion: require('./ranges/min-version'),\n validRange: require('./ranges/valid'),\n outside: require('./ranges/outside'),\n gtr: require('./ranges/gtr'),\n ltr: require('./ranges/ltr'),\n intersects: require('./ranges/intersects'),\n simplifyRange: require('./ranges/simplify'),\n subset: require('./ranges/subset'),\n}\n","const { MAX_SAFE_COMPONENT_LENGTH } = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst createToken = (name, value, isGlobal) => {\n const index = R++\n debug(index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*')\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\.0\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\.0\\.0-0\\\\s*$')\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\nmodule.exports = {\n SEMVER_SPEC_VERSION,\n MAX_LENGTH,\n MAX_SAFE_INTEGER,\n MAX_SAFE_COMPONENT_LENGTH\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier)\n this.inc('pre', identifier)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier)\n }\n this.inc('pre', identifier)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0) {\n this.prerelease = [0]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n this.prerelease.push(0)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = [identifier, 0]\n }\n } else {\n this.prerelease = [identifier, 0]\n }\n }\n break\n\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.format()\n this.raw = this.version\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about so we always get a consistent\n// obj with keys in a consistent order.\nconst opts = ['includePrerelease', 'loose', 'rtl']\nconst parseOptions = options =>\n !options ? {}\n : typeof options !== 'object' ? { loose: true }\n : opts.filter(k => options[k]).reduce((options, k) => {\n options[k] = true\n return options\n }, {})\nmodule.exports = parseOptions\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers\n}\n","const {MAX_LENGTH} = require('../internal/constants')\nconst { re, t } = require('../internal/re')\nconst SemVer = require('../classes/semver')\n\nconst parseOptions = require('../internal/parse-options')\nconst parse = (version, options) => {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n if (version.length > MAX_LENGTH) {\n return null\n }\n\n const r = options.loose ? re[t.LOOSE] : re[t.FULL]\n if (!r.test(version)) {\n return null\n }\n\n try {\n return new SemVer(version, options)\n } catch (er) {\n return null\n }\n}\n\nmodule.exports = parse\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier) => {\n if (typeof (options) === 'string') {\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(version, options).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse')\nconst eq = require('./eq')\n\nconst diff = (version1, version2) => {\n if (eq(version1, version2)) {\n return null\n } else {\n const v1 = parse(version1)\n const v2 = parse(version2)\n const hasPre = v1.prerelease.length || v2.prerelease.length\n const prefix = hasPre ? 'pre' : ''\n const defaultResult = hasPre ? 'prerelease' : ''\n for (const key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return prefix + key\n }\n }\n }\n return defaultResult // may be undefined\n }\n}\nmodule.exports = diff\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst {re, t} = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null)\n return null\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n const sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n const sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n const sameSemVer = this.semver.version === comp.semver.version\n const differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n const oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<')\n const oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>')\n\n return (\n sameDirectionIncreasing ||\n sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan ||\n oppositeDirectionsGreaterThan\n )\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst {re, t} = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First, split based on boolean or ||\n this.raw = range\n this.set = range\n .split(/\\s*\\|\\|\\s*/)\n // map the range to a 2d array of comparators\n .map(range => this.parseRange(range.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${range}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0)\n this.set = [first]\n else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => {\n return comps.join(' ').trim()\n })\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n range = range.trim()\n\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = Object.keys(this.options).join(',')\n const memoKey = `parseRange:${memoOpts}:${range}`\n const cached = cache.get(memoKey)\n if (cached)\n return cached\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, re[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ')\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n // in loose mode, throw out any that are not valid comparators\n .filter(this.options.loose ? comp => !!comp.match(compRe) : () => true)\n .map(comp => new Comparator(comp, this.options))\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const l = rangeList.length\n const rangeMap = new Map()\n for (const comp of rangeList) {\n if (isNullSet(comp))\n return [comp]\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has(''))\n rangeMap.delete('')\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace\n} = require('../internal/re')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\nconst replaceTildes = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceTilde(comp, options)\n }).join(' ')\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\nconst replaceCarets = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceCaret(comp, options)\n }).join(' ')\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map((comp) => {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<')\n pr = '-0'\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp.trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return (`${from} ${to}`).trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin)))\n minver = setMin\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst {ANY} = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let min = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!min)\n min = version\n } else {\n if (prev) {\n set.push([min, prev])\n }\n prev = null\n min = null\n }\n }\n if (min)\n set.push([min, null])\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max)\n ranges.push(min)\n else if (!max && min === v[0])\n ranges.push('*')\n else if (!max)\n ranges.push(`>=${min}`)\n else if (min === v[0])\n ranges.push(`<=${max}`)\n else\n ranges.push(`${min} - ${max}`)\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom)\n return true\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub)\n continue OUTER\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull)\n return false\n }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom)\n return true\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY)\n return true\n else if (options.includePrerelease)\n sub = [ new Comparator('>=0.0.0-0') ]\n else\n sub = [ new Comparator('>=0.0.0') ]\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease)\n return true\n else\n dom = [ new Comparator('>=0.0.0') ]\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=')\n gt = higherGT(gt, c, options)\n else if (c.operator === '<' || c.operator === '<=')\n lt = lowerLT(lt, c, options)\n else\n eqSet.add(c.semver)\n }\n\n if (eqSet.size > 1)\n return null\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0)\n return null\n else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<='))\n return null\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options))\n return null\n\n if (lt && !satisfies(eq, String(lt), options))\n return null\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options))\n return false\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt)\n return false\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options))\n return false\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt)\n return false\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options))\n return false\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0)\n return false\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0)\n return false\n\n if (lt && hasDomGT && !gt && gtltComp !== 0)\n return false\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre)\n return false\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst http = require(\"http\");\nconst https = require(\"https\");\nconst pm = require(\"./proxy\");\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = require('tunnel');\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n","module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n",null,null,"'use strict';\n\nconst isStream = stream =>\n\tstream !== null &&\n\ttypeof stream === 'object' &&\n\ttypeof stream.pipe === 'function';\n\nisStream.writable = stream =>\n\tisStream(stream) &&\n\tstream.writable !== false &&\n\ttypeof stream._write === 'function' &&\n\ttypeof stream._writableState === 'object';\n\nisStream.readable = stream =>\n\tisStream(stream) &&\n\tstream.readable !== false &&\n\ttypeof stream._read === 'function' &&\n\ttypeof stream._readableState === 'object';\n\nisStream.duplex = stream =>\n\tisStream.writable(stream) &&\n\tisStream.readable(stream);\n\nisStream.transform = stream =>\n\tisStream.duplex(stream) &&\n\ttypeof stream._transform === 'function';\n\nmodule.exports = isStream;\n","'use strict';\nconst fs = require('fs');\nconst path = require('path');\nconst crypto = require('crypto');\nconst isStream = require('is-stream');\n\nconst {Worker} = (() => {\n\ttry {\n\t\treturn require('worker_threads');\n\t} catch (_) {\n\t\treturn {};\n\t}\n})();\n\nlet worker; // Lazy\nlet taskIdCounter = 0;\nconst tasks = new Map();\n\nconst recreateWorkerError = sourceError => {\n\tconst error = new Error(sourceError.message);\n\n\tfor (const [key, value] of Object.entries(sourceError)) {\n\t\tif (key !== 'message') {\n\t\t\terror[key] = value;\n\t\t}\n\t}\n\n\treturn error;\n};\n\nconst createWorker = () => {\n\tworker = new Worker(path.join(__dirname, 'thread.js'));\n\n\tworker.on('message', message => {\n\t\tconst task = tasks.get(message.id);\n\t\ttasks.delete(message.id);\n\n\t\tif (tasks.size === 0) {\n\t\t\tworker.unref();\n\t\t}\n\n\t\tif (message.error === undefined) {\n\t\t\ttask.resolve(message.value);\n\t\t} else {\n\t\t\ttask.reject(recreateWorkerError(message.error));\n\t\t}\n\t});\n\n\tworker.on('error', error => {\n\t\t// Any error here is effectively an equivalent of segfault, and have no scope, so we just throw it on callback level\n\t\tthrow error;\n\t});\n};\n\nconst taskWorker = (method, args, transferList) => new Promise((resolve, reject) => {\n\tconst id = taskIdCounter++;\n\ttasks.set(id, {resolve, reject});\n\n\tif (worker === undefined) {\n\t\tcreateWorker();\n\t}\n\n\tworker.ref();\n\tworker.postMessage({id, method, args}, transferList);\n});\n\nconst hasha = (input, options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst hash = crypto.createHash(options.algorithm || 'sha512');\n\n\tconst update = buffer => {\n\t\tconst inputEncoding = typeof buffer === 'string' ? 'utf8' : undefined;\n\t\thash.update(buffer, inputEncoding);\n\t};\n\n\tif (Array.isArray(input)) {\n\t\tinput.forEach(update);\n\t} else {\n\t\tupdate(input);\n\t}\n\n\treturn hash.digest(outputEncoding);\n};\n\nhasha.stream = (options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst stream = crypto.createHash(options.algorithm || 'sha512');\n\tstream.setEncoding(outputEncoding);\n\treturn stream;\n};\n\nhasha.fromStream = async (stream, options = {}) => {\n\tif (!isStream(stream)) {\n\t\tthrow new TypeError('Expected a stream');\n\t}\n\n\treturn new Promise((resolve, reject) => {\n\t\t// TODO: Use `stream.pipeline` and `stream.finished` when targeting Node.js 10\n\t\tstream\n\t\t\t.on('error', reject)\n\t\t\t.pipe(hasha.stream(options))\n\t\t\t.on('error', reject)\n\t\t\t.on('finish', function () {\n\t\t\t\tresolve(this.read());\n\t\t\t});\n\t});\n};\n\nif (Worker === undefined) {\n\thasha.fromFile = async (filePath, options) => hasha.fromStream(fs.createReadStream(filePath), options);\n\thasha.async = async (input, options) => hasha(input, options);\n} else {\n\thasha.fromFile = async (filePath, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tconst hash = await taskWorker('hashFile', [algorithm, filePath]);\n\n\t\tif (encoding === 'buffer') {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n\n\thasha.async = async (input, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tif (encoding === 'buffer') {\n\t\t\tencoding = undefined;\n\t\t}\n\n\t\tconst hash = await taskWorker('hash', [algorithm, input]);\n\n\t\tif (encoding === undefined) {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n}\n\nhasha.fromFileSync = (filePath, options) => hasha(fs.readFileSync(filePath), options);\n\nmodule.exports = hasha;\n","const core = require('@actions/core')\r\nconst child_process = require('child_process')\r\nconst fs = require('fs')\r\nconst path = require('path')\r\nconst process = require('process')\r\n\r\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\r\n\r\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\r\nconst VERSIONS = ['2019', '2017']\r\n\r\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\r\n\r\nfunction findWithVswhere(pattern) {\r\n try {\r\n let installationPath = child_process.execSync(`vswhere -products * -latest -prerelease -property installationPath`).toString().trim()\r\n return installationPath + '\\\\' + pattern\r\n } catch (e) {\r\n core.warning(`vswhere failed: ${e}`)\r\n }\r\n return null\r\n}\r\n\r\nfunction findVcvarsall() {\r\n // If vswhere is available, ask it about the location of the latest Visual Studio.\r\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat')\r\n if (path && fs.existsSync(path)) {\r\n core.info(`Found with vswhere: ${path}`)\r\n return path\r\n }\r\n core.info(\"Not found with vswhere\")\r\n\r\n // If that does not work, try the standard installation locations,\r\n // starting with the latest and moving to the oldest.\r\n for (const ver of VERSIONS) {\r\n for (const ed of EDITIONS) {\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\r\n core.info(`Trying standard location: ${path}`)\r\n if (fs.existsSync(path)) {\r\n core.info(`Found standard location: ${path}`)\r\n return path\r\n }\r\n }\r\n }\r\n core.info(\"Not found in standard locations\")\r\n\r\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\r\n if (fs.existsSync(path)) {\r\n core.info(`Found VS 2015: ${path}`)\r\n return path\r\n }\r\n core.info(`Not found in VS 2015 location: ${path}`)\r\n\r\n throw new Error('Microsoft Visual Studio not found')\r\n}\r\n\r\nfunction isPathVariable(name) {\r\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\r\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\r\n}\r\n\r\nfunction filterPathValue(path) {\r\n let paths = path.split(';')\r\n // Remove duplicates by keeping the first occurance and preserving order.\r\n // This keeps path shadowing working as intended.\r\n function unique(value, index, self) {\r\n return self.indexOf(value) === index\r\n }\r\n return paths.filter(unique).join(';')\r\n}\r\n\r\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\r\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre) {\r\n if (process.platform != 'win32') {\r\n core.info('This is not a Windows virtual environment, bye!')\r\n return\r\n }\r\n\r\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\r\n process.env.PATH += path.delimiter + VSWHERE_PATH\r\n\r\n // There are all sorts of way the architectures are called. In addition to\r\n // values supported by Microsoft Visual C++, recognize some common aliases.\r\n let arch_aliases = {\r\n \"win32\": \"x86\",\r\n \"win64\": \"x64\",\r\n \"x86_64\": \"x64\",\r\n \"x86-64\": \"x64\",\r\n }\r\n // Ignore case when matching as that's what humans expect.\r\n if (arch.toLowerCase() in arch_aliases) {\r\n arch = arch_aliases[arch.toLowerCase()]\r\n }\r\n\r\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\r\n // Call the configuration batch file and then output *all* the environment variables.\r\n\r\n var args = [arch]\r\n if (uwp == 'true') {\r\n args.push('uwp')\r\n }\r\n if (sdk) {\r\n args.push(sdk)\r\n }\r\n if (toolset) {\r\n args.push(`-vcvars_ver=${toolset}`)\r\n }\r\n if (spectre == 'true') {\r\n args.push('-vcvars_spectre_libs=spectre')\r\n }\r\n\r\n const vcvars = `\"${findVcvarsall()}\" ${args.join(' ')}`\r\n core.debug(`vcvars command-line: ${vcvars}`)\r\n\r\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\r\n const cmd_output_parts = cmd_output_string.split('\\f')\r\n\r\n const old_environment = cmd_output_parts[0].split('\\r\\n')\r\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\r\n const new_environment = cmd_output_parts[2].split('\\r\\n')\r\n\r\n // If vsvars.bat is given an incorrect command line, it will print out\r\n // an error and *still* exit successfully. Parse out errors from output\r\n // which don't look like environment variables, and fail if appropriate.\r\n const error_messages = vcvars_output.filter((line) => {\r\n if (line.match(/^\\[ERROR.*\\]/)) {\r\n // Don't print this particular line which will be confusing in output.\r\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\r\n return true\r\n }\r\n }\r\n return false\r\n })\r\n if (error_messages.length > 0) {\r\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\r\n }\r\n\r\n // Convert old environment lines into a dictionary for easier lookup.\r\n let old_env_vars = {}\r\n for (let string of old_environment) {\r\n const [name, value] = string.split('=')\r\n old_env_vars[name] = value\r\n }\r\n\r\n // Now look at the new environment and export everything that changed.\r\n // These are the variables set by vsvars.bat. Also export everything\r\n // that was not there during the first sweep: those are new variables.\r\n core.startGroup('Environment variables')\r\n for (let string of new_environment) {\r\n // vsvars.bat likes to print some fluff at the beginning.\r\n // Skip lines that don't look like environment variables.\r\n if (!string.includes('=')) {\r\n continue;\r\n }\r\n let [name, new_value] = string.split('=')\r\n let old_value = old_env_vars[name]\r\n // For new variables \"old_value === undefined\".\r\n if (new_value !== old_value) {\r\n core.info(`Setting ${name}`)\r\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\r\n // just prepends its stuff without checking if its already there.\r\n // This makes repeated invocations of this action fail after some\r\n // point, when the environment variable overflows. Avoid that.\r\n if (isPathVariable(name)) {\r\n new_value = filterPathValue(new_value)\r\n }\r\n core.exportVariable(name, new_value)\r\n }\r\n }\r\n core.endGroup()\r\n\r\n core.info(`Configured Developer Command Prompt`)\r\n}\r\nexports.setupMSVCDevCmd = setupMSVCDevCmd\r\n\r\nfunction main() {\r\n var arch = core.getInput('arch')\r\n const sdk = core.getInput('sdk')\r\n const toolset = core.getInput('toolset')\r\n const uwp = core.getInput('uwp')\r\n const spectre = core.getInput('spectre')\r\n\r\n setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre)\r\n}\r\n\r\ntry {\r\n main()\r\n}\r\ncatch (e) {\r\n core.setFailed('Could not setup Developer Command Prompt: ' + e.message)\r\n}\r\n",null,null,null,null,"'use strict';\nconst os = require('os');\n\nconst homeDirectory = os.homedir();\n\nmodule.exports = pathWithTilde => {\n\tif (typeof pathWithTilde !== 'string') {\n\t\tthrow new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n\t}\n\n\treturn homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, homeDirectory) : pathWithTilde;\n};\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"@actions/core\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupCppDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n addPath(binDir)\n return { binDir }\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n return setupAptPack(\"ccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"@actions/core\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupDoxygen(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n await setupChocoPack(\"graphviz\", version)\n addPath(\"C:/Program Files/Graphviz/bin\")\n const binDir = \"C:/Program Files/doxygen/bin\"\n addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n setupBrewPack(\"doxygen\", version)\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n await setupAptPack(\"doxygen\", version)\n return setupAptPack(\"graphviz\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"@actions/core\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = \"C:/Program Files/Cppcheck\"\n addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n return setupAptPack(\"cppcheck\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$f8af4289d8ca9e73$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$f8af4289d8ca9e73$var$core","code","ignoreErrors","$ee44094b0ce40db3$export$80e483d773064391","_version","_setupCppDir","_arch","includes","process","platform","$ee44094b0ce40db3$var$binDir","maybeBinDir","$parcel$interopDefault","$36da3a1038e77300$exports","sync","nothrow","$3U0nv$path","dirname","$3U0nv$child_process","execFileSync","stdio","$9c96c19a4bceb1f0$var$resolveCommandAttempt","parsed","withoutPathExt","env","cwd","hasCustomCwd","shouldSwitchCwd","undefined","chdir","disabled","err","resolved","command","$25914d0b552b8416$exports","pathExt","delimiter","e","$43e248ca34798005$var$notFoundError","original","syscall","Object","assign","Error","errno","spawnargs","args","$43e248ca34798005$var$verifyENOENT","status","$43e248ca34798005$var$isWin","file","$41c6ec4dbf52b862$var$spawn","$cc3250f0d1cc3019$exports","spawned","spawn","$43e248ca34798005$exports","hookChildProcess","$64b16b96675e553b$export$64c4c4e8a66ded49","$64b16b96675e553b$var$_issudo","CI","ref","getuid","call","$13dd793dec60e501$export$3facfc9dd87fb850","name","version","repository","apt","exit","$41c6ec4dbf52b862$exports","$13dd793dec60e501$var$didUpdate","binDir","$1c9ab043a2b6cc59$export$698568e794d5249f","$1c9ab043a2b6cc59$var$hasBrew","$a9f3b01a430d25e5$export$1e92c536ef588459","$a9f3b01a430d25e5$var$binDir","maybeChoco","$3U0nv$fs","existsSync","$6b27956e33e7a968$export$50c32c11cefe4e9f","$6b27956e33e7a968$var$hasChoco","$6FGZZ","addPath","$8d6c57753101e07a$var$exec","commandLine","commandArgs","$8d6c57753101e07a$var$tr","argStringToArray","length","toolPath","slice","concat","ToolRunner","exec","$fbdecc6eadfe47c2$var$findAllVersions","toolName","arch","versions","$fbdecc6eadfe47c2$var$os","$fbdecc6eadfe47c2$var$path","join","$fbdecc6eadfe47c2$var$_getCacheDirectory","$fbdecc6eadfe47c2$var$fs","children","readdirSync","child","$fbdecc6eadfe47c2$var$isExplicitVersion","fullPath","push","$fbdecc6eadfe47c2$var$_createExtractFolder","dest","$fbdecc6eadfe47c2$var$_getTempDirectory","$fbdecc6eadfe47c2$var$v4_1","default","$fbdecc6eadfe47c2$var$io","mkdirP","$fbdecc6eadfe47c2$var$_createToolPath","tool","folderPath","$fbdecc6eadfe47c2$var$semver","clean","$fbdecc6eadfe47c2$var$core","debug","markerPath","rmRF","$fbdecc6eadfe47c2$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$fbdecc6eadfe47c2$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$3U0nv$assert","ok","tempDirectory","$fbdecc6eadfe47c2$var$_getGlobal","key","defaultValue","value","$parcel$global","$f5c161df7ab7d525$export$97748eae293469f0","getPackageInfo","setupCppDir","_RUNNER_TEMP","RUNNER_TEMP","$3U0nv$os","tmpdir","url","binRelativeDir","extractedFolderName","extractFunction","dir","$fbdecc6eadfe47c2$exports","find","info","installDir","$e68279e3338bc371$exports","async","rootDir","downloaded","downloadTool","RUNNER_TOOL_CACHE","cacheDir","$d40f2b84e4520e56$var$getCmakePackageInfo","semVersion","$5M2Mq","platformStr","getInput","isOld","$ju11K","osArchStr","folderName","extractZip","extractTar","$20ba577a744e9e96$export$ceb9c2d7a4f63acc","sourceName","targetName","setExecutable","sourcePath","targetPath","symlinkSync","$20ba577a744e9e96$export$b6afdf548cce3a42","chmodSync","$20ba577a744e9e96$export$9bc8f45691b95052","$20ba577a744e9e96$export$a8cf3209e098ef45","$hBwzM","validRange","pypyVersion","$f022661c7ba1f0db$var$usePyPy","majorVersion","architecture","findPyPy","bind","_binDir","exportVariable","impl","setOutput","$f022661c7ba1f0db$var$versionFromPath","parts","split","sep","idx","findIndex","part","$36577581e049d94c$export$8c67d7fc35de7958","$36577581e049d94c$export$acc94c5223ff25f0","replace","$36577581e049d94c$export$c6639e8493cb127","releases","files","item","$20ba577a744e9e96$export$9cadc82215ebe904","$20ba577a744e9e96$export$64a6690eaf7c329","$36577581e049d94c$export$d85e7c823fa73d0d","$ca400c34eccdb57a$export$44f2938a3d4c6806","startsWith","installed","resolvedPyPyVersion","resolvedPythonVersion","pypyVersionSpec","filter","pythonVersion","test","$588899e011391f63$export$2b5406d6a9a13bbc","forEach","$588899e011391f63$export$2da61456f93be513","basename","$20ba577a744e9e96$export$4b4f4b982a2ffe07","fileVersion","readFileSync","$20ba577a744e9e96$export$6f314ebc3b60c941","$588899e011391f63$export$34f0d1e2635db91b","downloadDir","http","$9AGbw","HttpClient","response","getJson","result","$36577581e049d94c$var$getAvailablePyPyVersions","releaseData","filterReleases","isPythonVersionSatisfied","coerce","python_version","isPyPyVersionSatisfied","pypy_version","isArchPresent","some","$36577581e049d94c$export$b4c35c3de1bb74e3","$36577581e049d94c$export$c8431f03a51e60bd","foundRelease","previous","current","compare","$36577581e049d94c$export$596d3412b21fc15f","foundAsset","downloadUrl","download_url","pypyPath","archiveName","toolDir","pypyFilePath","$20ba577a744e9e96$export$52096b3724e0cb70","binaryPath","pypyBinaryPath","pythonBinaryPostfix","major","pypyBinaryPostfix","binaryExtension","$36577581e049d94c$var$createPyPySymlink","pythonLocation","pythonBinary","$8d6c57753101e07a$exports","$36577581e049d94c$var$installPip","$36577581e049d94c$export$14ff1a21eed93571","$588899e011391f63$export$cba4b335bf603792","toUpperCase","semanticVersionSpec","endsWith","manifest","getManifestFromRepo","$655628f797e4869d$var$AUTH","findFromManifest","$655628f797e4869d$export$138d6544552d0d44","release","pythonPath","pythonExtractedFolder","workingDirectory","$20ba577a744e9e96$export$ce1daefa7994a9d0","LD_LIBRARY_PATH","silent","listeners","stdout","data","trim","stderr","error","$655628f797e4869d$var$installPython","$655628f797e4869d$export$2705050b37fec3c","$655628f797e4869d$export$4f76c28790455076","EOL","libPath","pyLibPath","$f022661c7ba1f0db$var$binDir","version1","minor","userScriptsDir","$f022661c7ba1f0db$var$useCpythonVersion","$f022661c7ba1f0db$export$1cecbd6a84583d9c","matchersPath","__dirname","setFailed","message","$09efbe6c03c5e8c7$export$7a973c5043caaa2","$3U0nv$https","get","res","statusCode","$cc05105aff3c1e34$export$e258427b01a4f9","$cc05105aff3c1e34$var$pip","givenFile","targetVersion","versionRegex","givenVersion","ref1","getExecOutput","ref2","match","console","$1bd49ae4b85c403c$export$afe0511abe6ee3d2","$1wyqe","$1bd49ae4b85c403c$export$8c44dcfae252b9ed","$cc05105aff3c1e34$var$binDir","$a016715d3f18f117$export$8d5b126e4b80c6cb","$a016715d3f18f117$export$a18ed1c85be027cc","flags","$q05Mr","$ecc64fd197c4357d$var$getGitHubUrl","prefix","suffix","$ecc64fd197c4357d$var$getReleaseUrl","$ecc64fd197c4357d$export$18a6cfbf25963f89","$ecc64fd197c4357d$var$DARWIN_MISSING","has","$ecc64fd197c4357d$var$getDarwinUrl","versionGiven","rc","$ecc64fd197c4357d$var$UBUNTU_RC","ubuntu","$ecc64fd197c4357d$var$UBUNTU","$ecc64fd197c4357d$var$getLinuxUrl","$ecc64fd197c4357d$var$WIN32_MISSING","olderThan9_1","fallback","$ecc64fd197c4357d$var$getWin32Url","$ecc64fd197c4357d$var$getLLVMPackageInfo","specificVersion","getUrl","semversion","Array","from","v","reverse","$1bd49ae4b85c403c$export$e931c90ac13970ac","$1bd49ae4b85c403c$export$fa70b3b14f4c526f","$ecc64fd197c4357d$export$af592c7790e0a325","$ecc64fd197c4357d$export$3a1c6393858a80d7","directory","installationInfo","lib","_LD_LIBRARY_PATH","ld","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$k3zcS","xcrun","sdkroot","$4181a77ac5f8ec9b$export$966b4aa3adf6692d","sdk","uwp","spectre","toolset","VCTargetsPath","setupMSVCDevCmd","parcelRequire","$4181a77ac5f8ec9b$var$getArch","$427622416622ca4f$var$getNinjaPackageInfo","ninjaPlatform","$427622416622ca4f$var$getNinjaPlatform","$57aef85c779683b0$var$toArr","any","isArray","$57aef85c779683b0$var$toVal","out","val","opts","x","old","nxt","string","indexOf","String","boolean","_","$f66466a1fc9f3b2a$export$2763ddd825e0c80d","$f66466a1fc9f3b2a$var$DefaultVersions","$cc0d561bc6dacbdc$export$ee0e00e9eebd0473","$6e0c5961feb4ff1d$export$cc99187a73fc5866","k","arr","arg","j","len","alibi","alias","strict","unknown","defaults","splice","keys","charCodeAt","substring","repeat","shift","$57aef85c779683b0$export$9099ad97b570f7c","$6e0c5961feb4ff1d$var$inputs","fromEntries","map","inp","$6e0c5961feb4ff1d$var$maybeGetInput","h","_architecture","help","_SETUP_CPP_DIR","SETUP_CPP_DIR","$6db0685353f69c12$exports","successMessages","errorMessages","maybeCompiler","compiler","compilerAndMaybeVersion","maybeVersion","$1JJDJ","$6e0c5961feb4ff1d$var$tools","setupFunction","$6e0c5961feb4ff1d$var$setups","$6e0c5961feb4ff1d$var$getSuccessMessage","tool1","toLowerCase","success","$4db7ed1a4fdd712a$var$getInput","required","trimWhitespace","$4db7ed1a4fdd712a$var$error","properties","$eOxkI","issueCommand","$lK3O3","toCommandProperties","$4db7ed1a4fdd712a$var$startGroup","issue","$4db7ed1a4fdd712a$var$endGroup","$4db7ed1a4fdd712a$var$os","$4db7ed1a4fdd712a$var$__importStar","$4db7ed1a4fdd712a$var$path","$4db7ed1a4fdd712a$var$ExitCode","ExitCode","module","exports","convertedVal","toCommandValue","$85a1M","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","write","setCommandEcho","enabled","exitCode","Failure","isDebug","warning","notice","startGroup","endGroup","group","fn","saveState","getState","$ac8f977adbabca24$var$issueCommand","cmd","$ac8f977adbabca24$var$Command","$ac8f977adbabca24$var$os","$ac8f977adbabca24$var$__importStar","toString","cmdStr","this","first","hasOwnProperty","s","$ac8f977adbabca24$var$escapeData","input","JSON","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$5e2691ad996aa9ad$var$fs","$5e2691ad996aa9ad$var$__importStar","$5e2691ad996aa9ad$var$os","filePath","appendFileSync","encoding","$36da3a1038e77300$var$isWindows","OSTYPE","$36da3a1038e77300$var$COLON","$402f7bbe371b7b24$var$checkStat","stat","isSymbolicLink","isFile","pathext","PATHEXT","p","substr","$402f7bbe371b7b24$var$checkPathExt","$402f7bbe371b7b24$var$isexe","statSync","$eae5e8c11b388e10$var$isexe","$eae5e8c11b388e10$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","parseInt","g","ug","$eae5e8c11b388e10$var$checkMode","TESTING_WINDOWS","$f8af4289d8ca9e73$exports","$36da3a1038e77300$var$getNotFoundError","$36da3a1038e77300$var$getPathInfo","opt","colon","pathEnv","PATH","pathExtExe","unshift","$36da3a1038e77300$var$which","found","step","all","ppRaw","pathPart","pCmd","subStep","ii","ext","then","cur","ex","$25914d0b552b8416$var$pathKey","environment","$94354d2cab6ec3bb$export$f2fa5ff1855a55aa","$94354d2cab6ec3bb$export$8763c7eee5203db","$9c96c19a4bceb1f0$exports","doubleEscapeMetaChars","$14af8c52f3b995d0$exports","argument","binary","pop","$0c9f218fc7700aad$exports","buffer","Buffer","alloc","fd","openSync","readSync","closeSync","$cc3250f0d1cc3019$var$isWin","$cc3250f0d1cc3019$var$isExecutableRegExp","$cc3250f0d1cc3019$var$isCmdShimRegExp","shell","commandFile","shebang","$cc3250f0d1cc3019$var$detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","normalize","shellCommand","comspec","windowsVerbatimArguments","$cc3250f0d1cc3019$var$parseNonShell","cp","originalEmit","emit","arg1","apply","arguments","spawnSync","verifyENOENTSync","_parse","_enoent","$fbdecc6eadfe47c2$var$__importStar","$04e280234287a6fa$var$rmRF","$04e280234287a6fa$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$04e280234287a6fa$var$exec","unlink","isDir","$04e280234287a6fa$var$execFile","$04e280234287a6fa$var$mkdirP","fsPath","mkdir","recursive","$04e280234287a6fa$var$findInPath","extensions","extension","$04e280234287a6fa$var$path","isRooted","tryGetExecutablePath","directories","matches","$04e280234287a6fa$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","readdir","fileName","srcFile","destFile","lstat","$04e280234287a6fa$var$copyFile","chmod","symlinkFull","readlink","symlink","exists","copyFile","$04e280234287a6fa$var$childProcess","$04e280234287a6fa$var$__importStar","$3U0nv$util","promisify","execFile","source","copySourceDirectory","$04e280234287a6fa$var$readCopyOptions","destStat","newDest","relative","mv","destExists","rename","which","$04e280234287a6fa$var$which","check","findInPath","$b527c73d129cd9df$var$isUnixExecutable","stats","$b527c73d129cd9df$var$fs","$b527c73d129cd9df$var$__importStar","$b527c73d129cd9df$var$path","$b527c73d129cd9df$var$_a","promises","rmdir","useStat","$b527c73d129cd9df$var$normalizeSeparators","log","upperExt","extname","validExt","originalFilePath","upperName","actualName","_a","$13c43de102a3b6d8$var$semver","$13c43de102a3b6d8$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","candidate","chk","platform_version","osVersion","_getOsVersion","plat","execSync","lsbContents","_readLinuxVersionFile","lines","lsbReleaseFile","osReleaseFile","contents","re","$j1nFx","src","tokens","t","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","parse","inc","diff","patch","prerelease","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","index","$8eni4","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$dd9078767aae0d77$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","Number","MAX_SAFE_INTEGER","$5fe1b2857782793b$var$debug","NODE_DEBUG","$9PnyI","MAX_LENGTH","$de2b687c79c82d4f$var$SemVer","$26eGk","loose","includePrerelease","$de2b687c79c82d4f$require$MAX_LENGTH","m","$de2b687c79c82d4f$require$re","$de2b687c79c82d4f$require$t","LOOSE","FULL","raw","$de2b687c79c82d4f$require$MAX_SAFE_INTEGER","id","num","build","format","other","compareMain","comparePre","$de2b687c79c82d4f$require$compareIdentifiers","identifier","isNaN","$187787c55101df84$var$opts","reduce","options1","$6ecf2feb48e2d485$var$numeric","$6ecf2feb48e2d485$var$compareIdentifiers","anum","bnum","$j4Bpm","$021b1d9719c3eaaf$require$MAX_LENGTH","$021b1d9719c3eaaf$require$re","$021b1d9719c3eaaf$require$t","$bd0kF","version2","$4eeum","v1","v2","hasPre","defaultResult","versionA","versionB","list","$7REgF","op","$a0PPD","$6bYo1","$kRrXd","$98Pyg","rtl","next","$434397839421ea8b$require$re","$434397839421ea8b$require$t","COERCERTL","lastIndex","$cd741182808e7a1f$var$ANY","Symbol","$cd741182808e7a1f$var$Comparator","ANY","comp1","semver","operator","comp","$cd741182808e7a1f$require$re","$cd741182808e7a1f$require$t","COMPARATORLOOSE","COMPARATOR","$cITzi","$8YuUE","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$688be7ed17017f41$var$Range","range1","$hDCF3","set","parseRange","$688be7ed17017f41$var$isNullSet","$688be7ed17017f41$var$isAny","range","comps","memoKey","cached","$688be7ed17017f41$var$cache","$688be7ed17017f41$require$re","$688be7ed17017f41$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$688be7ed17017f41$var$hyphenReplace","COMPARATORTRIM","$688be7ed17017f41$require$comparatorTrimReplace","TILDETRIM","$688be7ed17017f41$require$tildeTrimReplace","CARETTRIM","$688be7ed17017f41$require$caretTrimReplace","compRe","rangeList","$688be7ed17017f41$var$parseComparator","$688be7ed17017f41$var$replaceGTE0","rangeMap","Map","size","delete","values","thisComparators","$688be7ed17017f41$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$688be7ed17017f41$var$testSet","max","comparators","options2","remainingComparators","testComparator","otherComparator","$688be7ed17017f41$var$replaceCarets","$688be7ed17017f41$var$replaceTildes","$688be7ed17017f41$var$replaceXRanges","$688be7ed17017f41$var$replaceStars","$688be7ed17017f41$var$isX","$688be7ed17017f41$var$replaceTilde","TILDELOOSE","TILDE","M","pr","ret","$688be7ed17017f41$var$replaceCaret","z","CARETLOOSE","CARET","$688be7ed17017f41$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","i1","allowed","$cb0ed5fe82fb4516$var$MAX","$cb0ed5fe82fb4516$var$LENGTH","$cb0ed5fe82fb4516$var$LENGTH_CALCULATOR","$cb0ed5fe82fb4516$var$ALLOW_STALE","$cb0ed5fe82fb4516$var$MAX_AGE","$cb0ed5fe82fb4516$var$DISPOSE","$cb0ed5fe82fb4516$var$NO_DISPOSE_ON_SET","$cb0ed5fe82fb4516$var$LRU_LIST","$cb0ed5fe82fb4516$var$CACHE","$cb0ed5fe82fb4516$var$UPDATE_AGE_ON_GET","$cb0ed5fe82fb4516$var$naiveLength","$cb0ed5fe82fb4516$var$get","self","doUse","node","hit","$cb0ed5fe82fb4516$var$isStale","$cb0ed5fe82fb4516$var$del","now","Date","unshiftNode","maxAge","$cb0ed5fe82fb4516$var$trim","walker","tail","prev","removeNode","$cb0ed5fe82fb4516$var$Entry","$cb0ed5fe82fb4516$var$forEachStep","thisp","Infinity","lc","stale","dispose","noDisposeOnSet","updateAgeOnGet","reset","mL","allowStale","mA","lengthCalculator","lC","itemCount","rforEach","head","toArray","$9ShIP","dump","dumpLru","peek","del","load","l","expiresAt","prune","$7306e76b158eea44$var$Yallist","$7306e76b158eea44$var$insert","inserted","$7306e76b158eea44$var$Node","$7306e76b158eea44$var$push","$7306e76b158eea44$var$unshift","Node","create","prototype","pushNode","forEachReverse","n","getReverse","mapReverse","initial","acc","reduceReverse","toArrayReverse","sliceReverse","start","deleteCount","nodes","Yallist","iterator","maxSV","rangeObj","min","minSV","minver","setMin","comparator","compver","$20794eeb9cc8f6af$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$6rO9c","high","low","$2MRaB","r1","r2","ranges","min1","simplified","$2281fb43d3df183f$var$ANY","$2281fb43d3df183f$var$simpleSubset","sub","dom","eqSet","Set","gtltComp","higher","lower","hasDomLT","hasDomGT","$2281fb43d3df183f$var$higherGT","$2281fb43d3df183f$var$lowerLT","add","c1","needDomLTPre","needDomGTPre","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$fbdecc6eadfe47c2$var$mm","defineProperty","$6fb832e0570ffd7b$var$tunnel","$6fb832e0570ffd7b$var$HttpCodes","HttpCodes","$6fb832e0570ffd7b$var$Headers","Headers1","$6fb832e0570ffd7b$var$MediaTypes","Headers","MediaTypes","getProxyUrl","serverUrl","proxyUrl","$cEfL5","URL","href","$6fb832e0570ffd7b$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$6fb832e0570ffd7b$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$6fb832e0570ffd7b$var$RetryableHttpVerbs","$6fb832e0570ffd7b$var$HttpClientError","super","setPrototypeOf","HttpClientError","$6fb832e0570ffd7b$var$HttpClientResponse","message1","readBody","output","on","chunk","HttpClientResponse","isHttps","requestUrl","protocol","$6fb832e0570ffd7b$var$HttpClient","userAgent","handlers","requestOptions","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","keepAlive","allowRetries","maxRetries","additionalHeaders","request","post","put","sendStream","verb","stream","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","obj","ContentType","headers","parsedUrl","_prepareRequest","maxTries","numTries","requestRaw","Unauthorized","authenticationHandler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","_agent","destroy","requestRawWithCallback","onResult","socket","byteLength","callbackCalled","handleResult","req","httpModule","msg","sock","setTimeout","end","pipe","getAgent","_getAgent","method","usingSsl","$3U0nv$http","defaultPort","host","port","pathname","search","_mergeHeaders","agent","handler","prepareRequest","lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","valueOf","statusCode1","NotFound","deserializeDates","dateTimeDeserializer","$935571c89a77cf35$var$checkBypass","reqUrl","reqPort","noProxy","upperReqHosts","upperNoProxyItem","proxyVar","checkBypass","$5ede95876def1093$var$TunnelingAgent","proxyOptions","defaultMaxSockets","requests","sockets","localAddress","$5ede95876def1093$var$toOptions","pending","onSocket","removeSocket","$5ede95876def1093$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$5ede95876def1093$var$mergeOptions","servername","secureSocket","$3U0nv$tls","connect","target","overrides","keyLen","$5ede95876def1093$export$cfea88b79fd3041","$5ede95876def1093$export$25126787084ac1d3","$5ede95876def1093$export$f44e217dbcda9c5a","$5ede95876def1093$export$5b6f1b09aafac70","$5ede95876def1093$export$228ecc9aa21a9741","$5ede95876def1093$var$debug","inherits","$3U0nv$events","EventEmitter","addRequest","onFree","onCloseOrRemove","removeListener","onConnect","connectReq","removeAllListeners","placeholder","connectOptions","useChunkedEncodingByDefault","once","upgrade","nextTick","cause","stack","pos","socket1","$fbdecc6eadfe47c2$var$httpm","$fbdecc6eadfe47c2$var$stream","$3U0nv$stream","$fbdecc6eadfe47c2$var$util","buf","offset","rnds","random","rng","$diWfV","$8n3PT","$3U0nv$crypto","randomBytes","$618372782be4d813$var$byteToHex","$618372782be4d813$var$i","$fbdecc6eadfe47c2$var$__importDefault","$b27a19eb94ad77fe$var$os","$b27a19eb94ad77fe$var$__importStar","$b27a19eb94ad77fe$var$events","$b27a19eb94ad77fe$var$child","$b27a19eb94ad77fe$var$path","$b27a19eb94ad77fe$var$io","$b27a19eb94ad77fe$var$ioUtil","$b27a19eb94ad77fe$var$IS_WINDOWS","toolPath1","_debug","_getCommandString","noPrefix","_getSpawnFileName","args1","_getSpawnArgs","_isCmdFile","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","$b27a19eb94ad77fe$var$__awaiter","optionsNonNull","state","$b27a19eb94ad77fe$var$ExecState","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argString","append","escaped","inQuotes","charAt","toolPath2","done","timeout","_setResult","$3U0nv$timers","HandleTimeout","clearTimeout","$8d6c57753101e07a$var$__importStar","stdoutDecoder","$3U0nv$string_decoder","StringDecoder","stderrDecoder","originalStdoutListener","originalStdErrListener","_b","$e9cce2f397d0b5d7$var$core","$e9cce2f397d0b5d7$var$__importStar","$e9cce2f397d0b5d7$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","floor","execute","action","isRetryable","attempt","seconds","getSleepAmount","sleep","$fbdecc6eadfe47c2$var$HTTPError","httpStatusCode","HTTPError","$fbdecc6eadfe47c2$var$IS_WINDOWS","$fbdecc6eadfe47c2$var$IS_MAC","auth","retryHelper","$fbdecc6eadfe47c2$var$__awaiter","authorization","statusMessage","pipeline","readStream","responseMessageFactory","succeeded","createWriteStream","$fbdecc6eadfe47c2$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","escapedFile","escapedDest","pwshPath","$fbdecc6eadfe47c2$var$extractZipWin","unzipPath","$fbdecc6eadfe47c2$var$extractZipNix","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","owner","repo","branch","treeUrl","manifestUrl","tree","versionsRaw","isExplicitVersion","evaluateVersions","$04f38251090bf040$var$isStream","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$04f38251090bf040$exports","Worker","$e68279e3338bc371$var$Worker","$e68279e3338bc371$import$ad18b0afc1a10da7","$e68279e3338bc371$var$worker","$e68279e3338bc371$var$taskIdCounter","$e68279e3338bc371$var$tasks","$e68279e3338bc371$var$taskWorker","transferList","task","unref","sourceError","entries","$e68279e3338bc371$var$recreateWorkerError","postMessage","$e68279e3338bc371$var$hasha","outputEncoding","hash","createHash","algorithm","update","digest","setEncoding","fromStream","read","fromFile","createReadStream","fromFileSync","$655628f797e4869d$var$TOKEN","specific","$1bd49ae4b85c403c$export$b00950e3fcb58399","$e5ecfb1ae2cd12fa$var$isPathVariable","$e5ecfb1ae2cd12fa$var$setupMSVCDevCmd","$3U0nv$process","$k2PtG","$e5ecfb1ae2cd12fa$var$VSWHERE_PATH","arch_aliases","vcvars","pattern","installationPath","$e5ecfb1ae2cd12fa$var$findWithVswhere","ver","$e5ecfb1ae2cd12fa$var$VERSIONS","ed","$e5ecfb1ae2cd12fa$var$EDITIONS","$e5ecfb1ae2cd12fa$var$PROGRAM_FILES_X86","$e5ecfb1ae2cd12fa$var$findVcvarsall","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","new_value","$e5ecfb1ae2cd12fa$export$1770a487615d61df","$e97becf723056cb8$var$error","$e97becf723056cb8$var$os","$e97becf723056cb8$var$__importStar","$e97becf723056cb8$var$path","$e97becf723056cb8$var$ExitCode","$3tRAC","$48DC3","$lTVmt","$ff1b3ad0e311f75c$var$issueCommand","$ff1b3ad0e311f75c$var$Command","$ff1b3ad0e311f75c$var$os","$ff1b3ad0e311f75c$var$__importStar","$ff1b3ad0e311f75c$var$escapeData","$3036a3108408bd21$var$fs","$3036a3108408bd21$var$__importStar","$3036a3108408bd21$var$os","$6db0685353f69c12$var$homeDirectory","homedir","pathWithTilde","msvc","llvm","ninja","cmake","gcovr","conan","meson","python","gcc","opencppcoverage","choco","brew","ccache","doxygen","cppcheck","argv","catch"],"version":3,"file":"setup_cpp.js.map","sourceRoot":"../"}