projen 0.71.22 → 0.71.24

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 (145) hide show
  1. package/.jsii +3 -3
  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/workflow-actions.js +1 -1
  51. package/lib/github/workflow-jobs.js +1 -1
  52. package/lib/github/workflows.js +1 -1
  53. package/lib/gitlab/configuration.js +1 -1
  54. package/lib/gitlab/gitlab-configuration.js +1 -1
  55. package/lib/gitlab/nested-configuration.js +1 -1
  56. package/lib/gitpod.js +1 -1
  57. package/lib/ignore-file.js +1 -1
  58. package/lib/ini.js +1 -1
  59. package/lib/java/java-project.js +1 -1
  60. package/lib/java/junit.js +1 -1
  61. package/lib/java/maven-compile.js +1 -1
  62. package/lib/java/maven-packaging.js +1 -1
  63. package/lib/java/maven-sample.js +1 -1
  64. package/lib/java/pom.js +1 -1
  65. package/lib/java/projenrc.js +1 -1
  66. package/lib/javascript/bundler.js +1 -1
  67. package/lib/javascript/eslint.js +1 -1
  68. package/lib/javascript/jest.js +4 -4
  69. package/lib/javascript/node-package.js +1 -1
  70. package/lib/javascript/node-project.js +1 -1
  71. package/lib/javascript/npm-config.js +1 -1
  72. package/lib/javascript/prettier.js +1 -1
  73. package/lib/javascript/projenrc.js +1 -1
  74. package/lib/javascript/typescript-config.js +1 -1
  75. package/lib/javascript/upgrade-dependencies.js +2 -2
  76. package/lib/json-patch.js +1 -1
  77. package/lib/json.js +1 -1
  78. package/lib/license.js +1 -1
  79. package/lib/logger.js +1 -1
  80. package/lib/makefile.js +1 -1
  81. package/lib/object-file.js +1 -1
  82. package/lib/project-build.js +1 -1
  83. package/lib/project.js +1 -1
  84. package/lib/projects.js +1 -1
  85. package/lib/projenrc-json.js +2 -2
  86. package/lib/projenrc.js +1 -1
  87. package/lib/python/pip.js +1 -1
  88. package/lib/python/poetry.js +2 -2
  89. package/lib/python/projenrc.js +1 -1
  90. package/lib/python/pytest-sample.js +1 -1
  91. package/lib/python/pytest.js +1 -1
  92. package/lib/python/python-project.js +1 -1
  93. package/lib/python/python-sample.js +1 -1
  94. package/lib/python/requirements-file.js +1 -1
  95. package/lib/python/setuppy.js +1 -1
  96. package/lib/python/setuptools.js +1 -1
  97. package/lib/python/venv.js +1 -1
  98. package/lib/readme.js +1 -1
  99. package/lib/release/publisher.js +1 -1
  100. package/lib/release/release-trigger.js +1 -1
  101. package/lib/release/release.js +1 -1
  102. package/lib/renovatebot.js +1 -1
  103. package/lib/sample-file.js +2 -2
  104. package/lib/semver.js +1 -1
  105. package/lib/source-code.js +1 -1
  106. package/lib/task-runtime.js +1 -1
  107. package/lib/task.js +1 -1
  108. package/lib/tasks.js +1 -1
  109. package/lib/testing.js +1 -1
  110. package/lib/textfile.js +1 -1
  111. package/lib/toml.js +1 -1
  112. package/lib/typescript/projenrc-ts.js +1 -1
  113. package/lib/typescript/projenrc.js +1 -1
  114. package/lib/typescript/typescript-typedoc.js +1 -1
  115. package/lib/typescript/typescript.js +3 -3
  116. package/lib/version.js +1 -1
  117. package/lib/vscode/devcontainer.js +1 -1
  118. package/lib/vscode/extensions.js +1 -1
  119. package/lib/vscode/launch-config.js +1 -1
  120. package/lib/vscode/settings.js +1 -1
  121. package/lib/vscode/vscode.js +1 -1
  122. package/lib/web/next.js +3 -3
  123. package/lib/web/postcss.js +1 -1
  124. package/lib/web/react.js +4 -4
  125. package/lib/web/tailwind.js +1 -1
  126. package/lib/xmlfile.js +1 -1
  127. package/lib/yaml.js +1 -1
  128. package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
  129. package/node_modules/xmlbuilder2/node_modules/@types/node/async_hooks.d.ts +17 -12
  130. package/node_modules/xmlbuilder2/node_modules/@types/node/buffer.d.ts +8 -0
  131. package/node_modules/xmlbuilder2/node_modules/@types/node/events.d.ts +5 -1
  132. package/node_modules/xmlbuilder2/node_modules/@types/node/index.d.ts +1 -1
  133. package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
  134. package/node_modules/xmlbuilder2/node_modules/@types/node/tls.d.ts +3 -6
  135. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/async_hooks.d.ts +17 -12
  136. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/buffer.d.ts +9 -2
  137. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/events.d.ts +5 -1
  138. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/tls.d.ts +3 -6
  139. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/url.d.ts +5 -0
  140. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/util.d.ts +6 -0
  141. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/worker_threads.d.ts +6 -0
  142. package/node_modules/xmlbuilder2/node_modules/@types/node/url.d.ts +5 -0
  143. package/node_modules/xmlbuilder2/node_modules/@types/node/util.d.ts +6 -0
  144. package/node_modules/xmlbuilder2/node_modules/@types/node/worker_threads.d.ts +6 -0
  145. package/package.json +2 -2
@@ -768,12 +768,9 @@ declare module 'tls' {
768
768
  */
769
769
  crl?: string | Buffer | Array<string | Buffer> | undefined;
770
770
  /**
771
- * Diffie Hellman parameters, required for Perfect Forward Secrecy. Use
772
- * openssl dhparam to create the parameters. The key length must be
773
- * greater than or equal to 1024 bits or else an error will be thrown.
774
- * Although 1024 bits is permissible, use 2048 bits or larger for
775
- * stronger security. If omitted or invalid, the parameters are
776
- * silently discarded and DHE ciphers will not be available.
771
+ * `'auto'` or custom Diffie-Hellman parameters, required for non-ECDHE perfect forward secrecy.
772
+ * If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available.
773
+ * ECDHE-based perfect forward secrecy will still be available.
777
774
  */
778
775
  dhparam?: string | Buffer | undefined;
779
776
  /**
@@ -833,6 +833,11 @@ declare module 'url' {
833
833
  * ```
834
834
  */
835
835
  set(name: string, value: string): void;
836
+ /**
837
+ * The total number of parameter entries.
838
+ * @since v18.16.0
839
+ */
840
+ readonly size: number;
836
841
  /**
837
842
  * Sort all existing name-value pairs in-place by their names. Sorting is done
838
843
  * with a [stable sorting algorithm](https://en.wikipedia.org/wiki/Sorting_algorithm#Stability), so relative order between name-value pairs
@@ -225,6 +225,12 @@ declare module 'util' {
225
225
  * @returns The same AbortSignal
226
226
  */
227
227
  export function transferableAbortSignal(signal: AbortSignal): AbortSignal;
228
+ /**
229
+ * Listens to abort event on the provided `signal` and returns a promise that is fulfilled when the `signal` is aborted.
230
+ * If the passed `resource` is garbage collected before the `signal` is aborted, the returned promise shall remain pending indefinitely.
231
+ * @param resource Any non-null entity, reference to which is held weakly.
232
+ */
233
+ export function aborted(signal: AbortSignal, resource: any): Promise<void>;
228
234
  /**
229
235
  * The `util.inspect()` method returns a string representation of `object` that is
230
236
  * intended for debugging. The output of `util.inspect` may change at any time
@@ -262,6 +262,12 @@ declare module 'worker_threads' {
262
262
  * @default true
263
263
  */
264
264
  trackUnmanagedFds?: boolean | undefined;
265
+ /**
266
+ * An optional `name` to be appended to the worker title
267
+ * for debuggin/identification purposes, making the final title as
268
+ * `[worker ${id}] ${name}`.
269
+ */
270
+ name?: string | undefined;
265
271
  }
266
272
  interface ResourceLimits {
267
273
  /**
@@ -833,6 +833,11 @@ declare module 'url' {
833
833
  * ```
834
834
  */
835
835
  set(name: string, value: string): void;
836
+ /**
837
+ * The total number of parameter entries.
838
+ * @since v18.16.0
839
+ */
840
+ readonly size: number;
836
841
  /**
837
842
  * Sort all existing name-value pairs in-place by their names. Sorting is done
838
843
  * with a [stable sorting algorithm](https://en.wikipedia.org/wiki/Sorting_algorithm#Stability), so relative order between name-value pairs
@@ -225,6 +225,12 @@ declare module 'util' {
225
225
  * @returns The same AbortSignal
226
226
  */
227
227
  export function transferableAbortSignal(signal: AbortSignal): AbortSignal;
228
+ /**
229
+ * Listens to abort event on the provided `signal` and returns a promise that is fulfilled when the `signal` is aborted.
230
+ * If the passed `resource` is garbage collected before the `signal` is aborted, the returned promise shall remain pending indefinitely.
231
+ * @param resource Any non-null entity, reference to which is held weakly.
232
+ */
233
+ export function aborted(signal: AbortSignal, resource: any): Promise<void>;
228
234
  /**
229
235
  * The `util.inspect()` method returns a string representation of `object` that is
230
236
  * intended for debugging. The output of `util.inspect` may change at any time
@@ -262,6 +262,12 @@ declare module 'worker_threads' {
262
262
  * @default true
263
263
  */
264
264
  trackUnmanagedFds?: boolean | undefined;
265
+ /**
266
+ * An optional `name` to be appended to the worker title
267
+ * for debuggin/identification purposes, making the final title as
268
+ * `[worker ${id}] ${name}`.
269
+ */
270
+ name?: string | undefined;
265
271
  }
266
272
  interface ResourceLimits {
267
273
  /**
package/package.json CHANGED
@@ -72,7 +72,7 @@
72
72
  "jsii-pacmak": "^1.80.0",
73
73
  "markmac": "^0.1.146",
74
74
  "npm-check-updates": "^16",
75
- "prettier": "^2.8.7",
75
+ "prettier": "^2.8.8",
76
76
  "standard-version": "^9",
77
77
  "ts-jest": "^29",
78
78
  "typescript": "5.x"
@@ -120,7 +120,7 @@
120
120
  },
121
121
  "main": "lib/index.js",
122
122
  "license": "Apache-2.0",
123
- "version": "0.71.22",
123
+ "version": "0.71.24",
124
124
  "jest": {
125
125
  "maxWorkers": "50%",
126
126
  "testMatch": [