@jsii/runtime 1.86.0 → 1.86.1

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.86.0",
3
+ "version": "1.86.1",
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.86.0",
38
- "@jsii/check-node": "1.86.0",
39
- "@jsii/spec": "^1.86.0"
37
+ "@jsii/kernel": "^1.86.1",
38
+ "@jsii/check-node": "1.86.1",
39
+ "@jsii/spec": "^1.86.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@scope/jsii-calc-base": "^1.86.0",
43
- "@scope/jsii-calc-lib": "^1.86.0",
44
- "jsii-build-tools": "^1.86.0",
42
+ "@scope/jsii-calc-base": "^1.86.1",
43
+ "@scope/jsii-calc-lib": "^1.86.1",
44
+ "jsii-build-tools": "^1.86.1",
45
45
  "jsii-calc": "^3.20.120",
46
46
  "source-map-loader": "^4.0.1",
47
47
  "webpack": "^5.88.2",
@@ -10489,13 +10489,13 @@ var __webpack_modules__ = {
10489
10489
  const serialization_1 = __webpack_require__(8614);
10490
10490
  const OBJID_SYMBOL = Symbol.for("$__jsii__objid__$");
10491
10491
  const IFACES_SYMBOL = Symbol.for("$__jsii__interfaces__$");
10492
- const JSII_TYPE_FQN_SYMBOL = Symbol("$__jsii__fqn__$");
10493
10492
  const JSII_RTTI_SYMBOL = Symbol.for("jsii.rtti");
10493
+ const RESOLVED_TYPE_FQN = new WeakMap;
10494
10494
  function jsiiTypeFqn(obj, isVisibleType) {
10495
10495
  var _a;
10496
10496
  const ctor = obj.constructor;
10497
- if (ctor[JSII_TYPE_FQN_SYMBOL] != null) {
10498
- return ctor[JSII_TYPE_FQN_SYMBOL];
10497
+ if (RESOLVED_TYPE_FQN.has(ctor)) {
10498
+ return RESOLVED_TYPE_FQN.get(ctor);
10499
10499
  }
10500
10500
  let curr = ctor;
10501
10501
  while ((_a = curr[JSII_RTTI_SYMBOL]) === null || _a === void 0 ? void 0 : _a.fqn) {
@@ -10539,15 +10539,11 @@ var __webpack_modules__ = {
10539
10539
  });
10540
10540
  }
10541
10541
  function tagJsiiConstructor(constructor, fqn) {
10542
- if (Object.prototype.hasOwnProperty.call(constructor, JSII_TYPE_FQN_SYMBOL)) {
10543
- return assert.strictEqual(constructor[JSII_TYPE_FQN_SYMBOL], fqn, `Unable to register ${constructor.name} as ${fqn}: it is already registerd with FQN ${constructor[JSII_TYPE_FQN_SYMBOL]}`);
10542
+ const existing = RESOLVED_TYPE_FQN.get(constructor);
10543
+ if (existing != null) {
10544
+ return assert.strictEqual(existing, fqn, `Unable to register ${constructor.name} as ${fqn}: it is already registerd with FQN ${existing}`);
10544
10545
  }
10545
- Object.defineProperty(constructor, JSII_TYPE_FQN_SYMBOL, {
10546
- configurable: false,
10547
- enumerable: false,
10548
- writable: false,
10549
- value: fqn
10550
- });
10546
+ RESOLVED_TYPE_FQN.set(constructor, fqn);
10551
10547
  }
10552
10548
  exports.tagJsiiConstructor = tagJsiiConstructor;
10553
10549
  class ObjectTable {
@@ -17370,7 +17366,7 @@ var __webpack_modules__ = {
17370
17366
  },
17371
17367
  4147: module => {
17372
17368
  "use strict";
17373
- module.exports = JSON.parse('{"name":"@jsii/runtime","version":"1.86.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.86.0","@jsii/check-node":"1.86.0","@jsii/spec":"^1.86.0"},"devDependencies":{"@scope/jsii-calc-base":"^1.86.0","@scope/jsii-calc-lib":"^1.86.0","jsii-build-tools":"^1.86.0","jsii-calc":"^3.20.120","source-map-loader":"^4.0.1","webpack":"^5.88.2","webpack-cli":"^5.1.4"}}');
17369
+ module.exports = JSON.parse('{"name":"@jsii/runtime","version":"1.86.1","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.86.1","@jsii/check-node":"1.86.1","@jsii/spec":"^1.86.1"},"devDependencies":{"@scope/jsii-calc-base":"^1.86.1","@scope/jsii-calc-lib":"^1.86.1","jsii-build-tools":"^1.86.1","jsii-calc":"^3.20.120","source-map-loader":"^4.0.1","webpack":"^5.88.2","webpack-cli":"^5.1.4"}}');
17374
17370
  },
17375
17371
  5277: module => {
17376
17372
  "use strict";