@socketsecurity/cli 0.14.133 → 0.14.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/shadow-npm-inject.js +8 -3
- package/dist/shadow-npm-inject.js.map +1 -1
- package/package.json +1 -1
|
@@ -662,7 +662,7 @@ async function setupSdk(
|
|
|
662
662
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_NAME']".
|
|
663
663
|
name: 'socket',
|
|
664
664
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
665
|
-
version: '0.14.
|
|
665
|
+
version: '0.14.134',
|
|
666
666
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_HOMEPAGE']".
|
|
667
667
|
homepage: 'https://github.com/SocketDev/socket-cli'
|
|
668
668
|
})
|
|
@@ -2364,7 +2364,12 @@ async function getAlertsMapFromPnpmLockfile(lockfile, options_) {
|
|
|
2364
2364
|
...options_
|
|
2365
2365
|
}
|
|
2366
2366
|
const depTypes = vendor.libExports$1.detectDepTypes(lockfile)
|
|
2367
|
-
const purls = Object.keys(depTypes).map(id =>
|
|
2367
|
+
const purls = Object.keys(depTypes).map(id => {
|
|
2368
|
+
const lastAtSignIndex = id.lastIndexOf('@')
|
|
2369
|
+
const name = id.slice(0, lastAtSignIndex)
|
|
2370
|
+
const version = id.slice(lastAtSignIndex + 1)
|
|
2371
|
+
return `pkg:npm/${name}@${vendor.semverExports.coerce(version)}`
|
|
2372
|
+
})
|
|
2368
2373
|
return await getAlertsMapFromPurls(purls, {
|
|
2369
2374
|
overrides: lockfile.overrides,
|
|
2370
2375
|
...options
|
|
@@ -2641,5 +2646,5 @@ exports.supportedConfigKeys = supportedConfigKeys
|
|
|
2641
2646
|
exports.updateConfigValue = updateConfigValue
|
|
2642
2647
|
exports.updateNode = updateNode
|
|
2643
2648
|
exports.updatePackageJsonFromNode = updatePackageJsonFromNode
|
|
2644
|
-
//# debugId=
|
|
2649
|
+
//# debugId=c11dabdd-174f-4ec7-a2e2-784eeeb79026
|
|
2645
2650
|
//# sourceMappingURL=shadow-npm-inject.js.map
|