cdk-common 1.0.748 → 1.0.749

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 (276) hide show
  1. package/.gitpod.yml +11 -0
  2. package/.jsii +16 -4
  3. package/API.md +10 -0
  4. package/lib/index.js +7 -3
  5. package/lib/main.js +2 -2
  6. package/lib/managed-policies.d.ts +3 -1
  7. package/lib/managed-policies.js +4 -2
  8. package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/README.md +1 -1
  9. package/node_modules/@types/{form-data/node_modules/@types/node → node}/net.d.ts +2 -2
  10. package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/package.json +2 -2
  11. package/node_modules/@types/{concat-stream/node_modules/@types/node → node/ts4.8}/net.d.ts +2 -2
  12. package/node_modules/call-bind/CHANGELOG.md +9 -0
  13. package/node_modules/call-bind/index.js +1 -1
  14. package/node_modules/call-bind/package.json +10 -6
  15. package/node_modules/define-data-property/CHANGELOG.md +11 -0
  16. package/node_modules/define-data-property/index.js +2 -2
  17. package/node_modules/define-data-property/package.json +19 -18
  18. package/node_modules/define-data-property/test/index.js +7 -7
  19. package/node_modules/es-errors/.eslintrc +5 -0
  20. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  21. package/node_modules/es-errors/CHANGELOG.md +40 -0
  22. package/node_modules/es-errors/LICENSE +21 -0
  23. package/node_modules/es-errors/README.md +55 -0
  24. package/node_modules/es-errors/eval.d.ts +3 -0
  25. package/node_modules/es-errors/eval.js +4 -0
  26. package/node_modules/es-errors/index.d.ts +3 -0
  27. package/node_modules/es-errors/index.js +4 -0
  28. package/node_modules/es-errors/package.json +80 -0
  29. package/node_modules/es-errors/range.d.ts +3 -0
  30. package/node_modules/es-errors/range.js +4 -0
  31. package/node_modules/es-errors/ref.d.ts +3 -0
  32. package/node_modules/es-errors/ref.js +4 -0
  33. package/node_modules/es-errors/syntax.d.ts +3 -0
  34. package/node_modules/es-errors/syntax.js +4 -0
  35. package/node_modules/es-errors/test/index.js +19 -0
  36. package/node_modules/es-errors/tsconfig.json +49 -0
  37. package/node_modules/es-errors/type.d.ts +3 -0
  38. package/node_modules/es-errors/type.js +4 -0
  39. package/node_modules/es-errors/uri.d.ts +3 -0
  40. package/node_modules/es-errors/uri.js +4 -0
  41. package/node_modules/get-intrinsic/CHANGELOG.md +18 -0
  42. package/node_modules/get-intrinsic/index.js +15 -7
  43. package/node_modules/get-intrinsic/package.json +12 -12
  44. package/node_modules/set-function-length/CHANGELOG.md +8 -0
  45. package/node_modules/set-function-length/index.js +1 -1
  46. package/node_modules/set-function-length/package.json +7 -6
  47. package/node_modules/side-channel/.editorconfig +9 -0
  48. package/node_modules/side-channel/.eslintrc +1 -1
  49. package/node_modules/side-channel/CHANGELOG.md +21 -0
  50. package/node_modules/side-channel/index.js +6 -13
  51. package/node_modules/side-channel/package.json +28 -13
  52. package/node_modules/side-channel/test/index.js +5 -0
  53. package/package.json +12 -13
  54. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4486
  55. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  56. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  57. package/node_modules/@types/form-data/node_modules/@types/node/LICENSE +0 -21
  58. package/node_modules/@types/form-data/node_modules/@types/node/README.md +0 -15
  59. package/node_modules/@types/form-data/node_modules/@types/node/assert/strict.d.ts +0 -8
  60. package/node_modules/@types/form-data/node_modules/@types/node/assert.d.ts +0 -996
  61. package/node_modules/@types/form-data/node_modules/@types/node/async_hooks.d.ts +0 -539
  62. package/node_modules/@types/form-data/node_modules/@types/node/buffer.d.ts +0 -2362
  63. package/node_modules/@types/form-data/node_modules/@types/node/child_process.d.ts +0 -1540
  64. package/node_modules/@types/form-data/node_modules/@types/node/cluster.d.ts +0 -432
  65. package/node_modules/@types/form-data/node_modules/@types/node/console.d.ts +0 -415
  66. package/node_modules/@types/form-data/node_modules/@types/node/constants.d.ts +0 -19
  67. package/node_modules/@types/form-data/node_modules/@types/node/dgram.d.ts +0 -596
  68. package/node_modules/@types/form-data/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  69. package/node_modules/@types/form-data/node_modules/@types/node/dns/promises.d.ts +0 -425
  70. package/node_modules/@types/form-data/node_modules/@types/node/dns.d.ts +0 -809
  71. package/node_modules/@types/form-data/node_modules/@types/node/dom-events.d.ts +0 -122
  72. package/node_modules/@types/form-data/node_modules/@types/node/domain.d.ts +0 -170
  73. package/node_modules/@types/form-data/node_modules/@types/node/events.d.ts +0 -879
  74. package/node_modules/@types/form-data/node_modules/@types/node/fs/promises.d.ts +0 -1239
  75. package/node_modules/@types/form-data/node_modules/@types/node/fs.d.ts +0 -4311
  76. package/node_modules/@types/form-data/node_modules/@types/node/globals.d.ts +0 -411
  77. package/node_modules/@types/form-data/node_modules/@types/node/globals.global.d.ts +0 -1
  78. package/node_modules/@types/form-data/node_modules/@types/node/http.d.ts +0 -1887
  79. package/node_modules/@types/form-data/node_modules/@types/node/http2.d.ts +0 -2382
  80. package/node_modules/@types/form-data/node_modules/@types/node/https.d.ts +0 -550
  81. package/node_modules/@types/form-data/node_modules/@types/node/index.d.ts +0 -88
  82. package/node_modules/@types/form-data/node_modules/@types/node/inspector.d.ts +0 -2747
  83. package/node_modules/@types/form-data/node_modules/@types/node/module.d.ts +0 -315
  84. package/node_modules/@types/form-data/node_modules/@types/node/os.d.ts +0 -478
  85. package/node_modules/@types/form-data/node_modules/@types/node/package.json +0 -229
  86. package/node_modules/@types/form-data/node_modules/@types/node/path.d.ts +0 -191
  87. package/node_modules/@types/form-data/node_modules/@types/node/perf_hooks.d.ts +0 -645
  88. package/node_modules/@types/form-data/node_modules/@types/node/process.d.ts +0 -1561
  89. package/node_modules/@types/form-data/node_modules/@types/node/punycode.d.ts +0 -117
  90. package/node_modules/@types/form-data/node_modules/@types/node/querystring.d.ts +0 -141
  91. package/node_modules/@types/form-data/node_modules/@types/node/readline/promises.d.ts +0 -150
  92. package/node_modules/@types/form-data/node_modules/@types/node/readline.d.ts +0 -539
  93. package/node_modules/@types/form-data/node_modules/@types/node/repl.d.ts +0 -430
  94. package/node_modules/@types/form-data/node_modules/@types/node/stream/consumers.d.ts +0 -12
  95. package/node_modules/@types/form-data/node_modules/@types/node/stream/promises.d.ts +0 -83
  96. package/node_modules/@types/form-data/node_modules/@types/node/stream/web.d.ts +0 -366
  97. package/node_modules/@types/form-data/node_modules/@types/node/stream.d.ts +0 -1701
  98. package/node_modules/@types/form-data/node_modules/@types/node/string_decoder.d.ts +0 -67
  99. package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +0 -1465
  100. package/node_modules/@types/form-data/node_modules/@types/node/timers/promises.d.ts +0 -93
  101. package/node_modules/@types/form-data/node_modules/@types/node/timers.d.ts +0 -240
  102. package/node_modules/@types/form-data/node_modules/@types/node/tls.d.ts +0 -1210
  103. package/node_modules/@types/form-data/node_modules/@types/node/trace_events.d.ts +0 -182
  104. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  105. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  106. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  107. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  108. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  109. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  110. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  111. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  112. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4486
  113. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  114. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  115. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  116. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  117. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  118. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  119. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  120. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  121. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  122. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  123. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  124. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  125. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  126. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  127. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  128. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  129. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  130. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  131. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  132. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  133. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  134. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  135. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  136. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  137. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  138. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  139. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  140. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  141. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  142. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  143. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  144. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  145. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  146. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  147. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  148. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  149. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  150. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  151. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  152. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  153. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  154. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  155. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  156. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  157. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  158. package/node_modules/@types/form-data/node_modules/@types/node/tty.d.ts +0 -208
  159. package/node_modules/@types/form-data/node_modules/@types/node/url.d.ts +0 -927
  160. package/node_modules/@types/form-data/node_modules/@types/node/v8.d.ts +0 -635
  161. package/node_modules/@types/form-data/node_modules/@types/node/vm.d.ts +0 -903
  162. package/node_modules/@types/form-data/node_modules/@types/node/wasi.d.ts +0 -179
  163. package/node_modules/@types/form-data/node_modules/@types/node/worker_threads.d.ts +0 -691
  164. package/node_modules/@types/form-data/node_modules/@types/node/zlib.d.ts +0 -517
  165. package/node_modules/asap/CHANGES.md +0 -70
  166. package/node_modules/combined-stream/yarn.lock +0 -17
  167. package/node_modules/side-channel/.eslintignore +0 -1
  168. package/node_modules/sync-rpc/HISTORY.md +0 -5
  169. package/node_modules/then-request/HISTORY.md +0 -79
  170. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/LICENSE +0 -0
  171. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/assert/strict.d.ts +0 -0
  172. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/assert.d.ts +0 -0
  173. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/async_hooks.d.ts +0 -0
  174. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/buffer.d.ts +0 -0
  175. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/child_process.d.ts +0 -0
  176. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/cluster.d.ts +0 -0
  177. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/console.d.ts +0 -0
  178. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/constants.d.ts +0 -0
  179. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/crypto.d.ts +0 -0
  180. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/dgram.d.ts +0 -0
  181. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/diagnostics_channel.d.ts +0 -0
  182. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/dns/promises.d.ts +0 -0
  183. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/dns.d.ts +0 -0
  184. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/dom-events.d.ts +0 -0
  185. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/domain.d.ts +0 -0
  186. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/events.d.ts +0 -0
  187. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/fs/promises.d.ts +0 -0
  188. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/fs.d.ts +0 -0
  189. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/globals.d.ts +0 -0
  190. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/globals.global.d.ts +0 -0
  191. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/http.d.ts +0 -0
  192. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/http2.d.ts +0 -0
  193. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/https.d.ts +0 -0
  194. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/index.d.ts +0 -0
  195. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/inspector.d.ts +0 -0
  196. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/module.d.ts +0 -0
  197. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/os.d.ts +0 -0
  198. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/path.d.ts +0 -0
  199. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/perf_hooks.d.ts +0 -0
  200. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/process.d.ts +0 -0
  201. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/punycode.d.ts +0 -0
  202. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/querystring.d.ts +0 -0
  203. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/readline/promises.d.ts +0 -0
  204. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/readline.d.ts +0 -0
  205. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/repl.d.ts +0 -0
  206. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/stream/consumers.d.ts +0 -0
  207. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/stream/promises.d.ts +0 -0
  208. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/stream/web.d.ts +0 -0
  209. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/stream.d.ts +0 -0
  210. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/string_decoder.d.ts +0 -0
  211. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/test.d.ts +0 -0
  212. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/timers/promises.d.ts +0 -0
  213. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/timers.d.ts +0 -0
  214. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/tls.d.ts +0 -0
  215. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/trace_events.d.ts +0 -0
  216. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/assert/strict.d.ts +0 -0
  217. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/assert.d.ts +0 -0
  218. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/async_hooks.d.ts +0 -0
  219. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/buffer.d.ts +0 -0
  220. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/child_process.d.ts +0 -0
  221. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/cluster.d.ts +0 -0
  222. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/console.d.ts +0 -0
  223. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/constants.d.ts +0 -0
  224. /package/node_modules/@types/{form-data/node_modules/@types/node → node/ts4.8}/crypto.d.ts +0 -0
  225. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/dgram.d.ts +0 -0
  226. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/diagnostics_channel.d.ts +0 -0
  227. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/dns/promises.d.ts +0 -0
  228. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/dns.d.ts +0 -0
  229. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/dom-events.d.ts +0 -0
  230. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/domain.d.ts +0 -0
  231. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/events.d.ts +0 -0
  232. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/fs/promises.d.ts +0 -0
  233. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/fs.d.ts +0 -0
  234. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/globals.d.ts +0 -0
  235. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/globals.global.d.ts +0 -0
  236. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/http.d.ts +0 -0
  237. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/http2.d.ts +0 -0
  238. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/https.d.ts +0 -0
  239. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/index.d.ts +0 -0
  240. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/inspector.d.ts +0 -0
  241. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/module.d.ts +0 -0
  242. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/os.d.ts +0 -0
  243. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/path.d.ts +0 -0
  244. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/perf_hooks.d.ts +0 -0
  245. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/process.d.ts +0 -0
  246. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/punycode.d.ts +0 -0
  247. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/querystring.d.ts +0 -0
  248. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/readline/promises.d.ts +0 -0
  249. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/readline.d.ts +0 -0
  250. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/repl.d.ts +0 -0
  251. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/stream/consumers.d.ts +0 -0
  252. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/stream/promises.d.ts +0 -0
  253. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/stream/web.d.ts +0 -0
  254. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/stream.d.ts +0 -0
  255. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/string_decoder.d.ts +0 -0
  256. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/test.d.ts +0 -0
  257. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/timers/promises.d.ts +0 -0
  258. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/timers.d.ts +0 -0
  259. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/tls.d.ts +0 -0
  260. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/trace_events.d.ts +0 -0
  261. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/tty.d.ts +0 -0
  262. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/url.d.ts +0 -0
  263. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node/ts4.8}/util.d.ts +0 -0
  264. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/v8.d.ts +0 -0
  265. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/vm.d.ts +0 -0
  266. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/wasi.d.ts +0 -0
  267. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/worker_threads.d.ts +0 -0
  268. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/zlib.d.ts +0 -0
  269. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/tty.d.ts +0 -0
  270. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/url.d.ts +0 -0
  271. /package/node_modules/@types/{form-data/node_modules/@types/node → node}/util.d.ts +0 -0
  272. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/v8.d.ts +0 -0
  273. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/vm.d.ts +0 -0
  274. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/wasi.d.ts +0 -0
  275. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/worker_threads.d.ts +0 -0
  276. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/zlib.d.ts +0 -0
@@ -1,179 +0,0 @@
1
- /**
2
- * **The `node:wasi` module does not currently provide the**
3
- * **comprehensive file system security properties provided by some WASI runtimes.**
4
- * **Full support for secure file system sandboxing may or may not be implemented in**
5
- * **future. In the mean time, do not rely on it to run untrusted code.**
6
- *
7
- * The WASI API provides an implementation of the [WebAssembly System Interface](https://wasi.dev/) specification. WASI gives WebAssembly applications access to the underlying
8
- * operating system via a collection of POSIX-like functions.
9
- *
10
- * ```js
11
- * import { readFile } from 'node:fs/promises';
12
- * import { WASI } from 'wasi';
13
- * import { argv, env } from 'node:process';
14
- *
15
- * const wasi = new WASI({
16
- * version: 'preview1',
17
- * args: argv,
18
- * env,
19
- * preopens: {
20
- * '/local': '/some/real/path/that/wasm/can/access',
21
- * },
22
- * });
23
- *
24
- * const wasm = await WebAssembly.compile(
25
- * await readFile(new URL('./demo.wasm', import.meta.url)),
26
- * );
27
- * const instance = await WebAssembly.instantiate(wasm, wasi.getImportObject());
28
- *
29
- * wasi.start(instance);
30
- * ```
31
- *
32
- * To run the above example, create a new WebAssembly text format file named`demo.wat`:
33
- *
34
- * ```text
35
- * (module
36
- * ;; Import the required fd_write WASI function which will write the given io vectors to stdout
37
- * ;; The function signature for fd_write is:
38
- * ;; (File Descriptor, *iovs, iovs_len, nwritten) -> Returns number of bytes written
39
- * (import "wasi_snapshot_preview1" "fd_write" (func $fd_write (param i32 i32 i32 i32) (result i32)))
40
- *
41
- * (memory 1)
42
- * (export "memory" (memory 0))
43
- *
44
- * ;; Write 'hello world\n' to memory at an offset of 8 bytes
45
- * ;; Note the trailing newline which is required for the text to appear
46
- * (data (i32.const 8) "hello world\n")
47
- *
48
- * (func $main (export "_start")
49
- * ;; Creating a new io vector within linear memory
50
- * (i32.store (i32.const 0) (i32.const 8)) ;; iov.iov_base - This is a pointer to the start of the 'hello world\n' string
51
- * (i32.store (i32.const 4) (i32.const 12)) ;; iov.iov_len - The length of the 'hello world\n' string
52
- *
53
- * (call $fd_write
54
- * (i32.const 1) ;; file_descriptor - 1 for stdout
55
- * (i32.const 0) ;; *iovs - The pointer to the iov array, which is stored at memory location 0
56
- * (i32.const 1) ;; iovs_len - We're printing 1 string stored in an iov - so one.
57
- * (i32.const 20) ;; nwritten - A place in memory to store the number of bytes written
58
- * )
59
- * drop ;; Discard the number of bytes written from the top of the stack
60
- * )
61
- * )
62
- * ```
63
- *
64
- * Use [wabt](https://github.com/WebAssembly/wabt) to compile `.wat` to `.wasm`
65
- *
66
- * ```bash
67
- * wat2wasm demo.wat
68
- * ```
69
- * @experimental
70
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/wasi.js)
71
- */
72
- declare module "wasi" {
73
- interface WASIOptions {
74
- /**
75
- * An array of strings that the WebAssembly application will
76
- * see as command line arguments. The first argument is the virtual path to the
77
- * WASI command itself.
78
- */
79
- args?: string[] | undefined;
80
- /**
81
- * An object similar to `process.env` that the WebAssembly
82
- * application will see as its environment.
83
- */
84
- env?: object | undefined;
85
- /**
86
- * This object represents the WebAssembly application's
87
- * sandbox directory structure. The string keys of `preopens` are treated as
88
- * directories within the sandbox. The corresponding values in `preopens` are
89
- * the real paths to those directories on the host machine.
90
- */
91
- preopens?: NodeJS.Dict<string> | undefined;
92
- /**
93
- * By default, when WASI applications call `__wasi_proc_exit()`
94
- * `wasi.start()` will return with the exit code specified rather than terminatng the process.
95
- * Setting this option to `false` will cause the Node.js process to exit with
96
- * the specified exit code instead.
97
- * @default true
98
- */
99
- returnOnExit?: boolean | undefined;
100
- /**
101
- * The file descriptor used as standard input in the WebAssembly application.
102
- * @default 0
103
- */
104
- stdin?: number | undefined;
105
- /**
106
- * The file descriptor used as standard output in the WebAssembly application.
107
- * @default 1
108
- */
109
- stdout?: number | undefined;
110
- /**
111
- * The file descriptor used as standard error in the WebAssembly application.
112
- * @default 2
113
- */
114
- stderr?: number | undefined;
115
- /**
116
- * The version of WASI requested.
117
- * Currently the only supported versions are `'unstable'` and `'preview1'`.
118
- * @since v20.0.0
119
- */
120
- version: string;
121
- }
122
- /**
123
- * The `WASI` class provides the WASI system call API and additional convenience
124
- * methods for working with WASI-based applications. Each `WASI` instance
125
- * represents a distinct environment.
126
- * @since v13.3.0, v12.16.0
127
- */
128
- class WASI {
129
- constructor(options?: WASIOptions);
130
- /**
131
- * Return an import object that can be passed to `WebAssembly.instantiate()` if no other WASM imports are needed beyond those provided by WASI.
132
- *
133
- * If version `unstable` was passed into the constructor it will return:
134
- *
135
- * ```js
136
- * { wasi_unstable: wasi.wasiImport }
137
- * ```
138
- *
139
- * If version `preview1` was passed into the constructor or no version was specified it will return:
140
- *
141
- * ```js
142
- * { wasi_snapshot_preview1: wasi.wasiImport }
143
- * ```
144
- * @since v19.8.0
145
- */
146
- getImportObject(): object;
147
- /**
148
- * Attempt to begin execution of `instance` as a WASI command by invoking its`_start()` export. If `instance` does not contain a `_start()` export, or if`instance` contains an `_initialize()`
149
- * export, then an exception is thrown.
150
- *
151
- * `start()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named`memory`. If
152
- * `instance` does not have a `memory` export an exception is thrown.
153
- *
154
- * If `start()` is called more than once, an exception is thrown.
155
- * @since v13.3.0, v12.16.0
156
- */
157
- start(instance: object): number; // TODO: avoid DOM dependency until WASM moved to own lib.
158
- /**
159
- * Attempt to initialize `instance` as a WASI reactor by invoking its`_initialize()` export, if it is present. If `instance` contains a `_start()`export, then an exception is thrown.
160
- *
161
- * `initialize()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named`memory`.
162
- * If `instance` does not have a `memory` export an exception is thrown.
163
- *
164
- * If `initialize()` is called more than once, an exception is thrown.
165
- * @since v14.6.0, v12.19.0
166
- */
167
- initialize(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
168
- /**
169
- * `wasiImport` is an object that implements the WASI system call API. This object
170
- * should be passed as the `wasi_snapshot_preview1` import during the instantiation
171
- * of a [`WebAssembly.Instance`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance).
172
- * @since v13.3.0, v12.16.0
173
- */
174
- readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
175
- }
176
- }
177
- declare module "node:wasi" {
178
- export * from "wasi";
179
- }