@powerlines/deepkit 0.6.157 → 0.6.159
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/README.md +1 -1
- package/dist/{chunk-BINDICO3.js → chunk-2XDQUCXZ.js} +26 -71
- package/dist/{chunk-TOJABHP6.cjs → chunk-34OFD7LS.cjs} +1 -1
- package/dist/{chunk-7ZGMBW43.js → chunk-H3Q3XL3D.js} +1 -1
- package/dist/{chunk-4VOZQYQO.cjs → chunk-KK7TQA7L.cjs} +2 -2
- package/dist/{chunk-LYIREOBZ.cjs → chunk-OUGDFUKJ.cjs} +26 -71
- package/dist/{chunk-IBNTNPUU.js → chunk-WYEFKIRL.js} +1 -1
- package/dist/esbuild-plugin.cjs +2 -2
- package/dist/esbuild-plugin.js +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.js +3 -3
- package/dist/reflect-type.cjs +3 -3
- package/dist/reflect-type.js +2 -2
- package/dist/utilities.cjs +8 -8
- package/dist/utilities.js +1 -1
- package/dist/vendor/type-compiler/{chunk-BXVCQBYB.js → chunk-BZHCHSI3.js} +261 -12
- package/dist/vendor/type-compiler/{chunk-SSJEKM6O.js → chunk-O5BXUCY2.js} +1 -1
- package/dist/vendor/type-compiler/{chunk-4MUKNITV.cjs → chunk-PHRQP7RO.cjs} +505 -505
- package/dist/vendor/type-compiler/{chunk-ARGNEBTO.cjs → chunk-U5BTHCOZ.cjs} +261 -12
- package/dist/vendor/type-compiler/compiler.cjs +12 -12
- package/dist/vendor/type-compiler/compiler.js +2 -2
- package/dist/vendor/type-compiler/config.cjs +9 -9
- package/dist/vendor/type-compiler/config.js +2 -2
- package/dist/vendor/type-compiler/index.cjs +24 -24
- package/dist/vendor/type-compiler/index.js +4 -4
- package/package.json +10 -10
|
@@ -1269,13 +1269,14 @@ var require_braces = __commonJS({
|
|
|
1269
1269
|
}
|
|
1270
1270
|
});
|
|
1271
1271
|
|
|
1272
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
1272
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js
|
|
1273
1273
|
var require_constants2 = __commonJS({
|
|
1274
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
1274
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports$1, module) {
|
|
1275
1275
|
init_cjs_shims();
|
|
1276
1276
|
var path = __require("path");
|
|
1277
1277
|
var WIN_SLASH = "\\\\/";
|
|
1278
1278
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
1279
|
+
var DEFAULT_MAX_EXTGLOB_RECURSION = 0;
|
|
1279
1280
|
var DOT_LITERAL = "\\.";
|
|
1280
1281
|
var PLUS_LITERAL = "\\+";
|
|
1281
1282
|
var QMARK_LITERAL = "\\?";
|
|
@@ -1323,6 +1324,7 @@ var require_constants2 = __commonJS({
|
|
|
1323
1324
|
END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
|
|
1324
1325
|
};
|
|
1325
1326
|
var POSIX_REGEX_SOURCE = {
|
|
1327
|
+
__proto__: null,
|
|
1326
1328
|
alnum: "a-zA-Z0-9",
|
|
1327
1329
|
alpha: "a-zA-Z",
|
|
1328
1330
|
ascii: "\\x00-\\x7F",
|
|
@@ -1339,6 +1341,7 @@ var require_constants2 = __commonJS({
|
|
|
1339
1341
|
xdigit: "A-Fa-f0-9"
|
|
1340
1342
|
};
|
|
1341
1343
|
module.exports = {
|
|
1344
|
+
DEFAULT_MAX_EXTGLOB_RECURSION,
|
|
1342
1345
|
MAX_LENGTH: 1024 * 64,
|
|
1343
1346
|
POSIX_REGEX_SOURCE,
|
|
1344
1347
|
// regular expressions
|
|
@@ -1350,6 +1353,7 @@ var require_constants2 = __commonJS({
|
|
|
1350
1353
|
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
|
|
1351
1354
|
// Replace globs with equivalent patterns to reduce parsing time.
|
|
1352
1355
|
REPLACEMENTS: {
|
|
1356
|
+
__proto__: null,
|
|
1353
1357
|
"***": "*",
|
|
1354
1358
|
"**/**": "**",
|
|
1355
1359
|
"**/**/**": "**"
|
|
@@ -1486,9 +1490,9 @@ var require_constants2 = __commonJS({
|
|
|
1486
1490
|
}
|
|
1487
1491
|
});
|
|
1488
1492
|
|
|
1489
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
1493
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js
|
|
1490
1494
|
var require_utils2 = __commonJS({
|
|
1491
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
1495
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports$1) {
|
|
1492
1496
|
init_cjs_shims();
|
|
1493
1497
|
var path = __require("path");
|
|
1494
1498
|
var win32 = process.platform === "win32";
|
|
@@ -1542,9 +1546,9 @@ var require_utils2 = __commonJS({
|
|
|
1542
1546
|
}
|
|
1543
1547
|
});
|
|
1544
1548
|
|
|
1545
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
1549
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js
|
|
1546
1550
|
var require_scan = __commonJS({
|
|
1547
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
1551
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports$1, module) {
|
|
1548
1552
|
init_cjs_shims();
|
|
1549
1553
|
var utils = require_utils2();
|
|
1550
1554
|
var {
|
|
@@ -1880,9 +1884,9 @@ var require_scan = __commonJS({
|
|
|
1880
1884
|
}
|
|
1881
1885
|
});
|
|
1882
1886
|
|
|
1883
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
1887
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js
|
|
1884
1888
|
var require_parse2 = __commonJS({
|
|
1885
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
1889
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports$1, module) {
|
|
1886
1890
|
init_cjs_shims();
|
|
1887
1891
|
var constants = require_constants2();
|
|
1888
1892
|
var utils = require_utils2();
|
|
@@ -1903,6 +1907,224 @@ var require_parse2 = __commonJS({
|
|
|
1903
1907
|
var syntaxError = /* @__PURE__ */ __name((type, char) => {
|
|
1904
1908
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
1905
1909
|
}, "syntaxError");
|
|
1910
|
+
var splitTopLevel = /* @__PURE__ */ __name((input) => {
|
|
1911
|
+
const parts = [];
|
|
1912
|
+
let bracket = 0;
|
|
1913
|
+
let paren = 0;
|
|
1914
|
+
let quote = 0;
|
|
1915
|
+
let value = "";
|
|
1916
|
+
let escaped = false;
|
|
1917
|
+
for (const ch of input) {
|
|
1918
|
+
if (escaped === true) {
|
|
1919
|
+
value += ch;
|
|
1920
|
+
escaped = false;
|
|
1921
|
+
continue;
|
|
1922
|
+
}
|
|
1923
|
+
if (ch === "\\") {
|
|
1924
|
+
value += ch;
|
|
1925
|
+
escaped = true;
|
|
1926
|
+
continue;
|
|
1927
|
+
}
|
|
1928
|
+
if (ch === '"') {
|
|
1929
|
+
quote = quote === 1 ? 0 : 1;
|
|
1930
|
+
value += ch;
|
|
1931
|
+
continue;
|
|
1932
|
+
}
|
|
1933
|
+
if (quote === 0) {
|
|
1934
|
+
if (ch === "[") {
|
|
1935
|
+
bracket++;
|
|
1936
|
+
} else if (ch === "]" && bracket > 0) {
|
|
1937
|
+
bracket--;
|
|
1938
|
+
} else if (bracket === 0) {
|
|
1939
|
+
if (ch === "(") {
|
|
1940
|
+
paren++;
|
|
1941
|
+
} else if (ch === ")" && paren > 0) {
|
|
1942
|
+
paren--;
|
|
1943
|
+
} else if (ch === "|" && paren === 0) {
|
|
1944
|
+
parts.push(value);
|
|
1945
|
+
value = "";
|
|
1946
|
+
continue;
|
|
1947
|
+
}
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
value += ch;
|
|
1951
|
+
}
|
|
1952
|
+
parts.push(value);
|
|
1953
|
+
return parts;
|
|
1954
|
+
}, "splitTopLevel");
|
|
1955
|
+
var isPlainBranch = /* @__PURE__ */ __name((branch) => {
|
|
1956
|
+
let escaped = false;
|
|
1957
|
+
for (const ch of branch) {
|
|
1958
|
+
if (escaped === true) {
|
|
1959
|
+
escaped = false;
|
|
1960
|
+
continue;
|
|
1961
|
+
}
|
|
1962
|
+
if (ch === "\\") {
|
|
1963
|
+
escaped = true;
|
|
1964
|
+
continue;
|
|
1965
|
+
}
|
|
1966
|
+
if (/[?*+@!()[\]{}]/.test(ch)) {
|
|
1967
|
+
return false;
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
return true;
|
|
1971
|
+
}, "isPlainBranch");
|
|
1972
|
+
var normalizeSimpleBranch = /* @__PURE__ */ __name((branch) => {
|
|
1973
|
+
let value = branch.trim();
|
|
1974
|
+
let changed = true;
|
|
1975
|
+
while (changed === true) {
|
|
1976
|
+
changed = false;
|
|
1977
|
+
if (/^@\([^\\()[\]{}|]+\)$/.test(value)) {
|
|
1978
|
+
value = value.slice(2, -1);
|
|
1979
|
+
changed = true;
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
if (!isPlainBranch(value)) {
|
|
1983
|
+
return;
|
|
1984
|
+
}
|
|
1985
|
+
return value.replace(/\\(.)/g, "$1");
|
|
1986
|
+
}, "normalizeSimpleBranch");
|
|
1987
|
+
var hasRepeatedCharPrefixOverlap = /* @__PURE__ */ __name((branches) => {
|
|
1988
|
+
const values = branches.map(normalizeSimpleBranch).filter(Boolean);
|
|
1989
|
+
for (let i = 0; i < values.length; i++) {
|
|
1990
|
+
for (let j = i + 1; j < values.length; j++) {
|
|
1991
|
+
const a = values[i];
|
|
1992
|
+
const b = values[j];
|
|
1993
|
+
const char = a[0];
|
|
1994
|
+
if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
|
|
1995
|
+
continue;
|
|
1996
|
+
}
|
|
1997
|
+
if (a === b || a.startsWith(b) || b.startsWith(a)) {
|
|
1998
|
+
return true;
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
return false;
|
|
2003
|
+
}, "hasRepeatedCharPrefixOverlap");
|
|
2004
|
+
var parseRepeatedExtglob = /* @__PURE__ */ __name((pattern, requireEnd = true) => {
|
|
2005
|
+
if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(") {
|
|
2006
|
+
return;
|
|
2007
|
+
}
|
|
2008
|
+
let bracket = 0;
|
|
2009
|
+
let paren = 0;
|
|
2010
|
+
let quote = 0;
|
|
2011
|
+
let escaped = false;
|
|
2012
|
+
for (let i = 1; i < pattern.length; i++) {
|
|
2013
|
+
const ch = pattern[i];
|
|
2014
|
+
if (escaped === true) {
|
|
2015
|
+
escaped = false;
|
|
2016
|
+
continue;
|
|
2017
|
+
}
|
|
2018
|
+
if (ch === "\\") {
|
|
2019
|
+
escaped = true;
|
|
2020
|
+
continue;
|
|
2021
|
+
}
|
|
2022
|
+
if (ch === '"') {
|
|
2023
|
+
quote = quote === 1 ? 0 : 1;
|
|
2024
|
+
continue;
|
|
2025
|
+
}
|
|
2026
|
+
if (quote === 1) {
|
|
2027
|
+
continue;
|
|
2028
|
+
}
|
|
2029
|
+
if (ch === "[") {
|
|
2030
|
+
bracket++;
|
|
2031
|
+
continue;
|
|
2032
|
+
}
|
|
2033
|
+
if (ch === "]" && bracket > 0) {
|
|
2034
|
+
bracket--;
|
|
2035
|
+
continue;
|
|
2036
|
+
}
|
|
2037
|
+
if (bracket > 0) {
|
|
2038
|
+
continue;
|
|
2039
|
+
}
|
|
2040
|
+
if (ch === "(") {
|
|
2041
|
+
paren++;
|
|
2042
|
+
continue;
|
|
2043
|
+
}
|
|
2044
|
+
if (ch === ")") {
|
|
2045
|
+
paren--;
|
|
2046
|
+
if (paren === 0) {
|
|
2047
|
+
if (requireEnd === true && i !== pattern.length - 1) {
|
|
2048
|
+
return;
|
|
2049
|
+
}
|
|
2050
|
+
return {
|
|
2051
|
+
type: pattern[0],
|
|
2052
|
+
body: pattern.slice(2, i),
|
|
2053
|
+
end: i
|
|
2054
|
+
};
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
}, "parseRepeatedExtglob");
|
|
2059
|
+
var getStarExtglobSequenceOutput = /* @__PURE__ */ __name((pattern) => {
|
|
2060
|
+
let index = 0;
|
|
2061
|
+
const chars = [];
|
|
2062
|
+
while (index < pattern.length) {
|
|
2063
|
+
const match = parseRepeatedExtglob(pattern.slice(index), false);
|
|
2064
|
+
if (!match || match.type !== "*") {
|
|
2065
|
+
return;
|
|
2066
|
+
}
|
|
2067
|
+
const branches = splitTopLevel(match.body).map((branch2) => branch2.trim());
|
|
2068
|
+
if (branches.length !== 1) {
|
|
2069
|
+
return;
|
|
2070
|
+
}
|
|
2071
|
+
const branch = normalizeSimpleBranch(branches[0]);
|
|
2072
|
+
if (!branch || branch.length !== 1) {
|
|
2073
|
+
return;
|
|
2074
|
+
}
|
|
2075
|
+
chars.push(branch);
|
|
2076
|
+
index += match.end + 1;
|
|
2077
|
+
}
|
|
2078
|
+
if (chars.length < 1) {
|
|
2079
|
+
return;
|
|
2080
|
+
}
|
|
2081
|
+
const source = chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`;
|
|
2082
|
+
return `${source}*`;
|
|
2083
|
+
}, "getStarExtglobSequenceOutput");
|
|
2084
|
+
var repeatedExtglobRecursion = /* @__PURE__ */ __name((pattern) => {
|
|
2085
|
+
let depth = 0;
|
|
2086
|
+
let value = pattern.trim();
|
|
2087
|
+
let match = parseRepeatedExtglob(value);
|
|
2088
|
+
while (match) {
|
|
2089
|
+
depth++;
|
|
2090
|
+
value = match.body.trim();
|
|
2091
|
+
match = parseRepeatedExtglob(value);
|
|
2092
|
+
}
|
|
2093
|
+
return depth;
|
|
2094
|
+
}, "repeatedExtglobRecursion");
|
|
2095
|
+
var analyzeRepeatedExtglob = /* @__PURE__ */ __name((body, options) => {
|
|
2096
|
+
if (options.maxExtglobRecursion === false) {
|
|
2097
|
+
return {
|
|
2098
|
+
risky: false
|
|
2099
|
+
};
|
|
2100
|
+
}
|
|
2101
|
+
const max = typeof options.maxExtglobRecursion === "number" ? options.maxExtglobRecursion : constants.DEFAULT_MAX_EXTGLOB_RECURSION;
|
|
2102
|
+
const branches = splitTopLevel(body).map((branch) => branch.trim());
|
|
2103
|
+
if (branches.length > 1) {
|
|
2104
|
+
if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) {
|
|
2105
|
+
return {
|
|
2106
|
+
risky: true
|
|
2107
|
+
};
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
for (const branch of branches) {
|
|
2111
|
+
const safeOutput = getStarExtglobSequenceOutput(branch);
|
|
2112
|
+
if (safeOutput) {
|
|
2113
|
+
return {
|
|
2114
|
+
risky: true,
|
|
2115
|
+
safeOutput
|
|
2116
|
+
};
|
|
2117
|
+
}
|
|
2118
|
+
if (repeatedExtglobRecursion(branch) > max) {
|
|
2119
|
+
return {
|
|
2120
|
+
risky: true
|
|
2121
|
+
};
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
2124
|
+
return {
|
|
2125
|
+
risky: false
|
|
2126
|
+
};
|
|
2127
|
+
}, "analyzeRepeatedExtglob");
|
|
1906
2128
|
var parse = /* @__PURE__ */ __name((input, options) => {
|
|
1907
2129
|
if (typeof input !== "string") {
|
|
1908
2130
|
throw new TypeError("Expected a string");
|
|
@@ -2033,6 +2255,8 @@ var require_parse2 = __commonJS({
|
|
|
2033
2255
|
token.prev = prev;
|
|
2034
2256
|
token.parens = state.parens;
|
|
2035
2257
|
token.output = state.output;
|
|
2258
|
+
token.startIndex = state.index;
|
|
2259
|
+
token.tokensIndex = tokens.length;
|
|
2036
2260
|
const output = (opts.capture ? "(" : "") + token.open;
|
|
2037
2261
|
increment("parens");
|
|
2038
2262
|
push({
|
|
@@ -2049,6 +2273,31 @@ var require_parse2 = __commonJS({
|
|
|
2049
2273
|
extglobs.push(token);
|
|
2050
2274
|
}, "extglobOpen");
|
|
2051
2275
|
const extglobClose = /* @__PURE__ */ __name((token) => {
|
|
2276
|
+
const literal = input.slice(token.startIndex, state.index + 1);
|
|
2277
|
+
const body = input.slice(token.startIndex + 2, state.index);
|
|
2278
|
+
const analysis = analyzeRepeatedExtglob(body, opts);
|
|
2279
|
+
if ((token.type === "plus" || token.type === "star") && analysis.risky) {
|
|
2280
|
+
const safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0;
|
|
2281
|
+
const open = tokens[token.tokensIndex];
|
|
2282
|
+
open.type = "text";
|
|
2283
|
+
open.value = literal;
|
|
2284
|
+
open.output = safeOutput || utils.escapeRegex(literal);
|
|
2285
|
+
for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
|
|
2286
|
+
tokens[i].value = "";
|
|
2287
|
+
tokens[i].output = "";
|
|
2288
|
+
delete tokens[i].suffix;
|
|
2289
|
+
}
|
|
2290
|
+
state.output = token.output + open.output;
|
|
2291
|
+
state.backtrack = true;
|
|
2292
|
+
push({
|
|
2293
|
+
type: "paren",
|
|
2294
|
+
extglob: true,
|
|
2295
|
+
value,
|
|
2296
|
+
output: ""
|
|
2297
|
+
});
|
|
2298
|
+
decrement("parens");
|
|
2299
|
+
return;
|
|
2300
|
+
}
|
|
2052
2301
|
let output = token.close + (opts.capture ? ")" : "");
|
|
2053
2302
|
let rest;
|
|
2054
2303
|
if (token.type === "negate") {
|
|
@@ -2775,9 +3024,9 @@ var require_parse2 = __commonJS({
|
|
|
2775
3024
|
}
|
|
2776
3025
|
});
|
|
2777
3026
|
|
|
2778
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
3027
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js
|
|
2779
3028
|
var require_picomatch = __commonJS({
|
|
2780
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
3029
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports$1, module) {
|
|
2781
3030
|
init_cjs_shims();
|
|
2782
3031
|
var path = __require("path");
|
|
2783
3032
|
var scan = require_scan();
|
|
@@ -2946,9 +3195,9 @@ var require_picomatch = __commonJS({
|
|
|
2946
3195
|
}
|
|
2947
3196
|
});
|
|
2948
3197
|
|
|
2949
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
3198
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js
|
|
2950
3199
|
var require_picomatch2 = __commonJS({
|
|
2951
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
3200
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js"(exports$1, module) {
|
|
2952
3201
|
init_cjs_shims();
|
|
2953
3202
|
module.exports = require_picomatch();
|
|
2954
3203
|
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkPHRQP7RO_cjs = require('./chunk-PHRQP7RO.cjs');
|
|
4
|
+
var chunkU5BTHCOZ_cjs = require('./chunk-U5BTHCOZ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/vendor/type-compiler/compiler.ts
|
|
7
|
-
|
|
7
|
+
chunkU5BTHCOZ_cjs.init_cjs_shims();
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Cache", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkPHRQP7RO_cjs.Cache; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "DeclarationTransformer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkPHRQP7RO_cjs.DeclarationTransformer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ReflectionTransformer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkPHRQP7RO_cjs.ReflectionTransformer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "debugPackStruct", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkPHRQP7RO_cjs.debugPackStruct; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "declarationTransformer", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkPHRQP7RO_cjs.declarationTransformer; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "encodeOps", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkPHRQP7RO_cjs.encodeOps; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "packSize", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkPHRQP7RO_cjs.packSize; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "packSizeByte", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkPHRQP7RO_cjs.packSizeByte; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "transformer", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkPHRQP7RO_cjs.transformer; }
|
|
44
44
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-
|
|
2
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-O5BXUCY2.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-BZHCHSI3.js';
|
|
3
3
|
|
|
4
4
|
// src/vendor/type-compiler/compiler.ts
|
|
5
5
|
init_esm_shims();
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkU5BTHCOZ_cjs = require('./chunk-U5BTHCOZ.cjs');
|
|
4
4
|
|
|
5
5
|
// src/vendor/type-compiler/config.ts
|
|
6
|
-
|
|
6
|
+
chunkU5BTHCOZ_cjs.init_cjs_shims();
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "defaultExcluded", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkU5BTHCOZ_cjs.defaultExcluded; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "getConfigResolver", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkU5BTHCOZ_cjs.getConfigResolver; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "isObject", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkU5BTHCOZ_cjs.isObject; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "parseRawMode", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkU5BTHCOZ_cjs.parseRawMode; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "reflectionLevel", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkU5BTHCOZ_cjs.reflectionLevel; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "reflectionModeMatcher", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkU5BTHCOZ_cjs.reflectionModeMatcher; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "reflectionModes", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkU5BTHCOZ_cjs.reflectionModes; }
|
|
35
35
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_esm_shims } from './chunk-
|
|
2
|
-
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-
|
|
1
|
+
import { init_esm_shims } from './chunk-BZHCHSI3.js';
|
|
2
|
+
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-BZHCHSI3.js';
|
|
3
3
|
|
|
4
4
|
// src/vendor/type-compiler/config.ts
|
|
5
5
|
init_esm_shims();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkPHRQP7RO_cjs = require('./chunk-PHRQP7RO.cjs');
|
|
4
|
+
var chunkU5BTHCOZ_cjs = require('./chunk-U5BTHCOZ.cjs');
|
|
5
5
|
var ts = require('typescript');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -9,16 +9,16 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
9
9
|
var ts__default = /*#__PURE__*/_interopDefault(ts);
|
|
10
10
|
|
|
11
11
|
// src/vendor/type-compiler/index.ts
|
|
12
|
-
|
|
12
|
+
chunkU5BTHCOZ_cjs.init_cjs_shims();
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=2011488ea7d6bd63266ba61c0f89d16f9db840d58a9ba80_0d4eeae2a917a1ea6c3b27e85fb3ee42/node_modules/@deepkit/type-compiler/dist/esm/index.js
|
|
15
|
-
|
|
15
|
+
chunkU5BTHCOZ_cjs.init_cjs_shims();
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=2011488ea7d6bd63266ba61c0f89d16f9db840d58a9ba80_0d4eeae2a917a1ea6c3b27e85fb3ee42/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
|
|
18
|
-
|
|
18
|
+
chunkU5BTHCOZ_cjs.init_cjs_shims();
|
|
19
19
|
var DeepkitLoader = class {
|
|
20
20
|
static {
|
|
21
|
-
|
|
21
|
+
chunkU5BTHCOZ_cjs.__name(this, "DeepkitLoader");
|
|
22
22
|
}
|
|
23
23
|
constructor() {
|
|
24
24
|
this.options = {
|
|
@@ -30,7 +30,7 @@ var DeepkitLoader = class {
|
|
|
30
30
|
this.printer = ts__default.default.createPrinter({
|
|
31
31
|
newLine: ts__default.default.NewLineKind.LineFeed
|
|
32
32
|
});
|
|
33
|
-
this.cache = new
|
|
33
|
+
this.cache = new chunkPHRQP7RO_cjs.Cache();
|
|
34
34
|
this.knownFiles = {};
|
|
35
35
|
this.sourceFiles = {};
|
|
36
36
|
const originReadFile = this.host.readFile;
|
|
@@ -52,7 +52,7 @@ var DeepkitLoader = class {
|
|
|
52
52
|
let newSource = source;
|
|
53
53
|
ts__default.default.transform(sourceFile, [
|
|
54
54
|
(context) => {
|
|
55
|
-
const transformer2 = new
|
|
55
|
+
const transformer2 = new chunkPHRQP7RO_cjs.ReflectionTransformer(context, this.cache).forHost(this.host).withReflection({
|
|
56
56
|
reflection: "default",
|
|
57
57
|
reflectionLevel: "normal"
|
|
58
58
|
});
|
|
@@ -69,66 +69,66 @@ var DeepkitLoader = class {
|
|
|
69
69
|
|
|
70
70
|
Object.defineProperty(exports, "Cache", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkPHRQP7RO_cjs.Cache; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "DeclarationTransformer", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkPHRQP7RO_cjs.DeclarationTransformer; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "ReflectionTransformer", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkPHRQP7RO_cjs.ReflectionTransformer; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "debugPackStruct", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkPHRQP7RO_cjs.debugPackStruct; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "declarationTransformer", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkPHRQP7RO_cjs.declarationTransformer; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "encodeOps", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkPHRQP7RO_cjs.encodeOps; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "packSize", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkPHRQP7RO_cjs.packSize; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "packSizeByte", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkPHRQP7RO_cjs.packSizeByte; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "transformer", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkPHRQP7RO_cjs.transformer; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "defaultExcluded", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkU5BTHCOZ_cjs.defaultExcluded; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "getConfigResolver", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkU5BTHCOZ_cjs.getConfigResolver; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "isObject", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkU5BTHCOZ_cjs.isObject; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "parseRawMode", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkU5BTHCOZ_cjs.parseRawMode; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "reflectionLevel", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkU5BTHCOZ_cjs.reflectionLevel; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "reflectionModeMatcher", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkU5BTHCOZ_cjs.reflectionModeMatcher; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "reflectionModes", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkU5BTHCOZ_cjs.reflectionModes; }
|
|
133
133
|
});
|
|
134
134
|
exports.DeepkitLoader = DeepkitLoader;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Cache, ReflectionTransformer } from './chunk-
|
|
2
|
-
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-
|
|
3
|
-
import { init_esm_shims, __name } from './chunk-
|
|
4
|
-
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-
|
|
1
|
+
import { Cache, ReflectionTransformer } from './chunk-O5BXUCY2.js';
|
|
2
|
+
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-O5BXUCY2.js';
|
|
3
|
+
import { init_esm_shims, __name } from './chunk-BZHCHSI3.js';
|
|
4
|
+
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-BZHCHSI3.js';
|
|
5
5
|
import ts from 'typescript';
|
|
6
6
|
|
|
7
7
|
// src/vendor/type-compiler/index.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/deepkit",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.159",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"keywords": ["deepkit", "powerlines", "storm-software"],
|
|
@@ -116,17 +116,17 @@
|
|
|
116
116
|
"bin": { "deepkit-install": "bin/deepkit-install.cjs" },
|
|
117
117
|
"files": ["bin/*", "dist/**/*", "schemas/*"],
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@storm-software/config-tools": "^1.189.
|
|
120
|
-
"@stryke/capnp": "^0.12.
|
|
121
|
-
"@stryke/fs": "^0.33.
|
|
122
|
-
"@stryke/path": "^0.27.
|
|
123
|
-
"@stryke/type-checks": "^0.
|
|
124
|
-
"@stryke/types": "^0.11.
|
|
119
|
+
"@storm-software/config-tools": "^1.189.57",
|
|
120
|
+
"@stryke/capnp": "^0.12.90",
|
|
121
|
+
"@stryke/fs": "^0.33.64",
|
|
122
|
+
"@stryke/path": "^0.27.3",
|
|
123
|
+
"@stryke/type-checks": "^0.6.0",
|
|
124
|
+
"@stryke/types": "^0.11.2",
|
|
125
125
|
"defu": "^6.1.4",
|
|
126
126
|
"jiti": "^2.6.1",
|
|
127
127
|
"esbuild": "^0.27.4",
|
|
128
|
-
"powerlines": "^0.42.
|
|
129
|
-
"@powerlines/plugin-esbuild": "^0.13.
|
|
128
|
+
"powerlines": "^0.42.21",
|
|
129
|
+
"@powerlines/plugin-esbuild": "^0.13.381",
|
|
130
130
|
"typescript": "^5.9.3"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
@@ -146,5 +146,5 @@
|
|
|
146
146
|
"rolldown": { "optional": true }
|
|
147
147
|
},
|
|
148
148
|
"publishConfig": { "access": "public" },
|
|
149
|
-
"gitHead": "
|
|
149
|
+
"gitHead": "e4cf83423cc9df85f747265b04d051bdfd4d1156"
|
|
150
150
|
}
|