@jsii/runtime 1.80.0 → 1.82.0
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/package.json +9 -9
- package/webpack/bin/jsii-runtime.js +130 -89
- package/webpack/lib/program.js +13 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsii/runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.82.0",
|
|
4
4
|
"description": "jsii runtime kernel process",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"package": "package-js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@jsii/kernel": "^1.
|
|
38
|
-
"@jsii/check-node": "1.
|
|
39
|
-
"@jsii/spec": "^1.
|
|
37
|
+
"@jsii/kernel": "^1.82.0",
|
|
38
|
+
"@jsii/check-node": "1.82.0",
|
|
39
|
+
"@jsii/spec": "^1.82.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@scope/jsii-calc-base": "^1.
|
|
43
|
-
"@scope/jsii-calc-lib": "^1.
|
|
44
|
-
"jsii-build-tools": "^1.
|
|
42
|
+
"@scope/jsii-calc-base": "^1.82.0",
|
|
43
|
+
"@scope/jsii-calc-lib": "^1.82.0",
|
|
44
|
+
"jsii-build-tools": "^1.82.0",
|
|
45
45
|
"jsii-calc": "^3.20.120",
|
|
46
46
|
"source-map-loader": "^4.0.1",
|
|
47
|
-
"webpack": "^5.
|
|
48
|
-
"webpack-cli": "^5.
|
|
47
|
+
"webpack": "^5.82.1",
|
|
48
|
+
"webpack-cli": "^5.1.1"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -1511,12 +1511,6 @@ var __webpack_modules__ = {
|
|
|
1511
1511
|
if (!(comp instanceof Comparator)) {
|
|
1512
1512
|
throw new TypeError("a Comparator is required");
|
|
1513
1513
|
}
|
|
1514
|
-
if (!options || typeof options !== "object") {
|
|
1515
|
-
options = {
|
|
1516
|
-
loose: !!options,
|
|
1517
|
-
includePrerelease: false
|
|
1518
|
-
};
|
|
1519
|
-
}
|
|
1520
1514
|
if (this.operator === "") {
|
|
1521
1515
|
if (this.value === "") {
|
|
1522
1516
|
return true;
|
|
@@ -1528,13 +1522,29 @@ var __webpack_modules__ = {
|
|
|
1528
1522
|
}
|
|
1529
1523
|
return new Range(this.value, options).test(comp.semver);
|
|
1530
1524
|
}
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1525
|
+
options = parseOptions(options);
|
|
1526
|
+
if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
|
|
1527
|
+
return false;
|
|
1528
|
+
}
|
|
1529
|
+
if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
|
|
1530
|
+
return false;
|
|
1531
|
+
}
|
|
1532
|
+
if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
|
|
1533
|
+
return true;
|
|
1534
|
+
}
|
|
1535
|
+
if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
|
|
1536
|
+
return true;
|
|
1537
|
+
}
|
|
1538
|
+
if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
|
|
1539
|
+
return true;
|
|
1540
|
+
}
|
|
1541
|
+
if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
|
|
1542
|
+
return true;
|
|
1543
|
+
}
|
|
1544
|
+
if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
|
|
1545
|
+
return true;
|
|
1546
|
+
}
|
|
1547
|
+
return false;
|
|
1538
1548
|
}
|
|
1539
1549
|
}
|
|
1540
1550
|
module.exports = Comparator;
|
|
@@ -1595,8 +1605,8 @@ var __webpack_modules__ = {
|
|
|
1595
1605
|
}
|
|
1596
1606
|
parseRange(range) {
|
|
1597
1607
|
range = range.trim();
|
|
1598
|
-
const memoOpts =
|
|
1599
|
-
const memoKey =
|
|
1608
|
+
const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
|
|
1609
|
+
const memoKey = memoOpts + ":" + range;
|
|
1600
1610
|
const cached = cache.get(memoKey);
|
|
1601
1611
|
if (cached) {
|
|
1602
1612
|
return cached;
|
|
@@ -1668,6 +1678,7 @@ var __webpack_modules__ = {
|
|
|
1668
1678
|
const debug = __webpack_require__(5432);
|
|
1669
1679
|
const SemVer = __webpack_require__(3013);
|
|
1670
1680
|
const {re, t, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace} = __webpack_require__(9541);
|
|
1681
|
+
const {FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE} = __webpack_require__(9041);
|
|
1671
1682
|
const isNullSet = c => c.value === "<0.0.0-0";
|
|
1672
1683
|
const isAny = c => c.value === "";
|
|
1673
1684
|
const isSatisfiable = (comparators, options) => {
|
|
@@ -1894,7 +1905,7 @@ var __webpack_modules__ = {
|
|
|
1894
1905
|
version = version.version;
|
|
1895
1906
|
}
|
|
1896
1907
|
} else if (typeof version !== "string") {
|
|
1897
|
-
throw new TypeError(`Invalid
|
|
1908
|
+
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
1898
1909
|
}
|
|
1899
1910
|
if (version.length > MAX_LENGTH) {
|
|
1900
1911
|
throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
|
|
@@ -2016,34 +2027,34 @@ var __webpack_modules__ = {
|
|
|
2016
2027
|
}
|
|
2017
2028
|
} while (++i);
|
|
2018
2029
|
}
|
|
2019
|
-
inc(release, identifier) {
|
|
2030
|
+
inc(release, identifier, identifierBase) {
|
|
2020
2031
|
switch (release) {
|
|
2021
2032
|
case "premajor":
|
|
2022
2033
|
this.prerelease.length = 0;
|
|
2023
2034
|
this.patch = 0;
|
|
2024
2035
|
this.minor = 0;
|
|
2025
2036
|
this.major++;
|
|
2026
|
-
this.inc("pre", identifier);
|
|
2037
|
+
this.inc("pre", identifier, identifierBase);
|
|
2027
2038
|
break;
|
|
2028
2039
|
|
|
2029
2040
|
case "preminor":
|
|
2030
2041
|
this.prerelease.length = 0;
|
|
2031
2042
|
this.patch = 0;
|
|
2032
2043
|
this.minor++;
|
|
2033
|
-
this.inc("pre", identifier);
|
|
2044
|
+
this.inc("pre", identifier, identifierBase);
|
|
2034
2045
|
break;
|
|
2035
2046
|
|
|
2036
2047
|
case "prepatch":
|
|
2037
2048
|
this.prerelease.length = 0;
|
|
2038
|
-
this.inc("patch", identifier);
|
|
2039
|
-
this.inc("pre", identifier);
|
|
2049
|
+
this.inc("patch", identifier, identifierBase);
|
|
2050
|
+
this.inc("pre", identifier, identifierBase);
|
|
2040
2051
|
break;
|
|
2041
2052
|
|
|
2042
2053
|
case "prerelease":
|
|
2043
2054
|
if (this.prerelease.length === 0) {
|
|
2044
|
-
this.inc("patch", identifier);
|
|
2055
|
+
this.inc("patch", identifier, identifierBase);
|
|
2045
2056
|
}
|
|
2046
|
-
this.inc("pre", identifier);
|
|
2057
|
+
this.inc("pre", identifier, identifierBase);
|
|
2047
2058
|
break;
|
|
2048
2059
|
|
|
2049
2060
|
case "major":
|
|
@@ -2071,30 +2082,43 @@ var __webpack_modules__ = {
|
|
|
2071
2082
|
break;
|
|
2072
2083
|
|
|
2073
2084
|
case "pre":
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
while (--i >= 0) {
|
|
2079
|
-
if (typeof this.prerelease[i] === "number") {
|
|
2080
|
-
this.prerelease[i]++;
|
|
2081
|
-
i = -2;
|
|
2082
|
-
}
|
|
2085
|
+
{
|
|
2086
|
+
const base = Number(identifierBase) ? 1 : 0;
|
|
2087
|
+
if (!identifier && identifierBase === false) {
|
|
2088
|
+
throw new Error("invalid increment argument: identifier is empty");
|
|
2083
2089
|
}
|
|
2084
|
-
if (
|
|
2085
|
-
this.prerelease
|
|
2090
|
+
if (this.prerelease.length === 0) {
|
|
2091
|
+
this.prerelease = [ base ];
|
|
2092
|
+
} else {
|
|
2093
|
+
let i = this.prerelease.length;
|
|
2094
|
+
while (--i >= 0) {
|
|
2095
|
+
if (typeof this.prerelease[i] === "number") {
|
|
2096
|
+
this.prerelease[i]++;
|
|
2097
|
+
i = -2;
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
if (i === -1) {
|
|
2101
|
+
if (identifier === this.prerelease.join(".") && identifierBase === false) {
|
|
2102
|
+
throw new Error("invalid increment argument: identifier already exists");
|
|
2103
|
+
}
|
|
2104
|
+
this.prerelease.push(base);
|
|
2105
|
+
}
|
|
2086
2106
|
}
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2107
|
+
if (identifier) {
|
|
2108
|
+
let prerelease = [ identifier, base ];
|
|
2109
|
+
if (identifierBase === false) {
|
|
2110
|
+
prerelease = [ identifier ];
|
|
2111
|
+
}
|
|
2112
|
+
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
2113
|
+
if (isNaN(this.prerelease[1])) {
|
|
2114
|
+
this.prerelease = prerelease;
|
|
2115
|
+
}
|
|
2116
|
+
} else {
|
|
2117
|
+
this.prerelease = prerelease;
|
|
2092
2118
|
}
|
|
2093
|
-
} else {
|
|
2094
|
-
this.prerelease = [ identifier, 0 ];
|
|
2095
2119
|
}
|
|
2120
|
+
break;
|
|
2096
2121
|
}
|
|
2097
|
-
break;
|
|
2098
2122
|
|
|
2099
2123
|
default:
|
|
2100
2124
|
throw new Error(`invalid increment argument: ${release}`);
|
|
@@ -2223,25 +2247,37 @@ var __webpack_modules__ = {
|
|
|
2223
2247
|
},
|
|
2224
2248
|
5209: (module, __unused_webpack_exports, __webpack_require__) => {
|
|
2225
2249
|
const parse = __webpack_require__(7507);
|
|
2226
|
-
const eq = __webpack_require__(8443);
|
|
2227
2250
|
const diff = (version1, version2) => {
|
|
2228
|
-
|
|
2251
|
+
const v1 = parse(version1, null, true);
|
|
2252
|
+
const v2 = parse(version2, null, true);
|
|
2253
|
+
const comparison = v1.compare(v2);
|
|
2254
|
+
if (comparison === 0) {
|
|
2229
2255
|
return null;
|
|
2230
|
-
} else {
|
|
2231
|
-
const v1 = parse(version1);
|
|
2232
|
-
const v2 = parse(version2);
|
|
2233
|
-
const hasPre = v1.prerelease.length || v2.prerelease.length;
|
|
2234
|
-
const prefix = hasPre ? "pre" : "";
|
|
2235
|
-
const defaultResult = hasPre ? "prerelease" : "";
|
|
2236
|
-
for (const key in v1) {
|
|
2237
|
-
if (key === "major" || key === "minor" || key === "patch") {
|
|
2238
|
-
if (v1[key] !== v2[key]) {
|
|
2239
|
-
return prefix + key;
|
|
2240
|
-
}
|
|
2241
|
-
}
|
|
2242
|
-
}
|
|
2243
|
-
return defaultResult;
|
|
2244
2256
|
}
|
|
2257
|
+
const v1Higher = comparison > 0;
|
|
2258
|
+
const highVersion = v1Higher ? v1 : v2;
|
|
2259
|
+
const lowVersion = v1Higher ? v2 : v1;
|
|
2260
|
+
const highHasPre = !!highVersion.prerelease.length;
|
|
2261
|
+
const prefix = highHasPre ? "pre" : "";
|
|
2262
|
+
if (v1.major !== v2.major) {
|
|
2263
|
+
return prefix + "major";
|
|
2264
|
+
}
|
|
2265
|
+
if (v1.minor !== v2.minor) {
|
|
2266
|
+
return prefix + "minor";
|
|
2267
|
+
}
|
|
2268
|
+
if (v1.patch !== v2.patch) {
|
|
2269
|
+
return prefix + "patch";
|
|
2270
|
+
}
|
|
2271
|
+
if (highHasPre) {
|
|
2272
|
+
return "prerelease";
|
|
2273
|
+
}
|
|
2274
|
+
if (lowVersion.patch) {
|
|
2275
|
+
return "patch";
|
|
2276
|
+
}
|
|
2277
|
+
if (lowVersion.minor) {
|
|
2278
|
+
return "minor";
|
|
2279
|
+
}
|
|
2280
|
+
return "major";
|
|
2245
2281
|
};
|
|
2246
2282
|
module.exports = diff;
|
|
2247
2283
|
},
|
|
@@ -2262,13 +2298,14 @@ var __webpack_modules__ = {
|
|
|
2262
2298
|
},
|
|
2263
2299
|
5210: (module, __unused_webpack_exports, __webpack_require__) => {
|
|
2264
2300
|
const SemVer = __webpack_require__(3013);
|
|
2265
|
-
const inc = (version, release, options, identifier) => {
|
|
2301
|
+
const inc = (version, release, options, identifier, identifierBase) => {
|
|
2266
2302
|
if (typeof options === "string") {
|
|
2303
|
+
identifierBase = identifier;
|
|
2267
2304
|
identifier = options;
|
|
2268
2305
|
options = undefined;
|
|
2269
2306
|
}
|
|
2270
2307
|
try {
|
|
2271
|
-
return new SemVer(version instanceof SemVer ? version.version : version, options).inc(release, identifier).version;
|
|
2308
|
+
return new SemVer(version instanceof SemVer ? version.version : version, options).inc(release, identifier, identifierBase).version;
|
|
2272
2309
|
} catch (er) {
|
|
2273
2310
|
return null;
|
|
2274
2311
|
}
|
|
@@ -2301,29 +2338,18 @@ var __webpack_modules__ = {
|
|
|
2301
2338
|
module.exports = neq;
|
|
2302
2339
|
},
|
|
2303
2340
|
7507: (module, __unused_webpack_exports, __webpack_require__) => {
|
|
2304
|
-
const {MAX_LENGTH} = __webpack_require__(9041);
|
|
2305
|
-
const {re, t} = __webpack_require__(9541);
|
|
2306
2341
|
const SemVer = __webpack_require__(3013);
|
|
2307
|
-
const
|
|
2308
|
-
const parse = (version, options) => {
|
|
2309
|
-
options = parseOptions(options);
|
|
2342
|
+
const parse = (version, options, throwErrors = false) => {
|
|
2310
2343
|
if (version instanceof SemVer) {
|
|
2311
2344
|
return version;
|
|
2312
2345
|
}
|
|
2313
|
-
if (typeof version !== "string") {
|
|
2314
|
-
return null;
|
|
2315
|
-
}
|
|
2316
|
-
if (version.length > MAX_LENGTH) {
|
|
2317
|
-
return null;
|
|
2318
|
-
}
|
|
2319
|
-
const r = options.loose ? re[t.LOOSE] : re[t.FULL];
|
|
2320
|
-
if (!r.test(version)) {
|
|
2321
|
-
return null;
|
|
2322
|
-
}
|
|
2323
2346
|
try {
|
|
2324
2347
|
return new SemVer(version, options);
|
|
2325
2348
|
} catch (er) {
|
|
2326
|
-
|
|
2349
|
+
if (!throwErrors) {
|
|
2350
|
+
return null;
|
|
2351
|
+
}
|
|
2352
|
+
throw er;
|
|
2327
2353
|
}
|
|
2328
2354
|
};
|
|
2329
2355
|
module.exports = parse;
|
|
@@ -2461,6 +2487,7 @@ var __webpack_modules__ = {
|
|
|
2461
2487
|
src: internalRe.src,
|
|
2462
2488
|
tokens: internalRe.t,
|
|
2463
2489
|
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
2490
|
+
RELEASE_TYPES: constants.RELEASE_TYPES,
|
|
2464
2491
|
compareIdentifiers: identifiers.compareIdentifiers,
|
|
2465
2492
|
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
2466
2493
|
};
|
|
@@ -2470,11 +2497,15 @@ var __webpack_modules__ = {
|
|
|
2470
2497
|
const MAX_LENGTH = 256;
|
|
2471
2498
|
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
2472
2499
|
const MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
2500
|
+
const RELEASE_TYPES = [ "major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease" ];
|
|
2473
2501
|
module.exports = {
|
|
2474
|
-
SEMVER_SPEC_VERSION,
|
|
2475
2502
|
MAX_LENGTH,
|
|
2503
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
2476
2504
|
MAX_SAFE_INTEGER,
|
|
2477
|
-
|
|
2505
|
+
RELEASE_TYPES,
|
|
2506
|
+
SEMVER_SPEC_VERSION,
|
|
2507
|
+
FLAG_INCLUDE_PRERELEASE: 1,
|
|
2508
|
+
FLAG_LOOSE: 2
|
|
2478
2509
|
};
|
|
2479
2510
|
},
|
|
2480
2511
|
5432: module => {
|
|
@@ -2499,13 +2530,19 @@ var __webpack_modules__ = {
|
|
|
2499
2530
|
};
|
|
2500
2531
|
},
|
|
2501
2532
|
3867: module => {
|
|
2502
|
-
const
|
|
2503
|
-
const parseOptions = options => !options ? {} : typeof options !== "object" ? {
|
|
2533
|
+
const looseOption = Object.freeze({
|
|
2504
2534
|
loose: true
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2535
|
+
});
|
|
2536
|
+
const emptyOpts = Object.freeze({});
|
|
2537
|
+
const parseOptions = options => {
|
|
2538
|
+
if (!options) {
|
|
2539
|
+
return emptyOpts;
|
|
2540
|
+
}
|
|
2541
|
+
if (typeof options !== "object") {
|
|
2542
|
+
return looseOption;
|
|
2543
|
+
}
|
|
2544
|
+
return options;
|
|
2545
|
+
};
|
|
2509
2546
|
module.exports = parseOptions;
|
|
2510
2547
|
},
|
|
2511
2548
|
9541: (module, exports, __webpack_require__) => {
|
|
@@ -2823,7 +2860,7 @@ var __webpack_modules__ = {
|
|
|
2823
2860
|
const intersects = (r1, r2, options) => {
|
|
2824
2861
|
r1 = new Range(r1, options);
|
|
2825
2862
|
r2 = new Range(r2, options);
|
|
2826
|
-
return r1.intersects(r2);
|
|
2863
|
+
return r1.intersects(r2, options);
|
|
2827
2864
|
};
|
|
2828
2865
|
module.exports = intersects;
|
|
2829
2866
|
},
|
|
@@ -3073,6 +3110,8 @@ var __webpack_modules__ = {
|
|
|
3073
3110
|
}
|
|
3074
3111
|
return true;
|
|
3075
3112
|
};
|
|
3113
|
+
const minimumVersionWithPreRelease = [ new Comparator(">=0.0.0-0") ];
|
|
3114
|
+
const minimumVersion = [ new Comparator(">=0.0.0") ];
|
|
3076
3115
|
const simpleSubset = (sub, dom, options) => {
|
|
3077
3116
|
if (sub === dom) {
|
|
3078
3117
|
return true;
|
|
@@ -3081,16 +3120,16 @@ var __webpack_modules__ = {
|
|
|
3081
3120
|
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
3082
3121
|
return true;
|
|
3083
3122
|
} else if (options.includePrerelease) {
|
|
3084
|
-
sub =
|
|
3123
|
+
sub = minimumVersionWithPreRelease;
|
|
3085
3124
|
} else {
|
|
3086
|
-
sub =
|
|
3125
|
+
sub = minimumVersion;
|
|
3087
3126
|
}
|
|
3088
3127
|
}
|
|
3089
3128
|
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
3090
3129
|
if (options.includePrerelease) {
|
|
3091
3130
|
return true;
|
|
3092
3131
|
} else {
|
|
3093
|
-
dom =
|
|
3132
|
+
dom = minimumVersion;
|
|
3094
3133
|
}
|
|
3095
3134
|
}
|
|
3096
3135
|
const eqSet = new Set;
|
|
@@ -3781,8 +3820,10 @@ var __webpack_modules__ = {
|
|
|
3781
3820
|
const {nodeRelease, knownBroken} = constants_1.NodeRelease.forThisRuntime();
|
|
3782
3821
|
const defaultCallToAction = "Should you encounter odd runtime issues, please try using one of the supported release before filing a bug report.";
|
|
3783
3822
|
if (nodeRelease === null || nodeRelease === void 0 ? void 0 : nodeRelease.endOfLife) {
|
|
3823
|
+
const silenceVariable = `${envPrefix}_SILENCE_WARNING_END_OF_LIFE_NODE_VERSION`;
|
|
3824
|
+
const acknowledgeNodeEol = "Node14 is now end of life (EOL) as of April 30, 2023. Support of EOL runtimes are only guaranteed for 30 days after EOL. By silencing this warning you acknowledge that you are using an EOL version of Node and will upgrade to a supported version as soon as possible.";
|
|
3784
3825
|
const qualifier = nodeRelease.endOfLifeDate ? ` on ${nodeRelease.endOfLifeDate.toISOString().slice(0, 10)}` : "";
|
|
3785
|
-
veryVisibleMessage(chalk_1.bgRed.white.bold, `Node ${nodeRelease.majorVersion} has reached end-of-life${qualifier} and is not supported.`, `Please upgrade to a supported node version as soon as possible.`);
|
|
3826
|
+
if (!(process.env[silenceVariable] === acknowledgeNodeEol)) veryVisibleMessage(chalk_1.bgRed.white.bold, `Node ${nodeRelease.majorVersion} has reached end-of-life${qualifier} and is not supported.`, `Please upgrade to a supported node version as soon as possible.`);
|
|
3786
3827
|
} else if (knownBroken) {
|
|
3787
3828
|
const silenceVariable = `${envPrefix}_SILENCE_WARNING_KNOWN_BROKEN_NODE_VERSION`;
|
|
3788
3829
|
if (!process.env[silenceVariable]) veryVisibleMessage(chalk_1.bgRed.white.bold, `Node ${process_1.version} is unsupported and has known compatibility issues with this software.`, defaultCallToAction, silenceVariable);
|
package/webpack/lib/program.js
CHANGED
|
@@ -4864,7 +4864,7 @@ var __webpack_modules__ = {
|
|
|
4864
4864
|
const {hasOwnProperty} = Object.prototype;
|
|
4865
4865
|
module.exports = s => {
|
|
4866
4866
|
if (!hasOwnProperty.call(normalizeCache, s)) {
|
|
4867
|
-
normalizeCache[s] = s.normalize("
|
|
4867
|
+
normalizeCache[s] = s.normalize("NFD");
|
|
4868
4868
|
}
|
|
4869
4869
|
return normalizeCache[s];
|
|
4870
4870
|
};
|
|
@@ -4887,7 +4887,7 @@ var __webpack_modules__ = {
|
|
|
4887
4887
|
this.piped = false;
|
|
4888
4888
|
}
|
|
4889
4889
|
}
|
|
4890
|
-
const
|
|
4890
|
+
const {Minipass} = __webpack_require__(3201);
|
|
4891
4891
|
const zlib = __webpack_require__(3704);
|
|
4892
4892
|
const ReadEntry = __webpack_require__(7847);
|
|
4893
4893
|
const WriteEntry = __webpack_require__(8418);
|
|
@@ -4919,7 +4919,7 @@ var __webpack_modules__ = {
|
|
|
4919
4919
|
const path = __webpack_require__(4822);
|
|
4920
4920
|
const warner = __webpack_require__(8783);
|
|
4921
4921
|
const normPath = __webpack_require__(4240);
|
|
4922
|
-
const Pack = warner(class Pack extends
|
|
4922
|
+
const Pack = warner(class Pack extends Minipass {
|
|
4923
4923
|
constructor(opt) {
|
|
4924
4924
|
super(opt);
|
|
4925
4925
|
opt = opt || Object.create(null);
|
|
@@ -5717,7 +5717,7 @@ var __webpack_modules__ = {
|
|
|
5717
5717
|
return true;
|
|
5718
5718
|
};
|
|
5719
5719
|
const reserve = (paths, fn) => {
|
|
5720
|
-
paths = isWindows ? [ "win32 parallelization disabled" ] : paths.map((p =>
|
|
5720
|
+
paths = isWindows ? [ "win32 parallelization disabled" ] : paths.map((p => stripSlashes(join(normalize(p))).toLowerCase()));
|
|
5721
5721
|
const dirs = new Set(paths.map((path => getDirs(path))).reduce(((a, b) => a.concat(b))));
|
|
5722
5722
|
reservations.set(fn, {
|
|
5723
5723
|
dirs,
|
|
@@ -5845,10 +5845,10 @@ var __webpack_modules__ = {
|
|
|
5845
5845
|
},
|
|
5846
5846
|
7847: (module, __unused_webpack_exports, __webpack_require__) => {
|
|
5847
5847
|
"use strict";
|
|
5848
|
-
const
|
|
5848
|
+
const {Minipass} = __webpack_require__(3201);
|
|
5849
5849
|
const normPath = __webpack_require__(4240);
|
|
5850
5850
|
const SLURP = Symbol("slurp");
|
|
5851
|
-
module.exports = class ReadEntry extends
|
|
5851
|
+
module.exports = class ReadEntry extends Minipass {
|
|
5852
5852
|
constructor(header, ex, gex) {
|
|
5853
5853
|
super();
|
|
5854
5854
|
this.pause();
|
|
@@ -6226,7 +6226,7 @@ var __webpack_modules__ = {
|
|
|
6226
6226
|
fs.unlinkSync(name);
|
|
6227
6227
|
};
|
|
6228
6228
|
const uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
|
|
6229
|
-
const cacheKeyNormalize = path =>
|
|
6229
|
+
const cacheKeyNormalize = path => stripSlash(normPath(normalize(path))).toLowerCase();
|
|
6230
6230
|
const pruneCache = (cache, abs) => {
|
|
6231
6231
|
abs = cacheKeyNormalize(abs);
|
|
6232
6232
|
for (const path of cache.keys()) {
|
|
@@ -6897,7 +6897,7 @@ var __webpack_modules__ = {
|
|
|
6897
6897
|
},
|
|
6898
6898
|
8418: (module, __unused_webpack_exports, __webpack_require__) => {
|
|
6899
6899
|
"use strict";
|
|
6900
|
-
const
|
|
6900
|
+
const {Minipass} = __webpack_require__(3201);
|
|
6901
6901
|
const Pax = __webpack_require__(9154);
|
|
6902
6902
|
const Header = __webpack_require__(5017);
|
|
6903
6903
|
const fs = __webpack_require__(7147);
|
|
@@ -6935,7 +6935,7 @@ var __webpack_modules__ = {
|
|
|
6935
6935
|
const winchars = __webpack_require__(6564);
|
|
6936
6936
|
const stripAbsolutePath = __webpack_require__(6014);
|
|
6937
6937
|
const modeFix = __webpack_require__(9574);
|
|
6938
|
-
const WriteEntry = warner(class WriteEntry extends
|
|
6938
|
+
const WriteEntry = warner(class WriteEntry extends Minipass {
|
|
6939
6939
|
constructor(p, opt) {
|
|
6940
6940
|
opt = opt || {};
|
|
6941
6941
|
super(opt);
|
|
@@ -7249,7 +7249,7 @@ var __webpack_modules__ = {
|
|
|
7249
7249
|
cb();
|
|
7250
7250
|
}
|
|
7251
7251
|
}
|
|
7252
|
-
const WriteEntryTar = warner(class WriteEntryTar extends
|
|
7252
|
+
const WriteEntryTar = warner(class WriteEntryTar extends Minipass {
|
|
7253
7253
|
constructor(readEntry, opt) {
|
|
7254
7254
|
opt = opt || {};
|
|
7255
7255
|
super(opt);
|
|
@@ -7352,7 +7352,7 @@ var __webpack_modules__ = {
|
|
|
7352
7352
|
const getType = stat => stat.isFile() ? "File" : stat.isDirectory() ? "Directory" : stat.isSymbolicLink() ? "SymbolicLink" : "Unsupported";
|
|
7353
7353
|
module.exports = WriteEntry;
|
|
7354
7354
|
},
|
|
7355
|
-
3201: (
|
|
7355
|
+
3201: (__unused_webpack_module, exports, __webpack_require__) => {
|
|
7356
7356
|
"use strict";
|
|
7357
7357
|
const proc = typeof process === "object" && process ? process : {
|
|
7358
7358
|
stdout: null,
|
|
@@ -7854,7 +7854,7 @@ var __webpack_modules__ = {
|
|
|
7854
7854
|
return !!s && (s instanceof Minipass || s instanceof Stream || s instanceof EE && (typeof s.pipe === "function" || typeof s.write === "function" && typeof s.end === "function"));
|
|
7855
7855
|
}
|
|
7856
7856
|
}
|
|
7857
|
-
|
|
7857
|
+
exports.Minipass = Minipass;
|
|
7858
7858
|
},
|
|
7859
7859
|
3459: (__unused_webpack_module, exports) => {
|
|
7860
7860
|
"use strict";
|
|
@@ -17312,7 +17312,7 @@ var __webpack_modules__ = {
|
|
|
17312
17312
|
},
|
|
17313
17313
|
4147: module => {
|
|
17314
17314
|
"use strict";
|
|
17315
|
-
module.exports = JSON.parse('{"name":"@jsii/runtime","version":"1.
|
|
17315
|
+
module.exports = JSON.parse('{"name":"@jsii/runtime","version":"1.82.0","description":"jsii runtime kernel process","license":"Apache-2.0","author":{"name":"Amazon Web Services","url":"https://aws.amazon.com"},"homepage":"https://github.com/aws/jsii","bugs":{"url":"https://github.com/aws/jsii/issues"},"repository":{"type":"git","url":"https://github.com/aws/jsii.git","directory":"packages/@jsii/runtime"},"engines":{"node":">= 14.6.0"},"main":"lib/index.js","types":"lib/index.d.ts","bin":{"jsii-runtime":"bin/jsii-runtime"},"scripts":{"build":"tsc --build && chmod +x bin/jsii-runtime && npx webpack-cli && npm run lint","watch":"tsc --build -w","lint":"eslint . --ext .js,.ts --ignore-path=.gitignore --ignore-pattern=webpack.config.js","lint:fix":"yarn lint --fix","test":"jest","test:update":"jest -u","package":"package-js"},"dependencies":{"@jsii/kernel":"^1.82.0","@jsii/check-node":"1.82.0","@jsii/spec":"^1.82.0"},"devDependencies":{"@scope/jsii-calc-base":"^1.82.0","@scope/jsii-calc-lib":"^1.82.0","jsii-build-tools":"^1.82.0","jsii-calc":"^3.20.120","source-map-loader":"^4.0.1","webpack":"^5.82.1","webpack-cli":"^5.1.1"}}');
|
|
17316
17316
|
},
|
|
17317
17317
|
5277: module => {
|
|
17318
17318
|
"use strict";
|