jsii-pacmak 1.65.1 → 1.66.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.
Files changed (36) hide show
  1. package/lib/targets/dotnet/dotnetgenerator.js +19 -110
  2. package/lib/targets/dotnet/dotnettyperesolver.js +5 -4
  3. package/lib/targets/dotnet/runtime-type-checking.d.ts +13 -0
  4. package/lib/targets/dotnet/runtime-type-checking.js +146 -0
  5. package/lib/targets/go/dependencies.d.ts +16 -0
  6. package/lib/targets/go/dependencies.js +59 -0
  7. package/lib/targets/go/emit-context.d.ts +2 -0
  8. package/lib/targets/go/package.d.ts +1 -0
  9. package/lib/targets/go/package.js +54 -33
  10. package/lib/targets/go/runtime/class-constructor.d.ts +2 -1
  11. package/lib/targets/go/runtime/class-constructor.js +4 -1
  12. package/lib/targets/go/runtime/method-call.d.ts +2 -2
  13. package/lib/targets/go/runtime/method-call.js +11 -5
  14. package/lib/targets/go/runtime/property-access.d.ts +3 -2
  15. package/lib/targets/go/runtime/property-access.js +7 -2
  16. package/lib/targets/go/runtime/runtime-type-checking.d.ts +29 -0
  17. package/lib/targets/go/runtime/runtime-type-checking.js +408 -0
  18. package/lib/targets/go/types/class.d.ts +10 -5
  19. package/lib/targets/go/types/class.js +60 -30
  20. package/lib/targets/go/types/enum.d.ts +2 -2
  21. package/lib/targets/go/types/enum.js +6 -2
  22. package/lib/targets/go/types/go-type-reference.d.ts +6 -1
  23. package/lib/targets/go/types/go-type-reference.js +37 -21
  24. package/lib/targets/go/types/go-type.d.ts +4 -1
  25. package/lib/targets/go/types/go-type.js +3 -0
  26. package/lib/targets/go/types/interface.d.ts +5 -3
  27. package/lib/targets/go/types/interface.js +40 -17
  28. package/lib/targets/go/types/struct.d.ts +7 -3
  29. package/lib/targets/go/types/struct.js +41 -2
  30. package/lib/targets/go/types/type-member.d.ts +8 -1
  31. package/lib/targets/go/types/type-member.js +63 -18
  32. package/lib/targets/go.d.ts +6 -2
  33. package/lib/targets/go.js +6 -4
  34. package/lib/version.d.ts +2 -2
  35. package/lib/version.js +3 -3
  36. package/package.json +14 -14
@@ -1,8 +1,21 @@
1
1
  "use strict";
2
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
5
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
6
+ };
7
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
8
+ if (kind === "m") throw new TypeError("Private method is not writable");
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
11
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
12
+ };
13
+ var _Struct_structValidator, _Struct_validators;
2
14
  Object.defineProperty(exports, "__esModule", { value: true });
3
15
  exports.Struct = void 0;
4
16
  const assert = require("assert");
5
17
  const runtime_1 = require("../runtime");
18
+ const runtime_type_checking_1 = require("../runtime/runtime-type-checking");
6
19
  const util_1 = require("../util");
7
20
  const go_type_1 = require("./go-type");
8
21
  const type_member_1 = require("./type-member");
@@ -12,17 +25,34 @@ const type_member_1 = require("./type-member");
12
25
  class Struct extends go_type_1.GoType {
13
26
  constructor(parent, type) {
14
27
  super(parent, type);
28
+ _Struct_structValidator.set(this, void 0);
29
+ _Struct_validators.set(this, void 0);
15
30
  assert(type.isDataType(), `The provided interface ${type.fqn} is not a struct!`);
16
31
  this.properties = type.allProperties.map((prop) => new type_member_1.GoProperty(this, prop));
17
32
  }
33
+ get parameterValidators() {
34
+ if (__classPrivateFieldGet(this, _Struct_validators, "f") == null) {
35
+ __classPrivateFieldSet(this, _Struct_validators, this.properties
36
+ .map((p) => p.validator)
37
+ .filter((v) => v != null), "f");
38
+ }
39
+ return __classPrivateFieldGet(this, _Struct_validators, "f");
40
+ }
41
+ get structValidator() {
42
+ if (__classPrivateFieldGet(this, _Struct_structValidator, "f") === null) {
43
+ __classPrivateFieldSet(this, _Struct_structValidator, runtime_type_checking_1.StructValidator.for(this), "f");
44
+ }
45
+ return __classPrivateFieldGet(this, _Struct_structValidator, "f");
46
+ }
18
47
  get dependencies() {
19
48
  return (0, util_1.getMemberDependencies)(this.properties);
20
49
  }
21
50
  get specialDependencies() {
22
51
  return {
23
- runtime: false,
52
+ fmt: false,
24
53
  init: false,
25
54
  internal: false,
55
+ runtime: false,
26
56
  time: this.properties.some((prop) => prop.specialDependencies.time),
27
57
  };
28
58
  }
@@ -36,12 +66,21 @@ class Struct extends go_type_1.GoType {
36
66
  code.closeBlock();
37
67
  code.line();
38
68
  }
39
- emitRegistration(code) {
69
+ emitRegistration({ code, runtimeTypeChecking }) {
40
70
  code.open(`${runtime_1.JSII_RT_ALIAS}.RegisterStruct(`);
41
71
  code.line(`"${this.fqn}",`);
42
72
  code.line(`reflect.TypeOf((*${this.name})(nil)).Elem(),`);
43
73
  code.close(')');
74
+ if (runtimeTypeChecking && this.structValidator) {
75
+ code.open(`${runtime_1.JSII_RT_ALIAS}.RegisterStructValidator(`);
76
+ code.line(`reflect.TypeOf((*${this.name})(nil)).Elem(),`);
77
+ code.open('func (i interface{}, d func() string) error {');
78
+ code.line(`return (i.(*${this.name})).validate(d)`);
79
+ code.close('},');
80
+ code.close(')');
81
+ }
44
82
  }
45
83
  }
46
84
  exports.Struct = Struct;
85
+ _Struct_structValidator = new WeakMap(), _Struct_validators = new WeakMap();
47
86
  //# sourceMappingURL=struct.js.map
@@ -2,6 +2,7 @@ import { Callable, Parameter, Property } from 'jsii-reflect';
2
2
  import { ApiLocation } from 'jsii-rosetta';
3
3
  import { SpecialDependencies } from '../dependencies';
4
4
  import { EmitContext } from '../emit-context';
5
+ import { ParameterValidator } from '../runtime/runtime-type-checking';
5
6
  import { GoClass, GoType, GoInterface, GoTypeRef } from './index';
6
7
  export interface GoTypeMember {
7
8
  name: string;
@@ -11,12 +12,15 @@ export interface GoTypeMember {
11
12
  specialDependencies: SpecialDependencies;
12
13
  }
13
14
  export declare class GoProperty implements GoTypeMember {
15
+ #private;
14
16
  parent: GoType;
15
17
  readonly property: Property;
16
18
  readonly name: string;
19
+ readonly setterName: string;
17
20
  readonly immutable: boolean;
18
21
  protected readonly apiLocation: ApiLocation;
19
22
  constructor(parent: GoType, property: Property);
23
+ get validator(): ParameterValidator | undefined;
20
24
  get reference(): GoTypeRef;
21
25
  get specialDependencies(): SpecialDependencies;
22
26
  get static(): boolean;
@@ -25,18 +29,19 @@ export declare class GoProperty implements GoTypeMember {
25
29
  get override(): string;
26
30
  emitStructMember({ code, documenter }: EmitContext): void;
27
31
  emitGetterDecl({ code, documenter }: EmitContext): void;
28
- emitGetter({ code }: EmitContext): void;
29
32
  emitSetterDecl({ code, documenter }: EmitContext): void;
30
33
  emitGetterProxy(context: EmitContext): void;
31
34
  emitSetterProxy(context: EmitContext): void;
32
35
  }
33
36
  export declare abstract class GoMethod implements GoTypeMember {
37
+ #private;
34
38
  readonly parent: GoClass | GoInterface;
35
39
  readonly method: Callable;
36
40
  readonly name: string;
37
41
  readonly parameters: GoParameter[];
38
42
  protected readonly apiLocation: ApiLocation;
39
43
  constructor(parent: GoClass | GoInterface, method: Callable);
44
+ get validator(): ParameterValidator | undefined;
40
45
  abstract emit(context: EmitContext): void;
41
46
  abstract get specialDependencies(): SpecialDependencies;
42
47
  get reference(): GoTypeRef | undefined;
@@ -44,10 +49,12 @@ export declare abstract class GoMethod implements GoTypeMember {
44
49
  get returnType(): string;
45
50
  get instanceArg(): string;
46
51
  get override(): string;
52
+ get static(): boolean;
47
53
  paramString(): string;
48
54
  }
49
55
  export declare class GoParameter {
50
56
  readonly name: string;
57
+ readonly isOptional: boolean;
51
58
  readonly isVariadic: boolean;
52
59
  private readonly type;
53
60
  private readonly pkg;
@@ -1,9 +1,22 @@
1
1
  "use strict";
2
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
5
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
6
+ };
7
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
8
+ if (kind === "m") throw new TypeError("Private method is not writable");
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
11
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
12
+ };
13
+ var _GoProperty_validator, _GoMethod_validator;
2
14
  Object.defineProperty(exports, "__esModule", { value: true });
3
15
  exports.GoParameter = exports.GoMethod = exports.GoProperty = void 0;
4
16
  const jsii_reflect_1 = require("jsii-reflect");
5
17
  const naming_util_1 = require("../../../naming-util");
6
18
  const runtime_1 = require("../runtime");
19
+ const runtime_type_checking_1 = require("../runtime/runtime-type-checking");
7
20
  const util_1 = require("../util");
8
21
  const index_1 = require("./index");
9
22
  /*
@@ -14,7 +27,14 @@ class GoProperty {
14
27
  constructor(parent, property) {
15
28
  this.parent = parent;
16
29
  this.property = property;
17
- this.name = (0, naming_util_1.jsiiToPascalCase)(this.property.name);
30
+ _GoProperty_validator.set(this, null);
31
+ const localName = (0, naming_util_1.jsiiToPascalCase)(this.property.name);
32
+ this.name = property.spec.static
33
+ ? `${parent.name}_${localName}`
34
+ : localName;
35
+ this.setterName = property.spec.static
36
+ ? `${parent.name}_Set${localName}`
37
+ : `Set${this.name}`;
18
38
  this.immutable = property.immutable;
19
39
  this.apiLocation = {
20
40
  api: 'member',
@@ -22,14 +42,21 @@ class GoProperty {
22
42
  memberName: this.property.name,
23
43
  };
24
44
  }
45
+ get validator() {
46
+ if (__classPrivateFieldGet(this, _GoProperty_validator, "f") === null) {
47
+ __classPrivateFieldSet(this, _GoProperty_validator, runtime_type_checking_1.ParameterValidator.forProperty(this), "f");
48
+ }
49
+ return __classPrivateFieldGet(this, _GoProperty_validator, "f");
50
+ }
25
51
  get reference() {
26
52
  return new index_1.GoTypeRef(this.parent.pkg.root, this.property.type);
27
53
  }
28
54
  get specialDependencies() {
29
55
  return {
30
- runtime: true,
56
+ fmt: false,
31
57
  init: this.static,
32
58
  internal: false,
59
+ runtime: true,
33
60
  time: !!this.reference?.specialDependencies.time,
34
61
  };
35
62
  }
@@ -60,49 +87,56 @@ class GoProperty {
60
87
  documenter.emit(this.property.docs, this.apiLocation);
61
88
  code.line(`${this.name}() ${this.returnType}`);
62
89
  }
63
- emitGetter({ code }) {
64
- const receiver = this.parent.name;
65
- const instanceArg = receiver.substring(0, 1).toLowerCase();
66
- code.openBlock(`func (${instanceArg} *${receiver}) Get${this.name}() ${this.returnType}`);
67
- code.line(`return ${instanceArg}.${this.name}`);
68
- code.closeBlock();
69
- }
70
90
  emitSetterDecl({ code, documenter }) {
71
91
  if (!this.immutable) {
72
92
  // For setters, only emit the stability. Copying the documentation from
73
93
  // the getter might result in confusing documentation. This is an "okay"
74
94
  // middle-ground.
75
95
  documenter.emitStability(this.property.docs);
76
- code.line(`Set${this.name}(val ${this.returnType})`);
96
+ code.line(`${this.setterName}(val ${this.returnType})`);
77
97
  }
78
98
  }
79
99
  // Emits getter methods on the struct for each property
80
100
  emitGetterProxy(context) {
81
101
  const { code } = context;
82
- const receiver = this.parent.proxyName;
83
- const instanceArg = receiver.substring(0, 1).toLowerCase();
84
- code.openBlock(`func (${instanceArg} *${receiver}) ${this.name}() ${this.returnType}`);
85
- new runtime_1.GetProperty(this).emit(code);
102
+ if (!this.static) {
103
+ const receiver = this.parent.proxyName;
104
+ const instanceArg = receiver.substring(0, 1).toLowerCase();
105
+ code.openBlock(`func (${instanceArg} *${receiver}) ${this.name}() ${this.returnType}`);
106
+ new runtime_1.GetProperty(this).emit(code);
107
+ }
108
+ else {
109
+ code.openBlock(`func ${this.name}() ${this.returnType}`);
110
+ new runtime_1.StaticGetProperty(this).emit(code);
111
+ }
86
112
  code.closeBlock();
87
113
  code.line();
88
114
  }
89
115
  emitSetterProxy(context) {
90
116
  if (!this.immutable) {
91
117
  const { code } = context;
92
- const receiver = this.parent.proxyName;
93
- const instanceArg = receiver.substring(0, 1).toLowerCase();
94
- code.openBlock(`func (${instanceArg} *${receiver}) Set${this.name}(val ${this.returnType})`);
95
- new runtime_1.SetProperty(this).emit(code);
118
+ if (!this.static) {
119
+ const receiver = this.parent.proxyName;
120
+ const instanceArg = receiver.substring(0, 1).toLowerCase();
121
+ code.openBlock(`func (${instanceArg} *${receiver})${this.setterName}(val ${this.returnType})`);
122
+ new runtime_1.SetProperty(this).emit(context);
123
+ }
124
+ else {
125
+ code.openBlock(`func ${this.setterName}(val ${this.returnType})`);
126
+ new runtime_1.StaticSetProperty(this).emit(context);
127
+ }
96
128
  code.closeBlock();
97
129
  code.line();
98
130
  }
99
131
  }
100
132
  }
101
133
  exports.GoProperty = GoProperty;
134
+ _GoProperty_validator = new WeakMap();
102
135
  class GoMethod {
103
136
  constructor(parent, method) {
104
137
  this.parent = parent;
105
138
  this.method = method;
139
+ _GoMethod_validator.set(this, null);
106
140
  this.name = (0, naming_util_1.jsiiToPascalCase)(method.name);
107
141
  this.parameters = this.method.parameters.map((param) => new GoParameter(parent, param));
108
142
  this.apiLocation =
@@ -110,6 +144,12 @@ class GoMethod {
110
144
  ? { api: 'initializer', fqn: parent.fqn }
111
145
  : { api: 'member', fqn: parent.fqn, memberName: method.name };
112
146
  }
147
+ get validator() {
148
+ if (__classPrivateFieldGet(this, _GoMethod_validator, "f") === null) {
149
+ __classPrivateFieldSet(this, _GoMethod_validator, runtime_type_checking_1.ParameterValidator.forMethod(this), "f");
150
+ }
151
+ return __classPrivateFieldGet(this, _GoMethod_validator, "f");
152
+ }
113
153
  get reference() {
114
154
  if (jsii_reflect_1.Method.isMethod(this.method) && this.method.returns.type) {
115
155
  return new index_1.GoTypeRef(this.parent.pkg.root, this.method.returns.type);
@@ -132,6 +172,9 @@ class GoMethod {
132
172
  get override() {
133
173
  return `${runtime_1.JSII_RT_ALIAS}.MemberMethod{JsiiMethod: "${this.method.name}", GoMethod: "${this.name}"}`;
134
174
  }
175
+ get static() {
176
+ return false;
177
+ }
135
178
  paramString() {
136
179
  return this.parameters.length === 0
137
180
  ? ''
@@ -139,9 +182,11 @@ class GoMethod {
139
182
  }
140
183
  }
141
184
  exports.GoMethod = GoMethod;
185
+ _GoMethod_validator = new WeakMap();
142
186
  class GoParameter {
143
187
  constructor(parent, parameter) {
144
188
  this.name = (0, util_1.substituteReservedWords)(parameter.name);
189
+ this.isOptional = parameter.optional;
145
190
  this.isVariadic = parameter.variadic;
146
191
  this.type = parameter.type;
147
192
  this.pkg = parent.pkg;
@@ -24,12 +24,16 @@ export declare class Golang extends Target {
24
24
  private writeLocalGoMod;
25
25
  }
26
26
  declare class GoGenerator implements IGenerator {
27
- private readonly rosetta;
28
27
  private assembly;
29
28
  rootPackage: RootPackage;
30
29
  private readonly code;
31
30
  private readonly documenter;
32
- constructor(rosetta: Rosetta);
31
+ private readonly rosetta;
32
+ private readonly runtimeTypeChecking;
33
+ constructor(options: {
34
+ readonly rosetta: Rosetta;
35
+ readonly runtimeTypeChecking: boolean;
36
+ });
33
37
  load(_: string, assembly: Assembly): Promise<void>;
34
38
  upToDate(_outDir: string): Promise<boolean>;
35
39
  generate(): void;
package/lib/targets/go.js CHANGED
@@ -14,7 +14,7 @@ const util_2 = require("./go/util");
14
14
  class Golang extends target_1.Target {
15
15
  constructor(options) {
16
16
  super(options);
17
- this.goGenerator = new GoGenerator(options.rosetta);
17
+ this.goGenerator = new GoGenerator(options);
18
18
  }
19
19
  get generator() {
20
20
  return this.goGenerator;
@@ -32,7 +32,7 @@ class Golang extends target_1.Target {
32
32
  // write `local.go.mod` with "replace" directives for local modules
33
33
  const localGoMod = await this.writeLocalGoMod(pkgDir);
34
34
  try {
35
- // run `go build` with local.go.mod, go 1.16 requires that we download
35
+ // run `go build` with local.go.mod, go 1.16+ requires that we download
36
36
  // modules explicit so go.sum is updated. We'd normally want to use
37
37
  // `go mod download`, but because of a bug in go 1.16, we have to use
38
38
  // `go mod tidy` instead.
@@ -114,13 +114,14 @@ class Golang extends target_1.Target {
114
114
  }
115
115
  exports.Golang = Golang;
116
116
  class GoGenerator {
117
- constructor(rosetta) {
118
- this.rosetta = rosetta;
117
+ constructor(options) {
119
118
  this.code = new codemaker_1.CodeMaker({
120
119
  indentCharacter: '\t',
121
120
  indentationLevel: 1,
122
121
  });
122
+ this.rosetta = options.rosetta;
123
123
  this.documenter = new documentation_1.Documentation(this.code, this.rosetta);
124
+ this.runtimeTypeChecking = options.runtimeTypeChecking;
124
125
  }
125
126
  async load(_, assembly) {
126
127
  this.assembly = assembly;
@@ -134,6 +135,7 @@ class GoGenerator {
134
135
  return this.rootPackage.emit({
135
136
  code: this.code,
136
137
  documenter: this.documenter,
138
+ runtimeTypeChecking: this.runtimeTypeChecking,
137
139
  });
138
140
  }
139
141
  async save(outDir, tarball, { license, notice }) {
package/lib/version.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** The short version number for this JSII compiler (e.g: `X.Y.Z`) */
2
- export declare const VERSION = "1.65.1";
2
+ export declare const VERSION = "1.66.0";
3
3
  /** The qualified version number for this JSII compiler (e.g: `X.Y.Z (build #######)`) */
4
- export declare const VERSION_DESC = "1.65.1 (build b0947e4)";
4
+ export declare const VERSION_DESC = "1.66.0 (build 3c9512b)";
5
5
  //# sourceMappingURL=version.d.ts.map
package/lib/version.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
- // Generated at 2022-08-29T17:36:17Z by generate.sh
2
+ // Generated at 2022-08-29T23:52:00Z by generate.sh
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.VERSION_DESC = exports.VERSION = void 0;
5
5
  /** The short version number for this JSII compiler (e.g: `X.Y.Z`) */
6
- exports.VERSION = '1.65.1';
6
+ exports.VERSION = '1.66.0';
7
7
  /** The qualified version number for this JSII compiler (e.g: `X.Y.Z (build #######)`) */
8
- exports.VERSION_DESC = '1.65.1 (build b0947e4)';
8
+ exports.VERSION_DESC = '1.66.0 (build 3c9512b)';
9
9
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsii-pacmak",
3
- "version": "1.65.1",
3
+ "version": "1.66.0",
4
4
  "description": "A code generation framework for jsii backend languages",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -37,35 +37,35 @@
37
37
  "package": "package-js"
38
38
  },
39
39
  "dependencies": {
40
- "@jsii/check-node": "1.65.1",
41
- "@jsii/spec": "^1.65.1",
40
+ "@jsii/check-node": "1.66.0",
41
+ "@jsii/spec": "^1.66.0",
42
42
  "clone": "^2.1.2",
43
- "codemaker": "^1.65.1",
43
+ "codemaker": "^1.66.0",
44
44
  "commonmark": "^0.30.0",
45
45
  "escape-string-regexp": "^4.0.0",
46
46
  "fs-extra": "^10.1.0",
47
- "jsii-reflect": "^1.65.1",
48
- "jsii-rosetta": "^1.65.1",
47
+ "jsii-reflect": "^1.66.0",
48
+ "jsii-rosetta": "^1.66.0",
49
49
  "semver": "^7.3.7",
50
50
  "spdx-license-list": "^6.6.0",
51
51
  "xmlbuilder": "^15.1.1",
52
52
  "yargs": "^16.2.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@jsii/dotnet-runtime": "^1.65.1",
56
- "@jsii/java-runtime": "^1.65.1",
57
- "@jsii/go-runtime": "^1.65.1",
58
- "@scope/jsii-calc-lib": "^1.65.1",
55
+ "@jsii/dotnet-runtime": "^1.66.0",
56
+ "@jsii/java-runtime": "^1.66.0",
57
+ "@jsii/go-runtime": "^1.66.0",
58
+ "@scope/jsii-calc-lib": "^1.66.0",
59
59
  "@types/clone": "^2.1.1",
60
60
  "@types/diff": "^5.0.2",
61
61
  "@types/commonmark": "^0.27.5",
62
62
  "@types/fs-extra": "^9.0.13",
63
- "@types/semver": "^7.3.10",
63
+ "@types/semver": "^7.3.12",
64
64
  "diff": "^5.1.0",
65
- "jsii": "^1.65.1",
66
- "jsii-build-tools": "^1.65.1",
65
+ "jsii": "^1.66.0",
66
+ "jsii-build-tools": "^1.66.0",
67
67
  "jsii-calc": "^3.20.120",
68
- "pyright": "^1.1.266"
68
+ "pyright": "^1.1.267"
69
69
  },
70
70
  "keywords": [
71
71
  "jsii",