@valkyrjaio/sindri 26.6.20 → 26.6.22

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.
@@ -214207,7 +214207,7 @@ var require_scan = __commonJS({
214207
214207
  var scan = (input, options) => {
214208
214208
  const opts = options || {};
214209
214209
  const length = input.length - 1;
214210
- const scanToEnd = opts.parts === true || opts.scanToEnd === true;
214210
+ const scanToEnd = opts.parts === true || opts.tokens === true || opts.scanToEnd === true;
214211
214211
  const slashes = [];
214212
214212
  const tokens = [];
214213
214213
  const parts = [];
@@ -214313,14 +214313,18 @@ var require_scan = __commonJS({
214313
214313
  negatedExtglob = true;
214314
214314
  }
214315
214315
  if (scanToEnd === true) {
214316
+ let parens = 0;
214316
214317
  while (eos() !== true && (code = advance())) {
214317
214318
  if (code === CHAR_BACKWARD_SLASH) {
214318
214319
  backslashes = token.backslashes = true;
214319
- code = advance();
214320
+ advance();
214321
+ continue;
214322
+ }
214323
+ if (code === CHAR_LEFT_PARENTHESES) {
214324
+ parens++;
214320
214325
  continue;
214321
214326
  }
214322
- if (code === CHAR_RIGHT_PARENTHESES) {
214323
- isGlob = token.isGlob = true;
214327
+ if (code === CHAR_RIGHT_PARENTHESES && --parens === 0) {
214324
214328
  finished = true;
214325
214329
  break;
214326
214330
  }
@@ -214374,13 +214378,18 @@ var require_scan = __commonJS({
214374
214378
  if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) {
214375
214379
  isGlob = token.isGlob = true;
214376
214380
  if (scanToEnd === true) {
214381
+ let parens = 1;
214377
214382
  while (eos() !== true && (code = advance())) {
214378
- if (code === CHAR_LEFT_PARENTHESES) {
214383
+ if (code === CHAR_BACKWARD_SLASH) {
214379
214384
  backslashes = token.backslashes = true;
214380
- code = advance();
214385
+ advance();
214381
214386
  continue;
214382
214387
  }
214383
- if (code === CHAR_RIGHT_PARENTHESES) {
214388
+ if (code === CHAR_LEFT_PARENTHESES) {
214389
+ parens++;
214390
+ continue;
214391
+ }
214392
+ if (code === CHAR_RIGHT_PARENTHESES && --parens === 0) {
214384
214393
  finished = true;
214385
214394
  break;
214386
214395
  }
@@ -214453,32 +214462,31 @@ var require_scan = __commonJS({
214453
214462
  if (opts.parts === true || opts.tokens === true) {
214454
214463
  let prevIndex;
214455
214464
  for (let idx = 0; idx < slashes.length; idx++) {
214456
- const n = prevIndex ? prevIndex + 1 : start;
214465
+ const n2 = prevIndex !== void 0 ? prevIndex + 1 : start;
214457
214466
  const i = slashes[idx];
214458
- const value = input.slice(n, i);
214467
+ const value2 = input.slice(n2, i);
214459
214468
  if (opts.tokens) {
214460
214469
  if (idx === 0 && start !== 0) {
214461
214470
  tokens[idx].isPrefix = true;
214462
214471
  tokens[idx].value = prefix;
214463
214472
  } else {
214464
- tokens[idx].value = value;
214473
+ tokens[idx].value = value2;
214465
214474
  }
214466
214475
  depth(tokens[idx]);
214467
214476
  state.maxDepth += tokens[idx].depth;
214468
214477
  }
214469
- if (idx !== 0 || value !== "") {
214470
- parts.push(value);
214478
+ if (i >= start) {
214479
+ parts.push(value2);
214480
+ prevIndex = i;
214471
214481
  }
214472
- prevIndex = i;
214473
214482
  }
214474
- if (prevIndex && prevIndex + 1 < input.length) {
214475
- const value = input.slice(prevIndex + 1);
214476
- parts.push(value);
214477
- if (opts.tokens) {
214478
- tokens[tokens.length - 1].value = value;
214479
- depth(tokens[tokens.length - 1]);
214480
- state.maxDepth += tokens[tokens.length - 1].depth;
214481
- }
214483
+ const n = prevIndex !== void 0 ? prevIndex + 1 : start;
214484
+ const value = input.slice(n);
214485
+ parts.push(value);
214486
+ if (opts.tokens && prevIndex && prevIndex + 1 < input.length) {
214487
+ tokens[tokens.length - 1].value = value;
214488
+ depth(tokens[tokens.length - 1]);
214489
+ state.maxDepth += tokens[tokens.length - 1].depth;
214482
214490
  }
214483
214491
  state.slashes = slashes;
214484
214492
  state.parts = parts;
@@ -215321,6 +215329,7 @@ var require_parse = __commonJS({
215321
215329
  rest = rest.slice(3);
215322
215330
  consume("/**", 3);
215323
215331
  }
215332
+ const isEnd = eos() || state.parens > 0 && rest === ")".repeat(state.parens) && !extglobs.some((extglob) => extglob.type === "negate");
215324
215333
  if (prior.type === "bos" && eos()) {
215325
215334
  prev.type = "globstar";
215326
215335
  prev.value += value;
@@ -215330,7 +215339,7 @@ var require_parse = __commonJS({
215330
215339
  consume(value);
215331
215340
  continue;
215332
215341
  }
215333
- if (prior.type === "slash" && prior.prev.type !== "bos" && !afterStar && eos()) {
215342
+ if (prior.type === "slash" && prior.prev.type !== "bos" && !afterStar && isEnd) {
215334
215343
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
215335
215344
  prior.output = `(?:${prior.output}`;
215336
215345
  prev.type = "globstar";
@@ -243825,8 +243834,8 @@ var WarningFormatter = class extends Formatter {
243825
243834
 
243826
243835
  // node_modules/@valkyrjaio/valkyrja/src/Valkyrja/Application/Constant/ApplicationInfo.ts
243827
243836
  var ApplicationInfo = class {
243828
- static VERSION = "26.7.13";
243829
- static VERSION_BUILD_DATE_TIME = "August 23 2026 05:53:02 MST";
243837
+ static VERSION = "26.7.14";
243838
+ static VERSION_BUILD_DATE_TIME = "August 25 2026 05:58:56 MST";
243830
243839
  static ASCII = `
243831
243840
  _ _ _
243832
243841
  /\\ /\\__ _| | | ___ _ _ __(_) __ _
@@ -243935,8 +243944,8 @@ var Header = class extends Message {
243935
243944
 
243936
243945
  // src/Sindri/Constant/SindriInfo.ts
243937
243946
  var SindriInfo = class {
243938
- static VERSION = "26.6.20";
243939
- static VERSION_BUILD_DATE_TIME = "August 23 2026 06:32:11 MST";
243947
+ static VERSION = "26.6.22";
243948
+ static VERSION_BUILD_DATE_TIME = "August 25 2026 06:50:44 MST";
243940
243949
  static ICON = ` \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588
243941
243950
  \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588
243942
243951
  \u2588\u2588\u2588\u2588
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valkyrjaio/sindri",
3
- "version": "26.6.20",
3
+ "version": "26.6.22",
4
4
  "description": "The Valkyrja Sindri build tool.",
5
5
  "homepage": "https://www.valkyrja.io/sindri",
6
6
  "keywords": [
@@ -38,7 +38,7 @@
38
38
  "node": ">=22"
39
39
  },
40
40
  "dependencies": {
41
- "@valkyrjaio/valkyrja": "^26.7.13",
41
+ "@valkyrjaio/valkyrja": "^26.7.14",
42
42
  "ts-morph": "^28.0.0"
43
43
  },
44
44
  "scripts": {
@@ -7,8 +7,8 @@
7
7
  */
8
8
 
9
9
  export class SindriInfo {
10
- static readonly VERSION = '26.6.20' as const;
11
- static readonly VERSION_BUILD_DATE_TIME = 'August 23 2026 06:32:11 MST' as const;
10
+ static readonly VERSION = '26.6.22' as const;
11
+ static readonly VERSION_BUILD_DATE_TIME = 'August 25 2026 06:50:44 MST' as const;
12
12
  static readonly ICON = `\
13
13
  ██████████
14
14
  ████ ████