cdk-ecr-deployment 2.5.6 → 2.5.22

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 (376) hide show
  1. package/.gitattributes +5 -4
  2. package/.jsii +673 -21
  3. package/.jsii.tabl.json +1 -0
  4. package/.projenrc.ts +100 -0
  5. package/API.md +4 -4
  6. package/README.md +4 -4
  7. package/lambda/go.mod +2 -5
  8. package/lambda/go.sum +39 -14
  9. package/lib/index.d.ts +7 -65
  10. package/lib/index.js +7 -45
  11. package/node_modules/@sindresorhus/is/dist/index.d.ts +12 -7
  12. package/node_modules/@sindresorhus/is/dist/index.js +9 -4
  13. package/node_modules/@sindresorhus/is/dist/types.d.ts +1 -0
  14. package/node_modules/@sindresorhus/is/package.json +1 -1
  15. package/node_modules/@sindresorhus/is/readme.md +25 -7
  16. package/node_modules/@types/cacheable-request/README.md +2 -2
  17. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
  18. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +135 -75
  19. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +67 -38
  20. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +226 -104
  21. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +87 -58
  22. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +29 -29
  23. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +5 -5
  24. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +888 -256
  25. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +16 -16
  26. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +60 -21
  27. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +52 -8
  28. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +27 -18
  29. package/node_modules/@types/cacheable-request/node_modules/@types/node/dom-events.d.ts +126 -0
  30. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +6 -5
  31. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +166 -93
  32. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +169 -70
  33. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +301 -126
  34. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +22 -13
  35. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +453 -125
  36. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +74 -46
  37. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +103 -53
  38. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +6 -2
  39. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +20 -16
  40. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +6 -4
  41. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +114 -22
  42. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +36 -14
  43. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +15 -3
  44. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +37 -26
  45. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +96 -15
  46. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +95 -82
  47. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  48. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +6 -6
  49. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +145 -0
  50. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +51 -175
  51. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +21 -21
  52. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +2 -14
  53. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +983 -824
  54. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +6 -6
  55. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +1154 -0
  56. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +26 -1
  57. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +127 -6
  58. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +149 -50
  59. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +30 -9
  60. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  61. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert.d.ts +972 -0
  62. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/async_hooks.d.ts +530 -0
  63. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/buffer.d.ts +2354 -0
  64. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/child_process.d.ts +1395 -0
  65. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/cluster.d.ts +414 -0
  66. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  67. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  68. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/crypto.d.ts +3969 -0
  69. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  70. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
  71. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns/promises.d.ts +414 -0
  72. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns.d.ts +668 -0
  73. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  74. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  75. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/events.d.ts +724 -0
  76. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs/promises.d.ts +1189 -0
  77. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs.d.ts +4044 -0
  78. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.d.ts +303 -0
  79. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  80. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http.d.ts +1724 -0
  81. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http2.d.ts +2129 -0
  82. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/https.d.ts +441 -0
  83. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  84. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/inspector.d.ts +2748 -0
  85. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/module.d.ts +116 -0
  86. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/net.d.ts +888 -0
  87. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/os.d.ts +477 -0
  88. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  89. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/perf_hooks.d.ts +638 -0
  90. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/process.d.ts +1494 -0
  91. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  92. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  93. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline/promises.d.ts +145 -0
  94. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline.d.ts +526 -0
  95. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  96. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  97. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  98. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  99. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream.d.ts +1392 -0
  100. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  101. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/test.d.ts +1154 -0
  102. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  103. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers.d.ts +215 -0
  104. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tls.d.ts +1119 -0
  105. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  106. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  107. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/url.d.ts +901 -0
  108. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/util.d.ts +2052 -0
  109. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
  110. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/vm.d.ts +894 -0
  111. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/wasi.d.ts +152 -0
  112. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/worker_threads.d.ts +693 -0
  113. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  114. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +11 -7
  115. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +66 -56
  116. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +528 -70
  117. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +271 -14
  118. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +421 -34
  119. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +15 -21
  120. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +81 -37
  121. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +11 -11
  122. package/node_modules/@types/cacheable-request/package.json +5 -5
  123. package/node_modules/@types/keyv/README.md +1 -1
  124. package/node_modules/@types/keyv/index.d.ts +16 -3
  125. package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
  126. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +135 -75
  127. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +67 -38
  128. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +226 -104
  129. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +87 -58
  130. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +29 -29
  131. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +5 -5
  132. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +888 -256
  133. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +16 -16
  134. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +60 -21
  135. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +52 -8
  136. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +27 -18
  137. package/node_modules/@types/keyv/node_modules/@types/node/dom-events.d.ts +126 -0
  138. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +6 -5
  139. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +166 -93
  140. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +169 -70
  141. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +301 -126
  142. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +22 -13
  143. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +453 -125
  144. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +74 -46
  145. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +103 -53
  146. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +6 -2
  147. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +20 -16
  148. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +6 -4
  149. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +114 -22
  150. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +36 -14
  151. package/node_modules/@types/keyv/node_modules/@types/node/package.json +15 -3
  152. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +37 -26
  153. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +96 -15
  154. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +95 -82
  155. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  156. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +6 -6
  157. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +145 -0
  158. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +51 -175
  159. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +21 -21
  160. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +2 -14
  161. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +983 -824
  162. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +6 -6
  163. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +1154 -0
  164. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +26 -1
  165. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +127 -6
  166. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +149 -50
  167. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +30 -9
  168. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  169. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert.d.ts +972 -0
  170. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/async_hooks.d.ts +530 -0
  171. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/buffer.d.ts +2354 -0
  172. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/child_process.d.ts +1395 -0
  173. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/cluster.d.ts +414 -0
  174. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  175. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  176. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/crypto.d.ts +3969 -0
  177. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  178. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
  179. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns/promises.d.ts +414 -0
  180. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns.d.ts +668 -0
  181. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  182. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  183. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/events.d.ts +724 -0
  184. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs/promises.d.ts +1189 -0
  185. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs.d.ts +4044 -0
  186. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.d.ts +303 -0
  187. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  188. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http.d.ts +1724 -0
  189. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http2.d.ts +2129 -0
  190. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/https.d.ts +441 -0
  191. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  192. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/inspector.d.ts +2748 -0
  193. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/module.d.ts +116 -0
  194. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/net.d.ts +888 -0
  195. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/os.d.ts +477 -0
  196. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  197. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/perf_hooks.d.ts +638 -0
  198. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/process.d.ts +1494 -0
  199. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  200. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  201. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline/promises.d.ts +145 -0
  202. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline.d.ts +526 -0
  203. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  204. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  205. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  206. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  207. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream.d.ts +1392 -0
  208. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  209. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/test.d.ts +1154 -0
  210. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  211. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers.d.ts +215 -0
  212. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tls.d.ts +1119 -0
  213. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  214. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  215. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/url.d.ts +901 -0
  216. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/util.d.ts +2052 -0
  217. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
  218. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/vm.d.ts +894 -0
  219. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/wasi.d.ts +152 -0
  220. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/worker_threads.d.ts +693 -0
  221. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  222. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +11 -7
  223. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +66 -56
  224. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +528 -70
  225. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +271 -14
  226. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +421 -34
  227. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +15 -21
  228. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +81 -37
  229. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +11 -11
  230. package/node_modules/@types/keyv/package.json +3 -3
  231. package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
  232. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +135 -75
  233. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +67 -38
  234. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +226 -104
  235. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +87 -58
  236. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +29 -29
  237. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +5 -5
  238. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +888 -256
  239. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +16 -16
  240. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +60 -21
  241. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +52 -8
  242. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +27 -18
  243. package/node_modules/@types/responselike/node_modules/@types/node/dom-events.d.ts +126 -0
  244. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +6 -5
  245. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +166 -93
  246. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +169 -70
  247. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +301 -126
  248. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +22 -13
  249. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +453 -125
  250. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +74 -46
  251. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +103 -53
  252. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +6 -2
  253. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +20 -16
  254. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +6 -4
  255. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +114 -22
  256. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +36 -14
  257. package/node_modules/@types/responselike/node_modules/@types/node/package.json +15 -3
  258. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +37 -26
  259. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +96 -15
  260. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +95 -82
  261. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  262. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +6 -6
  263. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +145 -0
  264. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +51 -175
  265. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +21 -21
  266. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +2 -14
  267. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +983 -824
  268. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +6 -6
  269. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +1154 -0
  270. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +26 -1
  271. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +127 -6
  272. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +149 -50
  273. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +30 -9
  274. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  275. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert.d.ts +972 -0
  276. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/async_hooks.d.ts +530 -0
  277. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/buffer.d.ts +2354 -0
  278. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/child_process.d.ts +1395 -0
  279. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/cluster.d.ts +414 -0
  280. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  281. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  282. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/crypto.d.ts +3969 -0
  283. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  284. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
  285. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns/promises.d.ts +414 -0
  286. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns.d.ts +668 -0
  287. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  288. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  289. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/events.d.ts +724 -0
  290. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs/promises.d.ts +1189 -0
  291. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs.d.ts +4044 -0
  292. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.d.ts +303 -0
  293. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  294. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http.d.ts +1724 -0
  295. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http2.d.ts +2129 -0
  296. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/https.d.ts +441 -0
  297. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  298. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/inspector.d.ts +2748 -0
  299. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/module.d.ts +116 -0
  300. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/net.d.ts +888 -0
  301. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/os.d.ts +477 -0
  302. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  303. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/perf_hooks.d.ts +638 -0
  304. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/process.d.ts +1494 -0
  305. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  306. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  307. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline/promises.d.ts +145 -0
  308. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline.d.ts +526 -0
  309. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  310. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  311. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  312. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  313. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream.d.ts +1392 -0
  314. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  315. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/test.d.ts +1154 -0
  316. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  317. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers.d.ts +215 -0
  318. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tls.d.ts +1119 -0
  319. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  320. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  321. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/url.d.ts +901 -0
  322. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/util.d.ts +2052 -0
  323. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
  324. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/vm.d.ts +894 -0
  325. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/wasi.d.ts +152 -0
  326. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/worker_threads.d.ts +693 -0
  327. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  328. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +11 -7
  329. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +66 -56
  330. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +528 -70
  331. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +271 -14
  332. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +421 -34
  333. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +15 -21
  334. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +81 -37
  335. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +11 -11
  336. package/node_modules/cacheable-request/package.json +1 -1
  337. package/node_modules/clone-response/node_modules/mimic-response/index.js +32 -0
  338. package/node_modules/{get-stream → clone-response/node_modules/mimic-response}/license +1 -1
  339. package/node_modules/clone-response/node_modules/mimic-response/package.json +37 -0
  340. package/node_modules/clone-response/node_modules/mimic-response/readme.md +54 -0
  341. package/node_modules/clone-response/package.json +3 -6
  342. package/node_modules/got/dist/source/as-promise/index.js +1 -0
  343. package/node_modules/got/package.json +2 -1
  344. package/node_modules/http-cache-semantics/index.js +4 -3
  345. package/node_modules/http-cache-semantics/package.json +2 -8
  346. package/node_modules/keyv/README.md +141 -5
  347. package/node_modules/keyv/package.json +56 -50
  348. package/node_modules/keyv/src/index.d.ts +116 -0
  349. package/node_modules/keyv/src/index.js +179 -24
  350. package/node_modules/mimic-response/index.js +58 -13
  351. package/node_modules/mimic-response/license +1 -1
  352. package/node_modules/mimic-response/package.json +40 -35
  353. package/node_modules/mimic-response/readme.md +33 -9
  354. package/node_modules/responselike/package.json +3 -2
  355. package/package.json +54 -25
  356. package/rosetta/default.ts-fixture +17 -0
  357. package/changelog.md +0 -2
  358. package/node_modules/decompress-response/node_modules/mimic-response/index.js +0 -77
  359. package/node_modules/decompress-response/node_modules/mimic-response/package.json +0 -42
  360. package/node_modules/decompress-response/node_modules/mimic-response/readme.md +0 -78
  361. package/node_modules/keyv/.nyc_output/37411020-4142-4b08-b825-343ba2427bf7.json +0 -1
  362. package/node_modules/keyv/.nyc_output/cd79f2de-c8b8-4493-bc15-b2bde28efa4b.json +0 -1
  363. package/node_modules/keyv/.nyc_output/processinfo/37411020-4142-4b08-b825-343ba2427bf7.json +0 -1
  364. package/node_modules/keyv/.nyc_output/processinfo/cd79f2de-c8b8-4493-bc15-b2bde28efa4b.json +0 -1
  365. package/node_modules/keyv/.nyc_output/processinfo/index.json +0 -1
  366. package/node_modules/keyv/test/test.js +0 -132
  367. package/node_modules/keyv/test/testdb.sqlite +0 -0
  368. package/releasetag.txt +0 -1
  369. package/version.txt +0 -1
  370. /package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/buffer-stream.js +0 -0
  371. /package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/index.d.ts +0 -0
  372. /package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/index.js +0 -0
  373. /package/node_modules/{decompress-response/node_modules/mimic-response → cacheable-request/node_modules/get-stream}/license +0 -0
  374. /package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/package.json +0 -0
  375. /package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/readme.md +0 -0
  376. /package/node_modules/{decompress-response/node_modules/mimic-response → mimic-response}/index.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  /**
2
- * The `assert` module provides a set of assertion functions for verifying
2
+ * The `node:assert` module provides a set of assertion functions for verifying
3
3
  * invariants.
4
- * @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/assert.js)
4
+ * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/assert.js)
5
5
  */
6
6
  declare module 'assert' {
7
7
  /**
@@ -12,14 +12,28 @@ declare module 'assert' {
12
12
  function assert(value: unknown, message?: string | Error): asserts value;
13
13
  namespace assert {
14
14
  /**
15
- * Indicates the failure of an assertion. All errors thrown by the `assert` module
16
- * will be instances of the `AssertionError` class.
15
+ * Indicates the failure of an assertion. All errors thrown by the `node:assert`module will be instances of the `AssertionError` class.
17
16
  */
18
17
  class AssertionError extends Error {
18
+ /**
19
+ * Set to the `actual` argument for methods such as {@link assert.strictEqual()}.
20
+ */
19
21
  actual: unknown;
22
+ /**
23
+ * Set to the `expected` argument for methods such as {@link assert.strictEqual()}.
24
+ */
20
25
  expected: unknown;
26
+ /**
27
+ * Set to the passed in operator value.
28
+ */
21
29
  operator: string;
30
+ /**
31
+ * Indicates if the message was auto-generated (`true`) or not.
32
+ */
22
33
  generatedMessage: boolean;
34
+ /**
35
+ * Value is always `ERR_ASSERTION` to show that the error is an assertion error.
36
+ */
23
37
  code: 'ERR_ASSERTION';
24
38
  constructor(options?: {
25
39
  /** If provided, the error message is set to this value. */
@@ -36,9 +50,10 @@ declare module 'assert' {
36
50
  });
37
51
  }
38
52
  /**
39
- * This feature is currently experimental and behavior might still change.
53
+ * This feature is deprecated and will be removed in a future version.
54
+ * Please consider using alternatives such as the `mock` helper function.
40
55
  * @since v14.2.0, v12.19.0
41
- * @experimental
56
+ * @deprecated Deprecated
42
57
  */
43
58
  class CallTracker {
44
59
  /**
@@ -47,7 +62,7 @@ declare module 'assert' {
47
62
  * error.
48
63
  *
49
64
  * ```js
50
- * import assert from 'assert';
65
+ * import assert from 'node:assert';
51
66
  *
52
67
  * // Creates call tracker.
53
68
  * const tracker = new assert.CallTracker();
@@ -65,26 +80,44 @@ declare module 'assert' {
65
80
  */
66
81
  calls(exact?: number): () => void;
67
82
  calls<Func extends (...args: any[]) => any>(fn?: Func, exact?: number): Func;
83
+ /**
84
+ * Example:
85
+ *
86
+ * ```js
87
+ * import assert from 'node:assert';
88
+ *
89
+ * const tracker = new assert.CallTracker();
90
+ *
91
+ * function func() {}
92
+ * const callsfunc = tracker.calls(func);
93
+ * callsfunc(1, 2, 3);
94
+ *
95
+ * assert.deepStrictEqual(tracker.getCalls(callsfunc),
96
+ * [{ thisArg: undefined, arguments: [1, 2, 3] }]);
97
+ * ```
98
+ * @since v18.8.0, v16.18.0
99
+ * @param fn
100
+ * @return An Array with all the calls to a tracked function.
101
+ */
102
+ getCalls(fn: Function): CallTrackerCall[];
68
103
  /**
69
104
  * The arrays contains information about the expected and actual number of calls of
70
105
  * the functions that have not been called the expected number of times.
71
106
  *
72
107
  * ```js
73
- * import assert from 'assert';
108
+ * import assert from 'node:assert';
74
109
  *
75
110
  * // Creates call tracker.
76
111
  * const tracker = new assert.CallTracker();
77
112
  *
78
113
  * function func() {}
79
114
  *
80
- * function foo() {}
81
- *
82
115
  * // Returns a function that wraps func() that must be called exact times
83
116
  * // before tracker.verify().
84
117
  * const callsfunc = tracker.calls(func, 2);
85
118
  *
86
119
  * // Returns an array containing information on callsfunc()
87
- * tracker.report();
120
+ * console.log(tracker.report());
88
121
  * // [
89
122
  * // {
90
123
  * // message: 'Expected the func function to be executed 2 time(s) but was
@@ -97,15 +130,39 @@ declare module 'assert' {
97
130
  * // ]
98
131
  * ```
99
132
  * @since v14.2.0, v12.19.0
100
- * @return of objects containing information about the wrapper functions returned by `calls`.
133
+ * @return An Array of objects containing information about the wrapper functions returned by `calls`.
101
134
  */
102
135
  report(): CallTrackerReportInformation[];
136
+ /**
137
+ * Reset calls of the call tracker.
138
+ * If a tracked function is passed as an argument, the calls will be reset for it.
139
+ * If no arguments are passed, all tracked functions will be reset.
140
+ *
141
+ * ```js
142
+ * import assert from 'node:assert';
143
+ *
144
+ * const tracker = new assert.CallTracker();
145
+ *
146
+ * function func() {}
147
+ * const callsfunc = tracker.calls(func);
148
+ *
149
+ * callsfunc();
150
+ * // Tracker was called once
151
+ * assert.strictEqual(tracker.getCalls(callsfunc).length, 1);
152
+ *
153
+ * tracker.reset(callsfunc);
154
+ * assert.strictEqual(tracker.getCalls(callsfunc).length, 0);
155
+ * ```
156
+ * @since v18.8.0, v16.18.0
157
+ * @param fn a tracked function to reset.
158
+ */
159
+ reset(fn?: Function): void;
103
160
  /**
104
161
  * Iterates through the list of functions passed to `tracker.calls()` and will throw an error for functions that
105
162
  * have not been called the expected number of times.
106
163
  *
107
164
  * ```js
108
- * import assert from 'assert';
165
+ * import assert from 'node:assert';
109
166
  *
110
167
  * // Creates call tracker.
111
168
  * const tracker = new assert.CallTracker();
@@ -125,6 +182,10 @@ declare module 'assert' {
125
182
  */
126
183
  verify(): void;
127
184
  }
185
+ interface CallTrackerCall {
186
+ thisArg: object;
187
+ arguments: unknown[];
188
+ }
128
189
  interface CallTrackerReportInformation {
129
190
  message: string;
130
191
  /** The actual number of times the function was called. */
@@ -143,7 +204,7 @@ declare module 'assert' {
143
204
  * it will be thrown instead of the `AssertionError`.
144
205
  *
145
206
  * ```js
146
- * import assert from 'assert/strict';
207
+ * import assert from 'node:assert/strict';
147
208
  *
148
209
  * assert.fail();
149
210
  * // AssertionError [ERR_ASSERTION]: Failed
@@ -181,7 +242,7 @@ declare module 'assert' {
181
242
  * thrown in a file! See below for further details.
182
243
  *
183
244
  * ```js
184
- * import assert from 'assert/strict';
245
+ * import assert from 'node:assert/strict';
185
246
  *
186
247
  * assert.ok(true);
187
248
  * // OK
@@ -216,7 +277,7 @@ declare module 'assert' {
216
277
  * ```
217
278
  *
218
279
  * ```js
219
- * import assert from 'assert/strict';
280
+ * import assert from 'node:assert/strict';
220
281
  *
221
282
  * // Using `assert()` works the same:
222
283
  * assert(0);
@@ -237,11 +298,11 @@ declare module 'assert' {
237
298
  * > Stability: 3 - Legacy: Use {@link strictEqual} instead.
238
299
  *
239
300
  * Tests shallow, coercive equality between the `actual` and `expected` parameters
240
- * using the [Abstract Equality Comparison](https://tc39.github.io/ecma262/#sec-abstract-equality-comparison) ( `==` ). `NaN` is special handled
241
- * and treated as being identical in case both sides are `NaN`.
301
+ * using the [`==` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality). `NaN` is specially handled
302
+ * and treated as being identical if both sides are `NaN`.
242
303
  *
243
304
  * ```js
244
- * import assert from 'assert';
305
+ * import assert from 'node:assert';
245
306
  *
246
307
  * assert.equal(1, 1);
247
308
  * // OK, 1 == 1
@@ -270,12 +331,11 @@ declare module 'assert' {
270
331
  *
271
332
  * > Stability: 3 - Legacy: Use {@link notStrictEqual} instead.
272
333
  *
273
- * Tests shallow, coercive inequality with the [Abstract Equality Comparison](https://tc39.github.io/ecma262/#sec-abstract-equality-comparison)(`!=` ). `NaN` is special handled and treated as
274
- * being identical in case both
275
- * sides are `NaN`.
334
+ * Tests shallow, coercive inequality with the [`!=` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality). `NaN` is
335
+ * specially handled and treated as being identical if both sides are `NaN`.
276
336
  *
277
337
  * ```js
278
- * import assert from 'assert';
338
+ * import assert from 'node:assert';
279
339
  *
280
340
  * assert.notEqual(1, 2);
281
341
  * // OK
@@ -322,24 +382,24 @@ declare module 'assert' {
322
382
  * Tests for any deep inequality. Opposite of {@link deepEqual}.
323
383
  *
324
384
  * ```js
325
- * import assert from 'assert';
385
+ * import assert from 'node:assert';
326
386
  *
327
387
  * const obj1 = {
328
388
  * a: {
329
- * b: 1
330
- * }
389
+ * b: 1,
390
+ * },
331
391
  * };
332
392
  * const obj2 = {
333
393
  * a: {
334
- * b: 2
335
- * }
394
+ * b: 2,
395
+ * },
336
396
  * };
337
397
  * const obj3 = {
338
398
  * a: {
339
- * b: 1
340
- * }
399
+ * b: 1,
400
+ * },
341
401
  * };
342
- * const obj4 = Object.create(obj1);
402
+ * const obj4 = { __proto__: obj1 };
343
403
  *
344
404
  * assert.notDeepEqual(obj1, obj1);
345
405
  * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
@@ -362,10 +422,10 @@ declare module 'assert' {
362
422
  function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
363
423
  /**
364
424
  * Tests strict equality between the `actual` and `expected` parameters as
365
- * determined by the [SameValue Comparison](https://tc39.github.io/ecma262/#sec-samevalue).
425
+ * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
366
426
  *
367
427
  * ```js
368
- * import assert from 'assert/strict';
428
+ * import assert from 'node:assert/strict';
369
429
  *
370
430
  * assert.strictEqual(1, 2);
371
431
  * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal:
@@ -400,10 +460,10 @@ declare module 'assert' {
400
460
  function strictEqual<T>(actual: unknown, expected: T, message?: string | Error): asserts actual is T;
401
461
  /**
402
462
  * Tests strict inequality between the `actual` and `expected` parameters as
403
- * determined by the [SameValue Comparison](https://tc39.github.io/ecma262/#sec-samevalue).
463
+ * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
404
464
  *
405
465
  * ```js
406
- * import assert from 'assert/strict';
466
+ * import assert from 'node:assert/strict';
407
467
  *
408
468
  * assert.notStrictEqual(1, 2);
409
469
  * // OK
@@ -434,7 +494,7 @@ declare module 'assert' {
434
494
  * Tests for deep strict inequality. Opposite of {@link deepStrictEqual}.
435
495
  *
436
496
  * ```js
437
- * import assert from 'assert/strict';
497
+ * import assert from 'node:assert/strict';
438
498
  *
439
499
  * assert.notDeepStrictEqual({ a: 1 }, { a: '1' });
440
500
  * // OK
@@ -465,14 +525,14 @@ declare module 'assert' {
465
525
  * Custom validation object/error instance:
466
526
  *
467
527
  * ```js
468
- * import assert from 'assert/strict';
528
+ * import assert from 'node:assert/strict';
469
529
  *
470
530
  * const err = new TypeError('Wrong value');
471
531
  * err.code = 404;
472
532
  * err.foo = 'bar';
473
533
  * err.info = {
474
534
  * nested: true,
475
- * baz: 'text'
535
+ * baz: 'text',
476
536
  * };
477
537
  * err.reg = /abc/i;
478
538
  *
@@ -485,16 +545,16 @@ declare module 'assert' {
485
545
  * message: 'Wrong value',
486
546
  * info: {
487
547
  * nested: true,
488
- * baz: 'text'
489
- * }
548
+ * baz: 'text',
549
+ * },
490
550
  * // Only properties on the validation object will be tested for.
491
551
  * // Using nested objects requires all properties to be present. Otherwise
492
552
  * // the validation is going to fail.
493
- * }
553
+ * },
494
554
  * );
495
555
  *
496
556
  * // Using regular expressions to validate error properties:
497
- * throws(
557
+ * assert.throws(
498
558
  * () => {
499
559
  * throw err;
500
560
  * },
@@ -508,17 +568,17 @@ declare module 'assert' {
508
568
  * info: {
509
569
  * nested: true,
510
570
  * // It is not possible to use regular expressions for nested properties!
511
- * baz: 'text'
571
+ * baz: 'text',
512
572
  * },
513
573
  * // The `reg` property contains a regular expression and only if the
514
574
  * // validation object contains an identical regular expression, it is going
515
575
  * // to pass.
516
- * reg: /abc/i
517
- * }
576
+ * reg: /abc/i,
577
+ * },
518
578
  * );
519
579
  *
520
580
  * // Fails due to the different `message` and `name` properties:
521
- * throws(
581
+ * assert.throws(
522
582
  * () => {
523
583
  * const otherErr = new Error('Not found');
524
584
  * // Copy all enumerable properties from `err` to `otherErr`.
@@ -529,20 +589,20 @@ declare module 'assert' {
529
589
  * },
530
590
  * // The error's `message` and `name` properties will also be checked when using
531
591
  * // an error as validation object.
532
- * err
592
+ * err,
533
593
  * );
534
594
  * ```
535
595
  *
536
596
  * Validate instanceof using constructor:
537
597
  *
538
598
  * ```js
539
- * import assert from 'assert/strict';
599
+ * import assert from 'node:assert/strict';
540
600
  *
541
601
  * assert.throws(
542
602
  * () => {
543
603
  * throw new Error('Wrong value');
544
604
  * },
545
- * Error
605
+ * Error,
546
606
  * );
547
607
  * ```
548
608
  *
@@ -552,13 +612,13 @@ declare module 'assert' {
552
612
  * therefore also include the error name.
553
613
  *
554
614
  * ```js
555
- * import assert from 'assert/strict';
615
+ * import assert from 'node:assert/strict';
556
616
  *
557
617
  * assert.throws(
558
618
  * () => {
559
619
  * throw new Error('Wrong value');
560
620
  * },
561
- * /^Error: Wrong value$/
621
+ * /^Error: Wrong value$/,
562
622
  * );
563
623
  * ```
564
624
  *
@@ -568,7 +628,7 @@ declare module 'assert' {
568
628
  * It will otherwise fail with an `AssertionError`.
569
629
  *
570
630
  * ```js
571
- * import assert from 'assert/strict';
631
+ * import assert from 'node:assert/strict';
572
632
  *
573
633
  * assert.throws(
574
634
  * () => {
@@ -584,7 +644,7 @@ declare module 'assert' {
584
644
  * // possible.
585
645
  * return true;
586
646
  * },
587
- * 'unexpected error'
647
+ * 'unexpected error',
588
648
  * );
589
649
  * ```
590
650
  *
@@ -594,7 +654,7 @@ declare module 'assert' {
594
654
  * a string as the second argument gets considered:
595
655
  *
596
656
  * ```js
597
- * import assert from 'assert/strict';
657
+ * import assert from 'node:assert/strict';
598
658
  *
599
659
  * function throwingFirst() {
600
660
  * throw new Error('First');
@@ -650,20 +710,20 @@ declare module 'assert' {
650
710
  * propagated back to the caller.
651
711
  *
652
712
  * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
653
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) or a validation
713
+ * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation
654
714
  * function. See {@link throws} for more details.
655
715
  *
656
716
  * The following, for instance, will throw the `TypeError` because there is no
657
717
  * matching error type in the assertion:
658
718
  *
659
719
  * ```js
660
- * import assert from 'assert/strict';
720
+ * import assert from 'node:assert/strict';
661
721
  *
662
722
  * assert.doesNotThrow(
663
723
  * () => {
664
724
  * throw new TypeError('Wrong value');
665
725
  * },
666
- * SyntaxError
726
+ * SyntaxError,
667
727
  * );
668
728
  * ```
669
729
  *
@@ -671,27 +731,27 @@ declare module 'assert' {
671
731
  * 'Got unwanted exception...':
672
732
  *
673
733
  * ```js
674
- * import assert from 'assert/strict';
734
+ * import assert from 'node:assert/strict';
675
735
  *
676
736
  * assert.doesNotThrow(
677
737
  * () => {
678
738
  * throw new TypeError('Wrong value');
679
739
  * },
680
- * TypeError
740
+ * TypeError,
681
741
  * );
682
742
  * ```
683
743
  *
684
744
  * If an `AssertionError` is thrown and a value is provided for the `message`parameter, the value of `message` will be appended to the `AssertionError` message:
685
745
  *
686
746
  * ```js
687
- * import assert from 'assert/strict';
747
+ * import assert from 'node:assert/strict';
688
748
  *
689
749
  * assert.doesNotThrow(
690
750
  * () => {
691
751
  * throw new TypeError('Wrong value');
692
752
  * },
693
753
  * /Wrong value/,
694
- * 'Whoops'
754
+ * 'Whoops',
695
755
  * );
696
756
  * // Throws: AssertionError: Got unwanted exception: Whoops
697
757
  * ```
@@ -705,7 +765,7 @@ declare module 'assert' {
705
765
  * from the error passed to `ifError()` including the potential new frames for`ifError()` itself.
706
766
  *
707
767
  * ```js
708
- * import assert from 'assert/strict';
768
+ * import assert from 'node:assert/strict';
709
769
  *
710
770
  * assert.ifError(null);
711
771
  * // OK
@@ -751,7 +811,7 @@ declare module 'assert' {
751
811
  * If specified, `message` will be the message provided by the `AssertionError` if the `asyncFn` fails to reject.
752
812
  *
753
813
  * ```js
754
- * import assert from 'assert/strict';
814
+ * import assert from 'node:assert/strict';
755
815
  *
756
816
  * await assert.rejects(
757
817
  * async () => {
@@ -759,13 +819,13 @@ declare module 'assert' {
759
819
  * },
760
820
  * {
761
821
  * name: 'TypeError',
762
- * message: 'Wrong value'
763
- * }
822
+ * message: 'Wrong value',
823
+ * },
764
824
  * );
765
825
  * ```
766
826
  *
767
827
  * ```js
768
- * import assert from 'assert/strict';
828
+ * import assert from 'node:assert/strict';
769
829
  *
770
830
  * await assert.rejects(
771
831
  * async () => {
@@ -775,16 +835,16 @@ declare module 'assert' {
775
835
  * assert.strictEqual(err.name, 'TypeError');
776
836
  * assert.strictEqual(err.message, 'Wrong value');
777
837
  * return true;
778
- * }
838
+ * },
779
839
  * );
780
840
  * ```
781
841
  *
782
842
  * ```js
783
- * import assert from 'assert/strict';
843
+ * import assert from 'node:assert/strict';
784
844
  *
785
845
  * assert.rejects(
786
846
  * Promise.reject(new Error('Wrong value')),
787
- * Error
847
+ * Error,
788
848
  * ).then(() => {
789
849
  * // ...
790
850
  * });
@@ -814,24 +874,24 @@ declare module 'assert' {
814
874
  * error messages as expressive as possible.
815
875
  *
816
876
  * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
817
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) or a validation
877
+ * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation
818
878
  * function. See {@link throws} for more details.
819
879
  *
820
880
  * Besides the async nature to await the completion behaves identically to {@link doesNotThrow}.
821
881
  *
822
882
  * ```js
823
- * import assert from 'assert/strict';
883
+ * import assert from 'node:assert/strict';
824
884
  *
825
885
  * await assert.doesNotReject(
826
886
  * async () => {
827
887
  * throw new TypeError('Wrong value');
828
888
  * },
829
- * SyntaxError
889
+ * SyntaxError,
830
890
  * );
831
891
  * ```
832
892
  *
833
893
  * ```js
834
- * import assert from 'assert/strict';
894
+ * import assert from 'node:assert/strict';
835
895
  *
836
896
  * assert.doesNotReject(Promise.reject(new TypeError('Wrong value')))
837
897
  * .then(() => {
@@ -846,7 +906,7 @@ declare module 'assert' {
846
906
  * Expects the `string` input to match the regular expression.
847
907
  *
848
908
  * ```js
849
- * import assert from 'assert/strict';
909
+ * import assert from 'node:assert/strict';
850
910
  *
851
911
  * assert.match('I will fail', /pass/);
852
912
  * // AssertionError [ERR_ASSERTION]: The input did not match the regular ...
@@ -869,7 +929,7 @@ declare module 'assert' {
869
929
  * Expects the `string` input not to match the regular expression.
870
930
  *
871
931
  * ```js
872
- * import assert from 'assert/strict';
932
+ * import assert from 'node:assert/strict';
873
933
  *
874
934
  * assert.doesNotMatch('I will fail', /fail/);
875
935
  * // AssertionError [ERR_ASSERTION]: The input was expected to not match the ...