@jsii/runtime 1.96.0 → 1.98.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsii/runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.98.0",
|
|
4
4
|
"description": "jsii runtime kernel process",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -34,14 +34,14 @@
|
|
|
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.98.0",
|
|
38
|
+
"@jsii/check-node": "1.98.0",
|
|
39
|
+
"@jsii/spec": "^1.98.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.98.0",
|
|
43
|
+
"@scope/jsii-calc-lib": "^1.98.0",
|
|
44
|
+
"jsii-build-tools": "^1.98.0",
|
|
45
45
|
"jsii-calc": "^3.20.120",
|
|
46
46
|
"source-map-loader": "^4.0.1",
|
|
47
47
|
"webpack": "^5.89.0",
|
|
@@ -3823,6 +3823,8 @@ var __webpack_modules__ = {
|
|
|
3823
3823
|
}), new NodeRelease(21, {
|
|
3824
3824
|
endOfLife: new Date("2024-06-01"),
|
|
3825
3825
|
untested: true
|
|
3826
|
+
}), new NodeRelease(22, {
|
|
3827
|
+
endOfLife: new Date("2027-04-30")
|
|
3826
3828
|
}) ];
|
|
3827
3829
|
},
|
|
3828
3830
|
7962: (__unused_webpack_module, exports, __webpack_require__) => {
|
package/webpack/lib/program.js
CHANGED
|
@@ -6238,6 +6238,7 @@ var __webpack_modules__ = {
|
|
|
6238
6238
|
const getFlag = __webpack_require__(8512);
|
|
6239
6239
|
const platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
|
6240
6240
|
const isWindows = platform === "win32";
|
|
6241
|
+
const DEFAULT_MAX_DEPTH = 1024;
|
|
6241
6242
|
const unlinkFile = (path, cb) => {
|
|
6242
6243
|
if (!isWindows) {
|
|
6243
6244
|
return fs.unlink(path, cb);
|
|
@@ -6314,6 +6315,7 @@ var __webpack_modules__ = {
|
|
|
6314
6315
|
}
|
|
6315
6316
|
this.processUid = (this.preserveOwner || this.setOwner) && process.getuid ? process.getuid() : null;
|
|
6316
6317
|
this.processGid = (this.preserveOwner || this.setOwner) && process.getgid ? process.getgid() : null;
|
|
6318
|
+
this.maxDepth = typeof opt.maxDepth === "number" ? opt.maxDepth : DEFAULT_MAX_DEPTH;
|
|
6317
6319
|
this.forceChown = opt.forceChown === true;
|
|
6318
6320
|
this.win32 = !!opt.win32 || isWindows;
|
|
6319
6321
|
this.newer = !!opt.newer;
|
|
@@ -6343,12 +6345,12 @@ var __webpack_modules__ = {
|
|
|
6343
6345
|
}
|
|
6344
6346
|
}
|
|
6345
6347
|
[CHECKPATH](entry) {
|
|
6348
|
+
const p = normPath(entry.path);
|
|
6349
|
+
const parts = p.split("/");
|
|
6346
6350
|
if (this.strip) {
|
|
6347
|
-
const parts = normPath(entry.path).split("/");
|
|
6348
6351
|
if (parts.length < this.strip) {
|
|
6349
6352
|
return false;
|
|
6350
6353
|
}
|
|
6351
|
-
entry.path = parts.slice(this.strip).join("/");
|
|
6352
6354
|
if (entry.type === "Link") {
|
|
6353
6355
|
const linkparts = normPath(entry.linkpath).split("/");
|
|
6354
6356
|
if (linkparts.length >= this.strip) {
|
|
@@ -6357,10 +6359,19 @@ var __webpack_modules__ = {
|
|
|
6357
6359
|
return false;
|
|
6358
6360
|
}
|
|
6359
6361
|
}
|
|
6362
|
+
parts.splice(0, this.strip);
|
|
6363
|
+
entry.path = parts.join("/");
|
|
6364
|
+
}
|
|
6365
|
+
if (isFinite(this.maxDepth) && parts.length > this.maxDepth) {
|
|
6366
|
+
this.warn("TAR_ENTRY_ERROR", "path excessively deep", {
|
|
6367
|
+
entry,
|
|
6368
|
+
path: p,
|
|
6369
|
+
depth: parts.length,
|
|
6370
|
+
maxDepth: this.maxDepth
|
|
6371
|
+
});
|
|
6372
|
+
return false;
|
|
6360
6373
|
}
|
|
6361
6374
|
if (!this.preservePaths) {
|
|
6362
|
-
const p = normPath(entry.path);
|
|
6363
|
-
const parts = p.split("/");
|
|
6364
6375
|
if (parts.includes("..") || isWindows && /^[a-z]:\.\.$/i.test(parts[0])) {
|
|
6365
6376
|
this.warn("TAR_ENTRY_ERROR", `path contains '..'`, {
|
|
6366
6377
|
entry,
|
|
@@ -17464,7 +17475,7 @@ var __webpack_modules__ = {
|
|
|
17464
17475
|
},
|
|
17465
17476
|
4147: module => {
|
|
17466
17477
|
"use strict";
|
|
17467
|
-
module.exports = JSON.parse('{"name":"@jsii/runtime","version":"1.
|
|
17478
|
+
module.exports = JSON.parse('{"name":"@jsii/runtime","version":"1.98.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.17.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.98.0","@jsii/check-node":"1.98.0","@jsii/spec":"^1.98.0"},"devDependencies":{"@scope/jsii-calc-base":"^1.98.0","@scope/jsii-calc-lib":"^1.98.0","jsii-build-tools":"^1.98.0","jsii-calc":"^3.20.120","source-map-loader":"^4.0.1","webpack":"^5.89.0","webpack-cli":"^5.1.4"}}');
|
|
17468
17479
|
},
|
|
17469
17480
|
5277: module => {
|
|
17470
17481
|
"use strict";
|