@socketsecurity/cli-with-sentry 1.1.6 → 1.1.8

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/vendor.js CHANGED
@@ -27813,7 +27813,7 @@ var isInteractiveExports = /*@__PURE__*/ requireIsInteractive();
27813
27813
  var dist$e = {};
27814
27814
 
27815
27815
  var name$2 = "@socketsecurity/sdk";
27816
- var version$6 = "1.4.88";
27816
+ var version$6 = "1.4.90";
27817
27817
  var license = "MIT";
27818
27818
  var description = "SDK for the Socket API client";
27819
27819
  var author = {
@@ -27898,7 +27898,7 @@ var scripts = {
27898
27898
  "update:deps": "npx --yes npm-check-updates"
27899
27899
  };
27900
27900
  var dependencies = {
27901
- "@socketsecurity/registry": "1.1.5"
27901
+ "@socketsecurity/registry": "1.1.7"
27902
27902
  };
27903
27903
  var devDependencies = {
27904
27904
  "@biomejs/biome": "2.2.4",
@@ -27913,7 +27913,7 @@ var devDependencies = {
27913
27913
  eslint: "9.35.0",
27914
27914
  "eslint-import-resolver-typescript": "4.4.4",
27915
27915
  "eslint-plugin-import-x": "4.16.1",
27916
- "eslint-plugin-jsdoc": "55.2.0",
27916
+ "eslint-plugin-jsdoc": "56.1.2",
27917
27917
  "eslint-plugin-n": "17.21.3",
27918
27918
  "eslint-plugin-sort-destructure-keys": "2.0.0",
27919
27919
  "eslint-plugin-unicorn": "56.0.1",
@@ -27925,7 +27925,7 @@ var devDependencies = {
27925
27925
  nock: "14.0.10",
27926
27926
  "npm-run-all2": "8.0.4",
27927
27927
  "openapi-typescript": "6.7.6",
27928
- oxlint: "1.14.0",
27928
+ oxlint: "1.15.0",
27929
27929
  "type-coverage": "2.29.7",
27930
27930
  typescript: "5.9.2",
27931
27931
  "typescript-eslint": "8.43.0",
@@ -28002,6 +28002,8 @@ function requireDist$e () {
28002
28002
  const objects_1 = require$$11;
28003
28003
  const promises_1 = require$$12;
28004
28004
  const url_1 = require$$13;
28005
+ // Import attributes are only supported when the '--module' option is set to
28006
+ // 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'.
28005
28007
  // @ts-ignore: Avoid TS import attributes error.
28006
28008
  const package_json_1 = __importDefault(require$$14);
28007
28009
  const DEFAULT_USER_AGENT = createUserAgentFromPkgJson(package_json_1.default);
@@ -28208,12 +28210,7 @@ function requireDist$e () {
28208
28210
  // Send headers early to prompt server validation (auth, URL, quota, etc.).
28209
28211
  req.flushHeaders();
28210
28212
  // Concurrently wait for response while we stream body.
28211
- getResponse(req).then(pass, async (err) => {
28212
- if (err.response && !isResponseOk(err.response)) {
28213
- fail(new ResponseError(err.response, `${err.method} request failed`));
28214
- }
28215
- fail(err);
28216
- });
28213
+ getResponse(req).then(pass, fail);
28217
28214
  let aborted = false;
28218
28215
  req.on('error', () => (aborted = true));
28219
28216
  req.on('close', () => (aborted = true));
@@ -28532,7 +28529,7 @@ function requireDist$e () {
28532
28529
  });
28533
28530
  }
28534
28531
  const { statusCode } = error.response;
28535
- if (statusCode >= 500) {
28532
+ if (statusCode && statusCode >= 500) {
28536
28533
  throw new Error(`Socket API server error (${statusCode})`, {
28537
28534
  cause: error
28538
28535
  });
@@ -28554,8 +28551,8 @@ function requireDist$e () {
28554
28551
  }
28555
28552
  return {
28556
28553
  success: false,
28557
- status: statusCode,
28558
- error: error.message ?? '',
28554
+ status: statusCode ?? 0,
28555
+ error: error.message ?? 'Unknown error',
28559
28556
  cause: body
28560
28557
  };
28561
28558
  }
@@ -60237,6 +60234,7 @@ function shallowClone(o) {
60237
60234
  if (isPlainObject(o)) return {
60238
60235
  ...o
60239
60236
  };
60237
+ if (Array.isArray(o)) return [...o];
60240
60238
  return o;
60241
60239
  }
60242
60240
  const propertyKeyTypes = new Set(["string", "number", "symbol"]);
@@ -60733,7 +60731,7 @@ function emoji() {
60733
60731
  return new RegExp(_emoji$1, "u");
60734
60732
  }
60735
60733
  const ipv4$1 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;
60736
- const ipv6$1 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/;
60734
+ const ipv6$1 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;
60737
60735
  const cidrv4 = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/;
60738
60736
  const cidrv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;
60739
60737
  // https://stackoverflow.com/questions/7860392/determine-if-string-is-in-base64-using-javascript
@@ -61040,7 +61038,7 @@ class Doc {
61040
61038
  const version$5 = {
61041
61039
  major: 4,
61042
61040
  minor: 1,
61043
- patch: 5
61041
+ patch: 7
61044
61042
  };
61045
61043
 
61046
61044
  const $ZodType = /*@__PURE__*/$constructor("$ZodType", (inst, def) => {
@@ -61364,8 +61362,10 @@ const $ZodCIDRv6 = /*@__PURE__*/$constructor("$ZodCIDRv6", (inst, def) => {
61364
61362
  def.pattern ?? (def.pattern = cidrv6); // not used for validation
61365
61363
  $ZodStringFormat.init(inst, def);
61366
61364
  inst._zod.check = payload => {
61367
- const [address, prefix] = payload.value.split("/");
61365
+ const parts = payload.value.split("/");
61368
61366
  try {
61367
+ if (parts.length !== 2) throw new Error();
61368
+ const [address, prefix] = parts;
61369
61369
  if (!prefix) throw new Error();
61370
61370
  const prefixNum = Number(prefix);
61371
61371
  if (`${prefixNum}` !== prefix) throw new Error();
@@ -61540,7 +61540,7 @@ function handlePropertyResult(result, final, key, input) {
61540
61540
  function normalizeDef(def) {
61541
61541
  const keys = Object.keys(def.shape);
61542
61542
  for (const k of keys) {
61543
- if (!def.shape[k]._zod.traits.has("$ZodType")) {
61543
+ if (!def.shape?.[k]?._zod?.traits?.has("$ZodType")) {
61544
61544
  throw new Error(`Invalid element at key "${k}": expected a Zod schema`);
61545
61545
  }
61546
61546
  }
@@ -61659,7 +61659,7 @@ const $ZodObjectJIT = /*@__PURE__*/$constructor("$ZodObjectJIT", (inst, def) =>
61659
61659
  ids[key] = `key_${counter++}`;
61660
61660
  }
61661
61661
  // A: preserve key order {
61662
- doc.write(`const newResult = {}`);
61662
+ doc.write(`const newResult = {};`);
61663
61663
  for (const key of normalized.keys) {
61664
61664
  const id = ids[key];
61665
61665
  const k = esc(key);
@@ -61672,6 +61672,7 @@ const $ZodObjectJIT = /*@__PURE__*/$constructor("$ZodObjectJIT", (inst, def) =>
61672
61672
  })));
61673
61673
  }
61674
61674
 
61675
+
61675
61676
  if (${id}.value === undefined) {
61676
61677
  if (${k} in input) {
61677
61678
  newResult[${k}] = undefined;
@@ -61679,6 +61680,7 @@ const $ZodObjectJIT = /*@__PURE__*/$constructor("$ZodObjectJIT", (inst, def) =>
61679
61680
  } else {
61680
61681
  newResult[${k}] = ${id}.value;
61681
61682
  }
61683
+
61682
61684
  `);
61683
61685
  }
61684
61686
  doc.write(`payload.value = newResult;`);
@@ -167035,5 +167037,5 @@ exports.terminalLinkExports = terminalLinkExports;
167035
167037
  exports.updater = updater$1;
167036
167038
  exports.yargsParser = yargsParser;
167037
167039
  exports.yoctocolorsCjsExports = yoctocolorsCjsExports;
167038
- //# debugId=44384fe3-ae9c-4b91-bed5-98dbcfe0322e
167040
+ //# debugId=b77c5e00-6e06-4097-b979-9cef8e2fde15
167039
167041
  //# sourceMappingURL=vendor.js.map
@@ -105,6 +105,7 @@ function requireYoctoSpinner() {
105
105
  return yoctoSpinner
106
106
  }
107
107
  hasRequiredYoctoSpinner = 1
108
+ const { defineProperty: ObjectDefineProperty } = Object
108
109
  const defaultTtyColumns = 80
109
110
  let _defaultSpinner
110
111
  function getDefaultSpinner() {
@@ -201,6 +202,16 @@ function requireYoctoSpinner() {
201
202
  }
202
203
  return _stripVTControlCharacters(string)
203
204
  }
205
+ function getFrame(spinner, index) {
206
+ const { frames } = spinner
207
+ const length = frames?.length ?? 0
208
+ return index > -1 && index < length ? frames[index].trim() : ''
209
+ }
210
+ function getFrameCount(spinner) {
211
+ const { frames } = spinner
212
+ const length = frames?.length ?? 0
213
+ return length < 1 ? 1 : length
214
+ }
204
215
  function normalizeText(value) {
205
216
  return typeof value === 'string' ? value.trimStart() : ''
206
217
  }
@@ -208,27 +219,45 @@ function requireYoctoSpinner() {
208
219
  #color
209
220
  #currentFrame = -1
210
221
  #exitHandlerBound
211
- #frames
212
222
  #indention = ''
213
- #interval
214
223
  #isInteractive
215
224
  #isSpinning = false
216
225
  #lastSpinnerFrameTime = 0
217
226
  #lines = 0
227
+ #spinner
218
228
  #stream
219
229
  #text
220
230
  #timer
231
+ static spinners = {
232
+ get default() {
233
+ return getDefaultSpinner()
234
+ },
235
+ set default(spinner) {
236
+ ObjectDefineProperty(this, 'default', {
237
+ __proto__: null,
238
+ configurable: true,
239
+ enumerable: true,
240
+ value: spinner,
241
+ writable: true
242
+ })
243
+ },
244
+ ci: {
245
+ frames: [''],
246
+ // The delay argument is converted to a signed 32-bit integer. This effectively
247
+ // limits delay to 2147483647 ms, roughly 24.8 days, since it's specified as a
248
+ // signed integer in the IDL.
249
+ // https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval?utm_source=chatgpt.com#return_value
250
+ interval: 2147483647
251
+ }
252
+ }
221
253
  constructor(options = {}) {
222
254
  const opts = {
223
255
  __proto__: null,
224
256
  ...options
225
257
  }
226
- const spinner = opts.spinner ?? getDefaultSpinner()
227
258
  const stream = opts.stream ?? getProcess().stderr
228
- const { frames } = spinner
229
- this.#frames =
230
- (frames?.length ?? 0) < 1 ? [''] : frames.map(f => f.trim())
231
- this.#interval = spinner.interval
259
+ this.#spinner =
260
+ opts.spinner ?? YoctoSpinner.spinners.default ?? getDefaultSpinner()
232
261
  this.#text = normalizeText(options.text)
233
262
  this.#stream = stream ?? process.stderr
234
263
  this.#color = options.color ?? 'cyan'
@@ -266,14 +295,14 @@ function requireYoctoSpinner() {
266
295
  const now = Date.now()
267
296
  if (
268
297
  this.#currentFrame === -1 ||
269
- now - this.#lastSpinnerFrameTime >= this.#interval
298
+ now - this.#lastSpinnerFrameTime >= this.#spinner.interval
270
299
  ) {
271
- this.#currentFrame = ++this.#currentFrame % this.#frames.length
300
+ this.#currentFrame = ++this.#currentFrame % getFrameCount(this.#spinner)
272
301
  this.#lastSpinnerFrameTime = now
273
302
  }
274
303
  const colors = getYoctocolors()
275
304
  const applyColor = colors[this.#color] ?? colors.cyan
276
- const frame = this.#frames[this.#currentFrame]
305
+ const frame = getFrame(this.#spinner, this.#currentFrame)
277
306
  let string = `${frame ? `${applyColor(frame)} ` : ''}${this.#text}`
278
307
  if (string) {
279
308
  if (this.#indention.length) {
@@ -323,6 +352,12 @@ function requireYoctoSpinner() {
323
352
  get isSpinning() {
324
353
  return this.#isSpinning
325
354
  }
355
+ get spinner() {
356
+ return this.#spinner
357
+ }
358
+ set spinner(spinner) {
359
+ this.#spinner = spinner
360
+ }
326
361
  get text() {
327
362
  return this.#text
328
363
  }
@@ -379,7 +414,7 @@ function requireYoctoSpinner() {
379
414
  if (this.#isInteractive) {
380
415
  this.#timer = setInterval(() => {
381
416
  this.#render()
382
- }, this.#interval)
417
+ }, this.#spinner.interval)
383
418
  }
384
419
  return this
385
420
  }
@@ -6443,7 +6443,7 @@ function requireEntryIndex() {
6443
6443
  // the true passed to formatEntry tells it to keep null
6444
6444
  // integrity values, if they made it this far it's because
6445
6445
  // validateEntry returned true, and as such we should return it
6446
- return newEntries.reverse().map(entry => formatEntry(cache, entry, true))
6446
+ return newEntries.toReversed().map(entry => formatEntry(cache, entry, true))
6447
6447
  }
6448
6448
  entryIndex.insert = insert
6449
6449
  async function insert(cache, key, integrity, opts = {}) {
@@ -21909,7 +21909,7 @@ function requireEntryIndex$7() {
21909
21909
  // the true passed to formatEntry tells it to keep null
21910
21910
  // integrity values, if they made it this far it's because
21911
21911
  // validateEntry returned true, and as such we should return it
21912
- return newEntries.reverse().map(entry => formatEntry(cache, entry, true))
21912
+ return newEntries.toReversed().map(entry => formatEntry(cache, entry, true))
21913
21913
  }
21914
21914
  entryIndex$7.insert = insert
21915
21915
  async function insert(cache, key, integrity, opts = {}) {
@@ -54899,7 +54899,7 @@ function requireEntryIndex$6() {
54899
54899
  // the true passed to formatEntry tells it to keep null
54900
54900
  // integrity values, if they made it this far it's because
54901
54901
  // validateEntry returned true, and as such we should return it
54902
- return newEntries.reverse().map(entry => formatEntry(cache, entry, true))
54902
+ return newEntries.toReversed().map(entry => formatEntry(cache, entry, true))
54903
54903
  }
54904
54904
  entryIndex$6.insert = insert
54905
54905
  async function insert(cache, key, integrity, opts = {}) {
@@ -62836,7 +62836,7 @@ function requireIpv4() {
62836
62836
  static fromArpa(arpaFormAddress) {
62837
62837
  // remove ending ".in-addr.arpa." or just "."
62838
62838
  const leader = arpaFormAddress.replace(/(\.in-addr\.arpa)?\.$/, '')
62839
- const address = leader.split('.').reverse().join('.')
62839
+ const address = leader.split('.').toReversed().join('.')
62840
62840
  return new Address4(address)
62841
62841
  }
62842
62842
  /**
@@ -63002,7 +63002,7 @@ function requireIpv4() {
63002
63002
  if (!options) {
63003
63003
  options = {}
63004
63004
  }
63005
- const reversed = this.correctForm().split('.').reverse().join('.')
63005
+ const reversed = this.correctForm().split('.').toReversed().join('.')
63006
63006
  if (options.omitSuffix) {
63007
63007
  return reversed
63008
63008
  }
@@ -63677,7 +63677,7 @@ function requireIpv6() {
63677
63677
  if (address.length !== 63) {
63678
63678
  throw new address_error_1.AddressError("Invalid 'ip6.arpa' form.")
63679
63679
  }
63680
- const parts = address.split('.').reverse()
63680
+ const parts = address.split('.').toReversed()
63681
63681
  for (let i = semicolonAmount; i > 0; i--) {
63682
63682
  const insertIndex = i * 4
63683
63683
  parts.splice(insertIndex, 0, ':')
@@ -63878,7 +63878,7 @@ function requireIpv6() {
63878
63878
  .replace(/:/g, '')
63879
63879
  .split('')
63880
63880
  .slice(0, characters)
63881
- .reverse()
63881
+ .toReversed()
63882
63882
  .join('.')
63883
63883
  if (characters > 0) {
63884
63884
  if (options.omitSuffix) {
@@ -66268,9 +66268,9 @@ function requireProxy() {
66268
66268
  if (!noProxy || !noProxy.length) {
66269
66269
  return false
66270
66270
  }
66271
- const hostSegments = url.hostname.split('.').reverse()
66271
+ const hostSegments = url.hostname.split('.').toReversed()
66272
66272
  return noProxy.some(no => {
66273
- const noSegments = no.split('.').filter(Boolean).reverse()
66273
+ const noSegments = no.split('.').filter(Boolean).toReversed()
66274
66274
  if (!noSegments.length) {
66275
66275
  return false
66276
66276
  }
@@ -21291,7 +21291,7 @@ function requireEntryIndex() {
21291
21291
  // the true passed to formatEntry tells it to keep null
21292
21292
  // integrity values, if they made it this far it's because
21293
21293
  // validateEntry returned true, and as such we should return it
21294
- return newEntries.reverse().map(entry => formatEntry(cache, entry, true))
21294
+ return newEntries.toReversed().map(entry => formatEntry(cache, entry, true))
21295
21295
  }
21296
21296
  entryIndex.insert = insert
21297
21297
  async function insert(cache, key, integrity, opts = {}) {
@@ -37820,7 +37820,7 @@ function requireIpv4() {
37820
37820
  static fromArpa(arpaFormAddress) {
37821
37821
  // remove ending ".in-addr.arpa." or just "."
37822
37822
  const leader = arpaFormAddress.replace(/(\.in-addr\.arpa)?\.$/, '')
37823
- const address = leader.split('.').reverse().join('.')
37823
+ const address = leader.split('.').toReversed().join('.')
37824
37824
  return new Address4(address)
37825
37825
  }
37826
37826
  /**
@@ -37986,7 +37986,7 @@ function requireIpv4() {
37986
37986
  if (!options) {
37987
37987
  options = {}
37988
37988
  }
37989
- const reversed = this.correctForm().split('.').reverse().join('.')
37989
+ const reversed = this.correctForm().split('.').toReversed().join('.')
37990
37990
  if (options.omitSuffix) {
37991
37991
  return reversed
37992
37992
  }
@@ -38661,7 +38661,7 @@ function requireIpv6() {
38661
38661
  if (address.length !== 63) {
38662
38662
  throw new address_error_1.AddressError("Invalid 'ip6.arpa' form.")
38663
38663
  }
38664
- const parts = address.split('.').reverse()
38664
+ const parts = address.split('.').toReversed()
38665
38665
  for (let i = semicolonAmount; i > 0; i--) {
38666
38666
  const insertIndex = i * 4
38667
38667
  parts.splice(insertIndex, 0, ':')
@@ -38862,7 +38862,7 @@ function requireIpv6() {
38862
38862
  .replace(/:/g, '')
38863
38863
  .split('')
38864
38864
  .slice(0, characters)
38865
- .reverse()
38865
+ .toReversed()
38866
38866
  .join('.')
38867
38867
  if (characters > 0) {
38868
38868
  if (options.omitSuffix) {
@@ -41252,9 +41252,9 @@ function requireProxy() {
41252
41252
  if (!noProxy || !noProxy.length) {
41253
41253
  return false
41254
41254
  }
41255
- const hostSegments = url.hostname.split('.').reverse()
41255
+ const hostSegments = url.hostname.split('.').toReversed()
41256
41256
  return noProxy.some(no => {
41257
- const noSegments = no.split('.').filter(Boolean).reverse()
41257
+ const noSegments = no.split('.').filter(Boolean).toReversed()
41258
41258
  if (!noSegments.length) {
41259
41259
  return false
41260
41260
  }
@@ -25984,7 +25984,7 @@ function requireEntryIndex() {
25984
25984
  // the true passed to formatEntry tells it to keep null
25985
25985
  // integrity values, if they made it this far it's because
25986
25986
  // validateEntry returned true, and as such we should return it
25987
- return newEntries.reverse().map(entry => formatEntry(cache, entry, true))
25987
+ return newEntries.toReversed().map(entry => formatEntry(cache, entry, true))
25988
25988
  }
25989
25989
  entryIndex.insert = insert
25990
25990
  async function insert(cache, key, integrity, opts = {}) {
@@ -69208,7 +69208,7 @@ function requireIpv4() {
69208
69208
  static fromArpa(arpaFormAddress) {
69209
69209
  // remove ending ".in-addr.arpa." or just "."
69210
69210
  const leader = arpaFormAddress.replace(/(\.in-addr\.arpa)?\.$/, '')
69211
- const address = leader.split('.').reverse().join('.')
69211
+ const address = leader.split('.').toReversed().join('.')
69212
69212
  return new Address4(address)
69213
69213
  }
69214
69214
  /**
@@ -69374,7 +69374,7 @@ function requireIpv4() {
69374
69374
  if (!options) {
69375
69375
  options = {}
69376
69376
  }
69377
- const reversed = this.correctForm().split('.').reverse().join('.')
69377
+ const reversed = this.correctForm().split('.').toReversed().join('.')
69378
69378
  if (options.omitSuffix) {
69379
69379
  return reversed
69380
69380
  }
@@ -70049,7 +70049,7 @@ function requireIpv6() {
70049
70049
  if (address.length !== 63) {
70050
70050
  throw new address_error_1.AddressError("Invalid 'ip6.arpa' form.")
70051
70051
  }
70052
- const parts = address.split('.').reverse()
70052
+ const parts = address.split('.').toReversed()
70053
70053
  for (let i = semicolonAmount; i > 0; i--) {
70054
70054
  const insertIndex = i * 4
70055
70055
  parts.splice(insertIndex, 0, ':')
@@ -70250,7 +70250,7 @@ function requireIpv6() {
70250
70250
  .replace(/:/g, '')
70251
70251
  .split('')
70252
70252
  .slice(0, characters)
70253
- .reverse()
70253
+ .toReversed()
70254
70254
  .join('.')
70255
70255
  if (characters > 0) {
70256
70256
  if (options.omitSuffix) {
@@ -72640,9 +72640,9 @@ function requireProxy() {
72640
72640
  if (!noProxy || !noProxy.length) {
72641
72641
  return false
72642
72642
  }
72643
- const hostSegments = url.hostname.split('.').reverse()
72643
+ const hostSegments = url.hostname.split('.').toReversed()
72644
72644
  return noProxy.some(no => {
72645
- const noSegments = no.split('.').filter(Boolean).reverse()
72645
+ const noSegments = no.split('.').filter(Boolean).toReversed()
72646
72646
  if (!noSegments.length) {
72647
72647
  return false
72648
72648
  }
@@ -1,5 +1,7 @@
1
1
  'use strict'
2
2
 
3
+ const { hasOwn } = /*@__PURE__*/ require('./objects')
4
+
3
5
  const ciSpinner = {
4
6
  frames: [''],
5
7
  // The delay argument is converted to a signed 32-bit integer. This effectively
@@ -22,6 +24,20 @@ function normalizeText(value) {
22
24
  return typeof value === 'string' ? value.trimStart() : ''
23
25
  }
24
26
 
27
+ let _cliSpinners
28
+ /*@__NO_SIDE_EFFECTS__*/
29
+ function getCliSpinners(styleName) {
30
+ if (_cliSpinners === undefined) {
31
+ const yoctoFactory = /*@__PURE__*/ require('../external/@socketregistry/yocto-spinner')
32
+ const { constructor: YoctoCtor } = yoctoFactory()
33
+ _cliSpinners = YoctoCtor.spinners
34
+ }
35
+ if (typeof styleName === 'string') {
36
+ return hasOwn(_cliSpinners, styleName) ? _cliSpinners[styleName] : undefined
37
+ }
38
+ return _cliSpinners
39
+ }
40
+
25
41
  let _Spinner
26
42
  let _defaultSpinner
27
43
  /*@__NO_SIDE_EFFECTS__*/
@@ -184,5 +200,6 @@ function Spinner(options) {
184
200
  }
185
201
 
186
202
  module.exports = {
203
+ getCliSpinners,
187
204
  Spinner
188
205
  }
@@ -2,6 +2,24 @@
2
2
 
3
3
  const BooleanCtor = Boolean
4
4
 
5
+ /*@__NO_SIDE_EFFECTS__*/
6
+ function isUrl(value) {
7
+ const isStr = typeof value === 'string'
8
+ if (isStr && value === '') {
9
+ return false
10
+ }
11
+ const isObj = !isStr && value !== null && typeof value === 'object'
12
+ if (!isStr && !isObj) {
13
+ return false
14
+ }
15
+ try {
16
+ // eslint-disable-next-line no-new
17
+ new URL(value)
18
+ return true
19
+ } catch {}
20
+ return false
21
+ }
22
+
5
23
  /*@__NO_SIDE_EFFECTS__*/
6
24
  function urlSearchParamAsArray(value) {
7
25
  return typeof value === 'string'
@@ -22,6 +40,7 @@ function urlSearchParamAsBoolean(value, defaultValue = false) {
22
40
  }
23
41
 
24
42
  module.exports = {
43
+ isUrl,
25
44
  urlSearchParamAsArray,
26
45
  urlSearchParamAsBoolean
27
46
  }
@@ -1843,7 +1843,7 @@
1843
1843
  }
1844
1844
  ],
1845
1845
  [
1846
- "pkg:npm/%40socketregistry/yocto-spinner@1.0.22",
1846
+ "pkg:npm/%40socketregistry/yocto-spinner@1.0.23",
1847
1847
  {
1848
1848
  "categories": ["cleanup"],
1849
1849
  "engines": {
@@ -1853,7 +1853,7 @@
1853
1853
  "license": "MIT",
1854
1854
  "name": "@socketregistry/yocto-spinner",
1855
1855
  "package": "yocto-spinner",
1856
- "version": "1.0.22"
1856
+ "version": "1.0.23"
1857
1857
  }
1858
1858
  ],
1859
1859
  [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/cli-with-sentry",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
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",
@@ -86,7 +86,7 @@
86
86
  "@babel/preset-typescript": "7.27.1",
87
87
  "@babel/runtime": "7.28.4",
88
88
  "@biomejs/biome": "2.2.4",
89
- "@coana-tech/cli": "14.12.22",
89
+ "@coana-tech/cli": "14.12.26",
90
90
  "@cyclonedx/cdxgen": "11.7.0",
91
91
  "@dotenvx/dotenvx": "1.49.0",
92
92
  "@eslint/compat": "1.3.2",
@@ -113,8 +113,8 @@
113
113
  "@socketregistry/is-interactive": "1.0.6",
114
114
  "@socketregistry/packageurl-js": "1.0.9",
115
115
  "@socketsecurity/config": "3.0.1",
116
- "@socketsecurity/registry": "1.1.5",
117
- "@socketsecurity/sdk": "1.4.88",
116
+ "@socketsecurity/registry": "1.1.7",
117
+ "@socketsecurity/sdk": "1.4.90",
118
118
  "@types/blessed": "0.1.25",
119
119
  "@types/cmd-shim": "5.0.2",
120
120
  "@types/js-yaml": "4.0.9",
@@ -128,7 +128,7 @@
128
128
  "@types/which": "3.0.4",
129
129
  "@types/yargs-parser": "21.0.3",
130
130
  "@typescript-eslint/parser": "8.43.0",
131
- "@typescript/native-preview": "7.0.0-dev.20250910.1",
131
+ "@typescript/native-preview": "7.0.0-dev.20250911.1",
132
132
  "@vitest/coverage-v8": "3.2.4",
133
133
  "blessed": "0.1.81",
134
134
  "blessed-contrib": "4.11.0",
@@ -160,7 +160,7 @@
160
160
  "npm-package-arg": "13.0.0",
161
161
  "npm-run-all2": "8.0.4",
162
162
  "open": "10.2.0",
163
- "oxlint": "1.14.0",
163
+ "oxlint": "1.15.0",
164
164
  "pony-cause": "2.1.11",
165
165
  "registry-auth-token": "5.1.0",
166
166
  "registry-url": "7.2.0",
@@ -178,7 +178,7 @@
178
178
  "yaml": "2.8.1",
179
179
  "yargs-parser": "22.0.0",
180
180
  "yoctocolors-cjs": "2.1.3",
181
- "zod": "4.1.5"
181
+ "zod": "4.1.7"
182
182
  },
183
183
  "overrides": {
184
184
  "@octokit/graphql": "$@octokit/graphql",