@socketsecurity/cli-with-sentry 0.15.56 → 0.15.57

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.
Files changed (28) hide show
  1. package/dist/cli.js +59 -32
  2. package/dist/cli.js.map +1 -1
  3. package/dist/constants.js +3 -3
  4. package/dist/constants.js.map +1 -1
  5. package/dist/types/commands/scan/handle-reach-scan.d.mts +1 -1
  6. package/dist/types/commands/scan/handle-reach-scan.d.mts.map +1 -1
  7. package/dist/types/commands/scan/scan-reachability.d.mts +1 -1
  8. package/dist/types/commands/scan/scan-reachability.d.mts.map +1 -1
  9. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +1 -1
  10. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +4 -1
  11. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +1 -1
  12. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +4 -1
  13. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +1 -1
  14. package/dist/vendor.js +21 -21
  15. package/external/@coana-tech/cli/cli.mjs +2 -2
  16. package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +9 -4
  17. package/external/@socketsecurity/registry/external/@socketregistry/yocto-spinner.js +115 -132
  18. package/external/@socketsecurity/registry/external/@yarnpkg/extensions.js +18 -0
  19. package/external/@socketsecurity/registry/external/browserslist.js +662 -658
  20. package/external/@socketsecurity/registry/external/cacache.js +5 -3
  21. package/external/@socketsecurity/registry/external/libnpmpack.js +9 -4
  22. package/external/@socketsecurity/registry/external/make-fetch-happen.js +5 -3
  23. package/external/@socketsecurity/registry/external/npm-package-arg.js +4 -1
  24. package/external/@socketsecurity/registry/external/pacote.js +9 -4
  25. package/external/@socketsecurity/registry/external/validate-npm-package-name.js +4 -1
  26. package/external/@socketsecurity/registry/manifest.json +4 -4
  27. package/external/blessed-contrib/lib/widget/charts/line.js +5 -5
  28. package/package.json +7 -7
@@ -11239,7 +11239,9 @@ function requireAst() {
11239
11239
  }
11240
11240
  // XXX abstract out this map method
11241
11241
  let bodyDotAllowed =
11242
- !repeated || allowDot || dot || false ? '' : this.#partsToRegExp(true)
11242
+ !repeated || allowDot || dot || !startNoDot
11243
+ ? ''
11244
+ : this.#partsToRegExp(true)
11243
11245
  if (bodyDotAllowed === body) {
11244
11246
  bodyDotAllowed = ''
11245
11247
  }
@@ -12616,7 +12618,7 @@ function requireCommonjs$1() {
12616
12618
  const IFSOCK = 0b1100
12617
12619
  const IFMT = 0b1111
12618
12620
  // mask to unset low 4 bits
12619
- const IFMT_UNKNOWN = -16
12621
+ const IFMT_UNKNOWN = ~IFMT
12620
12622
  // set after successfully calling readdir() and getting entries.
12621
12623
  const READDIR_CALLED = 0b0000_0001_0000
12622
12624
  // set after a successful lstat()
@@ -12944,7 +12946,7 @@ function requireCommonjs$1() {
12944
12946
  provisional: 0
12945
12947
  })
12946
12948
  this.#children.set(this, children)
12947
- this.#type &= -17
12949
+ this.#type &= ~READDIR_CALLED
12948
12950
  return children
12949
12951
  }
12950
12952
  /**
@@ -4582,7 +4582,9 @@ function requireAst() {
4582
4582
  }
4583
4583
  // XXX abstract out this map method
4584
4584
  let bodyDotAllowed =
4585
- !repeated || allowDot || dot || false ? '' : this.#partsToRegExp(true)
4585
+ !repeated || allowDot || dot || !startNoDot
4586
+ ? ''
4587
+ : this.#partsToRegExp(true)
4586
4588
  if (bodyDotAllowed === body) {
4587
4589
  bodyDotAllowed = ''
4588
4590
  }
@@ -7099,7 +7101,7 @@ function requireCommonjs$4() {
7099
7101
  const IFSOCK = 0b1100
7100
7102
  const IFMT = 0b1111
7101
7103
  // mask to unset low 4 bits
7102
- const IFMT_UNKNOWN = -16
7104
+ const IFMT_UNKNOWN = ~IFMT
7103
7105
  // set after successfully calling readdir() and getting entries.
7104
7106
  const READDIR_CALLED = 0b0000_0001_0000
7105
7107
  // set after a successful lstat()
@@ -7427,7 +7429,7 @@ function requireCommonjs$4() {
7427
7429
  provisional: 0
7428
7430
  })
7429
7431
  this.#children.set(this, children)
7430
- this.#type &= -17
7432
+ this.#type &= ~READDIR_CALLED
7431
7433
  return children
7432
7434
  }
7433
7435
  /**
@@ -14400,7 +14402,7 @@ function requireLib$I() {
14400
14402
  if (!name.length) {
14401
14403
  errors.push('name length must be greater than zero')
14402
14404
  }
14403
- if (name.match(/^\./)) {
14405
+ if (name.startsWith('.')) {
14404
14406
  errors.push('name cannot start with a period')
14405
14407
  }
14406
14408
  if (name.match(/^_/)) {
@@ -14440,6 +14442,9 @@ function requireLib$I() {
14440
14442
  if (nameMatch) {
14441
14443
  const user = nameMatch[1]
14442
14444
  const pkg = nameMatch[2]
14445
+ if (pkg.startsWith('.')) {
14446
+ errors.push('name cannot start with a period')
14447
+ }
14443
14448
  if (
14444
14449
  encodeURIComponent(user) === user &&
14445
14450
  encodeURIComponent(pkg) === pkg
@@ -25066,7 +25066,9 @@ function requireAst() {
25066
25066
  }
25067
25067
  // XXX abstract out this map method
25068
25068
  let bodyDotAllowed =
25069
- !repeated || allowDot || dot || false ? '' : this.#partsToRegExp(true)
25069
+ !repeated || allowDot || dot || !startNoDot
25070
+ ? ''
25071
+ : this.#partsToRegExp(true)
25070
25072
  if (bodyDotAllowed === body) {
25071
25073
  bodyDotAllowed = ''
25072
25074
  }
@@ -26443,7 +26445,7 @@ function requireCommonjs$1() {
26443
26445
  const IFSOCK = 0b1100
26444
26446
  const IFMT = 0b1111
26445
26447
  // mask to unset low 4 bits
26446
- const IFMT_UNKNOWN = -16
26448
+ const IFMT_UNKNOWN = ~IFMT
26447
26449
  // set after successfully calling readdir() and getting entries.
26448
26450
  const READDIR_CALLED = 0b0000_0001_0000
26449
26451
  // set after a successful lstat()
@@ -26771,7 +26773,7 @@ function requireCommonjs$1() {
26771
26773
  provisional: 0
26772
26774
  })
26773
26775
  this.#children.set(this, children)
26774
- this.#type &= -17
26776
+ this.#type &= ~READDIR_CALLED
26775
26777
  return children
26776
26778
  }
26777
26779
  /**
@@ -4988,7 +4988,7 @@ function requireLib$1() {
4988
4988
  if (!name.length) {
4989
4989
  errors.push('name length must be greater than zero')
4990
4990
  }
4991
- if (name.match(/^\./)) {
4991
+ if (name.startsWith('.')) {
4992
4992
  errors.push('name cannot start with a period')
4993
4993
  }
4994
4994
  if (name.match(/^_/)) {
@@ -5028,6 +5028,9 @@ function requireLib$1() {
5028
5028
  if (nameMatch) {
5029
5029
  const user = nameMatch[1]
5030
5030
  const pkg = nameMatch[2]
5031
+ if (pkg.startsWith('.')) {
5032
+ errors.push('name cannot start with a period')
5033
+ }
5031
5034
  if (
5032
5035
  encodeURIComponent(user) === user &&
5033
5036
  encodeURIComponent(pkg) === pkg
@@ -4580,7 +4580,9 @@ function requireAst() {
4580
4580
  }
4581
4581
  // XXX abstract out this map method
4582
4582
  let bodyDotAllowed =
4583
- !repeated || allowDot || dot || false ? '' : this.#partsToRegExp(true)
4583
+ !repeated || allowDot || dot || !startNoDot
4584
+ ? ''
4585
+ : this.#partsToRegExp(true)
4584
4586
  if (bodyDotAllowed === body) {
4585
4587
  bodyDotAllowed = ''
4586
4588
  }
@@ -7097,7 +7099,7 @@ function requireCommonjs$2() {
7097
7099
  const IFSOCK = 0b1100
7098
7100
  const IFMT = 0b1111
7099
7101
  // mask to unset low 4 bits
7100
- const IFMT_UNKNOWN = -16
7102
+ const IFMT_UNKNOWN = ~IFMT
7101
7103
  // set after successfully calling readdir() and getting entries.
7102
7104
  const READDIR_CALLED = 0b0000_0001_0000
7103
7105
  // set after a successful lstat()
@@ -7425,7 +7427,7 @@ function requireCommonjs$2() {
7425
7427
  provisional: 0
7426
7428
  })
7427
7429
  this.#children.set(this, children)
7428
- this.#type &= -17
7430
+ this.#type &= ~READDIR_CALLED
7429
7431
  return children
7430
7432
  }
7431
7433
  /**
@@ -14398,7 +14400,7 @@ function requireLib$o() {
14398
14400
  if (!name.length) {
14399
14401
  errors.push('name length must be greater than zero')
14400
14402
  }
14401
- if (name.match(/^\./)) {
14403
+ if (name.startsWith('.')) {
14402
14404
  errors.push('name cannot start with a period')
14403
14405
  }
14404
14406
  if (name.match(/^_/)) {
@@ -14438,6 +14440,9 @@ function requireLib$o() {
14438
14440
  if (nameMatch) {
14439
14441
  const user = nameMatch[1]
14440
14442
  const pkg = nameMatch[2]
14443
+ if (pkg.startsWith('.')) {
14444
+ errors.push('name cannot start with a period')
14445
+ }
14441
14446
  if (
14442
14447
  encodeURIComponent(user) === user &&
14443
14448
  encodeURIComponent(pkg) === pkg
@@ -30,7 +30,7 @@ function requireLib() {
30
30
  if (!name.length) {
31
31
  errors.push('name length must be greater than zero')
32
32
  }
33
- if (name.match(/^\./)) {
33
+ if (name.startsWith('.')) {
34
34
  errors.push('name cannot start with a period')
35
35
  }
36
36
  if (name.match(/^_/)) {
@@ -70,6 +70,9 @@ function requireLib() {
70
70
  if (nameMatch) {
71
71
  const user = nameMatch[1]
72
72
  const pkg = nameMatch[2]
73
+ if (pkg.startsWith('.')) {
74
+ errors.push('name cannot start with a period')
75
+ }
73
76
  if (
74
77
  encodeURIComponent(user) === user &&
75
78
  encodeURIComponent(pkg) === pkg
@@ -1843,7 +1843,7 @@
1843
1843
  }
1844
1844
  ],
1845
1845
  [
1846
- "pkg:npm/%40socketregistry/yocto-spinner@1.0.17",
1846
+ "pkg:npm/%40socketregistry/yocto-spinner@1.0.18",
1847
1847
  {
1848
1848
  "categories": ["cleanup"],
1849
1849
  "engines": {
@@ -1853,11 +1853,11 @@
1853
1853
  "license": "MIT",
1854
1854
  "name": "@socketregistry/yocto-spinner",
1855
1855
  "package": "yocto-spinner",
1856
- "version": "1.0.17"
1856
+ "version": "1.0.18"
1857
1857
  }
1858
1858
  ],
1859
1859
  [
1860
- "pkg:npm/shell-quote@1.8.2",
1860
+ "pkg:npm/shell-quote@1.8.3",
1861
1861
  {
1862
1862
  "categories": ["tuneup"],
1863
1863
  "engines": {
@@ -1867,7 +1867,7 @@
1867
1867
  "license": "MIT",
1868
1868
  "name": "shell-quote",
1869
1869
  "package": "shell-quote",
1870
- "version": "1.8.2"
1870
+ "version": "1.8.3"
1871
1871
  }
1872
1872
  ]
1873
1873
  ]
@@ -9799,7 +9799,7 @@ do{if(n%2){result+=string;}n=nativeFloor(n/2);if(n){string+=string;}}while(n);re
9799
9799
  * @returns {string} Returns the string.
9800
9800
  */function baseToString(value){// Exit early for strings to avoid a performance hit in some environments.
9801
9801
  if(typeof value=='string'){return value;}if(isArray(value)){// Recursively convert values (susceptible to call stack limits).
9802
- return arrayMap(value,baseToString)+'';}if(isSymbol(value)){return symbolToString?symbolToString.call(value):'';}var result=value+'';return result=='0'&&1/value==-Infinity?'-0':result;}/**
9802
+ return arrayMap(value,baseToString)+'';}if(isSymbol(value)){return symbolToString?symbolToString.call(value):'';}var result=value+'';return result=='0'&&1/value==-INFINITY?'-0':result;}/**
9803
9803
  * The base implementation of `_.uniqBy` without support for iteratee shorthands.
9804
9804
  *
9805
9805
  * @private
@@ -10670,7 +10670,7 @@ data[0]=source[0];data[1]=newBitmask;return data;}/**
10670
10670
  * @private
10671
10671
  * @param {*} value The value to inspect.
10672
10672
  * @returns {string|symbol} Returns the key.
10673
- */function toKey(value){if(typeof value=='string'||isSymbol(value)){return value;}var result=value+'';return result=='0'&&1/value==-Infinity?'-0':result;}/**
10673
+ */function toKey(value){if(typeof value=='string'||isSymbol(value)){return value;}var result=value+'';return result=='0'&&1/value==-INFINITY?'-0':result;}/**
10674
10674
  * Converts `func` to its source code.
10675
10675
  *
10676
10676
  * @private
@@ -14479,7 +14479,7 @@ return isNumber(value)&&value!=+value;}/**
14479
14479
  *
14480
14480
  * _.isSafeInteger('3');
14481
14481
  * // => false
14482
- */function isSafeInteger(value){return isInteger(value)&&value>=-9007199254740991&&value<=MAX_SAFE_INTEGER;}/**
14482
+ */function isSafeInteger(value){return isInteger(value)&&value>=-MAX_SAFE_INTEGER&&value<=MAX_SAFE_INTEGER;}/**
14483
14483
  * Checks if `value` is classified as a `Set` object.
14484
14484
  *
14485
14485
  * @static
@@ -14679,7 +14679,7 @@ return isNumber(value)&&value!=+value;}/**
14679
14679
  *
14680
14680
  * _.toFinite('3.2');
14681
14681
  * // => 3.2
14682
- */function toFinite(value){if(!value){return value===0?value:0;}value=toNumber(value);if(value===INFINITY||value===-Infinity){var sign=value<0?-1:1;return sign*MAX_INTEGER;}return value===value?value:0;}/**
14682
+ */function toFinite(value){if(!value){return value===0?value:0;}value=toNumber(value);if(value===INFINITY||value===-INFINITY){var sign=value<0?-1:1;return sign*MAX_INTEGER;}return value===value?value:0;}/**
14683
14683
  * Converts `value` to an integer.
14684
14684
  *
14685
14685
  * **Note:** This method is loosely based on
@@ -14798,7 +14798,7 @@ return isNumber(value)&&value!=+value;}/**
14798
14798
  *
14799
14799
  * _.toSafeInteger('3.2');
14800
14800
  * // => 3
14801
- */function toSafeInteger(value){return value?baseClamp(toInteger(value),-9007199254740991,MAX_SAFE_INTEGER):value===0?value:0;}/**
14801
+ */function toSafeInteger(value){return value?baseClamp(toInteger(value),-MAX_SAFE_INTEGER,MAX_SAFE_INTEGER):value===0?value:0;}/**
14802
14802
  * Converts `value` to a string. An empty string is returned for `null`
14803
14803
  * and `undefined` values. The sign of `-0` is preserved.
14804
14804
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/cli-with-sentry",
3
- "version": "0.15.56",
3
+ "version": "0.15.57",
4
4
  "description": "CLI for Socket.dev, includes Sentry error handling, otherwise identical to the regular `socket` package",
5
5
  "homepage": "https://github.com/SocketDev/socket-cli",
6
6
  "license": "MIT",
@@ -85,7 +85,7 @@
85
85
  "@babel/preset-typescript": "7.27.1",
86
86
  "@babel/runtime": "7.27.6",
87
87
  "@biomejs/biome": "1.9.4",
88
- "@coana-tech/cli": "14.9.21",
88
+ "@coana-tech/cli": "14.9.22",
89
89
  "@cyclonedx/cdxgen": "11.3.2",
90
90
  "@dotenvx/dotenvx": "1.44.1",
91
91
  "@eslint/compat": "1.2.9",
@@ -111,8 +111,8 @@
111
111
  "@socketregistry/is-interactive": "1.0.5",
112
112
  "@socketregistry/packageurl-js": "1.0.6",
113
113
  "@socketsecurity/config": "3.0.1",
114
- "@socketsecurity/registry": "1.0.203",
115
- "@socketsecurity/sdk": "1.4.41",
114
+ "@socketsecurity/registry": "1.0.205",
115
+ "@socketsecurity/sdk": "1.4.42",
116
116
  "@types/blessed": "0.1.25",
117
117
  "@types/cmd-shim": "5.0.2",
118
118
  "@types/js-yaml": "4.0.9",
@@ -125,7 +125,7 @@
125
125
  "@types/which": "3.0.4",
126
126
  "@types/yargs-parser": "21.0.3",
127
127
  "@typescript-eslint/parser": "8.33.1",
128
- "@typescript/native-preview": "7.0.0-dev.20250605.1",
128
+ "@typescript/native-preview": "7.0.0-dev.20250606.1",
129
129
  "@vitest/coverage-v8": "3.2.2",
130
130
  "blessed": "0.1.81",
131
131
  "blessed-contrib": "4.11.0",
@@ -156,9 +156,9 @@
156
156
  "npm-package-arg": "12.0.2",
157
157
  "npm-run-all2": "8.0.4",
158
158
  "open": "10.1.2",
159
- "oxlint": "0.17.0",
159
+ "oxlint": "0.18.0",
160
160
  "pony-cause": "2.1.11",
161
- "rollup": "4.41.1",
161
+ "rollup": "4.42.0",
162
162
  "semver": "7.7.2",
163
163
  "synp": "1.9.14",
164
164
  "terminal-link": "2.1.1",