@valkyrjaio/sindri 26.6.38 → 26.6.40
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/bin/sindri.cjs +44 -29
- package/package.json +2 -2
- package/src/Sindri/Constant/SindriInfo.ts +2 -2
package/dist/bin/sindri.cjs
CHANGED
|
@@ -211607,7 +211607,7 @@ var require_commonjs2 = __commonJS({
|
|
|
211607
211607
|
"node_modules/brace-expansion/dist/commonjs/index.js"(exports2) {
|
|
211608
211608
|
"use strict";
|
|
211609
211609
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
211610
|
-
exports2.EXPANSION_MAX_LENGTH = exports2.EXPANSION_MAX = void 0;
|
|
211610
|
+
exports2.EXPANSION_MAX_REWRITES = exports2.EXPANSION_MAX_DEPTH = exports2.EXPANSION_MAX_LENGTH = exports2.EXPANSION_MAX = void 0;
|
|
211611
211611
|
exports2.expand = expand;
|
|
211612
211612
|
var balanced_match_1 = require_commonjs();
|
|
211613
211613
|
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
@@ -211627,6 +211627,8 @@ var require_commonjs2 = __commonJS({
|
|
|
211627
211627
|
var periodPattern = /\\\./g;
|
|
211628
211628
|
exports2.EXPANSION_MAX = 1e5;
|
|
211629
211629
|
exports2.EXPANSION_MAX_LENGTH = 4e6;
|
|
211630
|
+
exports2.EXPANSION_MAX_DEPTH = 1e3;
|
|
211631
|
+
exports2.EXPANSION_MAX_REWRITES = 1e3;
|
|
211630
211632
|
function numeric(str) {
|
|
211631
211633
|
return !isNaN(str) ? parseInt(str, 10) : str.charCodeAt(0);
|
|
211632
211634
|
}
|
|
@@ -211636,36 +211638,44 @@ var require_commonjs2 = __commonJS({
|
|
|
211636
211638
|
function unescapeBraces(str) {
|
|
211637
211639
|
return str.replace(escSlashPattern, "\\").replace(escOpenPattern, "{").replace(escClosePattern, "}").replace(escCommaPattern, ",").replace(escPeriodPattern, ".");
|
|
211638
211640
|
}
|
|
211639
|
-
function
|
|
211640
|
-
|
|
211641
|
-
|
|
211641
|
+
function pushAll(target, items) {
|
|
211642
|
+
for (let i = 0; i < items.length; i++) {
|
|
211643
|
+
target.push(items[i]);
|
|
211642
211644
|
}
|
|
211645
|
+
}
|
|
211646
|
+
function parseCommaParts(str) {
|
|
211643
211647
|
const parts = [];
|
|
211644
|
-
|
|
211645
|
-
|
|
211646
|
-
|
|
211647
|
-
|
|
211648
|
-
|
|
211649
|
-
|
|
211650
|
-
|
|
211651
|
-
|
|
211652
|
-
|
|
211653
|
-
;
|
|
211654
|
-
p
|
|
211655
|
-
p
|
|
211656
|
-
|
|
211657
|
-
|
|
211658
|
-
|
|
211648
|
+
let carry = "";
|
|
211649
|
+
for (; ; ) {
|
|
211650
|
+
const m = (0, balanced_match_1.balanced)("{", "}", str);
|
|
211651
|
+
if (!m) {
|
|
211652
|
+
const tail = str.split(",");
|
|
211653
|
+
tail[0] = carry + tail[0];
|
|
211654
|
+
pushAll(parts, tail);
|
|
211655
|
+
return parts;
|
|
211656
|
+
}
|
|
211657
|
+
const { pre, body, post } = m;
|
|
211658
|
+
const p = pre.split(",");
|
|
211659
|
+
p[0] = carry + p[0];
|
|
211660
|
+
p[p.length - 1] += "{" + body + "}";
|
|
211661
|
+
if (!post.length) {
|
|
211662
|
+
pushAll(parts, p);
|
|
211663
|
+
return parts;
|
|
211664
|
+
}
|
|
211665
|
+
carry = p.pop();
|
|
211666
|
+
pushAll(parts, p);
|
|
211667
|
+
str = post;
|
|
211668
|
+
}
|
|
211659
211669
|
}
|
|
211660
211670
|
function expand(str, options = {}) {
|
|
211661
211671
|
if (!str) {
|
|
211662
211672
|
return [];
|
|
211663
211673
|
}
|
|
211664
|
-
const { max = exports2.EXPANSION_MAX, maxLength = exports2.EXPANSION_MAX_LENGTH } = options;
|
|
211674
|
+
const { max = exports2.EXPANSION_MAX, maxLength = exports2.EXPANSION_MAX_LENGTH, maxDepth = exports2.EXPANSION_MAX_DEPTH, maxRewrites = exports2.EXPANSION_MAX_REWRITES } = options;
|
|
211665
211675
|
if (str.slice(0, 2) === "{}") {
|
|
211666
211676
|
str = "\\{\\}" + str.slice(2);
|
|
211667
211677
|
}
|
|
211668
|
-
return expand_(escapeBraces(str), max, maxLength, true).map(unescapeBraces);
|
|
211678
|
+
return expand_(escapeBraces(str), max, maxLength, maxDepth, 0, maxRewrites, true).map(unescapeBraces);
|
|
211669
211679
|
}
|
|
211670
211680
|
function embrace(str) {
|
|
211671
211681
|
return "{" + str + "}";
|
|
@@ -211743,8 +211753,12 @@ var require_commonjs2 = __commonJS({
|
|
|
211743
211753
|
}
|
|
211744
211754
|
return N;
|
|
211745
211755
|
}
|
|
211746
|
-
function expand_(str, max, maxLength, isTop) {
|
|
211756
|
+
function expand_(str, max, maxLength, maxDepth, depth, maxRewrites, isTop) {
|
|
211757
|
+
if (depth > maxDepth) {
|
|
211758
|
+
return [str];
|
|
211759
|
+
}
|
|
211747
211760
|
let acc = [""];
|
|
211761
|
+
let rewrites = 0;
|
|
211748
211762
|
let dropEmpties = false;
|
|
211749
211763
|
let firstGroup = true;
|
|
211750
211764
|
for (; ; ) {
|
|
@@ -211766,7 +211780,8 @@ var require_commonjs2 = __commonJS({
|
|
|
211766
211780
|
const isSequence = isNumericSequence || isAlphaSequence;
|
|
211767
211781
|
const isOptions = m.body.indexOf(",") >= 0;
|
|
211768
211782
|
if (!isSequence && !isOptions) {
|
|
211769
|
-
if (m.post.match(/,(?!,).*\}/)) {
|
|
211783
|
+
if (rewrites < maxRewrites && m.post.match(/,(?!,).*\}/)) {
|
|
211784
|
+
rewrites++;
|
|
211770
211785
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
211771
211786
|
isTop = true;
|
|
211772
211787
|
continue;
|
|
@@ -211783,7 +211798,7 @@ var require_commonjs2 = __commonJS({
|
|
|
211783
211798
|
} else {
|
|
211784
211799
|
let n = parseCommaParts(m.body);
|
|
211785
211800
|
if (n.length === 1 && n[0] !== void 0) {
|
|
211786
|
-
n = expand_(n[0], max, maxLength, false).map(embrace);
|
|
211801
|
+
n = expand_(n[0], max, maxLength, maxDepth, depth + 1, maxRewrites, false).map(embrace);
|
|
211787
211802
|
if (n.length === 1) {
|
|
211788
211803
|
acc = combine(acc, pre + n[0], [""], max, maxLength, dropEmpties && !m.post.length);
|
|
211789
211804
|
if (!m.post.length)
|
|
@@ -211801,7 +211816,7 @@ var require_commonjs2 = __commonJS({
|
|
|
211801
211816
|
values = [];
|
|
211802
211817
|
let valuesLength = 0;
|
|
211803
211818
|
outer: for (let j = 0; j < n.length; j++) {
|
|
211804
|
-
const expanded = expand_(n[j], max, maxLength, false);
|
|
211819
|
+
const expanded = expand_(n[j], max, maxLength, maxDepth, depth + 1, maxRewrites, false);
|
|
211805
211820
|
for (let k = 0; k < expanded.length; k++) {
|
|
211806
211821
|
const v = expanded[k];
|
|
211807
211822
|
if (dropsEmpties && !v)
|
|
@@ -243885,8 +243900,8 @@ var WarningFormatter = class extends Formatter {
|
|
|
243885
243900
|
|
|
243886
243901
|
// node_modules/@valkyrjaio/valkyrja/src/Valkyrja/Application/Constant/ApplicationInfo.ts
|
|
243887
243902
|
var ApplicationInfo = class {
|
|
243888
|
-
static VERSION = "26.8.
|
|
243889
|
-
static VERSION_BUILD_DATE_TIME = "September
|
|
243903
|
+
static VERSION = "26.8.8";
|
|
243904
|
+
static VERSION_BUILD_DATE_TIME = "September 15 2026 09:44:54 MST";
|
|
243890
243905
|
static ASCII = `
|
|
243891
243906
|
_ _ _
|
|
243892
243907
|
/\\ /\\__ _| | | ___ _ _ __(_) __ _
|
|
@@ -243995,8 +244010,8 @@ var Header = class extends Message {
|
|
|
243995
244010
|
|
|
243996
244011
|
// src/Sindri/Constant/SindriInfo.ts
|
|
243997
244012
|
var SindriInfo = class {
|
|
243998
|
-
static VERSION = "26.6.
|
|
243999
|
-
static VERSION_BUILD_DATE_TIME = "September
|
|
244013
|
+
static VERSION = "26.6.40";
|
|
244014
|
+
static VERSION_BUILD_DATE_TIME = "September 15 2026 10:29:58 MST";
|
|
244000
244015
|
static ICON = ` \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588
|
|
244001
244016
|
\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588
|
|
244002
244017
|
\u2588\u2588\u2588\u2588
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valkyrjaio/sindri",
|
|
3
|
-
"version": "26.6.
|
|
3
|
+
"version": "26.6.40",
|
|
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.8.
|
|
41
|
+
"@valkyrjaio/valkyrja": "^26.8.8",
|
|
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.
|
|
11
|
-
static readonly VERSION_BUILD_DATE_TIME = 'September
|
|
10
|
+
static readonly VERSION = '26.6.40' as const;
|
|
11
|
+
static readonly VERSION_BUILD_DATE_TIME = 'September 15 2026 10:29:58 MST' as const;
|
|
12
12
|
static readonly ICON = `\
|
|
13
13
|
██████████
|
|
14
14
|
████ ████
|