@socketsecurity/cli-with-sentry 0.14.86 → 0.14.87
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/constants.d.ts +2 -2
- package/dist/instrument-with-sentry.js +2 -2
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/module-sync/cli.js +58 -50
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/shadow-npm-inject.js +14 -7
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/require/cli.js +58 -50
- package/dist/require/cli.js.map +1 -1
- package/package.json +1 -1
- package/dist/module-sync/fs.d.ts +0 -61
|
@@ -406,7 +406,7 @@ async function setupSdk(
|
|
|
406
406
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_NAME']".
|
|
407
407
|
name: '@socketsecurity/cli',
|
|
408
408
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
409
|
-
version: '0.14.
|
|
409
|
+
version: '0.14.87',
|
|
410
410
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_HOMEPAGE']".
|
|
411
411
|
homepage: 'https://github.com/SocketDev/socket-cli'
|
|
412
412
|
})
|
|
@@ -2103,9 +2103,15 @@ function updateNode(
|
|
|
2103
2103
|
}
|
|
2104
2104
|
return true
|
|
2105
2105
|
}
|
|
2106
|
-
function updatePackageJsonFromNode(
|
|
2106
|
+
function updatePackageJsonFromNode(
|
|
2107
|
+
editablePkgJson,
|
|
2108
|
+
tree,
|
|
2109
|
+
node,
|
|
2110
|
+
targetVersion,
|
|
2111
|
+
rangeStyle
|
|
2112
|
+
) {
|
|
2107
2113
|
if (isTopLevel(tree, node)) {
|
|
2108
|
-
const { name
|
|
2114
|
+
const { name } = node
|
|
2109
2115
|
for (const depField of [
|
|
2110
2116
|
'dependencies',
|
|
2111
2117
|
'optionalDependencies',
|
|
@@ -2113,12 +2119,12 @@ function updatePackageJsonFromNode(editablePkgJson, tree, node, rangeStyle) {
|
|
|
2113
2119
|
]) {
|
|
2114
2120
|
const oldValue = editablePkgJson.content[depField]
|
|
2115
2121
|
if (oldValue) {
|
|
2116
|
-
const
|
|
2117
|
-
if (
|
|
2122
|
+
const refRange = oldValue[name]
|
|
2123
|
+
if (refRange) {
|
|
2118
2124
|
editablePkgJson.update({
|
|
2119
2125
|
[depField]: {
|
|
2120
2126
|
...oldValue,
|
|
2121
|
-
[name]: applyRange(
|
|
2127
|
+
[name]: applyRange(refRange, targetVersion, rangeStyle)
|
|
2122
2128
|
}
|
|
2123
2129
|
})
|
|
2124
2130
|
}
|
|
@@ -2287,6 +2293,7 @@ exports.SAFE_ARBORIST_REIFY_OPTIONS_OVERRIDES =
|
|
|
2287
2293
|
SAFE_ARBORIST_REIFY_OPTIONS_OVERRIDES
|
|
2288
2294
|
exports.SafeArborist = SafeArborist
|
|
2289
2295
|
exports.addArtifactToAlertsMap = addArtifactToAlertsMap
|
|
2296
|
+
exports.applyRange = applyRange
|
|
2290
2297
|
exports.assignDefaultFixOptions = assignDefaultFixOptions
|
|
2291
2298
|
exports.captureException = captureException
|
|
2292
2299
|
exports.findBestPatchVersion = findBestPatchVersion
|
|
@@ -2314,5 +2321,5 @@ exports.supportedConfigKeys = supportedConfigKeys
|
|
|
2314
2321
|
exports.updateConfigValue = updateConfigValue
|
|
2315
2322
|
exports.updateNode = updateNode
|
|
2316
2323
|
exports.updatePackageJsonFromNode = updatePackageJsonFromNode
|
|
2317
|
-
//# debugId=
|
|
2324
|
+
//# debugId=f0758c88-da13-4d0b-b192-6ecd2c8e4ae8
|
|
2318
2325
|
//# sourceMappingURL=shadow-npm-inject.js.map
|