node-version-utils
Advanced tools
@@ -87,3 +87,3 @@ "use strict"; | ||
| var PATH_KEY = (0, _envpathkey.default)(); | ||
| var processEnv = process.env; | ||
| var processEnv = options.env || process.env; | ||
| var bin = isWindows ? installPath : _path.default.join(installPath, 'bin'); | ||
@@ -103,4 +103,8 @@ var env = {}; | ||
| if (env.NODE_EXE !== undefined) env.NODE_EXE = env.npm_node_execpath; | ||
| // put the path to node and npm at the front and remove nvs | ||
| env[PATH_KEY] = (0, _pathstringprepend.default)(env[PATH_KEY] || '', bin); | ||
| // put the path to node and npm at the front, fallback to process.env PATH if missing | ||
| var basePath = env[PATH_KEY] || process.env[PATH_KEY] || ''; | ||
| if (options.env && !options.env[PATH_KEY]) { | ||
| console.warn("node-version-utils: options.env missing ".concat(PATH_KEY, ", falling back to process.env.").concat(PATH_KEY)); | ||
| } | ||
| env[PATH_KEY] = (0, _pathstringprepend.default)(basePath, bin); | ||
| return _object_spread_props(_object_spread({}, options), { | ||
@@ -107,0 +111,0 @@ cwd: process.cwd(), |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-version-utils/src/spawnOptions.ts"],"sourcesContent":["import pathKey from 'env-path-key';\nimport fs from 'fs';\nimport path from 'path';\nimport prepend from 'path-string-prepend';\nimport startsWithFn from './lib/startsWithFn.ts';\n\nconst isWindows = process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE);\nconst NODE = isWindows ? 'node.exe' : 'node';\n\nconst startsNPM = startsWithFn('npm_');\nconst startsPath = startsWithFn('path');\n\nimport type { ProcessEnv, SpawnOptions } from './types.ts';\n\nexport default function spawnOptions(installPath: string, options: SpawnOptions = {}): SpawnOptions {\n // Resolve symlinks to get real path (fixes nvm-windows symlink issues where\n // C:\\nvm4w\\nodejs points to the active Node version via symlink)\n try {\n installPath = fs.realpathSync(installPath);\n } catch (_e) {\n // Keep original path if resolution fails\n }\n\n const PATH_KEY = pathKey();\n const processEnv = process.env;\n const bin = isWindows ? installPath : path.join(installPath, 'bin');\n const env = {} as ProcessEnv;\n env.npm_node_execpath = path.join(bin, NODE);\n env.npm_config_prefix = installPath;\n\n // copy the environment not for npm and skip case-insesitive additional paths\n for (const key in processEnv) {\n // skip npm_ variants and non-matching path\n if (key.length > 4 && startsNPM(key)) continue;\n if (key.length === 4 && startsPath(key) && key !== PATH_KEY) continue;\n env[key] = processEnv[key];\n }\n\n // override node\n if (env.NODE !== undefined) env.NODE = env.npm_node_execpath;\n if (env.NODE_EXE !== undefined) env.NODE_EXE = env.npm_node_execpath;\n\n // put the path to node and npm at the front and remove nvs\n env[PATH_KEY] = prepend(env[PATH_KEY] || '', bin) as string;\n return { ...options, cwd: process.cwd(), env } as SpawnOptions;\n}\n"],"names":["spawnOptions","isWindows","process","platform","test","env","OSTYPE","NODE","startsNPM","startsWithFn","startsPath","installPath","options","fs","realpathSync","_e","PATH_KEY","pathKey","processEnv","bin","path","join","npm_node_execpath","npm_config_prefix","key","length","undefined","NODE_EXE","prepend","cwd"],"mappings":";;;;+BAcA;;;eAAwBA;;;iEAdJ;yDACL;2DACE;wEACG;qEACK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzB,IAAMC,YAAYC,QAAQC,QAAQ,KAAK,WAAW,kBAAkBC,IAAI,CAACF,QAAQG,GAAG,CAACC,MAAM;AAC3F,IAAMC,OAAON,YAAY,aAAa;AAEtC,IAAMO,YAAYC,IAAAA,uBAAY,EAAC;AAC/B,IAAMC,aAAaD,IAAAA,uBAAY,EAAC;AAIjB,SAAST,aAAaW,WAAmB;QAAEC,UAAAA,iEAAwB,CAAC;IACjF,4EAA4E;IAC5E,iEAAiE;IACjE,IAAI;QACFD,cAAcE,WAAE,CAACC,YAAY,CAACH;IAChC,EAAE,OAAOI,IAAI;IACX,yCAAyC;IAC3C;IAEA,IAAMC,WAAWC,IAAAA,mBAAO;IACxB,IAAMC,aAAahB,QAAQG,GAAG;IAC9B,IAAMc,MAAMlB,YAAYU,cAAcS,aAAI,CAACC,IAAI,CAACV,aAAa;IAC7D,IAAMN,MAAM,CAAC;IACbA,IAAIiB,iBAAiB,GAAGF,aAAI,CAACC,IAAI,CAACF,KAAKZ;IACvCF,IAAIkB,iBAAiB,GAAGZ;IAExB,6EAA6E;IAC7E,IAAK,IAAMa,OAAON,WAAY;QAC5B,2CAA2C;QAC3C,IAAIM,IAAIC,MAAM,GAAG,KAAKjB,UAAUgB,MAAM;QACtC,IAAIA,IAAIC,MAAM,KAAK,KAAKf,WAAWc,QAAQA,QAAQR,UAAU;QAC7DX,GAAG,CAACmB,IAAI,GAAGN,UAAU,CAACM,IAAI;IAC5B;IAEA,gBAAgB;IAChB,IAAInB,IAAIE,IAAI,KAAKmB,WAAWrB,IAAIE,IAAI,GAAGF,IAAIiB,iBAAiB;IAC5D,IAAIjB,IAAIsB,QAAQ,KAAKD,WAAWrB,IAAIsB,QAAQ,GAAGtB,IAAIiB,iBAAiB;IAEpE,2DAA2D;IAC3DjB,GAAG,CAACW,SAAS,GAAGY,IAAAA,0BAAO,EAACvB,GAAG,CAACW,SAAS,IAAI,IAAIG;IAC7C,OAAO,wCAAKP;QAASiB,KAAK3B,QAAQ2B,GAAG;QAAIxB,KAAAA;;AAC3C"} | ||
| {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-version-utils/src/spawnOptions.ts"],"sourcesContent":["import pathKey from 'env-path-key';\nimport fs from 'fs';\nimport path from 'path';\nimport prepend from 'path-string-prepend';\nimport startsWithFn from './lib/startsWithFn.ts';\n\nconst isWindows = process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE);\nconst NODE = isWindows ? 'node.exe' : 'node';\n\nconst startsNPM = startsWithFn('npm_');\nconst startsPath = startsWithFn('path');\n\nimport type { ProcessEnv, SpawnOptions } from './types.ts';\n\nexport default function spawnOptions(installPath: string, options: SpawnOptions = {}): SpawnOptions {\n // Resolve symlinks to get real path (fixes nvm-windows symlink issues where\n // C:\\nvm4w\\nodejs points to the active Node version via symlink)\n try {\n installPath = fs.realpathSync(installPath);\n } catch (_e) {\n // Keep original path if resolution fails\n }\n\n const PATH_KEY = pathKey();\n const processEnv = options.env || process.env;\n const bin = isWindows ? installPath : path.join(installPath, 'bin');\n const env = {} as ProcessEnv;\n env.npm_node_execpath = path.join(bin, NODE);\n env.npm_config_prefix = installPath;\n\n // copy the environment not for npm and skip case-insesitive additional paths\n for (const key in processEnv) {\n // skip npm_ variants and non-matching path\n if (key.length > 4 && startsNPM(key)) continue;\n if (key.length === 4 && startsPath(key) && key !== PATH_KEY) continue;\n env[key] = processEnv[key];\n }\n\n // override node\n if (env.NODE !== undefined) env.NODE = env.npm_node_execpath;\n if (env.NODE_EXE !== undefined) env.NODE_EXE = env.npm_node_execpath;\n\n // put the path to node and npm at the front, fallback to process.env PATH if missing\n const basePath = env[PATH_KEY] || process.env[PATH_KEY] || '';\n if (options.env && !options.env[PATH_KEY]) {\n console.warn(`node-version-utils: options.env missing ${PATH_KEY}, falling back to process.env.${PATH_KEY}`);\n }\n env[PATH_KEY] = prepend(basePath, bin) as string;\n return { ...options, cwd: process.cwd(), env } as SpawnOptions;\n}\n"],"names":["spawnOptions","isWindows","process","platform","test","env","OSTYPE","NODE","startsNPM","startsWithFn","startsPath","installPath","options","fs","realpathSync","_e","PATH_KEY","pathKey","processEnv","bin","path","join","npm_node_execpath","npm_config_prefix","key","length","undefined","NODE_EXE","basePath","console","warn","prepend","cwd"],"mappings":";;;;+BAcA;;;eAAwBA;;;iEAdJ;yDACL;2DACE;wEACG;qEACK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzB,IAAMC,YAAYC,QAAQC,QAAQ,KAAK,WAAW,kBAAkBC,IAAI,CAACF,QAAQG,GAAG,CAACC,MAAM;AAC3F,IAAMC,OAAON,YAAY,aAAa;AAEtC,IAAMO,YAAYC,IAAAA,uBAAY,EAAC;AAC/B,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AAO,wCAAKP;QAASoB,KAAK9B,QAAQ8B,GAAG;QAAI3B,KAAAA;;AAC3C"} |
@@ -19,3 +19,3 @@ import pathKey from 'env-path-key'; | ||
| const PATH_KEY = pathKey(); | ||
| const processEnv = process.env; | ||
| const processEnv = options.env || process.env; | ||
| const bin = isWindows ? installPath : path.join(installPath, 'bin'); | ||
@@ -35,4 +35,8 @@ const env = {}; | ||
| if (env.NODE_EXE !== undefined) env.NODE_EXE = env.npm_node_execpath; | ||
| // put the path to node and npm at the front and remove nvs | ||
| env[PATH_KEY] = prepend(env[PATH_KEY] || '', bin); | ||
| // put the path to node and npm at the front, fallback to process.env PATH if missing | ||
| const basePath = env[PATH_KEY] || process.env[PATH_KEY] || ''; | ||
| if (options.env && !options.env[PATH_KEY]) { | ||
| console.warn(`node-version-utils: options.env missing ${PATH_KEY}, falling back to process.env.${PATH_KEY}`); | ||
| } | ||
| env[PATH_KEY] = prepend(basePath, bin); | ||
| return { | ||
@@ -39,0 +43,0 @@ ...options, |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-version-utils/src/spawnOptions.ts"],"sourcesContent":["import pathKey from 'env-path-key';\nimport fs from 'fs';\nimport path from 'path';\nimport prepend from 'path-string-prepend';\nimport startsWithFn from './lib/startsWithFn.ts';\n\nconst isWindows = process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE);\nconst NODE = isWindows ? 'node.exe' : 'node';\n\nconst startsNPM = startsWithFn('npm_');\nconst startsPath = startsWithFn('path');\n\nimport type { ProcessEnv, SpawnOptions } from './types.ts';\n\nexport default function spawnOptions(installPath: string, options: SpawnOptions = {}): SpawnOptions {\n // Resolve symlinks to get real path (fixes nvm-windows symlink issues where\n // C:\\nvm4w\\nodejs points to the active Node version via symlink)\n try {\n installPath = fs.realpathSync(installPath);\n } catch (_e) {\n // Keep original path if resolution fails\n }\n\n const PATH_KEY = pathKey();\n const processEnv = process.env;\n const bin = isWindows ? installPath : path.join(installPath, 'bin');\n const env = {} as ProcessEnv;\n env.npm_node_execpath = path.join(bin, NODE);\n env.npm_config_prefix = installPath;\n\n // copy the environment not for npm and skip case-insesitive additional paths\n for (const key in processEnv) {\n // skip npm_ variants and non-matching path\n if (key.length > 4 && startsNPM(key)) continue;\n if (key.length === 4 && startsPath(key) && key !== PATH_KEY) continue;\n env[key] = processEnv[key];\n }\n\n // override node\n if (env.NODE !== undefined) env.NODE = env.npm_node_execpath;\n if (env.NODE_EXE !== undefined) env.NODE_EXE = env.npm_node_execpath;\n\n // put the path to node and npm at the front and remove nvs\n env[PATH_KEY] = prepend(env[PATH_KEY] || '', bin) as string;\n return { ...options, cwd: process.cwd(), env } as SpawnOptions;\n}\n"],"names":["pathKey","fs","path","prepend","startsWithFn","isWindows","process","platform","test","env","OSTYPE","NODE","startsNPM","startsPath","spawnOptions","installPath","options","realpathSync","_e","PATH_KEY","processEnv","bin","join","npm_node_execpath","npm_config_prefix","key","length","undefined","NODE_EXE","cwd"],"mappings":"AAAA,OAAOA,aAAa,eAAe;AACnC,OAAOC,QAAQ,KAAK;AACpB,OAAOC,UAAU,OAAO;AACxB,OAAOC,aAAa,sBAAsB;AAC1C,OAAOC,kBAAkB,wBAAwB;AAEjD,MAAMC,YAAYC,QAAQC,QAAQ,KAAK,WAAW,kBAAkBC,IAAI,CAACF,QAAQG,GAAG,CAACC,MAAM;AAC3F,MAAMC,OAAON,YAAY,aAAa;AAEtC,MAAMO,YAAYR,aAAa;AAC/B,MAAMS,aAAaT,aAAa;AAIhC,eAAe,SAASU,aAAaC,WAAmB,EAAEC,UAAwB,CAAC,CAAC;IAClF,4EAA4E;IAC5E,iEAAiE;IACjE,IAAI;QACFD,cAAcd,GAAGgB,YAAY,CAACF;IAChC,EAAE,OAAOG,IAAI;IACX,yCAAyC;IAC3C;IAEA,MAAMC,WAAWnB;IACjB,MAAMoB,aAAad,QAAQG,GAAG;IAC9B,MAAMY,MAAMhB,YAAYU,cAAcb,KAAKoB,IAAI,CAACP,aAAa;IAC7D,MAAMN,MAAM,CAAC;IACbA,IAAIc,iBAAiB,GAAGrB,KAAKoB,IAAI,CAACD,KAAKV;IACvCF,IAAIe,iBAAiB,GAAGT;IAExB,6EAA6E;IAC7E,IAAK,MAAMU,OAAOL,WAAY;QAC5B,2CAA2C;QAC3C,IAAIK,IAAIC,MAAM,GAAG,KAAKd,UAAUa,MAAM;QACtC,IAAIA,IAAIC,MAAM,KAAK,KAAKb,WAAWY,QAAQA,QAAQN,UAAU;QAC7DV,GAAG,CAACgB,IAAI,GAAGL,UAAU,CAACK,IAAI;IAC5B;IAEA,gBAAgB;IAChB,IAAIhB,IAAIE,IAAI,KAAKgB,WAAWlB,IAAIE,IAAI,GAAGF,IAAIc,iBAAiB;IAC5D,IAAId,IAAImB,QAAQ,KAAKD,WAAWlB,IAAImB,QAAQ,GAAGnB,IAAIc,iBAAiB;IAEpE,2DAA2D;IAC3Dd,GAAG,CAACU,SAAS,GAAGhB,QAAQM,GAAG,CAACU,SAAS,IAAI,IAAIE;IAC7C,OAAO;QAAE,GAAGL,OAAO;QAAEa,KAAKvB,QAAQuB,GAAG;QAAIpB;IAAI;AAC/C"} | ||
| {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-version-utils/src/spawnOptions.ts"],"sourcesContent":["import pathKey from 'env-path-key';\nimport fs from 'fs';\nimport path from 'path';\nimport prepend from 'path-string-prepend';\nimport startsWithFn from './lib/startsWithFn.ts';\n\nconst isWindows = process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE);\nconst NODE = isWindows ? 'node.exe' : 'node';\n\nconst startsNPM = startsWithFn('npm_');\nconst startsPath = startsWithFn('path');\n\nimport type { ProcessEnv, SpawnOptions } from './types.ts';\n\nexport default function spawnOptions(installPath: string, options: SpawnOptions = {}): SpawnOptions {\n // Resolve symlinks to get real path (fixes nvm-windows symlink issues where\n // C:\\nvm4w\\nodejs points to the active Node version via symlink)\n try {\n installPath = fs.realpathSync(installPath);\n } catch (_e) {\n // Keep original path if resolution fails\n }\n\n const PATH_KEY = pathKey();\n const processEnv = options.env || process.env;\n const bin = isWindows ? installPath : path.join(installPath, 'bin');\n const env = {} as ProcessEnv;\n env.npm_node_execpath = path.join(bin, NODE);\n env.npm_config_prefix = installPath;\n\n // copy the environment not for npm and skip case-insesitive additional paths\n for (const key in processEnv) {\n // skip npm_ variants and non-matching path\n if (key.length > 4 && startsNPM(key)) continue;\n if (key.length === 4 && startsPath(key) && key !== PATH_KEY) continue;\n env[key] = processEnv[key];\n }\n\n // override node\n if (env.NODE !== undefined) env.NODE = env.npm_node_execpath;\n if (env.NODE_EXE !== undefined) env.NODE_EXE = env.npm_node_execpath;\n\n // put the path to node and npm at the front, fallback to process.env PATH if missing\n const basePath = env[PATH_KEY] || process.env[PATH_KEY] || '';\n if (options.env && !options.env[PATH_KEY]) {\n console.warn(`node-version-utils: options.env missing ${PATH_KEY}, falling back to process.env.${PATH_KEY}`);\n }\n env[PATH_KEY] = prepend(basePath, bin) as string;\n return { ...options, cwd: process.cwd(), env } as SpawnOptions;\n}\n"],"names":["pathKey","fs","path","prepend","startsWithFn","isWindows","process","platform","test","env","OSTYPE","NODE","startsNPM","startsPath","spawnOptions","installPath","options","realpathSync","_e","PATH_KEY","processEnv","bin","join","npm_node_execpath","npm_config_prefix","key","length","undefined","NODE_EXE","basePath","console","warn","cwd"],"mappings":"AAAA,OAAOA,aAAa,eAAe;AACnC,OAAOC,QAAQ,KAAK;AACpB,OAAOC,UAAU,OAAO;AACxB,OAAOC,aAAa,sBAAsB;AAC1C,OAAOC,kBAAkB,wBAAwB;AAEjD,MAAMC,YAAYC,QAAQC,QAAQ,KAAK,WAAW,kBAAkBC,IAAI,CAACF,QAAQG,GAAG,CAACC,MAAM;AAC3F,MAAMC,OAAON,YAAY,aAAa;AAEtC,MAAMO,YAAYR,aAAa;AAC/B,MAAMS,aAAaT,aAAa;AAIhC,eAAe,SAASU,aAAaC,WAAmB,EAAEC,UAAwB,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
| "version": "1.3.11", | ||
| "version": "1.3.12", | ||
| "description": "Utilities for running commands on a specific version of node by installed path", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
24558
6.61%237
3.49%12
100%