projen 0.67.85 → 0.67.87

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 (131) hide show
  1. package/.jsii +2 -2
  2. package/lib/awscdk/auto-discover.js +5 -5
  3. package/lib/awscdk/awscdk-app-java.js +1 -1
  4. package/lib/awscdk/awscdk-app-py.js +1 -1
  5. package/lib/awscdk/awscdk-app-ts.js +1 -1
  6. package/lib/awscdk/awscdk-construct.js +2 -2
  7. package/lib/awscdk/awscdk-deps-java.js +1 -1
  8. package/lib/awscdk/awscdk-deps-js.js +1 -1
  9. package/lib/awscdk/awscdk-deps-py.js +1 -1
  10. package/lib/awscdk/awscdk-deps.js +1 -1
  11. package/lib/awscdk/cdk-config.js +1 -1
  12. package/lib/awscdk/cdk-tasks.js +1 -1
  13. package/lib/awscdk/integration-test.js +1 -1
  14. package/lib/awscdk/lambda-extension.js +1 -1
  15. package/lib/awscdk/lambda-function.js +2 -2
  16. package/lib/build/build-workflow.js +1 -1
  17. package/lib/cdk/auto-discover-base.js +2 -2
  18. package/lib/cdk/construct-lib.js +1 -1
  19. package/lib/cdk/integration-test-base.js +1 -1
  20. package/lib/cdk/jsii-docgen.js +1 -1
  21. package/lib/cdk/jsii-project.js +1 -1
  22. package/lib/cdk8s/auto-discover.js +2 -2
  23. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  24. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  25. package/lib/cdk8s/cdk8s-construct.js +1 -1
  26. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  27. package/lib/cdk8s/cdk8s-deps.js +1 -1
  28. package/lib/cdk8s/integration-test.js +1 -1
  29. package/lib/cdktf/cdktf-construct.js +1 -1
  30. package/lib/circleci/circleci.js +1 -1
  31. package/lib/component.js +1 -1
  32. package/lib/dependencies.js +1 -1
  33. package/lib/dev-env.js +1 -1
  34. package/lib/docker-compose/docker-compose-service.js +1 -1
  35. package/lib/docker-compose/docker-compose.js +1 -1
  36. package/lib/file.js +1 -1
  37. package/lib/gitattributes.js +1 -1
  38. package/lib/github/actions-provider.js +1 -1
  39. package/lib/github/auto-approve.js +1 -1
  40. package/lib/github/auto-merge.js +1 -1
  41. package/lib/github/dependabot.js +1 -1
  42. package/lib/github/github-credentials.js +1 -1
  43. package/lib/github/github-project.js +1 -1
  44. package/lib/github/github.js +1 -1
  45. package/lib/github/mergify.js +1 -1
  46. package/lib/github/pr-template.js +1 -1
  47. package/lib/github/pull-request-lint.js +1 -1
  48. package/lib/github/stale.js +1 -1
  49. package/lib/github/task-workflow.js +1 -1
  50. package/lib/github/workflows.js +1 -1
  51. package/lib/gitlab/configuration.js +1 -1
  52. package/lib/gitlab/gitlab-configuration.js +1 -1
  53. package/lib/gitlab/nested-configuration.js +1 -1
  54. package/lib/gitpod.js +1 -1
  55. package/lib/ignore-file.js +1 -1
  56. package/lib/ini.js +1 -1
  57. package/lib/java/java-project.js +1 -1
  58. package/lib/java/junit.js +1 -1
  59. package/lib/java/maven-compile.js +1 -1
  60. package/lib/java/maven-packaging.js +1 -1
  61. package/lib/java/maven-sample.js +1 -1
  62. package/lib/java/pom.js +1 -1
  63. package/lib/java/projenrc.js +1 -1
  64. package/lib/javascript/bundler.js +1 -1
  65. package/lib/javascript/eslint.js +1 -1
  66. package/lib/javascript/jest.js +1 -1
  67. package/lib/javascript/node-package.js +1 -1
  68. package/lib/javascript/node-project.js +1 -1
  69. package/lib/javascript/npm-config.js +1 -1
  70. package/lib/javascript/prettier.js +1 -1
  71. package/lib/javascript/projenrc.js +1 -1
  72. package/lib/javascript/typescript-config.js +1 -1
  73. package/lib/javascript/upgrade-dependencies.js +2 -2
  74. package/lib/json-patch.js +1 -1
  75. package/lib/json.js +1 -1
  76. package/lib/license.js +1 -1
  77. package/lib/logger.js +1 -1
  78. package/lib/makefile.js +1 -1
  79. package/lib/object-file.js +1 -1
  80. package/lib/project-build.js +1 -1
  81. package/lib/project.js +1 -1
  82. package/lib/projects.js +1 -1
  83. package/lib/projenrc-json.js +1 -1
  84. package/lib/python/pip.js +1 -1
  85. package/lib/python/poetry.js +2 -2
  86. package/lib/python/projenrc.js +1 -1
  87. package/lib/python/pytest-sample.js +1 -1
  88. package/lib/python/pytest.js +1 -1
  89. package/lib/python/python-project.js +1 -1
  90. package/lib/python/python-sample.js +1 -1
  91. package/lib/python/requirements-file.js +1 -1
  92. package/lib/python/setuppy.js +1 -1
  93. package/lib/python/setuptools.js +1 -1
  94. package/lib/python/venv.js +1 -1
  95. package/lib/readme.js +1 -1
  96. package/lib/release/publisher.js +1 -1
  97. package/lib/release/release-trigger.js +1 -1
  98. package/lib/release/release.js +1 -1
  99. package/lib/renovatebot.js +1 -1
  100. package/lib/run-task.js +0 -1878
  101. package/lib/sample-file.js +2 -2
  102. package/lib/semver.js +1 -1
  103. package/lib/source-code.js +1 -1
  104. package/lib/task-runtime.js +1 -1
  105. package/lib/task.js +1 -1
  106. package/lib/tasks.js +1 -1
  107. package/lib/testing.js +1 -1
  108. package/lib/textfile.js +1 -1
  109. package/lib/toml.js +1 -1
  110. package/lib/typescript/projenrc.js +1 -1
  111. package/lib/typescript/typescript-typedoc.js +1 -1
  112. package/lib/typescript/typescript.js +3 -3
  113. package/lib/version.js +1 -1
  114. package/lib/vscode/devcontainer.js +1 -1
  115. package/lib/vscode/extensions.js +1 -1
  116. package/lib/vscode/launch-config.js +1 -1
  117. package/lib/vscode/settings.js +1 -1
  118. package/lib/vscode/vscode.js +1 -1
  119. package/lib/web/next.js +3 -3
  120. package/lib/web/postcss.js +1 -1
  121. package/lib/web/react.js +4 -4
  122. package/lib/web/tailwind.js +1 -1
  123. package/lib/xmlfile.js +1 -1
  124. package/lib/yaml.js +1 -1
  125. package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
  126. package/node_modules/xmlbuilder2/node_modules/@types/node/crypto.d.ts +10 -4
  127. package/node_modules/xmlbuilder2/node_modules/@types/node/fs/promises.d.ts +21 -0
  128. package/node_modules/xmlbuilder2/node_modules/@types/node/fs.d.ts +100 -0
  129. package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
  130. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/crypto.d.ts +10 -4
  131. package/package.json +1 -1
@@ -1307,6 +1307,7 @@ declare module 'crypto' {
1307
1307
  interface VerifyKeyObjectInput extends SigningOptions {
1308
1308
  key: KeyObject;
1309
1309
  }
1310
+ interface VerifyJsonWebKeyInput extends JsonWebKeyInput, SigningOptions {}
1310
1311
  type KeyLike = string | Buffer | KeyObject;
1311
1312
  /**
1312
1313
  * The `Sign` class is a utility for generating signatures. It can be used in one
@@ -1461,8 +1462,8 @@ declare module 'crypto' {
1461
1462
  * be passed instead of a public key.
1462
1463
  * @since v0.1.92
1463
1464
  */
1464
- verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: NodeJS.ArrayBufferView): boolean;
1465
- verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: string, signature_format?: BinaryToTextEncoding): boolean;
1465
+ verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, signature: NodeJS.ArrayBufferView): boolean;
1466
+ verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, signature: string, signature_format?: BinaryToTextEncoding): boolean;
1466
1467
  }
1467
1468
  /**
1468
1469
  * Creates a `DiffieHellman` key exchange object using the supplied `prime` and an
@@ -2970,11 +2971,16 @@ declare module 'crypto' {
2970
2971
  * If the `callback` function is provided this function uses libuv's threadpool.
2971
2972
  * @since v12.0.0
2972
2973
  */
2973
- function verify(algorithm: string | null | undefined, data: NodeJS.ArrayBufferView, key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: NodeJS.ArrayBufferView): boolean;
2974
2974
  function verify(
2975
2975
  algorithm: string | null | undefined,
2976
2976
  data: NodeJS.ArrayBufferView,
2977
- key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput,
2977
+ key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput,
2978
+ signature: NodeJS.ArrayBufferView
2979
+ ): boolean;
2980
+ function verify(
2981
+ algorithm: string | null | undefined,
2982
+ data: NodeJS.ArrayBufferView,
2983
+ key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput,
2978
2984
  signature: NodeJS.ArrayBufferView,
2979
2985
  callback: (error: Error | null, result: boolean) => void
2980
2986
  ): void;
@@ -14,6 +14,7 @@ declare module 'fs/promises' {
14
14
  import { ReadableStream } from 'node:stream/web';
15
15
  import {
16
16
  BigIntStats,
17
+ BigIntStatsFs,
17
18
  BufferEncodingOption,
18
19
  constants as fsConstants,
19
20
  CopyOptions,
@@ -30,7 +31,9 @@ declare module 'fs/promises' {
30
31
  RmDirOptions,
31
32
  RmOptions,
32
33
  StatOptions,
34
+ StatFsOptions,
33
35
  Stats,
36
+ StatsFs,
34
37
  TimeLike,
35
38
  WatchEventType,
36
39
  WatchOptions,
@@ -745,6 +748,24 @@ declare module 'fs/promises' {
745
748
  }
746
749
  ): Promise<BigIntStats>;
747
750
  function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
751
+ /**
752
+ * @since v18.15.0
753
+ * @return Fulfills with an {fs.StatFs} for the file system.
754
+ */
755
+ function statfs(
756
+ path: PathLike,
757
+ opts?: StatFsOptions & {
758
+ bigint?: false | undefined;
759
+ }
760
+ ): Promise<StatsFs>;
761
+ function statfs(
762
+ path: PathLike,
763
+ opts: StatFsOptions & {
764
+ bigint: true;
765
+ }
766
+ ): Promise<BigIntStatsFs>;
767
+ function statfs(path: PathLike, opts?: StatFsOptions): Promise<StatsFs | BigIntStatsFs>;
768
+
748
769
  /**
749
770
  * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail.
750
771
  * @since v10.0.0
@@ -131,6 +131,42 @@ declare module 'fs' {
131
131
  * @since v0.1.21
132
132
  */
133
133
  export class Stats {}
134
+
135
+ export interface StatsFsBase<T> {
136
+ /** Type of file system. */
137
+ type: T;
138
+ /** Optimal transfer block size. */
139
+ bsize: T;
140
+ /** Total data blocks in file system. */
141
+ blocks: T;
142
+ /** Free blocks in file system. */
143
+ bfree: T;
144
+ /** Available blocks for unprivileged users */
145
+ bavail: T;
146
+ /** Total file nodes in file system. */
147
+ files: T;
148
+ /** Free file nodes in file system. */
149
+ ffree: T;
150
+ }
151
+
152
+ export interface StatsFs extends StatsFsBase<number> {}
153
+
154
+ /**
155
+ * Provides information about a mounted file system
156
+ *
157
+ * Objects returned from {@link statfs} and {@link statfsSync} are of this type.
158
+ * If `bigint` in the `options` passed to those methods is true, the numeric values
159
+ * will be `bigint` instead of `number`.
160
+ * @since v18.15.0
161
+ */
162
+ export class StatsFs {}
163
+
164
+ export interface BigIntStatsFs extends StatsFsBase<bigint> {}
165
+
166
+ export interface StatFsOptions {
167
+ bigint?: boolean | undefined;
168
+ }
169
+
134
170
  /**
135
171
  * A representation of a directory entry, which can be a file or a subdirectory
136
172
  * within the directory, as returned by reading from an `fs.Dir`. The
@@ -1081,6 +1117,70 @@ declare module 'fs' {
1081
1117
  ): Promise<BigIntStats>;
1082
1118
  function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
1083
1119
  }
1120
+ /**
1121
+ * Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.
1122
+ * In case of an error, the err.code will be one of Common System Errors.
1123
+ * @param path A path to an existing file or directory on the file system to be queried.
1124
+ * @param callback
1125
+ */
1126
+ export function statfs(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void;
1127
+ export function statfs(
1128
+ path: PathLike,
1129
+ options:
1130
+ | (StatFsOptions & {
1131
+ bigint?: false | undefined;
1132
+ })
1133
+ | undefined,
1134
+ callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void
1135
+ ): void;
1136
+ export function statfs(
1137
+ path: PathLike,
1138
+ options: StatFsOptions & {
1139
+ bigint: true;
1140
+ },
1141
+ callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void
1142
+ ): void;
1143
+ export function statfs(path: PathLike, options: StatFsOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void): void;
1144
+ export namespace statfs {
1145
+ /**
1146
+ * Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.
1147
+ * @param path A path to an existing file or directory on the file system to be queried.
1148
+ */
1149
+ function __promisify__(
1150
+ path: PathLike,
1151
+ options?: StatFsOptions & {
1152
+ bigint?: false | undefined;
1153
+ }
1154
+ ): Promise<StatsFs>;
1155
+ function __promisify__(
1156
+ path: PathLike,
1157
+ options: StatFsOptions & {
1158
+ bigint: true;
1159
+ }
1160
+ ): Promise<BigIntStatsFs>;
1161
+ function __promisify__(path: PathLike, options?: StatFsOptions): Promise<StatsFs | BigIntStatsFs>;
1162
+ }
1163
+
1164
+ /**
1165
+ * Synchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.
1166
+ * In case of an error, the err.code will be one of Common System Errors.
1167
+ * @param path A path to an existing file or directory on the file system to be queried.
1168
+ * @param callback
1169
+ */
1170
+ export function statfsSync(
1171
+ path: PathLike,
1172
+ options?: StatFsOptions & {
1173
+ bigint?: false | undefined;
1174
+ }
1175
+ ): StatsFs;
1176
+ export function statfsSync(
1177
+ path: PathLike,
1178
+ options: StatFsOptions & {
1179
+ bigint: true;
1180
+ }
1181
+ ): BigIntStatsFs;
1182
+
1183
+ export function statfsSync(path: PathLike, options?: StatFsOptions): StatsFs | BigIntStatsFs;
1084
1184
  /**
1085
1185
  * Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
1086
1186
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.15.0",
3
+ "version": "18.15.2",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -232,6 +232,6 @@
232
232
  },
233
233
  "scripts": {},
234
234
  "dependencies": {},
235
- "typesPublisherContentHash": "18d99f309cf54ef71944b4f8cab770334defff1d97894154f8c301b78637539f",
235
+ "typesPublisherContentHash": "70e4745f448907d2bd7b085cbd44e6d0fb2cf77bf9977c42fa91ecb9cbfb5655",
236
236
  "typeScriptVersion": "4.2"
237
237
  }
@@ -1307,6 +1307,7 @@ declare module 'crypto' {
1307
1307
  interface VerifyKeyObjectInput extends SigningOptions {
1308
1308
  key: KeyObject;
1309
1309
  }
1310
+ interface VerifyJsonWebKeyInput extends JsonWebKeyInput, SigningOptions {}
1310
1311
  type KeyLike = string | Buffer | KeyObject;
1311
1312
  /**
1312
1313
  * The `Sign` class is a utility for generating signatures. It can be used in one
@@ -1461,8 +1462,8 @@ declare module 'crypto' {
1461
1462
  * be passed instead of a public key.
1462
1463
  * @since v0.1.92
1463
1464
  */
1464
- verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: NodeJS.ArrayBufferView): boolean;
1465
- verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: string, signature_format?: BinaryToTextEncoding): boolean;
1465
+ verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, signature: NodeJS.ArrayBufferView): boolean;
1466
+ verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, signature: string, signature_format?: BinaryToTextEncoding): boolean;
1466
1467
  }
1467
1468
  /**
1468
1469
  * Creates a `DiffieHellman` key exchange object using the supplied `prime` and an
@@ -2970,11 +2971,16 @@ declare module 'crypto' {
2970
2971
  * If the `callback` function is provided this function uses libuv's threadpool.
2971
2972
  * @since v12.0.0
2972
2973
  */
2973
- function verify(algorithm: string | null | undefined, data: NodeJS.ArrayBufferView, key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: NodeJS.ArrayBufferView): boolean;
2974
2974
  function verify(
2975
2975
  algorithm: string | null | undefined,
2976
2976
  data: NodeJS.ArrayBufferView,
2977
- key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput,
2977
+ key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput,
2978
+ signature: NodeJS.ArrayBufferView
2979
+ ): boolean;
2980
+ function verify(
2981
+ algorithm: string | null | undefined,
2982
+ data: NodeJS.ArrayBufferView,
2983
+ key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput,
2978
2984
  signature: NodeJS.ArrayBufferView,
2979
2985
  callback: (error: Error | null, result: boolean) => void
2980
2986
  ): void;
package/package.json CHANGED
@@ -125,7 +125,7 @@
125
125
  },
126
126
  "main": "lib/index.js",
127
127
  "license": "Apache-2.0",
128
- "version": "0.67.85",
128
+ "version": "0.67.87",
129
129
  "jest": {
130
130
  "maxWorkers": "50%",
131
131
  "testMatch": [