@jsii/runtime 1.77.0 → 1.78.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 +7 -7
- package/webpack/lib/program.js +8 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsii/runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.78.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.78.0",
|
|
38
|
+
"@jsii/check-node": "1.78.0",
|
|
39
|
+
"@jsii/spec": "^1.78.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.78.0",
|
|
43
|
+
"@scope/jsii-calc-lib": "^1.78.0",
|
|
44
|
+
"jsii-build-tools": "^1.78.0",
|
|
45
45
|
"jsii-calc": "^3.20.120",
|
|
46
46
|
"source-map-loader": "^4.0.1",
|
|
47
47
|
"webpack": "^5.75.0",
|
package/webpack/lib/program.js
CHANGED
|
@@ -10747,7 +10747,6 @@ var __webpack_modules__ = {
|
|
|
10747
10747
|
}
|
|
10748
10748
|
if ((0, api_1.isWireMap)(value)) {
|
|
10749
10749
|
return exports.SERIALIZERS["Map"].deserialize(value, {
|
|
10750
|
-
optional: false,
|
|
10751
10750
|
type: {
|
|
10752
10751
|
collection: {
|
|
10753
10752
|
kind: spec.CollectionKind.Map,
|
|
@@ -10756,7 +10755,9 @@ var __webpack_modules__ = {
|
|
|
10756
10755
|
}
|
|
10757
10756
|
}
|
|
10758
10757
|
}
|
|
10759
|
-
}, host
|
|
10758
|
+
}, host, {
|
|
10759
|
+
allowNullishMapValue: true
|
|
10760
|
+
});
|
|
10760
10761
|
}
|
|
10761
10762
|
if (typeof value !== "object") {
|
|
10762
10763
|
return value;
|
|
@@ -10848,7 +10849,7 @@ var __webpack_modules__ = {
|
|
|
10848
10849
|
}, `key ${(0, util_1.inspect)(key)}`)))
|
|
10849
10850
|
};
|
|
10850
10851
|
},
|
|
10851
|
-
deserialize(value, optionalValue, host) {
|
|
10852
|
+
deserialize(value, optionalValue, host, {allowNullishMapValue = false} = {}) {
|
|
10852
10853
|
if (nullAndOk(value, optionalValue)) {
|
|
10853
10854
|
return undefined;
|
|
10854
10855
|
}
|
|
@@ -10856,10 +10857,12 @@ var __webpack_modules__ = {
|
|
|
10856
10857
|
const mapType = optionalValue.type;
|
|
10857
10858
|
if (!(0, api_1.isWireMap)(value)) {
|
|
10858
10859
|
return mapValues(value, ((v, key) => process(host, "deserialize", v, {
|
|
10860
|
+
optional: allowNullishMapValue,
|
|
10859
10861
|
type: mapType.collection.elementtype
|
|
10860
10862
|
}, `key ${(0, util_1.inspect)(key)}`)));
|
|
10861
10863
|
}
|
|
10862
10864
|
const result = mapValues(value[api_1.TOKEN_MAP], ((v, key) => process(host, "deserialize", v, {
|
|
10865
|
+
optional: allowNullishMapValue,
|
|
10863
10866
|
type: mapType.collection.elementtype
|
|
10864
10867
|
}, `key ${(0, util_1.inspect)(key)}`)));
|
|
10865
10868
|
Object.defineProperty(result, exports.SYMBOL_WIRE_TYPE, {
|
|
@@ -11272,7 +11275,7 @@ var __webpack_modules__ = {
|
|
|
11272
11275
|
}
|
|
11273
11276
|
function process(host, serde, value, type, context) {
|
|
11274
11277
|
const wireTypes = serializationType(type, host.lookupType);
|
|
11275
|
-
host.debug(serde, value, wireTypes);
|
|
11278
|
+
host.debug(serde, value, ...wireTypes);
|
|
11276
11279
|
const errors = new Array;
|
|
11277
11280
|
for (const {serializationClass, typeRef} of wireTypes) {
|
|
11278
11281
|
try {
|
|
@@ -17304,7 +17307,7 @@ var __webpack_modules__ = {
|
|
|
17304
17307
|
},
|
|
17305
17308
|
4147: module => {
|
|
17306
17309
|
"use strict";
|
|
17307
|
-
module.exports = JSON.parse('{"name":"@jsii/runtime","version":"1.
|
|
17310
|
+
module.exports = JSON.parse('{"name":"@jsii/runtime","version":"1.78.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.78.0","@jsii/check-node":"1.78.0","@jsii/spec":"^1.78.0"},"devDependencies":{"@scope/jsii-calc-base":"^1.78.0","@scope/jsii-calc-lib":"^1.78.0","jsii-build-tools":"^1.78.0","jsii-calc":"^3.20.120","source-map-loader":"^4.0.1","webpack":"^5.75.0","webpack-cli":"^5.0.1"}}');
|
|
17308
17311
|
},
|
|
17309
17312
|
5277: module => {
|
|
17310
17313
|
"use strict";
|