@socketsecurity/cli-with-sentry 0.14.134 → 0.14.135
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/instrument-with-sentry.js +2 -2
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/shadow-bin.js +2 -2
- package/dist/shadow-bin.js.map +1 -1
- package/dist/shadow-npm-inject.js +8 -7
- package/dist/shadow-npm-inject.js.map +1 -1
- package/dist/vendor.js +9 -5
- package/dist/vendor.js.map +1 -1
- package/package.json +5 -5
package/dist/vendor.js
CHANGED
|
@@ -50471,10 +50471,14 @@ function requirePackageUrl() {
|
|
|
50471
50471
|
return [rawType, undefined, undefined, undefined, undefined, undefined]
|
|
50472
50472
|
}
|
|
50473
50473
|
let rawVersion
|
|
50474
|
-
let atSignIndex =
|
|
50475
|
-
|
|
50476
|
-
|
|
50477
|
-
|
|
50474
|
+
let atSignIndex =
|
|
50475
|
+
rawType === 'npm'
|
|
50476
|
+
? // Deviate from the specification to handle a special npm purl type case for
|
|
50477
|
+
// pnpm ids such as 'pkg:npm/next@14.2.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1)'.
|
|
50478
|
+
pathname.indexOf('@', firstSlashIndex + 2)
|
|
50479
|
+
: pathname.lastIndexOf('@')
|
|
50480
|
+
// When a forward slash ('/') is directly preceding an '@' symbol,
|
|
50481
|
+
// then the '@' symbol is NOT considered a version separator.
|
|
50478
50482
|
if (
|
|
50479
50483
|
atSignIndex !== -1 &&
|
|
50480
50484
|
pathname.charCodeAt(atSignIndex - 1) === 47 /*'/'*/
|
|
@@ -93819,5 +93823,5 @@ exports.terminalLinkExports = terminalLinkExports
|
|
|
93819
93823
|
exports.updater = updater
|
|
93820
93824
|
exports.yargsParser = yargsParser
|
|
93821
93825
|
exports.yoctocolorsCjsExports = yoctocolorsCjsExports
|
|
93822
|
-
//# debugId=
|
|
93826
|
+
//# debugId=2dd52dc8-5909-45f5-88e3-6250929d2c05
|
|
93823
93827
|
//# sourceMappingURL=vendor.js.map
|