jsii-pacmak 1.115.0 → 1.117.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/packaging.js +4 -1
- package/lib/rosetta-assembly.js +1 -0
- package/lib/targets/java.js +3 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +3 -3
- package/package.json +13 -13
package/lib/packaging.js
CHANGED
|
@@ -6,7 +6,10 @@ const path = require("path");
|
|
|
6
6
|
const util_1 = require("./util");
|
|
7
7
|
const logging = require("../lib/logging");
|
|
8
8
|
exports.DEFAULT_PACK_COMMAND = 'npm pack';
|
|
9
|
-
const ASSEMBLY_SUPPORTED_FEATURES = [
|
|
9
|
+
const ASSEMBLY_SUPPORTED_FEATURES = [
|
|
10
|
+
'intersection-types',
|
|
11
|
+
'class-covariant-overrides',
|
|
12
|
+
];
|
|
10
13
|
class JsiiModule {
|
|
11
14
|
constructor(options) {
|
|
12
15
|
this.name = options.name;
|
package/lib/rosetta-assembly.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.assertSpecIsRosettaCompatible = assertSpecIsRosettaCompatible;
|
|
4
4
|
const ROSETTA_SUPPORTED_ASSEMBLY_FEATURES = [
|
|
5
5
|
'intersection-types',
|
|
6
|
+
'class-covariant-overrides',
|
|
6
7
|
];
|
|
7
8
|
/**
|
|
8
9
|
* Assert that the given spec is safe to give to Rosetta
|
package/lib/targets/java.js
CHANGED
|
@@ -1562,7 +1562,9 @@ class JavaGenerator extends generator_1.Generator {
|
|
|
1562
1562
|
memberName: prop.name,
|
|
1563
1563
|
});
|
|
1564
1564
|
this.emitStabilityAnnotations(prop.spec);
|
|
1565
|
-
|
|
1565
|
+
// FIXME: generix
|
|
1566
|
+
const renderedType = displayType(javaType, 'covariant');
|
|
1567
|
+
this.code.openBlock(`public ${typeVarDeclarations([javaType])}${BUILDER_CLASS_NAME} ${fieldName}(final ${renderedType} ${fieldName})`);
|
|
1566
1568
|
this.code.line(`this.${structParamName}${firstStruct.optional ? '()' : ''}.${fieldName}(${fieldName});`);
|
|
1567
1569
|
this.code.line('return this;');
|
|
1568
1570
|
this.code.closeBlock();
|
package/lib/version.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The short version number for this jsii-pacmak release (e.g: `X.Y.Z`) */
|
|
2
2
|
export declare const VERSION: string;
|
|
3
3
|
/** The qualified version number for this jsii-pacmak release (e.g: `X.Y.Z (build #######)`) */
|
|
4
|
-
export declare const VERSION_DESC = "1.
|
|
4
|
+
export declare const VERSION_DESC = "1.117.0 (build b8499c7)";
|
|
5
5
|
//# sourceMappingURL=version.d.ts.map
|
package/lib/version.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Generated at 2025-
|
|
2
|
+
// Generated at 2025-10-22T16:32:40Z 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-pacmak release (e.g: `X.Y.Z`) */
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
7
|
-
exports.VERSION = '1.
|
|
7
|
+
exports.VERSION = '1.117.0';
|
|
8
8
|
/** The qualified version number for this jsii-pacmak release (e.g: `X.Y.Z (build #######)`) */
|
|
9
|
-
exports.VERSION_DESC = '1.
|
|
9
|
+
exports.VERSION_DESC = '1.117.0 (build b8499c7)';
|
|
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.117.0",
|
|
4
4
|
"description": "A code generation framework for jsii backend languages",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"gen": "bash generate.sh",
|
|
29
29
|
"build": "yarn gen && tsc --build && chmod +x bin/jsii-pacmak && yarn lint",
|
|
30
30
|
"watch": "tsc --build -w",
|
|
31
|
-
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint . --ext .js,.ts --ignore-path=.gitignore",
|
|
31
|
+
"lint": "ESLINT_USE_FLAT_CONFIG=false NODE_OPTIONS='--disable-warning=ESLintRCWarning' eslint . --ext .js,.ts --ignore-path=.gitignore",
|
|
32
32
|
"lint:fix": "yarn lint --fix",
|
|
33
33
|
"test": "yarn test:unit && yarn test:build",
|
|
34
34
|
"test:unit": "jest",
|
|
@@ -37,24 +37,24 @@
|
|
|
37
37
|
"package": "package-js"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@jsii/check-node": "1.
|
|
41
|
-
"@jsii/spec": "1.
|
|
40
|
+
"@jsii/check-node": "1.117.0",
|
|
41
|
+
"@jsii/spec": "1.117.0",
|
|
42
42
|
"clone": "^2.1.2",
|
|
43
|
-
"codemaker": "^1.
|
|
43
|
+
"codemaker": "^1.117.0",
|
|
44
44
|
"commonmark": "^0.31.2",
|
|
45
45
|
"escape-string-regexp": "^4.0.0",
|
|
46
46
|
"fs-extra": "^10.1.0",
|
|
47
|
-
"jsii-reflect": "^1.
|
|
47
|
+
"jsii-reflect": "^1.117.0",
|
|
48
48
|
"semver": "^7.7.2",
|
|
49
49
|
"spdx-license-list": "^6.10.0",
|
|
50
50
|
"xmlbuilder": "^15.1.1",
|
|
51
51
|
"yargs": "^17.7.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@jsii/dotnet-runtime": "^1.
|
|
55
|
-
"@jsii/go-runtime": "^1.
|
|
56
|
-
"@jsii/java-runtime": "^1.
|
|
57
|
-
"@scope/jsii-calc-lib": "^1.
|
|
54
|
+
"@jsii/dotnet-runtime": "^1.117.0",
|
|
55
|
+
"@jsii/go-runtime": "^1.117.0",
|
|
56
|
+
"@jsii/java-runtime": "^1.117.0",
|
|
57
|
+
"@scope/jsii-calc-lib": "^1.117.0",
|
|
58
58
|
"@types/clone": "^2.1.4",
|
|
59
59
|
"@types/commonmark": "^0.27.10",
|
|
60
60
|
"@types/diff": "^5.2.3",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"@types/semver": "^7.7.0",
|
|
63
63
|
"@types/yargs": "^17.0.33",
|
|
64
64
|
"diff": "^5.2.0",
|
|
65
|
-
"jsii": "^5.9.
|
|
66
|
-
"jsii-build-tools": "^1.
|
|
65
|
+
"jsii": "^5.9.10",
|
|
66
|
+
"jsii-build-tools": "^1.117.0",
|
|
67
67
|
"jsii-calc": "^3.20.120",
|
|
68
|
-
"jsii-rosetta": "~5.9.
|
|
68
|
+
"jsii-rosetta": "~5.9.10",
|
|
69
69
|
"pyright": "^1.1.403"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|