@sentry/craft 2.26.9 → 2.26.10

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 (2) hide show
  1. package/dist/craft +240 -135
  2. package/package.json +2 -2
package/dist/craft CHANGED
@@ -6257,7 +6257,7 @@ var require_ms = __commonJS({
6257
6257
  options = options || {};
6258
6258
  var type2 = typeof val;
6259
6259
  if (type2 === "string" && val.length > 0) {
6260
- return parse5(val);
6260
+ return parse6(val);
6261
6261
  } else if (type2 === "number" && isFinite(val)) {
6262
6262
  return options.long ? fmtLong(val) : fmtShort(val);
6263
6263
  }
@@ -6265,7 +6265,7 @@ var require_ms = __commonJS({
6265
6265
  "val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
6266
6266
  );
6267
6267
  };
6268
- function parse5(str2) {
6268
+ function parse6(str2) {
6269
6269
  str2 = String(str2);
6270
6270
  if (str2.length > 100) {
6271
6271
  return;
@@ -7493,7 +7493,7 @@ var require_import_in_the_middle = __commonJS({
7493
7493
  "node_modules/.pnpm/import-in-the-middle@2.0.0/node_modules/import-in-the-middle/index.js"(exports2, module2) {
7494
7494
  init_import_meta_url();
7495
7495
  var path18 = require("path");
7496
- var parse5 = require_module_details_from_path();
7496
+ var parse6 = require_module_details_from_path();
7497
7497
  var { fileURLToPath: fileURLToPath4 } = require("url");
7498
7498
  var { MessageChannel } = require("worker_threads");
7499
7499
  var {
@@ -7577,7 +7577,7 @@ var require_import_in_the_middle = __commonJS({
7577
7577
  } catch (e4) {
7578
7578
  }
7579
7579
  }
7580
- const details = parse5(name);
7580
+ const details = parse6(name);
7581
7581
  if (details) {
7582
7582
  name = details.name;
7583
7583
  baseDir = details.basedir;
@@ -8217,7 +8217,7 @@ var require_forwarded_parse = __commonJS({
8217
8217
  position
8218
8218
  );
8219
8219
  }
8220
- function parse5(header) {
8220
+ function parse6(header) {
8221
8221
  var mustUnescape = false;
8222
8222
  var isEscaping = false;
8223
8223
  var inQuotes = false;
@@ -8304,7 +8304,7 @@ var require_forwarded_parse = __commonJS({
8304
8304
  output.push(forwarded);
8305
8305
  return output;
8306
8306
  }
8307
- module2.exports = parse5;
8307
+ module2.exports = parse6;
8308
8308
  }
8309
8309
  });
8310
8310
 
@@ -31358,7 +31358,7 @@ var require_instrumentation4 = __commonJS({
31358
31358
  }
31359
31359
  _patchParse() {
31360
31360
  const instrumentation = this;
31361
- return function parse5(original) {
31361
+ return function parse6(original) {
31362
31362
  return function patchParse(source, options) {
31363
31363
  return instrumentation._parse(this, original, source, options);
31364
31364
  };
@@ -44748,7 +44748,7 @@ function parseStringResponse(result, parsers12, texts, trim = true) {
44748
44748
  }
44749
44749
  return lines[i5 + offset];
44750
44750
  };
44751
- parsers12.some(({ parse: parse5 }) => parse5(line, result));
44751
+ parsers12.some(({ parse: parse6 }) => parse6(line, result));
44752
44752
  }
44753
44753
  });
44754
44754
  return result;
@@ -69254,7 +69254,7 @@ var require_fast_content_type_parse = __commonJS({
69254
69254
  var defaultContentType = { type: "", parameters: new NullObject() };
69255
69255
  Object.freeze(defaultContentType.parameters);
69256
69256
  Object.freeze(defaultContentType);
69257
- function parse5(header) {
69257
+ function parse6(header) {
69258
69258
  if (typeof header !== "string") {
69259
69259
  throw new TypeError("argument header is required and must be a string");
69260
69260
  }
@@ -69330,8 +69330,8 @@ var require_fast_content_type_parse = __commonJS({
69330
69330
  }
69331
69331
  return result;
69332
69332
  }
69333
- module2.exports.default = { parse: parse5, safeParse: safeParse2 };
69334
- module2.exports.parse = parse5;
69333
+ module2.exports.default = { parse: parse6, safeParse: safeParse2 };
69334
+ module2.exports.parse = parse6;
69335
69335
  module2.exports.safeParse = safeParse2;
69336
69336
  module2.exports.defaultContentType = defaultContentType;
69337
69337
  }
@@ -75432,7 +75432,7 @@ var require_mustache = __commonJS({
75432
75432
  Writer.prototype.clearCache = function clearCache() {
75433
75433
  this.cache = {};
75434
75434
  };
75435
- Writer.prototype.parse = function parse5(template, tags) {
75435
+ Writer.prototype.parse = function parse6(template, tags) {
75436
75436
  var cache4 = this.cache;
75437
75437
  var cacheKey = template + ":" + (tags || mustache2.tags).join(":");
75438
75438
  var tokens = cache4[cacheKey];
@@ -75519,7 +75519,7 @@ var require_mustache = __commonJS({
75519
75519
  mustache2.clearCache = function clearCache() {
75520
75520
  return defaultWriter.clearCache();
75521
75521
  };
75522
- mustache2.parse = function parse5(template, tags) {
75522
+ mustache2.parse = function parse6(template, tags) {
75523
75523
  return defaultWriter.parse(template, tags);
75524
75524
  };
75525
75525
  mustache2.render = function render2(template, view, partials, tags) {
@@ -161246,7 +161246,7 @@ var require_package6 = __commonJS({
161246
161246
  "package.json"(exports2, module2) {
161247
161247
  module2.exports = {
161248
161248
  name: "@sentry/craft",
161249
- version: "2.26.9",
161249
+ version: "2.26.10",
161250
161250
  description: "The universal sentry workflow CLI",
161251
161251
  main: "dist/craft",
161252
161252
  repository: "https://github.com/getsentry/craft",
@@ -161303,7 +161303,7 @@ var require_package6 = __commonJS({
161303
161303
  ora: "5.4.0",
161304
161304
  prettier: "^3.4.2",
161305
161305
  prompts: "2.4.1",
161306
- "shell-quote": "1.7.3",
161306
+ "shell-quote": "^1.8.4",
161307
161307
  "simple-git": "^3.33.0",
161308
161308
  "source-map-support": "^0.5.20",
161309
161309
  split: "1.0.1",
@@ -161419,7 +161419,7 @@ function getPackage() {
161419
161419
  }
161420
161420
  function getPackageVersion() {
161421
161421
  const { version: version2 } = getPackage();
161422
- const buildInfo = "6143e76379c342e247687c4ab5c83d8b900cc273";
161422
+ const buildInfo = "acdb88019720182caf57293360d7cdc8db9e75ac";
161423
161423
  return buildInfo ? `${version2} (${buildInfo})` : version2;
161424
161424
  }
161425
161425
  function semVerToString(s6) {
@@ -161471,84 +161471,195 @@ var require_get_caller_file = __commonJS({
161471
161471
  }
161472
161472
  });
161473
161473
 
161474
- // node_modules/.pnpm/shell-quote@1.7.3/node_modules/shell-quote/index.js
161475
- var require_shell_quote = __commonJS({
161476
- "node_modules/.pnpm/shell-quote@1.7.3/node_modules/shell-quote/index.js"(exports2) {
161474
+ // node_modules/.pnpm/shell-quote@1.8.4/node_modules/shell-quote/quote.js
161475
+ var require_quote = __commonJS({
161476
+ "node_modules/.pnpm/shell-quote@1.8.4/node_modules/shell-quote/quote.js"(exports2, module2) {
161477
+ "use strict";
161477
161478
  init_import_meta_url();
161478
- exports2.quote = function(xs2) {
161479
+ var OPS = [
161480
+ "||",
161481
+ "&&",
161482
+ ";;",
161483
+ "|&",
161484
+ "<(",
161485
+ "<<<",
161486
+ ">>",
161487
+ ">&",
161488
+ "<&",
161489
+ "&",
161490
+ ";",
161491
+ "(",
161492
+ ")",
161493
+ "|",
161494
+ "<",
161495
+ ">"
161496
+ ];
161497
+ var LINE_TERMINATORS = /[\n\r\u2028\u2029]/;
161498
+ var GLOB_SHELL_SPECIAL = /[\s#!"$&'():;<=>@\\^`|]/g;
161499
+ module2.exports = function quote(xs2) {
161479
161500
  return xs2.map(function(s6) {
161501
+ if (s6 === "") {
161502
+ return "''";
161503
+ }
161480
161504
  if (s6 && typeof s6 === "object") {
161481
- return s6.op.replace(/(.)/g, "\\$1");
161482
- } else if (/["\s]/.test(s6) && !/'/.test(s6)) {
161483
- return "'" + s6.replace(/(['\\])/g, "\\$1") + "'";
161484
- } else if (/["'\s]/.test(s6)) {
161505
+ if (s6.op === "glob") {
161506
+ if (typeof s6.pattern !== "string") {
161507
+ throw new TypeError("glob token requires a string `pattern`");
161508
+ }
161509
+ if (LINE_TERMINATORS.test(s6.pattern)) {
161510
+ throw new TypeError("glob `pattern` must not contain line terminators");
161511
+ }
161512
+ return s6.pattern.replace(GLOB_SHELL_SPECIAL, "\\$&");
161513
+ }
161514
+ if (typeof s6.op === "string") {
161515
+ if (OPS.indexOf(s6.op) < 0) {
161516
+ throw new TypeError("invalid `op` value: " + JSON.stringify(s6.op));
161517
+ }
161518
+ return s6.op.replace(/[\s\S]/g, "\\$&");
161519
+ }
161520
+ if (typeof s6.comment === "string") {
161521
+ if (LINE_TERMINATORS.test(s6.comment)) {
161522
+ throw new TypeError("`comment` must not contain line terminators");
161523
+ }
161524
+ return "#" + s6.comment;
161525
+ }
161526
+ throw new TypeError("unrecognized object token shape");
161527
+ }
161528
+ if (/["\s\\]/.test(s6) && !/'/.test(s6)) {
161529
+ return "'" + s6.replace(/(['])/g, "\\$1") + "'";
161530
+ }
161531
+ if (/["'\s]/.test(s6)) {
161485
161532
  return '"' + s6.replace(/(["\\$`!])/g, "\\$1") + '"';
161486
- } else {
161487
- return String(s6).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@\[\\\]^`{|}])/g, "$1\\$2");
161488
161533
  }
161534
+ return String(s6).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g, "$1\\$2");
161489
161535
  }).join(" ");
161490
161536
  };
161537
+ }
161538
+ });
161539
+
161540
+ // node_modules/.pnpm/shell-quote@1.8.4/node_modules/shell-quote/parse.js
161541
+ var require_parse2 = __commonJS({
161542
+ "node_modules/.pnpm/shell-quote@1.8.4/node_modules/shell-quote/parse.js"(exports2, module2) {
161543
+ "use strict";
161544
+ init_import_meta_url();
161491
161545
  var CONTROL = "(?:" + [
161492
161546
  "\\|\\|",
161493
161547
  "\\&\\&",
161494
161548
  ";;",
161495
161549
  "\\|\\&",
161496
161550
  "\\<\\(",
161551
+ "\\<\\<\\<",
161497
161552
  ">>",
161498
161553
  ">\\&",
161554
+ "<\\&",
161499
161555
  "[&;()|<>]"
161500
161556
  ].join("|") + ")";
161557
+ var controlRE = new RegExp("^" + CONTROL + "$");
161501
161558
  var META = "|&;()<> \\t";
161502
- var BAREWORD = `(\\\\['"` + META + `]|[^\\s'"` + META + "])+";
161503
161559
  var SINGLE_QUOTE = '"((\\\\"|[^"])*?)"';
161504
161560
  var DOUBLE_QUOTE = "'((\\\\'|[^'])*?)'";
161561
+ var hash = /^#$/;
161562
+ var SQ = "'";
161563
+ var DQ = '"';
161564
+ var DS = "$";
161505
161565
  var TOKEN = "";
161566
+ var mult = 4294967296;
161506
161567
  for (i5 = 0; i5 < 4; i5++) {
161507
- TOKEN += (Math.pow(16, 8) * Math.random()).toString(16);
161568
+ TOKEN += (mult * Math.random()).toString(16);
161508
161569
  }
161509
161570
  var i5;
161510
- exports2.parse = function(s6, env2, opts) {
161511
- var mapped = parse5(s6, env2, opts);
161512
- if (typeof env2 !== "function") return mapped;
161513
- return mapped.reduce(function(acc, s7) {
161514
- if (typeof s7 === "object") return acc.concat(s7);
161515
- var xs2 = s7.split(RegExp("(" + TOKEN + ".*?" + TOKEN + ")", "g"));
161516
- if (xs2.length === 1) return acc.concat(xs2[0]);
161517
- return acc.concat(xs2.filter(Boolean).map(function(x6) {
161518
- if (RegExp("^" + TOKEN).test(x6)) {
161519
- return JSON.parse(x6.split(TOKEN)[1]);
161520
- } else return x6;
161521
- }));
161522
- }, []);
161523
- };
161524
- function parse5(s6, env2, opts) {
161571
+ var startsWithToken = new RegExp("^" + TOKEN);
161572
+ function matchAll(s6, r5) {
161573
+ var origIndex = r5.lastIndex;
161574
+ var matches = [];
161575
+ var matchObj;
161576
+ while (matchObj = r5.exec(s6)) {
161577
+ matches.push(matchObj);
161578
+ if (r5.lastIndex === matchObj.index) {
161579
+ r5.lastIndex += 1;
161580
+ }
161581
+ }
161582
+ r5.lastIndex = origIndex;
161583
+ return matches;
161584
+ }
161585
+ function getVar(env2, pre, key) {
161586
+ var r5 = typeof env2 === "function" ? env2(key) : env2[key];
161587
+ if (typeof r5 === "undefined" && key != "") {
161588
+ r5 = "";
161589
+ } else if (typeof r5 === "undefined") {
161590
+ r5 = "$";
161591
+ }
161592
+ if (typeof r5 === "object") {
161593
+ return pre + TOKEN + JSON.stringify(r5) + TOKEN;
161594
+ }
161595
+ return pre + r5;
161596
+ }
161597
+ function parseInternal(string, env2, opts) {
161598
+ if (!opts) {
161599
+ opts = {};
161600
+ }
161601
+ var BS = opts.escape || "\\";
161602
+ var BAREWORD = "(\\" + BS + `['"` + META + `]|[^\\s'"` + META + "])+";
161525
161603
  var chunker = new RegExp([
161526
161604
  "(" + CONTROL + ")",
161527
161605
  // control chars
161528
- "(" + BAREWORD + "|" + SINGLE_QUOTE + "|" + DOUBLE_QUOTE + ")*"
161606
+ "(" + BAREWORD + "|" + SINGLE_QUOTE + "|" + DOUBLE_QUOTE + ")+"
161529
161607
  ].join("|"), "g");
161530
- var match2 = s6.match(chunker).filter(Boolean);
161608
+ var matches = matchAll(string, chunker);
161609
+ if (matches.length === 0) {
161610
+ return [];
161611
+ }
161612
+ if (!env2) {
161613
+ env2 = {};
161614
+ }
161531
161615
  var commented = false;
161532
- if (!match2) return [];
161533
- if (!env2) env2 = {};
161534
- if (!opts) opts = {};
161535
- return match2.map(function(s7, j7) {
161536
- if (commented) {
161537
- return;
161616
+ return matches.map(function(match2) {
161617
+ var s6 = match2[0];
161618
+ if (!s6 || commented) {
161619
+ return void 0;
161538
161620
  }
161539
- if (RegExp("^" + CONTROL + "$").test(s7)) {
161540
- return { op: s7 };
161621
+ if (controlRE.test(s6)) {
161622
+ return { op: s6 };
161541
161623
  }
161542
- var SQ = "'";
161543
- var DQ = '"';
161544
- var DS = "$";
161545
- var BS = opts.escape || "\\";
161546
161624
  var quote = false;
161547
161625
  var esc = false;
161548
161626
  var out = "";
161549
161627
  var isGlob = false;
161550
- for (var i6 = 0, len = s7.length; i6 < len; i6++) {
161551
- var c6 = s7.charAt(i6);
161628
+ var i6;
161629
+ function parseEnvVar() {
161630
+ i6 += 1;
161631
+ var varend;
161632
+ var varname;
161633
+ var char = s6.charAt(i6);
161634
+ if (char === "{") {
161635
+ i6 += 1;
161636
+ if (s6.charAt(i6) === "}") {
161637
+ throw new Error("Bad substitution: " + s6.slice(i6 - 2, i6 + 1));
161638
+ }
161639
+ varend = s6.indexOf("}", i6);
161640
+ if (varend < 0) {
161641
+ throw new Error("Bad substitution: " + s6.slice(i6));
161642
+ }
161643
+ varname = s6.slice(i6, varend);
161644
+ i6 = varend;
161645
+ } else if (/[*@#?$!_-]/.test(char)) {
161646
+ varname = char;
161647
+ i6 += 1;
161648
+ } else {
161649
+ var slicedFromI = s6.slice(i6);
161650
+ varend = slicedFromI.match(/[^\w\d_]/);
161651
+ if (!varend) {
161652
+ varname = slicedFromI;
161653
+ i6 = s6.length;
161654
+ } else {
161655
+ varname = slicedFromI.slice(0, varend.index);
161656
+ i6 += varend.index - 1;
161657
+ }
161658
+ }
161659
+ return getVar(env2, "", varname);
161660
+ }
161661
+ for (i6 = 0; i6 < s6.length; i6++) {
161662
+ var c6 = s6.charAt(i6);
161552
161663
  isGlob = isGlob || !quote && (c6 === "*" || c6 === "?");
161553
161664
  if (esc) {
161554
161665
  out += c6;
@@ -161561,7 +161672,7 @@ var require_shell_quote = __commonJS({
161561
161672
  } else {
161562
161673
  if (c6 === BS) {
161563
161674
  i6 += 1;
161564
- c6 = s7.charAt(i6);
161675
+ c6 = s6.charAt(i6);
161565
161676
  if (c6 === DQ || c6 === BS || c6 === DS) {
161566
161677
  out += c6;
161567
161678
  } else {
@@ -161575,68 +161686,62 @@ var require_shell_quote = __commonJS({
161575
161686
  }
161576
161687
  } else if (c6 === DQ || c6 === SQ) {
161577
161688
  quote = c6;
161578
- } else if (RegExp("^" + CONTROL + "$").test(c6)) {
161579
- return { op: s7 };
161580
- } else if (RegExp("^#$").test(c6)) {
161689
+ } else if (controlRE.test(c6)) {
161690
+ return { op: s6 };
161691
+ } else if (hash.test(c6)) {
161581
161692
  commented = true;
161693
+ var commentObj = { comment: string.slice(match2.index + i6 + 1) };
161582
161694
  if (out.length) {
161583
- return [out, { comment: s7.slice(i6 + 1) + match2.slice(j7 + 1).join(" ") }];
161695
+ return [out, commentObj];
161584
161696
  }
161585
- return [{ comment: s7.slice(i6 + 1) + match2.slice(j7 + 1).join(" ") }];
161697
+ return [commentObj];
161586
161698
  } else if (c6 === BS) {
161587
161699
  esc = true;
161588
161700
  } else if (c6 === DS) {
161589
161701
  out += parseEnvVar();
161590
- } else out += c6;
161591
- }
161592
- if (isGlob) return { op: "glob", pattern: out };
161593
- return out;
161594
- function parseEnvVar() {
161595
- i6 += 1;
161596
- var varend, varname;
161597
- if (s7.charAt(i6) === "{") {
161598
- i6 += 1;
161599
- if (s7.charAt(i6) === "}") {
161600
- throw new Error("Bad substitution: " + s7.substr(i6 - 2, 3));
161601
- }
161602
- varend = s7.indexOf("}", i6);
161603
- if (varend < 0) {
161604
- throw new Error("Bad substitution: " + s7.substr(i6));
161605
- }
161606
- varname = s7.substr(i6, varend - i6);
161607
- i6 = varend;
161608
- } else if (/[*@#?$!_\-]/.test(s7.charAt(i6))) {
161609
- varname = s7.charAt(i6);
161610
- i6 += 1;
161611
161702
  } else {
161612
- varend = s7.substr(i6).match(/[^\w\d_]/);
161613
- if (!varend) {
161614
- varname = s7.substr(i6);
161615
- i6 = s7.length;
161616
- } else {
161617
- varname = s7.substr(i6, varend.index);
161618
- i6 += varend.index - 1;
161619
- }
161703
+ out += c6;
161620
161704
  }
161621
- return getVar(null, "", varname);
161622
161705
  }
161623
- }).reduce(function(prev, arg) {
161624
- if (arg === void 0) {
161625
- return prev;
161706
+ if (isGlob) {
161707
+ return { op: "glob", pattern: out };
161626
161708
  }
161627
- return prev.concat(arg);
161709
+ return out;
161710
+ }).reduce(function(prev, arg) {
161711
+ return typeof arg === "undefined" ? prev : prev.concat(arg);
161628
161712
  }, []);
161629
- function getVar(_4, pre, key) {
161630
- var r5 = typeof env2 === "function" ? env2(key) : env2[key];
161631
- if (r5 === void 0 && key != "")
161632
- r5 = "";
161633
- else if (r5 === void 0)
161634
- r5 = "$";
161635
- if (typeof r5 === "object") {
161636
- return pre + TOKEN + JSON.stringify(r5) + TOKEN;
161637
- } else return pre + r5;
161638
- }
161639
161713
  }
161714
+ module2.exports = function parse6(s6, env2, opts) {
161715
+ var mapped = parseInternal(s6, env2, opts);
161716
+ if (typeof env2 !== "function") {
161717
+ return mapped;
161718
+ }
161719
+ return mapped.reduce(function(acc, s7) {
161720
+ if (typeof s7 === "object") {
161721
+ return acc.concat(s7);
161722
+ }
161723
+ var xs2 = s7.split(RegExp("(" + TOKEN + ".*?" + TOKEN + ")", "g"));
161724
+ if (xs2.length === 1) {
161725
+ return acc.concat(xs2[0]);
161726
+ }
161727
+ return acc.concat(xs2.filter(Boolean).map(function(x6) {
161728
+ if (startsWithToken.test(x6)) {
161729
+ return JSON.parse(x6.split(TOKEN)[1]);
161730
+ }
161731
+ return x6;
161732
+ }));
161733
+ }, []);
161734
+ };
161735
+ }
161736
+ });
161737
+
161738
+ // node_modules/.pnpm/shell-quote@1.8.4/node_modules/shell-quote/index.js
161739
+ var require_shell_quote = __commonJS({
161740
+ "node_modules/.pnpm/shell-quote@1.8.4/node_modules/shell-quote/index.js"(exports2) {
161741
+ "use strict";
161742
+ init_import_meta_url();
161743
+ exports2.quote = require_quote();
161744
+ exports2.parse = require_parse2();
161640
161745
  }
161641
161746
  });
161642
161747
 
@@ -162100,12 +162205,12 @@ var require_semver2 = __commonJS({
162100
162205
  });
162101
162206
 
162102
162207
  // node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js
162103
- var require_parse2 = __commonJS({
162208
+ var require_parse3 = __commonJS({
162104
162209
  "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js"(exports2, module2) {
162105
162210
  "use strict";
162106
162211
  init_import_meta_url();
162107
162212
  var SemVer4 = require_semver2();
162108
- var parse5 = (version2, options, throwErrors = false) => {
162213
+ var parse6 = (version2, options, throwErrors = false) => {
162109
162214
  if (version2 instanceof SemVer4) {
162110
162215
  return version2;
162111
162216
  }
@@ -162118,7 +162223,7 @@ var require_parse2 = __commonJS({
162118
162223
  throw er2;
162119
162224
  }
162120
162225
  };
162121
- module2.exports = parse5;
162226
+ module2.exports = parse6;
162122
162227
  }
162123
162228
  });
162124
162229
 
@@ -162127,9 +162232,9 @@ var require_valid = __commonJS({
162127
162232
  "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.js"(exports2, module2) {
162128
162233
  "use strict";
162129
162234
  init_import_meta_url();
162130
- var parse5 = require_parse2();
162235
+ var parse6 = require_parse3();
162131
162236
  var valid = (version2, options) => {
162132
- const v11 = parse5(version2, options);
162237
+ const v11 = parse6(version2, options);
162133
162238
  return v11 ? v11.version : null;
162134
162239
  };
162135
162240
  module2.exports = valid;
@@ -162141,9 +162246,9 @@ var require_clean = __commonJS({
162141
162246
  "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.js"(exports2, module2) {
162142
162247
  "use strict";
162143
162248
  init_import_meta_url();
162144
- var parse5 = require_parse2();
162249
+ var parse6 = require_parse3();
162145
162250
  var clean = (version2, options) => {
162146
- const s6 = parse5(version2.trim().replace(/^[=v]+/, ""), options);
162251
+ const s6 = parse6(version2.trim().replace(/^[=v]+/, ""), options);
162147
162252
  return s6 ? s6.version : null;
162148
162253
  };
162149
162254
  module2.exports = clean;
@@ -162180,10 +162285,10 @@ var require_diff = __commonJS({
162180
162285
  "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.js"(exports2, module2) {
162181
162286
  "use strict";
162182
162287
  init_import_meta_url();
162183
- var parse5 = require_parse2();
162288
+ var parse6 = require_parse3();
162184
162289
  var diff = (version1, version2) => {
162185
- const v12 = parse5(version1, null, true);
162186
- const v22 = parse5(version2, null, true);
162290
+ const v12 = parse6(version1, null, true);
162291
+ const v22 = parse6(version2, null, true);
162187
162292
  const comparison = v12.compare(v22);
162188
162293
  if (comparison === 0) {
162189
162294
  return null;
@@ -162258,9 +162363,9 @@ var require_prerelease = __commonJS({
162258
162363
  "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.js"(exports2, module2) {
162259
162364
  "use strict";
162260
162365
  init_import_meta_url();
162261
- var parse5 = require_parse2();
162366
+ var parse6 = require_parse3();
162262
162367
  var prerelease = (version2, options) => {
162263
- const parsed = parse5(version2, options);
162368
+ const parsed = parse6(version2, options);
162264
162369
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
162265
162370
  };
162266
162371
  module2.exports = prerelease;
@@ -162460,7 +162565,7 @@ var require_coerce = __commonJS({
162460
162565
  "use strict";
162461
162566
  init_import_meta_url();
162462
162567
  var SemVer4 = require_semver2();
162463
- var parse5 = require_parse2();
162568
+ var parse6 = require_parse3();
162464
162569
  var { safeRe: re4, t: t5 } = require_re();
162465
162570
  var coerce2 = (version2, options) => {
162466
162571
  if (version2 instanceof SemVer4) {
@@ -162495,7 +162600,7 @@ var require_coerce = __commonJS({
162495
162600
  const patch = match2[4] || "0";
162496
162601
  const prerelease = options.includePrerelease && match2[5] ? `-${match2[5]}` : "";
162497
162602
  const build = options.includePrerelease && match2[6] ? `+${match2[6]}` : "";
162498
- return parse5(`${major2}.${minor}.${patch}${prerelease}${build}`, options);
162603
+ return parse6(`${major2}.${minor}.${patch}${prerelease}${build}`, options);
162499
162604
  };
162500
162605
  module2.exports = coerce2;
162501
162606
  }
@@ -163528,7 +163633,7 @@ var require_semver3 = __commonJS({
163528
163633
  var constants3 = require_constants2();
163529
163634
  var SemVer4 = require_semver2();
163530
163635
  var identifiers = require_identifiers();
163531
- var parse5 = require_parse2();
163636
+ var parse6 = require_parse3();
163532
163637
  var valid = require_valid();
163533
163638
  var clean = require_clean();
163534
163639
  var inc2 = require_inc();
@@ -163566,7 +163671,7 @@ var require_semver3 = __commonJS({
163566
163671
  var simplifyRange = require_simplify();
163567
163672
  var subset = require_subset();
163568
163673
  module2.exports = {
163569
- parse: parse5,
163674
+ parse: parse6,
163570
163675
  valid,
163571
163676
  clean,
163572
163677
  inc: inc2,
@@ -163702,7 +163807,7 @@ var require_path_arg = __commonJS({
163702
163807
  "node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/path-arg.js"(exports2, module2) {
163703
163808
  init_import_meta_url();
163704
163809
  var platform4 = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
163705
- var { resolve: resolve7, parse: parse5 } = require("path");
163810
+ var { resolve: resolve7, parse: parse6 } = require("path");
163706
163811
  var pathArg = (path18) => {
163707
163812
  if (/\0/.test(path18)) {
163708
163813
  throw Object.assign(
@@ -163716,7 +163821,7 @@ var require_path_arg = __commonJS({
163716
163821
  path18 = resolve7(path18);
163717
163822
  if (platform4 === "win32") {
163718
163823
  const badWinChars = /[*|"<>?:]/;
163719
- const { root } = parse5(path18);
163824
+ const { root } = parse6(path18);
163720
163825
  if (badWinChars.test(path18.substr(root.length))) {
163721
163826
  throw Object.assign(new Error("Illegal characters in path."), {
163722
163827
  path: path18,
@@ -168298,9 +168403,9 @@ var YargsInstance = class {
168298
168403
  __classPrivateFieldSet5(this, _YargsInstance_hasOutput, true, "f");
168299
168404
  if (!__classPrivateFieldGet6(this, _YargsInstance_usage, "f").hasCachedHelpMessage()) {
168300
168405
  if (!this.parsed) {
168301
- const parse5 = this[kRunYargsParserAndExecuteCommands](__classPrivateFieldGet6(this, _YargsInstance_processArgs, "f"), void 0, void 0, 0, true);
168302
- if (isPromise2(parse5)) {
168303
- return parse5.then(() => {
168406
+ const parse6 = this[kRunYargsParserAndExecuteCommands](__classPrivateFieldGet6(this, _YargsInstance_processArgs, "f"), void 0, void 0, 0, true);
168407
+ if (isPromise2(parse6)) {
168408
+ return parse6.then(() => {
168304
168409
  return __classPrivateFieldGet6(this, _YargsInstance_usage, "f").help();
168305
168410
  });
168306
168411
  }
@@ -168644,9 +168749,9 @@ var YargsInstance = class {
168644
168749
  __classPrivateFieldSet5(this, _YargsInstance_hasOutput, true, "f");
168645
168750
  if (!__classPrivateFieldGet6(this, _YargsInstance_usage, "f").hasCachedHelpMessage()) {
168646
168751
  if (!this.parsed) {
168647
- const parse5 = this[kRunYargsParserAndExecuteCommands](__classPrivateFieldGet6(this, _YargsInstance_processArgs, "f"), void 0, void 0, 0, true);
168648
- if (isPromise2(parse5)) {
168649
- parse5.then(() => {
168752
+ const parse6 = this[kRunYargsParserAndExecuteCommands](__classPrivateFieldGet6(this, _YargsInstance_processArgs, "f"), void 0, void 0, 0, true);
168753
+ if (isPromise2(parse6)) {
168754
+ parse6.then(() => {
168650
168755
  __classPrivateFieldGet6(this, _YargsInstance_usage, "f").showHelp(level);
168651
168756
  });
168652
168757
  return this;
@@ -169525,7 +169630,7 @@ var import_chalk = __toESM(require_source());
169525
169630
  var import_fs28 = require("fs");
169526
169631
  init_dryRun();
169527
169632
  var import_path28 = require("path");
169528
- var import_shell_quote = __toESM(require_shell_quote());
169633
+ var shellQuote = __toESM(require_shell_quote());
169529
169634
  var import_string_length = __toESM(require_string_length());
169530
169635
  init_config2();
169531
169636
  init_logger2();
@@ -169880,7 +169985,7 @@ async function runPostReleaseCommand(newVersion, postReleaseCommand) {
169880
169985
  logger.debug("Not running the post-release command: no command specified");
169881
169986
  return false;
169882
169987
  } else if (postReleaseCommand) {
169883
- [sysCommand, ...args] = import_shell_quote.default.parse(postReleaseCommand);
169988
+ [sysCommand, ...args] = shellQuote.parse(postReleaseCommand);
169884
169989
  } else if (hasExecutable(DEFAULT_POST_RELEASE_SCRIPT_PATH)) {
169885
169990
  sysCommand = "/bin/bash";
169886
169991
  args = [DEFAULT_POST_RELEASE_SCRIPT_PATH];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/craft",
3
- "version": "2.26.9",
3
+ "version": "2.26.10",
4
4
  "description": "The universal sentry workflow CLI",
5
5
  "main": "dist/craft",
6
6
  "repository": "https://github.com/getsentry/craft",
@@ -57,7 +57,7 @@
57
57
  "ora": "5.4.0",
58
58
  "prettier": "^3.4.2",
59
59
  "prompts": "2.4.1",
60
- "shell-quote": "1.7.3",
60
+ "shell-quote": "^1.8.4",
61
61
  "simple-git": "^3.33.0",
62
62
  "source-map-support": "^0.5.20",
63
63
  "split": "1.0.1",