jsii-pacmak 1.109.0 → 1.111.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 CHANGED
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.JsiiModule = exports.DEFAULT_PACK_COMMAND = void 0;
4
4
  const fs = require("fs-extra");
5
- const os = require("os");
6
5
  const path = require("path");
7
6
  const util_1 = require("./util");
8
7
  const logging = require("../lib/logging");
@@ -39,10 +38,13 @@ class JsiiModule {
39
38
  // Take only the last line of npm pack which should contain the
40
39
  // tarball name. otherwise, there can be a lot of extra noise there
41
40
  // from scripts that emit to STDOUT.
42
- const lines = out.trim().split(os.EOL);
41
+ // Since we are interested in the text *after* the last newline, splitting on '\n' is correct
42
+ // both on Linux/Mac (EOL = '\n') and Windows (EOL = '\r\n'), and also for UNIX tools running
43
+ // on Windows (expected EOL = '\r\n', actual EOL = '\n').
44
+ const lines = out.trim().split('\n');
43
45
  const lastLine = lines[lines.length - 1].trim();
44
46
  if (!lastLine.endsWith('.tgz') && !lastLine.endsWith('.tar.gz')) {
45
- throw new Error(`${packCommand} did not produce tarball from ${this.moduleDirectory} into ${tmpdir} (output was ${JSON.stringify(lines)})`);
47
+ throw new Error(`${packCommand} did not produce tarball from ${this.moduleDirectory} into ${tmpdir} (output was ${JSON.stringify(lines.map((l) => l.trimEnd()))})`);
46
48
  }
47
49
  return path.resolve(tmpdir, lastLine);
48
50
  });
@@ -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~=70.0.0 # build-system
6
+ setuptools~=75.3.2 # build-system
7
7
  wheel~=0.42 # build-system
8
8
 
9
9
  twine~=6.1.0
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.109.0 (build c221850)";
4
+ export declare const VERSION_DESC = "1.111.0 (build cc021d6)";
5
5
  //# sourceMappingURL=version.d.ts.map
package/lib/version.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
- // Generated at 2025-03-11T19:16:13Z by generate.sh
2
+ // Generated at 2025-04-02T16:26:41Z 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.109.0';
7
+ exports.VERSION = '1.111.0';
8
8
  /** The qualified version number for this jsii-pacmak release (e.g: `X.Y.Z (build #######)`) */
9
- exports.VERSION_DESC = '1.109.0 (build c221850)';
9
+ exports.VERSION_DESC = '1.111.0 (build cc021d6)';
10
10
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsii-pacmak",
3
- "version": "1.109.0",
3
+ "version": "1.111.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.109.0",
41
- "@jsii/spec": "^1.109.0",
40
+ "@jsii/check-node": "1.111.0",
41
+ "@jsii/spec": "^1.111.0",
42
42
  "clone": "^2.1.2",
43
- "codemaker": "^1.109.0",
43
+ "codemaker": "^1.111.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.109.0",
47
+ "jsii-reflect": "^1.111.0",
48
48
  "semver": "^7.7.1",
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.109.0",
55
- "@jsii/go-runtime": "^1.109.0",
56
- "@jsii/java-runtime": "^1.109.0",
57
- "@scope/jsii-calc-lib": "^1.109.0",
54
+ "@jsii/dotnet-runtime": "^1.111.0",
55
+ "@jsii/go-runtime": "^1.111.0",
56
+ "@jsii/java-runtime": "^1.111.0",
57
+ "@scope/jsii-calc-lib": "^1.111.0",
58
58
  "@types/clone": "^2.1.4",
59
59
  "@types/commonmark": "^0.27.9",
60
60
  "@types/diff": "^5.2.3",
61
61
  "@types/fs-extra": "^9.0.13",
62
62
  "@types/semver": "^7.5.8",
63
63
  "diff": "^5.2.0",
64
- "jsii": "^5.7.0",
65
- "jsii-build-tools": "^1.109.0",
64
+ "jsii": "^5.8.0",
65
+ "jsii-build-tools": "^1.111.0",
66
66
  "jsii-calc": "^3.20.120",
67
- "jsii-rosetta": "~5.7.0",
67
+ "jsii-rosetta": "~5.8.0",
68
68
  "pyright": "^1.1.395"
69
69
  },
70
70
  "peerDependencies": {
71
- "jsii-rosetta": ">=5.4.0"
71
+ "jsii-rosetta": ">=5.5.0"
72
72
  },
73
73
  "keywords": [
74
74
  "jsii",