jsii-pacmak 1.70.0 → 1.71.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/lib/targets/python.js +6 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +3 -3
- package/package.json +14 -14
package/lib/targets/python.js
CHANGED
|
@@ -2055,7 +2055,12 @@ function emitParameterTypeChecks(code, context, params) {
|
|
|
2055
2055
|
// by a decorated version with different type annotations). We also cannot construct the actual value expected by
|
|
2056
2056
|
// typeguard's `check_type` because Python does not expose the APIs necessary to build many of these objects in
|
|
2057
2057
|
// regular Python code.
|
|
2058
|
-
|
|
2058
|
+
//
|
|
2059
|
+
// Since the nesting function will only be callable once this module is fully loaded, we can convert forward type
|
|
2060
|
+
// references into regular references, so that the type checker is not confused by multiple type references
|
|
2061
|
+
// sharing the same leaf type name (the ForwardRef resolution may be cached in the execution scope, which causes
|
|
2062
|
+
// order-of-initialization problems, as can be seen in aws/jsii#3818).
|
|
2063
|
+
openSignature(code, 'def', stubVar, params.map((param) => param.replace(/"/g, '')), 'None');
|
|
2059
2064
|
code.line('...');
|
|
2060
2065
|
code.closeBlock();
|
|
2061
2066
|
code.line(`${typesVar} = typing.get_type_hints(${stubVar})`);
|
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
2
|
export declare const VERSION: string;
|
|
3
3
|
/** The qualified version number for this JSII compiler (e.g: `X.Y.Z (build #######)`) */
|
|
4
|
-
export declare const VERSION_DESC = "1.
|
|
4
|
+
export declare const VERSION_DESC = "1.71.0 (build f1f58ae)";
|
|
5
5
|
//# sourceMappingURL=version.d.ts.map
|
package/lib/version.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Generated at 2022-
|
|
2
|
+
// Generated at 2022-11-09T12:10:33Z 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
6
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
7
|
-
exports.VERSION = '1.
|
|
7
|
+
exports.VERSION = '1.71.0';
|
|
8
8
|
/** The qualified version number for this JSII compiler (e.g: `X.Y.Z (build #######)`) */
|
|
9
|
-
exports.VERSION_DESC = '1.
|
|
9
|
+
exports.VERSION_DESC = '1.71.0 (build f1f58ae)';
|
|
10
10
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsii-pacmak",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.71.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.
|
|
41
|
-
"@jsii/spec": "^1.
|
|
40
|
+
"@jsii/check-node": "1.71.0",
|
|
41
|
+
"@jsii/spec": "^1.71.0",
|
|
42
42
|
"clone": "^2.1.2",
|
|
43
|
-
"codemaker": "^1.
|
|
43
|
+
"codemaker": "^1.71.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.
|
|
48
|
-
"jsii-rosetta": "^1.
|
|
47
|
+
"jsii-reflect": "^1.71.0",
|
|
48
|
+
"jsii-rosetta": "^1.71.0",
|
|
49
49
|
"semver": "^7.3.8",
|
|
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.
|
|
56
|
-
"@jsii/java-runtime": "^1.
|
|
57
|
-
"@jsii/go-runtime": "^1.
|
|
58
|
-
"@scope/jsii-calc-lib": "^1.
|
|
55
|
+
"@jsii/dotnet-runtime": "^1.71.0",
|
|
56
|
+
"@jsii/java-runtime": "^1.71.0",
|
|
57
|
+
"@jsii/go-runtime": "^1.71.0",
|
|
58
|
+
"@scope/jsii-calc-lib": "^1.71.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.
|
|
63
|
+
"@types/semver": "^7.3.13",
|
|
64
64
|
"diff": "^5.1.0",
|
|
65
|
-
"jsii": "^1.
|
|
66
|
-
"jsii-build-tools": "^1.
|
|
65
|
+
"jsii": "^1.71.0",
|
|
66
|
+
"jsii-build-tools": "^1.71.0",
|
|
67
67
|
"jsii-calc": "^3.20.120",
|
|
68
|
-
"pyright": "^1.1.
|
|
68
|
+
"pyright": "^1.1.278"
|
|
69
69
|
},
|
|
70
70
|
"keywords": [
|
|
71
71
|
"jsii",
|