projen 0.63.4 → 0.63.6

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 (140) hide show
  1. package/.jsii +8 -8
  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.d.ts +2 -1
  41. package/lib/github/github-credentials.js +4 -3
  42. package/lib/github/github-project.js +1 -1
  43. package/lib/github/github.js +1 -1
  44. package/lib/github/mergify.js +1 -1
  45. package/lib/github/pr-template.js +1 -1
  46. package/lib/github/pull-request-lint.js +1 -1
  47. package/lib/github/stale.js +1 -1
  48. package/lib/github/task-workflow.js +1 -1
  49. package/lib/github/workflows.js +1 -1
  50. package/lib/gitlab/configuration.js +1 -1
  51. package/lib/gitlab/gitlab-configuration.js +1 -1
  52. package/lib/gitlab/nested-configuration.js +1 -1
  53. package/lib/gitpod.js +1 -1
  54. package/lib/ignore-file.js +1 -1
  55. package/lib/ini.js +1 -1
  56. package/lib/java/java-project.js +1 -1
  57. package/lib/java/junit.js +1 -1
  58. package/lib/java/maven-compile.js +1 -1
  59. package/lib/java/maven-packaging.js +1 -1
  60. package/lib/java/maven-sample.js +1 -1
  61. package/lib/java/pom.js +1 -1
  62. package/lib/java/projenrc.js +1 -1
  63. package/lib/javascript/bundler.js +1 -1
  64. package/lib/javascript/eslint.js +1 -1
  65. package/lib/javascript/jest.js +1 -1
  66. package/lib/javascript/node-package.js +1 -1
  67. package/lib/javascript/node-project.js +1 -1
  68. package/lib/javascript/npm-config.js +1 -1
  69. package/lib/javascript/prettier.js +1 -1
  70. package/lib/javascript/projenrc.js +1 -1
  71. package/lib/javascript/typescript-config.js +1 -1
  72. package/lib/javascript/upgrade-dependencies.js +2 -2
  73. package/lib/json-patch.js +1 -1
  74. package/lib/json.js +1 -1
  75. package/lib/license.js +1 -1
  76. package/lib/logger.js +1 -1
  77. package/lib/makefile.js +1 -1
  78. package/lib/object-file.js +1 -1
  79. package/lib/project-build.js +1 -1
  80. package/lib/project.js +1 -1
  81. package/lib/projects.js +1 -1
  82. package/lib/projenrc-json.js +1 -1
  83. package/lib/python/pip.js +1 -1
  84. package/lib/python/poetry.js +2 -2
  85. package/lib/python/projenrc.js +1 -1
  86. package/lib/python/pytest-sample.js +1 -1
  87. package/lib/python/pytest.js +1 -1
  88. package/lib/python/python-project.js +1 -1
  89. package/lib/python/python-sample.js +1 -1
  90. package/lib/python/requirements-file.js +1 -1
  91. package/lib/python/setuppy.js +1 -1
  92. package/lib/python/setuptools.js +1 -1
  93. package/lib/python/venv.js +1 -1
  94. package/lib/readme.js +1 -1
  95. package/lib/release/publisher.js +1 -1
  96. package/lib/release/release-trigger.js +1 -1
  97. package/lib/release/release.js +1 -1
  98. package/lib/renovatebot.js +1 -1
  99. package/lib/sample-file.js +2 -2
  100. package/lib/semver.js +1 -1
  101. package/lib/source-code.js +1 -1
  102. package/lib/task-runtime.js +1 -1
  103. package/lib/task.js +1 -1
  104. package/lib/tasks.js +1 -1
  105. package/lib/testing.js +1 -1
  106. package/lib/textfile.js +1 -1
  107. package/lib/toml.js +1 -1
  108. package/lib/typescript/projenrc.js +1 -1
  109. package/lib/typescript/typescript-typedoc.js +1 -1
  110. package/lib/typescript/typescript.js +3 -3
  111. package/lib/version.js +1 -1
  112. package/lib/vscode/devcontainer.js +1 -1
  113. package/lib/vscode/extensions.js +1 -1
  114. package/lib/vscode/launch-config.js +1 -1
  115. package/lib/vscode/settings.js +1 -1
  116. package/lib/vscode/vscode.js +1 -1
  117. package/lib/web/next.js +3 -3
  118. package/lib/web/postcss.js +1 -1
  119. package/lib/web/react.js +4 -4
  120. package/lib/web/tailwind.js +1 -1
  121. package/lib/xmlfile.js +1 -1
  122. package/lib/yaml.js +1 -1
  123. package/node_modules/semver/classes/range.js +3 -0
  124. package/node_modules/semver/index.js +81 -41
  125. package/node_modules/semver/package.json +21 -10
  126. package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
  127. package/node_modules/xmlbuilder2/node_modules/@types/node/buffer.d.ts +17 -2
  128. package/node_modules/xmlbuilder2/node_modules/@types/node/dom-events.d.ts +126 -0
  129. package/node_modules/xmlbuilder2/node_modules/@types/node/events.d.ts +43 -6
  130. package/node_modules/xmlbuilder2/node_modules/@types/node/globals.d.ts +1 -1
  131. package/node_modules/xmlbuilder2/node_modules/@types/node/index.d.ts +1 -0
  132. package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
  133. package/node_modules/xmlbuilder2/node_modules/@types/node/perf_hooks.d.ts +15 -0
  134. package/node_modules/xmlbuilder2/node_modules/@types/node/stream/consumers.d.ts +2 -14
  135. package/node_modules/xmlbuilder2/node_modules/@types/node/stream.d.ts +1 -0
  136. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/test.d.ts +129 -5
  137. package/node_modules/xmlbuilder2/node_modules/@types/node/url.d.ts +6 -6
  138. package/node_modules/xmlbuilder2/node_modules/@types/node/util.d.ts +30 -0
  139. package/node_modules/xmlbuilder2/node_modules/@types/node/worker_threads.d.ts +43 -0
  140. package/package.json +3 -3
@@ -57,7 +57,7 @@ interface AbortController {
57
57
  }
58
58
 
59
59
  /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */
60
- interface AbortSignal {
60
+ interface AbortSignal extends EventTarget {
61
61
  /**
62
62
  * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
63
63
  */
@@ -92,6 +92,7 @@
92
92
  /// <reference path="dns/promises.d.ts" />
93
93
  /// <reference path="dns/promises.d.ts" />
94
94
  /// <reference path="domain.d.ts" />
95
+ /// <reference path="dom-events.d.ts" />
95
96
  /// <reference path="events.d.ts" />
96
97
  /// <reference path="fs.d.ts" />
97
98
  /// <reference path="fs/promises.d.ts" />
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.8.0",
3
+ "version": "18.8.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",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "54f0b73dedc6d751a0945c330043a807365cb735a3530635a46ca3432f8b140e",
230
+ "typesPublisherContentHash": "034172ea945b66afc6502e6be34d6fb957c596091e39cf43672e8aca563a8c66",
231
231
  "typeScriptVersion": "4.1"
232
232
  }
@@ -604,6 +604,21 @@ declare module 'perf_hooks' {
604
604
  * @since v15.9.0, v14.18.0
605
605
  */
606
606
  function createHistogram(options?: CreateHistogramOptions): RecordableHistogram;
607
+
608
+ import { performance as _performance } from 'perf_hooks';
609
+ global {
610
+ /**
611
+ * `performance` is a global reference for `require('perf_hooks').performance`
612
+ * https://nodejs.org/api/globals.html#performance
613
+ * @since v16.0.0
614
+ */
615
+ var performance: typeof globalThis extends {
616
+ onmessage: any;
617
+ performance: infer T;
618
+ }
619
+ ? T
620
+ : typeof _performance;
621
+ }
607
622
  }
608
623
  declare module 'node:perf_hooks' {
609
624
  export * from 'perf_hooks';
@@ -1,22 +1,10 @@
1
- // Duplicates of interface in lib.dom.ts.
2
- // Duplicated here rather than referencing lib.dom.ts because doing so causes lib.dom.ts to be loaded for "test-all"
3
- // Which in turn causes tests to pass that shouldn't pass.
4
- //
5
- // This interface is not, and should not be, exported.
6
- interface Blob {
7
- readonly size: number;
8
- readonly type: string;
9
- arrayBuffer(): Promise<ArrayBuffer>;
10
- slice(start?: number, end?: number, contentType?: string): Blob;
11
- stream(): NodeJS.ReadableStream;
12
- text(): Promise<string>;
13
- }
14
1
  declare module 'stream/consumers' {
2
+ import { Blob as NodeBlob } from "node:buffer";
15
3
  import { Readable } from 'node:stream';
16
4
  function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<Buffer>;
17
5
  function text(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<string>;
18
6
  function arrayBuffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<ArrayBuffer>;
19
- function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<Blob>;
7
+ function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<NodeBlob>;
20
8
  function json(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<unknown>;
21
9
  }
22
10
  declare module 'node:stream/consumers' {
@@ -18,6 +18,7 @@
18
18
  */
19
19
  declare module 'stream' {
20
20
  import { EventEmitter, Abortable } from 'node:events';
21
+ import { Blob } from "node:buffer";
21
22
  import * as streamPromises from 'node:stream/promises';
22
23
  import * as streamConsumers from 'node:stream/consumers';
23
24
  import * as streamWeb from 'node:stream/web';
@@ -3,6 +3,14 @@
3
3
  * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/test.js)
4
4
  */
5
5
  declare module 'node:test' {
6
+ /**
7
+ * Programmatically start the test runner.
8
+ * @since v18.9.0
9
+ * @param options Configuration options for running tests.
10
+ * @returns A {@link TapStream} that emits events about the test execution.
11
+ */
12
+ function run(options?: RunOptions): TapStream;
13
+
6
14
  /**
7
15
  * The `test()` function is the value imported from the test module. Each invocation of this
8
16
  * function results in the creation of a test point in the TAP output.
@@ -42,7 +50,7 @@ declare module 'node:test' {
42
50
  function test(options?: TestOptions, fn?: TestFn): Promise<void>;
43
51
  function test(fn?: TestFn): Promise<void>;
44
52
 
45
- /*
53
+ /**
46
54
  * @since v18.6.0
47
55
  * @param name The name of the suite, which is displayed when reporting suite results.
48
56
  * Default: The `name` property of fn, or `'<anonymous>'` if `fn` does not have a name.
@@ -54,7 +62,7 @@ declare module 'node:test' {
54
62
  function describe(options?: TestOptions, fn?: SuiteFn): void;
55
63
  function describe(fn?: SuiteFn): void;
56
64
 
57
- /*
65
+ /**
58
66
  * @since v18.6.0
59
67
  * @param name The name of the test, which is displayed when reporting test results.
60
68
  * Default: The `name` property of fn, or `'<anonymous>'` if `fn` does not have a name.
@@ -86,6 +94,122 @@ declare module 'node:test' {
86
94
  */
87
95
  type ItFn = (done: (result?: any) => void) => any;
88
96
 
97
+ interface RunOptions {
98
+ /**
99
+ * @default false
100
+ */
101
+ concurrency?: number | boolean;
102
+
103
+ /**
104
+ * An array containing the list of files to run. If unspecified, the test runner execution model will be used.
105
+ */
106
+ files?: readonly string[];
107
+
108
+ /**
109
+ * Allows aborting an in-progress test.
110
+ * @default undefined
111
+ */
112
+ signal?: AbortSignal;
113
+
114
+ /**
115
+ * A number of milliseconds the test will fail after. If unspecified, subtests inherit this
116
+ * value from their parent.
117
+ * @default Infinity
118
+ */
119
+ timeout?: number;
120
+ }
121
+
122
+ /**
123
+ * A successful call of the run() method will return a new TapStream object, streaming a TAP output.
124
+ * TapStream will emit events in the order of the tests' definitions.
125
+ * @since v18.9.0
126
+ */
127
+ interface TapStream extends NodeJS.ReadableStream {
128
+ addListener(event: 'test:diagnostic', listener: (message: string) => void): this;
129
+ addListener(event: 'test:fail', listener: (data: TestFail) => void): this;
130
+ addListener(event: 'test:pass', listener: (data: TestPass) => void): this;
131
+ addListener(event: string, listener: (...args: any[]) => void): this;
132
+ emit(event: 'test:diagnostic', message: string): boolean;
133
+ emit(event: 'test:fail', data: TestFail): boolean;
134
+ emit(event: 'test:pass', data: TestPass): boolean;
135
+ emit(event: string | symbol, ...args: any[]): boolean;
136
+ on(event: 'test:diagnostic', listener: (message: string) => void): this;
137
+ on(event: 'test:fail', listener: (data: TestFail) => void): this;
138
+ on(event: 'test:pass', listener: (data: TestPass) => void): this;
139
+ on(event: string, listener: (...args: any[]) => void): this;
140
+ once(event: 'test:diagnostic', listener: (message: string) => void): this;
141
+ once(event: 'test:fail', listener: (data: TestFail) => void): this;
142
+ once(event: 'test:pass', listener: (data: TestPass) => void): this;
143
+ once(event: string, listener: (...args: any[]) => void): this;
144
+ prependListener(event: 'test:diagnostic', listener: (message: string) => void): this;
145
+ prependListener(event: 'test:fail', listener: (data: TestFail) => void): this;
146
+ prependListener(event: 'test:pass', listener: (data: TestPass) => void): this;
147
+ prependListener(event: string, listener: (...args: any[]) => void): this;
148
+ prependOnceListener(event: 'test:diagnostic', listener: (message: string) => void): this;
149
+ prependOnceListener(event: 'test:fail', listener: (data: TestFail) => void): this;
150
+ prependOnceListener(event: 'test:pass', listener: (data: TestPass) => void): this;
151
+ prependOnceListener(event: string, listener: (...args: any[]) => void): this;
152
+ }
153
+
154
+ interface TestFail {
155
+ /**
156
+ * The test duration.
157
+ */
158
+ duration: number;
159
+
160
+ /**
161
+ * The failure casing test to fail.
162
+ */
163
+ error: Error;
164
+
165
+ /**
166
+ * The test name.
167
+ */
168
+ name: string;
169
+
170
+ /**
171
+ * The ordinal number of the test.
172
+ */
173
+ testNumber: number;
174
+
175
+ /**
176
+ * Present if `context.todo` is called.
177
+ */
178
+ todo?: string;
179
+
180
+ /**
181
+ * Present if `context.skip` is called.
182
+ */
183
+ skip?: string;
184
+ }
185
+
186
+ interface TestPass {
187
+ /**
188
+ * The test duration.
189
+ */
190
+ duration: number;
191
+
192
+ /**
193
+ * The test name.
194
+ */
195
+ name: string;
196
+
197
+ /**
198
+ * The ordinal number of the test.
199
+ */
200
+ testNumber: number;
201
+
202
+ /**
203
+ * Present if `context.todo` is called.
204
+ */
205
+ todo?: string;
206
+
207
+ /**
208
+ * Present if `context.skip` is called.
209
+ */
210
+ skip?: string;
211
+ }
212
+
89
213
  /**
90
214
  * An instance of `TestContext` is passed to each test function in order to interact with the
91
215
  * test runner. However, the `TestContext` constructor is not exposed as part of the API.
@@ -159,7 +283,7 @@ declare module 'node:test' {
159
283
 
160
284
  /**
161
285
  * Allows aborting an in-progress test.
162
- * @since 8.7.0
286
+ * @since v18.8.0
163
287
  */
164
288
  signal?: AbortSignal;
165
289
 
@@ -174,7 +298,7 @@ declare module 'node:test' {
174
298
  * A number of milliseconds the test will fail after. If unspecified, subtests inherit this
175
299
  * value from their parent.
176
300
  * @default Infinity
177
- * @since 8.7.0
301
+ * @since v18.7.0
178
302
  */
179
303
  timeout?: number;
180
304
 
@@ -186,5 +310,5 @@ declare module 'node:test' {
186
310
  todo?: boolean | string;
187
311
  }
188
312
 
189
- export { test as default, test, describe, it };
313
+ export { test as default, run, test, describe, it };
190
314
  }
@@ -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.22.0",
60
+ "all-contributors-cli": "^6.23.0",
61
61
  "esbuild": "^0.15.10",
62
62
  "eslint": "^8",
63
63
  "eslint-config-prettier": "^8.5.0",
@@ -89,7 +89,7 @@
89
89
  "fs-extra": "^9.1.0",
90
90
  "glob": "^7",
91
91
  "ini": "^2.0.0",
92
- "semver": "^7.3.7",
92
+ "semver": "^7.3.8",
93
93
  "shx": "^0.3.4",
94
94
  "xmlbuilder2": "^2.4.1",
95
95
  "yaml": "2.0.0",
@@ -125,7 +125,7 @@
125
125
  },
126
126
  "main": "lib/index.js",
127
127
  "license": "Apache-2.0",
128
- "version": "0.63.4",
128
+ "version": "0.63.6",
129
129
  "jest": {
130
130
  "maxWorkers": "50%",
131
131
  "testMatch": [