projen 0.63.12 → 0.63.14

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 (137) hide show
  1. package/.jsii +9 -9
  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.js +2 -2
  35. package/lib/file.js +1 -1
  36. package/lib/gitattributes.js +1 -1
  37. package/lib/github/auto-approve.js +1 -1
  38. package/lib/github/auto-merge.js +1 -1
  39. package/lib/github/dependabot.js +1 -1
  40. package/lib/github/github-credentials.js +1 -1
  41. package/lib/github/github-project.js +1 -1
  42. package/lib/github/github.js +1 -1
  43. package/lib/github/mergify.js +1 -1
  44. package/lib/github/pr-template.js +1 -1
  45. package/lib/github/pull-request-lint.js +1 -1
  46. package/lib/github/stale.js +1 -1
  47. package/lib/github/task-workflow.js +1 -1
  48. package/lib/github/workflows.js +1 -1
  49. package/lib/gitlab/configuration.js +1 -1
  50. package/lib/gitlab/gitlab-configuration.js +1 -1
  51. package/lib/gitlab/nested-configuration.js +1 -1
  52. package/lib/gitpod.js +1 -1
  53. package/lib/ignore-file.js +1 -1
  54. package/lib/ini.js +1 -1
  55. package/lib/java/java-project.js +1 -1
  56. package/lib/java/junit.js +1 -1
  57. package/lib/java/maven-compile.js +1 -1
  58. package/lib/java/maven-packaging.js +1 -1
  59. package/lib/java/maven-sample.js +1 -1
  60. package/lib/java/pom.js +1 -1
  61. package/lib/java/projenrc.js +1 -1
  62. package/lib/javascript/bundler.js +1 -1
  63. package/lib/javascript/eslint.js +1 -1
  64. package/lib/javascript/jest.js +1 -1
  65. package/lib/javascript/node-package.js +1 -1
  66. package/lib/javascript/node-project.js +1 -1
  67. package/lib/javascript/npm-config.js +1 -1
  68. package/lib/javascript/prettier.js +1 -1
  69. package/lib/javascript/projenrc.js +1 -1
  70. package/lib/javascript/typescript-config.js +1 -1
  71. package/lib/javascript/upgrade-dependencies.js +2 -2
  72. package/lib/json-patch.js +1 -1
  73. package/lib/json.js +1 -1
  74. package/lib/license.js +1 -1
  75. package/lib/logger.js +1 -1
  76. package/lib/makefile.js +1 -1
  77. package/lib/object-file.js +1 -1
  78. package/lib/project-build.js +1 -1
  79. package/lib/project.js +1 -1
  80. package/lib/projects.js +1 -1
  81. package/lib/projenrc-json.js +1 -1
  82. package/lib/python/pip.js +1 -1
  83. package/lib/python/poetry.js +2 -2
  84. package/lib/python/projenrc.js +1 -1
  85. package/lib/python/pytest-sample.js +1 -1
  86. package/lib/python/pytest.js +1 -1
  87. package/lib/python/python-project.js +1 -1
  88. package/lib/python/python-sample.js +1 -1
  89. package/lib/python/requirements-file.js +1 -1
  90. package/lib/python/setuppy.js +1 -1
  91. package/lib/python/setuptools.js +1 -1
  92. package/lib/python/venv.js +1 -1
  93. package/lib/readme.js +1 -1
  94. package/lib/release/publisher.js +1 -1
  95. package/lib/release/release-trigger.js +1 -1
  96. package/lib/release/release.js +8 -2
  97. package/lib/renovatebot.js +1 -1
  98. package/lib/sample-file.js +2 -2
  99. package/lib/semver.js +1 -1
  100. package/lib/source-code.js +1 -1
  101. package/lib/task-runtime.js +1 -1
  102. package/lib/task.js +1 -1
  103. package/lib/tasks.js +1 -1
  104. package/lib/testing.js +1 -1
  105. package/lib/textfile.js +1 -1
  106. package/lib/toml.js +1 -1
  107. package/lib/typescript/projenrc.js +1 -1
  108. package/lib/typescript/typescript-typedoc.js +1 -1
  109. package/lib/typescript/typescript.js +3 -3
  110. package/lib/version.js +1 -1
  111. package/lib/vscode/devcontainer.js +1 -1
  112. package/lib/vscode/extensions.js +1 -1
  113. package/lib/vscode/launch-config.js +1 -1
  114. package/lib/vscode/settings.js +1 -1
  115. package/lib/vscode/vscode.js +1 -1
  116. package/lib/web/next.js +3 -3
  117. package/lib/web/postcss.js +1 -1
  118. package/lib/web/react.js +4 -4
  119. package/lib/web/tailwind.js +1 -1
  120. package/lib/xmlfile.js +1 -1
  121. package/lib/yaml.js +1 -1
  122. package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
  123. package/node_modules/xmlbuilder2/node_modules/@types/node/http.d.ts +7 -5
  124. package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
  125. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/buffer.d.ts +17 -2
  126. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  127. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/events.d.ts +43 -6
  128. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/globals.d.ts +1 -1
  129. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/http.d.ts +7 -5
  130. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/index.d.ts +1 -0
  131. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/perf_hooks.d.ts +15 -0
  132. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/stream/consumers.d.ts +2 -14
  133. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/stream.d.ts +1 -0
  134. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/url.d.ts +6 -6
  135. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/util.d.ts +30 -0
  136. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/worker_threads.d.ts +43 -0
  137. package/package.json +2 -2
@@ -8,7 +8,7 @@
8
8
  * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/url.js)
9
9
  */
10
10
  declare module 'url' {
11
- import { Blob } from 'node:buffer';
11
+ import { Blob as NodeBlob } from 'node:buffer';
12
12
  import { ClientRequestArgs } from 'node:http';
13
13
  import { ParsedUrlQuery, ParsedUrlQueryInput } from 'node:querystring';
14
14
  // Input to `url.format`
@@ -395,7 +395,7 @@ declare module 'url' {
395
395
  * @since v16.7.0
396
396
  * @experimental
397
397
  */
398
- static createObjectURL(blob: Blob): string;
398
+ static createObjectURL(blob: NodeBlob): string;
399
399
  /**
400
400
  * Removes the stored `Blob` identified by the given ID. Attempting to revoke a
401
401
  * ID that isn’t registered will silently fail.
@@ -875,9 +875,9 @@ declare module 'url' {
875
875
  */
876
876
  var URL: typeof globalThis extends {
877
877
  onmessage: any;
878
- URL: infer URL;
878
+ URL: infer T;
879
879
  }
880
- ? URL
880
+ ? T
881
881
  : typeof _URL;
882
882
  /**
883
883
  * `URLSearchParams` class is a global reference for `require('url').URLSearchParams`
@@ -886,9 +886,9 @@ declare module 'url' {
886
886
  */
887
887
  var URLSearchParams: typeof globalThis extends {
888
888
  onmessage: any;
889
- URLSearchParams: infer URLSearchParams;
889
+ URLSearchParams: infer T;
890
890
  }
891
- ? URLSearchParams
891
+ ? T
892
892
  : typeof _URLSearchParams;
893
893
  }
894
894
  }
@@ -1067,6 +1067,8 @@ declare module 'util' {
1067
1067
  written: number;
1068
1068
  }
1069
1069
  export { types };
1070
+
1071
+ //// TextEncoder/Decoder
1070
1072
  /**
1071
1073
  * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextEncoder` API. All
1072
1074
  * instances of `TextEncoder` only support UTF-8 encoding.
@@ -1106,6 +1108,34 @@ declare module 'util' {
1106
1108
  encodeInto(src: string, dest: Uint8Array): EncodeIntoResult;
1107
1109
  }
1108
1110
 
1111
+ import { TextDecoder as _TextDecoder, TextEncoder as _TextEncoder } from 'util';
1112
+ global {
1113
+ /**
1114
+ * `TextDecoder` class is a global reference for `require('util').TextDecoder`
1115
+ * https://nodejs.org/api/globals.html#textdecoder
1116
+ * @since v11.0.0
1117
+ */
1118
+ var TextDecoder: typeof globalThis extends {
1119
+ onmessage: any;
1120
+ TextDecoder: infer TextDecoder;
1121
+ }
1122
+ ? TextDecoder
1123
+ : typeof _TextDecoder;
1124
+
1125
+ /**
1126
+ * `TextEncoder` class is a global reference for `require('util').TextEncoder`
1127
+ * https://nodejs.org/api/globals.html#textencoder
1128
+ * @since v11.0.0
1129
+ */
1130
+ var TextEncoder: typeof globalThis extends {
1131
+ onmessage: any;
1132
+ TextEncoder: infer TextEncoder;
1133
+ }
1134
+ ? TextEncoder
1135
+ : typeof _TextEncoder;
1136
+ }
1137
+
1138
+ //// parseArgs
1109
1139
  /**
1110
1140
  * Provides a high-level API for command-line argument parsing. Takes a
1111
1141
  * specification for the expected arguments and returns a structured object
@@ -640,6 +640,49 @@ declare module 'worker_threads' {
640
640
  * for the `key` will be deleted.
641
641
  */
642
642
  function setEnvironmentData(key: Serializable, value: Serializable): void;
643
+
644
+ import {
645
+ BroadcastChannel as _BroadcastChannel,
646
+ MessageChannel as _MessageChannel,
647
+ MessagePort as _MessagePort,
648
+ } from 'worker_threads';
649
+ global {
650
+ /**
651
+ * `BroadcastChannel` class is a global reference for `require('worker_threads').BroadcastChannel`
652
+ * https://nodejs.org/api/globals.html#broadcastchannel
653
+ * @since v18.0.0
654
+ */
655
+ var BroadcastChannel: typeof globalThis extends {
656
+ onmessage: any;
657
+ BroadcastChannel: infer T;
658
+ }
659
+ ? T
660
+ : typeof _BroadcastChannel;
661
+
662
+ /**
663
+ * `MessageChannel` class is a global reference for `require('worker_threads').MessageChannel`
664
+ * https://nodejs.org/api/globals.html#messagechannel
665
+ * @since v15.0.0
666
+ */
667
+ var MessageChannel: typeof globalThis extends {
668
+ onmessage: any;
669
+ MessageChannel: infer T;
670
+ }
671
+ ? T
672
+ : typeof _MessageChannel;
673
+
674
+ /**
675
+ * `MessagePort` class is a global reference for `require('worker_threads').MessagePort`
676
+ * https://nodejs.org/api/globals.html#messageport
677
+ * @since v15.0.0
678
+ */
679
+ var MessagePort: typeof globalThis extends {
680
+ onmessage: any;
681
+ MessagePort: infer T;
682
+ }
683
+ ? T
684
+ : typeof _MessagePort;
685
+ }
643
686
  }
644
687
  declare module 'node:worker_threads' {
645
688
  export * from 'worker_threads';
package/package.json CHANGED
@@ -57,7 +57,7 @@
57
57
  "@types/yargs": "^15.0.14",
58
58
  "@typescript-eslint/eslint-plugin": "^5",
59
59
  "@typescript-eslint/parser": "^5",
60
- "all-contributors-cli": "^6.23.1",
60
+ "all-contributors-cli": "^6.24.0",
61
61
  "esbuild": "^0.15.10",
62
62
  "eslint": "^8",
63
63
  "eslint-config-prettier": "^8.5.0",
@@ -125,7 +125,7 @@
125
125
  },
126
126
  "main": "lib/index.js",
127
127
  "license": "Apache-2.0",
128
- "version": "0.63.12",
128
+ "version": "0.63.14",
129
129
  "jest": {
130
130
  "maxWorkers": "50%",
131
131
  "testMatch": [