cdk-ecr-deployment 3.0.111 → 3.0.113

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 (162) hide show
  1. package/.jsii +2 -2
  2. package/lib/index.js +5 -5
  3. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  4. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +1 -1
  5. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +1 -1
  6. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +385 -0
  7. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +14 -381
  8. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +34 -29
  9. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +2 -1
  10. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +2 -2
  11. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +3 -3
  12. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  13. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +5 -5
  14. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +5 -5
  15. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +2 -2
  16. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +2 -2
  17. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2 -2
  18. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +17 -15
  19. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  20. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +7 -7
  21. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +238 -101
  22. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +17 -23
  23. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +5 -1
  24. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +270 -0
  25. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +3 -3
  26. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +11 -15
  27. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +1 -1
  28. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +9 -2
  29. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  30. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +19 -19
  31. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  32. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
  33. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +1 -1
  34. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +9 -9
  35. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +4 -4
  36. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +1 -1
  37. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +17 -17
  38. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +34 -15
  39. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +3 -3
  40. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +86 -3
  41. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +5 -5
  42. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
  43. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +5 -5
  44. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +4 -4
  45. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
  46. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  47. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +94 -0
  48. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -1
  49. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +7 -7
  50. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +44 -44
  51. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +12 -12
  52. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +13 -13
  53. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  54. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +22 -22
  55. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +8 -8
  56. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  57. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +1 -1
  58. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +1 -1
  59. package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +385 -0
  60. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +14 -381
  61. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +34 -29
  62. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +2 -1
  63. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +2 -2
  64. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +3 -3
  65. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  66. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +5 -5
  67. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +5 -5
  68. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +2 -2
  69. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +2 -2
  70. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2 -2
  71. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +17 -15
  72. package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  73. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +7 -7
  74. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +238 -101
  75. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +17 -23
  76. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +5 -1
  77. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +270 -0
  78. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +3 -3
  79. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +11 -15
  80. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +1 -1
  81. package/node_modules/@types/keyv/node_modules/@types/node/package.json +9 -2
  82. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  83. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +19 -19
  84. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  85. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
  86. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +1 -1
  87. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +9 -9
  88. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +4 -4
  89. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +1 -1
  90. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +17 -17
  91. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +34 -15
  92. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +3 -3
  93. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +86 -3
  94. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +5 -5
  95. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
  96. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +5 -5
  97. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +4 -4
  98. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
  99. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  100. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +94 -0
  101. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -1
  102. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +7 -7
  103. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +44 -44
  104. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +12 -12
  105. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +13 -13
  106. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  107. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +22 -22
  108. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +8 -8
  109. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  110. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +1 -1
  111. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +1 -1
  112. package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +385 -0
  113. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +14 -381
  114. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +34 -29
  115. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +2 -1
  116. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +2 -2
  117. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +3 -3
  118. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  119. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +5 -5
  120. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +5 -5
  121. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +2 -2
  122. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +2 -2
  123. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2 -2
  124. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +17 -15
  125. package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  126. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +7 -7
  127. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +238 -101
  128. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +17 -23
  129. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +5 -1
  130. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +270 -0
  131. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +3 -3
  132. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +11 -15
  133. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +1 -1
  134. package/node_modules/@types/responselike/node_modules/@types/node/package.json +9 -2
  135. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  136. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +19 -19
  137. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  138. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
  139. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +1 -1
  140. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +9 -9
  141. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +4 -4
  142. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +1 -1
  143. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +17 -17
  144. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +34 -15
  145. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +3 -3
  146. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +86 -3
  147. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +5 -5
  148. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
  149. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +5 -5
  150. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +4 -4
  151. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
  152. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  153. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +94 -0
  154. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -1
  155. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +7 -7
  156. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +44 -44
  157. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +12 -12
  158. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +13 -13
  159. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  160. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +22 -22
  161. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +8 -8
  162. package/package.json +1 -1
@@ -0,0 +1,94 @@
1
+ /**
2
+ * License for programmatically and manually incorporated
3
+ * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
4
+ *
5
+ * Copyright Node.js contributors. All rights reserved.
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to
8
+ * deal in the Software without restriction, including without limitation the
9
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10
+ * sell copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in
14
+ * all copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22
+ * IN THE SOFTWARE.
23
+ */
24
+
25
+ // NOTE: These definitions support NodeJS and TypeScript 4.9 through 5.6.
26
+
27
+ // Reference required types from the default lib:
28
+ /// <reference lib="es2020" />
29
+ /// <reference lib="esnext.asynciterable" />
30
+ /// <reference lib="esnext.intl" />
31
+ /// <reference lib="esnext.bigint" />
32
+
33
+ // Definitions specific to TypeScript 4.9 through 5.6
34
+ /// <reference path="./globals.typedarray.d.ts" />
35
+ /// <reference path="./buffer.buffer.d.ts" />
36
+
37
+ // Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
38
+ /// <reference path="../assert.d.ts" />
39
+ /// <reference path="../assert/strict.d.ts" />
40
+ /// <reference path="../globals.d.ts" />
41
+ /// <reference path="../async_hooks.d.ts" />
42
+ /// <reference path="../buffer.d.ts" />
43
+ /// <reference path="../child_process.d.ts" />
44
+ /// <reference path="../cluster.d.ts" />
45
+ /// <reference path="../console.d.ts" />
46
+ /// <reference path="../constants.d.ts" />
47
+ /// <reference path="../crypto.d.ts" />
48
+ /// <reference path="../dgram.d.ts" />
49
+ /// <reference path="../diagnostics_channel.d.ts" />
50
+ /// <reference path="../dns.d.ts" />
51
+ /// <reference path="../dns/promises.d.ts" />
52
+ /// <reference path="../dns/promises.d.ts" />
53
+ /// <reference path="../domain.d.ts" />
54
+ /// <reference path="../dom-events.d.ts" />
55
+ /// <reference path="../events.d.ts" />
56
+ /// <reference path="../fs.d.ts" />
57
+ /// <reference path="../fs/promises.d.ts" />
58
+ /// <reference path="../http.d.ts" />
59
+ /// <reference path="../http2.d.ts" />
60
+ /// <reference path="../https.d.ts" />
61
+ /// <reference path="../inspector.d.ts" />
62
+ /// <reference path="../module.d.ts" />
63
+ /// <reference path="../net.d.ts" />
64
+ /// <reference path="../os.d.ts" />
65
+ /// <reference path="../path.d.ts" />
66
+ /// <reference path="../perf_hooks.d.ts" />
67
+ /// <reference path="../process.d.ts" />
68
+ /// <reference path="../punycode.d.ts" />
69
+ /// <reference path="../querystring.d.ts" />
70
+ /// <reference path="../readline.d.ts" />
71
+ /// <reference path="../readline/promises.d.ts" />
72
+ /// <reference path="../repl.d.ts" />
73
+ /// <reference path="../sea.d.ts" />
74
+ /// <reference path="../sqlite.d.ts" />
75
+ /// <reference path="../stream.d.ts" />
76
+ /// <reference path="../stream/promises.d.ts" />
77
+ /// <reference path="../stream/consumers.d.ts" />
78
+ /// <reference path="../stream/web.d.ts" />
79
+ /// <reference path="../string_decoder.d.ts" />
80
+ /// <reference path="../test.d.ts" />
81
+ /// <reference path="../timers.d.ts" />
82
+ /// <reference path="../timers/promises.d.ts" />
83
+ /// <reference path="../tls.d.ts" />
84
+ /// <reference path="../trace_events.d.ts" />
85
+ /// <reference path="../tty.d.ts" />
86
+ /// <reference path="../url.d.ts" />
87
+ /// <reference path="../util.d.ts" />
88
+ /// <reference path="../v8.d.ts" />
89
+ /// <reference path="../vm.d.ts" />
90
+ /// <reference path="../wasi.d.ts" />
91
+ /// <reference path="../worker_threads.d.ts" />
92
+ /// <reference path="../zlib.d.ts" />
93
+
94
+ /// <reference path="../globals.global.d.ts" />
@@ -3,7 +3,7 @@
3
3
  * directly. However, it can be accessed using:
4
4
  *
5
5
  * ```js
6
- * const tty = require('node:tty');
6
+ * import tty from 'node:tty';
7
7
  * ```
8
8
  *
9
9
  * When Node.js detects that it is being run with a text terminal ("TTY")
@@ -93,7 +93,7 @@ declare module "url" {
93
93
  * The `url.format()` method returns a formatted URL string derived from `urlObject`.
94
94
  *
95
95
  * ```js
96
- * const url = require('node:url');
96
+ * import url from 'node:url';
97
97
  * url.format({
98
98
  * protocol: 'https',
99
99
  * hostname: 'example.com',
@@ -157,7 +157,7 @@ declare module "url" {
157
157
  * The `url.format()` method returns a formatted URL string derived from `urlObject`.
158
158
  *
159
159
  * ```js
160
- * const url = require('node:url');
160
+ * import url from 'node:url';
161
161
  * url.format({
162
162
  * protocol: 'https',
163
163
  * hostname: 'example.com',
@@ -222,7 +222,7 @@ declare module "url" {
222
222
  * manner similar to that of a web browser resolving an anchor tag.
223
223
  *
224
224
  * ```js
225
- * const url = require('node:url');
225
+ * import url from 'node:url';
226
226
  * url.resolve('/one/two/three', 'four'); // '/one/two/four'
227
227
  * url.resolve('http://example.com/', '/one'); // 'http://example.com/one'
228
228
  * url.resolve('http://example.com/one', '/two'); // 'http://example.com/two'
@@ -400,10 +400,10 @@ declare module "url" {
400
400
  * Creates a `'blob:nodedata:...'` URL string that represents the given `Blob` object and can be used to retrieve the `Blob` later.
401
401
  *
402
402
  * ```js
403
- * const {
403
+ * import {
404
404
  * Blob,
405
405
  * resolveObjectURL,
406
- * } = require('node:buffer');
406
+ * } from 'node:buffer';
407
407
  *
408
408
  * const blob = new Blob(['hello']);
409
409
  * const id = URL.createObjectURL(blob);
@@ -943,7 +943,7 @@ declare module "url" {
943
943
  URLSearchParams: typeof _URLSearchParams;
944
944
  }
945
945
  /**
946
- * `URL` class is a global reference for `require('url').URL`
946
+ * `URL` class is a global reference for `import { URL } from 'url'`
947
947
  * https://nodejs.org/api/url.html#the-whatwg-url-api
948
948
  * @since v10.0.0
949
949
  */
@@ -953,7 +953,7 @@ declare module "url" {
953
953
  } ? T
954
954
  : typeof _URL;
955
955
  /**
956
- * `URLSearchParams` class is a global reference for `require('url').URLSearchParams`
956
+ * `URLSearchParams` class is a global reference for `import { URLSearchParams } from 'node:url'`
957
957
  * https://nodejs.org/api/url.html#class-urlsearchparams
958
958
  * @since v10.0.0
959
959
  */
@@ -4,7 +4,7 @@
4
4
  * it:
5
5
  *
6
6
  * ```js
7
- * const util = require('node:util');
7
+ * import util from 'node:util';
8
8
  * ```
9
9
  * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/util.js)
10
10
  */
@@ -200,7 +200,7 @@ declare module "util" {
200
200
  * timestamp.
201
201
  *
202
202
  * ```js
203
- * const util = require('node:util');
203
+ * import util from 'node:util';
204
204
  *
205
205
  * util.log('Timestamped message.');
206
206
  * ```
@@ -287,7 +287,7 @@ declare module "util" {
287
287
  * Circular references point to their anchor by using a reference index:
288
288
  *
289
289
  * ```js
290
- * const { inspect } = require('node:util');
290
+ * import { inspect } from 'node:util';
291
291
  *
292
292
  * const obj = {};
293
293
  * obj.a = [obj];
@@ -305,7 +305,7 @@ declare module "util" {
305
305
  * The following example inspects all properties of the `util` object:
306
306
  *
307
307
  * ```js
308
- * const util = require('node:util');
308
+ * import util from 'node:util';
309
309
  *
310
310
  * console.log(util.inspect(util, { showHidden: true, depth: null }));
311
311
  * ```
@@ -313,7 +313,7 @@ declare module "util" {
313
313
  * The following example highlights the effect of the `compact` option:
314
314
  *
315
315
  * ```js
316
- * const util = require('node:util');
316
+ * import util from 'node:util';
317
317
  *
318
318
  * const o = {
319
319
  * a: [1, 2, [[
@@ -370,7 +370,7 @@ declare module "util" {
370
370
  * with no remaining strong references may be garbage collected at any time.
371
371
  *
372
372
  * ```js
373
- * const { inspect } = require('node:util');
373
+ * import { inspect } from 'node:util';
374
374
  *
375
375
  * const obj = { a: 1 };
376
376
  * const obj2 = { b: 2 };
@@ -384,8 +384,8 @@ declare module "util" {
384
384
  * impact the result of `util.inspect()`.
385
385
  *
386
386
  * ```js
387
- * const { inspect } = require('node:util');
388
- * const assert = require('node:assert');
387
+ * import { inspect } from 'node:util';
388
+ * import assert from 'node:assert';
389
389
  *
390
390
  * const o1 = {
391
391
  * b: [2, 3, 1],
@@ -412,7 +412,7 @@ declare module "util" {
412
412
  * numbers.
413
413
  *
414
414
  * ```js
415
- * const { inspect } = require('node:util');
415
+ * import { inspect } from 'node:util';
416
416
  *
417
417
  * const thousand = 1_000;
418
418
  * const million = 1_000_000;
@@ -459,7 +459,7 @@ declare module "util" {
459
459
  * Returns `true` if the given `object` is an `Array`. Otherwise, returns `false`.
460
460
  *
461
461
  * ```js
462
- * const util = require('node:util');
462
+ * import util from 'node:util';
463
463
  *
464
464
  * util.isArray([]);
465
465
  * // Returns: true
@@ -476,7 +476,7 @@ declare module "util" {
476
476
  * Returns `true` if the given `object` is a `RegExp`. Otherwise, returns `false`.
477
477
  *
478
478
  * ```js
479
- * const util = require('node:util');
479
+ * import util from 'node:util';
480
480
  *
481
481
  * util.isRegExp(/some regexp/);
482
482
  * // Returns: true
@@ -493,7 +493,7 @@ declare module "util" {
493
493
  * Returns `true` if the given `object` is a `Date`. Otherwise, returns `false`.
494
494
  *
495
495
  * ```js
496
- * const util = require('node:util');
496
+ * import util from 'node:util';
497
497
  *
498
498
  * util.isDate(new Date());
499
499
  * // Returns: true
@@ -510,7 +510,7 @@ declare module "util" {
510
510
  * Returns `true` if the given `object` is an `Error`. Otherwise, returns `false`.
511
511
  *
512
512
  * ```js
513
- * const util = require('node:util');
513
+ * import util from 'node:util';
514
514
  *
515
515
  * util.isError(new Error());
516
516
  * // Returns: true
@@ -524,7 +524,7 @@ declare module "util" {
524
524
  * possible to obtain an incorrect result when the `object` argument manipulates `@@toStringTag`.
525
525
  *
526
526
  * ```js
527
- * const util = require('node:util');
527
+ * import util from 'node:util';
528
528
  * const obj = { name: 'Error', message: 'an error occurred' };
529
529
  *
530
530
  * util.isError(obj);
@@ -549,8 +549,8 @@ declare module "util" {
549
549
  * through the `constructor.super_` property.
550
550
  *
551
551
  * ```js
552
- * const util = require('node:util');
553
- * const EventEmitter = require('node:events');
552
+ * import util from 'node:util';
553
+ * import EventEmitter from 'node:events';
554
554
  *
555
555
  * function MyStream() {
556
556
  * EventEmitter.call(this);
@@ -576,7 +576,7 @@ declare module "util" {
576
576
  * ES6 example using `class` and `extends`:
577
577
  *
578
578
  * ```js
579
- * const EventEmitter = require('node:events');
579
+ * import EventEmitter from 'node:events';
580
580
  *
581
581
  * class MyStream extends EventEmitter {
582
582
  * write(data) {
@@ -605,7 +605,7 @@ declare module "util" {
605
605
  * environment variable, then the returned function operates similar to `console.error()`. If not, then the returned function is a no-op.
606
606
  *
607
607
  * ```js
608
- * const util = require('node:util');
608
+ * import util from 'node:util';
609
609
  * const debuglog = util.debuglog('foo');
610
610
  *
611
611
  * debuglog('hello from foo [%d]', 123);
@@ -624,7 +624,7 @@ declare module "util" {
624
624
  * The `section` supports wildcard also:
625
625
  *
626
626
  * ```js
627
- * const util = require('node:util');
627
+ * import util from 'node:util';
628
628
  * const debuglog = util.debuglog('foo-bar');
629
629
  *
630
630
  * debuglog('hi there, it\'s foo-bar [%d]', 2333);
@@ -644,7 +644,7 @@ declare module "util" {
644
644
  * unnecessary wrapping.
645
645
  *
646
646
  * ```js
647
- * const util = require('node:util');
647
+ * import util from 'node:util';
648
648
  * let debuglog = util.debuglog('internals', (debug) => {
649
649
  * // Replace with a logging function that optimizes out
650
650
  * // testing if the section is enabled
@@ -662,7 +662,7 @@ declare module "util" {
662
662
  * Returns `true` if the given `object` is a `Boolean`. Otherwise, returns `false`.
663
663
  *
664
664
  * ```js
665
- * const util = require('node:util');
665
+ * import util from 'node:util';
666
666
  *
667
667
  * util.isBoolean(1);
668
668
  * // Returns: false
@@ -679,7 +679,7 @@ declare module "util" {
679
679
  * Returns `true` if the given `object` is a `Buffer`. Otherwise, returns `false`.
680
680
  *
681
681
  * ```js
682
- * const util = require('node:util');
682
+ * import util from 'node:util';
683
683
  *
684
684
  * util.isBuffer({ length: 0 });
685
685
  * // Returns: false
@@ -696,7 +696,7 @@ declare module "util" {
696
696
  * Returns `true` if the given `object` is a `Function`. Otherwise, returns `false`.
697
697
  *
698
698
  * ```js
699
- * const util = require('node:util');
699
+ * import util from 'node:util';
700
700
  *
701
701
  * function Foo() {}
702
702
  * const Bar = () => {};
@@ -716,7 +716,7 @@ declare module "util" {
716
716
  * Returns `true` if the given `object` is strictly `null`. Otherwise, returns`false`.
717
717
  *
718
718
  * ```js
719
- * const util = require('node:util');
719
+ * import util from 'node:util';
720
720
  *
721
721
  * util.isNull(0);
722
722
  * // Returns: false
@@ -734,7 +734,7 @@ declare module "util" {
734
734
  * returns `false`.
735
735
  *
736
736
  * ```js
737
- * const util = require('node:util');
737
+ * import util from 'node:util';
738
738
  *
739
739
  * util.isNullOrUndefined(0);
740
740
  * // Returns: false
@@ -751,7 +751,7 @@ declare module "util" {
751
751
  * Returns `true` if the given `object` is a `Number`. Otherwise, returns `false`.
752
752
  *
753
753
  * ```js
754
- * const util = require('node:util');
754
+ * import util from 'node:util';
755
755
  *
756
756
  * util.isNumber(false);
757
757
  * // Returns: false
@@ -771,7 +771,7 @@ declare module "util" {
771
771
  * Otherwise, returns `false`.
772
772
  *
773
773
  * ```js
774
- * const util = require('node:util');
774
+ * import util from 'node:util';
775
775
  *
776
776
  * util.isObject(5);
777
777
  * // Returns: false
@@ -790,7 +790,7 @@ declare module "util" {
790
790
  * Returns `true` if the given `object` is a primitive type. Otherwise, returns`false`.
791
791
  *
792
792
  * ```js
793
- * const util = require('node:util');
793
+ * import util from 'node:util';
794
794
  *
795
795
  * util.isPrimitive(5);
796
796
  * // Returns: true
@@ -819,7 +819,7 @@ declare module "util" {
819
819
  * Returns `true` if the given `object` is a `string`. Otherwise, returns `false`.
820
820
  *
821
821
  * ```js
822
- * const util = require('node:util');
822
+ * import util from 'node:util';
823
823
  *
824
824
  * util.isString('');
825
825
  * // Returns: true
@@ -838,7 +838,7 @@ declare module "util" {
838
838
  * Returns `true` if the given `object` is a `Symbol`. Otherwise, returns `false`.
839
839
  *
840
840
  * ```js
841
- * const util = require('node:util');
841
+ * import util from 'node:util';
842
842
  *
843
843
  * util.isSymbol(5);
844
844
  * // Returns: false
@@ -855,7 +855,7 @@ declare module "util" {
855
855
  * Returns `true` if the given `object` is `undefined`. Otherwise, returns `false`.
856
856
  *
857
857
  * ```js
858
- * const util = require('node:util');
858
+ * import util from 'node:util';
859
859
  *
860
860
  * const foo = undefined;
861
861
  * util.isUndefined(5);
@@ -874,7 +874,7 @@ declare module "util" {
874
874
  * such a way that it is marked as deprecated.
875
875
  *
876
876
  * ```js
877
- * const util = require('node:util');
877
+ * import util from 'node:util';
878
878
  *
879
879
  * exports.obsoleteFunction = util.deprecate(() => {
880
880
  * // Do something here.
@@ -890,7 +890,7 @@ declare module "util" {
890
890
  * the warning will be emitted only once for that `code`.
891
891
  *
892
892
  * ```js
893
- * const util = require('node:util');
893
+ * import util from 'node:util';
894
894
  *
895
895
  * const fn1 = util.deprecate(someFunction, someMessage, 'DEP0001');
896
896
  * const fn2 = util.deprecate(someOtherFunction, someOtherMessage, 'DEP0001');
@@ -944,7 +944,7 @@ declare module "util" {
944
944
  * first argument will be the rejection reason (or `null` if the `Promise` resolved), and the second argument will be the resolved value.
945
945
  *
946
946
  * ```js
947
- * const util = require('node:util');
947
+ * import util from 'node:util';
948
948
  *
949
949
  * async function fn() {
950
950
  * return 'hello world';
@@ -1070,8 +1070,8 @@ declare module "util" {
1070
1070
  * that returns promises.
1071
1071
  *
1072
1072
  * ```js
1073
- * const util = require('node:util');
1074
- * const fs = require('node:fs');
1073
+ * import util from 'node:util';
1074
+ * import fs from 'node:fs';
1075
1075
  *
1076
1076
  * const stat = util.promisify(fs.stat);
1077
1077
  * stat('.').then((stats) => {
@@ -1084,8 +1084,8 @@ declare module "util" {
1084
1084
  * Or, equivalently using `async function`s:
1085
1085
  *
1086
1086
  * ```js
1087
- * const util = require('node:util');
1088
- * const fs = require('node:fs');
1087
+ * import util from 'node:util';
1088
+ * import fs from 'node:fs';
1089
1089
  *
1090
1090
  * const stat = util.promisify(fs.stat);
1091
1091
  *
@@ -1108,7 +1108,7 @@ declare module "util" {
1108
1108
  * work as expected unless handled specially:
1109
1109
  *
1110
1110
  * ```js
1111
- * const util = require('node:util');
1111
+ * import util from 'node:util';
1112
1112
  *
1113
1113
  * class Foo {
1114
1114
  * constructor() {
@@ -1178,7 +1178,7 @@ declare module "util" {
1178
1178
  * Given an example `.env` file:
1179
1179
  *
1180
1180
  * ```js
1181
- * const { parseEnv } = require('node:util');
1181
+ * import { parseEnv } from 'node:util';
1182
1182
  *
1183
1183
  * parseEnv('HELLO=world\nHELLO=oh my\n');
1184
1184
  * // Returns: { HELLO: 'oh my' }
@@ -1247,7 +1247,7 @@ declare module "util" {
1247
1247
  * This function returns a formatted text considering the `format` passed.
1248
1248
  *
1249
1249
  * ```js
1250
- * const { styleText } = require('node:util');
1250
+ * import { styleText } from 'node:util';
1251
1251
  * const errorMessage = styleText('red', 'Error! Error!');
1252
1252
  * console.log(errorMessage);
1253
1253
  * ```
@@ -1383,7 +1383,7 @@ declare module "util" {
1383
1383
  import { TextDecoder as _TextDecoder, TextEncoder as _TextEncoder } from "util";
1384
1384
  global {
1385
1385
  /**
1386
- * `TextDecoder` class is a global reference for `require('util').TextDecoder`
1386
+ * `TextDecoder` class is a global reference for `import { TextDecoder } from 'node:util'`
1387
1387
  * https://nodejs.org/api/globals.html#textdecoder
1388
1388
  * @since v11.0.0
1389
1389
  */
@@ -1393,7 +1393,7 @@ declare module "util" {
1393
1393
  } ? TextDecoder
1394
1394
  : typeof _TextDecoder;
1395
1395
  /**
1396
- * `TextEncoder` class is a global reference for `require('util').TextEncoder`
1396
+ * `TextEncoder` class is a global reference for `import { TextEncoder } from 'node:util'`
1397
1397
  * https://nodejs.org/api/globals.html#textencoder
1398
1398
  * @since v11.0.0
1399
1399
  */
@@ -2087,7 +2087,7 @@ declare module "util/types" {
2087
2087
  * which come from a different [realm](https://tc39.es/ecma262/#realm) while `instanceof Error` returns `false` for these errors:
2088
2088
  *
2089
2089
  * ```js
2090
- * const vm = require('node:vm');
2090
+ * import vm from 'node:vm';
2091
2091
  * const context = vm.createContext({});
2092
2092
  * const myError = vm.runInContext('new Error()', context);
2093
2093
  * console.log(util.types.isNativeError(myError)); // true
@@ -2,7 +2,7 @@
2
2
  * The `node:v8` module exposes APIs that are specific to the version of [V8](https://developers.google.com/v8/) built into the Node.js binary. It can be accessed using:
3
3
  *
4
4
  * ```js
5
- * const v8 = require('node:v8');
5
+ * import v8 from 'node:v8';
6
6
  * ```
7
7
  * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/v8.js)
8
8
  */
@@ -176,7 +176,7 @@ declare module "v8" {
176
176
  *
177
177
  * ```js
178
178
  * // Print GC events to stdout for one minute.
179
- * const v8 = require('node:v8');
179
+ * import v8 from 'node:v8';
180
180
  * v8.setFlagsFromString('--trace_gc');
181
181
  * setTimeout(() => { v8.setFlagsFromString('--notrace_gc'); }, 60e3);
182
182
  * ```
@@ -243,7 +243,7 @@ declare module "v8" {
243
243
  *
244
244
  * ```js
245
245
  * // Print heap snapshot to the console
246
- * const v8 = require('node:v8');
246
+ * import v8 from 'node:v8';
247
247
  * const stream = v8.getHeapSnapshot();
248
248
  * stream.pipe(process.stdout);
249
249
  * ```
@@ -268,12 +268,12 @@ declare module "v8" {
268
268
  * for a duration depending on the heap size.
269
269
  *
270
270
  * ```js
271
- * const { writeHeapSnapshot } = require('node:v8');
272
- * const {
271
+ * import { writeHeapSnapshot } from 'node:v8';
272
+ * import {
273
273
  * Worker,
274
274
  * isMainThread,
275
275
  * parentPort,
276
- * } = require('node:worker_threads');
276
+ * } from 'node:worker_threads';
277
277
  *
278
278
  * if (isMainThread) {
279
279
  * const worker = new Worker(__filename);
@@ -550,7 +550,7 @@ declare module "v8" {
550
550
  * Here's an example.
551
551
  *
552
552
  * ```js
553
- * const { GCProfiler } = require('v8');
553
+ * import { GCProfiler } from 'node:v8';
554
554
  * const profiler = new GCProfiler();
555
555
  * profiler.start();
556
556
  * setTimeout(() => {
@@ -736,12 +736,12 @@ declare module "v8" {
736
736
  * ```js
737
737
  * 'use strict';
738
738
  *
739
- * const fs = require('node:fs');
740
- * const zlib = require('node:zlib');
741
- * const path = require('node:path');
742
- * const assert = require('node:assert');
739
+ * import fs from 'node:fs';
740
+ * import zlib from 'node:zlib';
741
+ * import path from 'node:path';
742
+ * import assert from 'node:assert';
743
743
  *
744
- * const v8 = require('node:v8');
744
+ * import v8 from 'node:v8';
745
745
  *
746
746
  * class BookShelf {
747
747
  * storage = new Map();