jsii-pacmak 1.100.0 → 1.102.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.
@@ -3,7 +3,7 @@
3
3
  # be installed in the virtual environment used for building the distribution
4
4
  # package (wheel, sdist), but not declared as build-system dependencies.
5
5
 
6
- setuptools~=67.3.2 # build-system
6
+ setuptools~=70.0.0 # build-system
7
7
  wheel~=0.42 # build-system
8
8
 
9
- twine~=5.1.0
9
+ twine~=5.1.1
@@ -634,7 +634,7 @@ class BaseProperty {
634
634
  // PyRight and MyPY both special-case @property, but not custom implementations such as our @classproperty...
635
635
  // MyPY reports on the re-declaration, but PyRight reports on the initial declaration (duh!)
636
636
  this.isStatic && !this.immutable
637
- ? 'pyright: ignore [reportGeneralTypeIssues]'
637
+ ? 'pyright: ignore [reportGeneralTypeIssues,reportRedeclaration]'
638
638
  : undefined);
639
639
  this.generator.emitDocString(code, this.apiLocation, this.docs, {
640
640
  documentableItem: `prop-${this.pythonName}`,
@@ -660,7 +660,10 @@ class BaseProperty {
660
660
  if ((this.shouldEmitBody || forceEmitBody) &&
661
661
  (!renderAbstract || !this.abstract)) {
662
662
  emitParameterTypeChecks(code, context, [`value: ${pythonType}`], `${this.pythonParent.fqn ?? this.pythonParent.pythonName}#${this.pythonName}`);
663
- code.line(`jsii.${this.jsiiSetMethod}(${this.implicitParameter}, "${this.jsName}", value)`);
663
+ // In case of a static setter, the 'cls' type is the class type but because we use a custom
664
+ // decorator to make the setter operate on classes instead of objects, pyright doesn't know about
665
+ // that and thinks the first argument is an instance instead of a class. Shut it up.
666
+ code.line(`jsii.${this.jsiiSetMethod}(${this.implicitParameter}, "${this.jsName}", value) # pyright: ignore[reportArgumentType]`);
664
667
  }
665
668
  else {
666
669
  code.line('...');
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.100.0 (build 6a776be)";
4
+ export declare const VERSION_DESC = "1.102.0 (build e354887)";
5
5
  //# sourceMappingURL=version.d.ts.map
package/lib/version.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
- // Generated at 2024-06-13T18:54:51Z by generate.sh
2
+ // Generated at 2024-08-02T14:45:31Z 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.100.0';
7
+ exports.VERSION = '1.102.0';
8
8
  /** The qualified version number for this jsii-pacmak release (e.g: `X.Y.Z (build #######)`) */
9
- exports.VERSION_DESC = '1.100.0 (build 6a776be)';
9
+ exports.VERSION_DESC = '1.102.0 (build e354887)';
10
10
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsii-pacmak",
3
- "version": "1.100.0",
3
+ "version": "1.102.0",
4
4
  "description": "A code generation framework for jsii backend languages",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -37,38 +37,38 @@
37
37
  "package": "package-js"
38
38
  },
39
39
  "dependencies": {
40
- "@jsii/check-node": "1.100.0",
41
- "@jsii/spec": "^1.100.0",
40
+ "@jsii/check-node": "1.102.0",
41
+ "@jsii/spec": "^1.102.0",
42
42
  "clone": "^2.1.2",
43
- "codemaker": "^1.100.0",
44
- "commonmark": "^0.31.0",
43
+ "codemaker": "^1.102.0",
44
+ "commonmark": "^0.31.1",
45
45
  "escape-string-regexp": "^4.0.0",
46
46
  "fs-extra": "^10.1.0",
47
- "jsii-reflect": "^1.100.0",
48
- "semver": "^7.6.0",
47
+ "jsii-reflect": "^1.102.0",
48
+ "semver": "^7.6.3",
49
49
  "spdx-license-list": "^6.9.0",
50
50
  "xmlbuilder": "^15.1.1",
51
51
  "yargs": "^16.2.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@jsii/dotnet-runtime": "^1.100.0",
55
- "@jsii/java-runtime": "^1.100.0",
56
- "@jsii/go-runtime": "^1.100.0",
57
- "@scope/jsii-calc-lib": "^1.100.0",
54
+ "@jsii/dotnet-runtime": "^1.102.0",
55
+ "@jsii/java-runtime": "^1.102.0",
56
+ "@jsii/go-runtime": "^1.102.0",
57
+ "@scope/jsii-calc-lib": "^1.102.0",
58
58
  "@types/clone": "^2.1.4",
59
- "@types/diff": "^5.2.0",
59
+ "@types/diff": "^5.2.1",
60
60
  "@types/commonmark": "^0.27.9",
61
61
  "@types/fs-extra": "^9.0.13",
62
62
  "@types/semver": "^7.5.8",
63
63
  "diff": "^5.2.0",
64
- "jsii": "^1.100.0",
65
- "jsii-build-tools": "^1.100.0",
64
+ "jsii": "^1.102.0",
65
+ "jsii-build-tools": "^1.102.0",
66
66
  "jsii-calc": "^3.20.120",
67
- "jsii-rosetta": "^1.100.0",
68
- "pyright": "^1.1.332"
67
+ "jsii-rosetta": "^1.102.0",
68
+ "pyright": "^1.1.374"
69
69
  },
70
70
  "peerDependencies": {
71
- "jsii-rosetta": "^1.100.0 || ~5.2.0 || ~5.3.0 || ~5.4.0"
71
+ "jsii-rosetta": "^1.102.0 || ~5.2.0 || ~5.3.0 || ~5.4.0"
72
72
  },
73
73
  "keywords": [
74
74
  "jsii",