cdk-common 1.0.747 → 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 -10
  3. package/API.md +10 -5
  4. package/lib/index.js +7 -3
  5. package/lib/main.js +2 -2
  6. package/lib/managed-policies.d.ts +3 -2
  7. package/lib/managed-policies.js +4 -3
  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/{form-data/node_modules/@types/node → node}/tls.d.ts +1 -1
  12. package/node_modules/@types/{concat-stream/node_modules/@types/node → node/ts4.8}/net.d.ts +2 -2
  13. package/node_modules/@types/{concat-stream/node_modules/@types/node → node/ts4.8}/tls.d.ts +1 -1
  14. package/node_modules/call-bind/CHANGELOG.md +9 -0
  15. package/node_modules/call-bind/index.js +1 -1
  16. package/node_modules/call-bind/package.json +10 -6
  17. package/node_modules/define-data-property/CHANGELOG.md +11 -0
  18. package/node_modules/define-data-property/index.js +2 -2
  19. package/node_modules/define-data-property/package.json +19 -18
  20. package/node_modules/define-data-property/test/index.js +7 -7
  21. package/node_modules/es-errors/.eslintrc +5 -0
  22. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  23. package/node_modules/es-errors/CHANGELOG.md +40 -0
  24. package/node_modules/es-errors/LICENSE +21 -0
  25. package/node_modules/es-errors/README.md +55 -0
  26. package/node_modules/es-errors/eval.d.ts +3 -0
  27. package/node_modules/es-errors/eval.js +4 -0
  28. package/node_modules/es-errors/index.d.ts +3 -0
  29. package/node_modules/es-errors/index.js +4 -0
  30. package/node_modules/es-errors/package.json +80 -0
  31. package/node_modules/es-errors/range.d.ts +3 -0
  32. package/node_modules/es-errors/range.js +4 -0
  33. package/node_modules/es-errors/ref.d.ts +3 -0
  34. package/node_modules/es-errors/ref.js +4 -0
  35. package/node_modules/es-errors/syntax.d.ts +3 -0
  36. package/node_modules/es-errors/syntax.js +4 -0
  37. package/node_modules/es-errors/test/index.js +19 -0
  38. package/node_modules/es-errors/tsconfig.json +49 -0
  39. package/node_modules/es-errors/type.d.ts +3 -0
  40. package/node_modules/es-errors/type.js +4 -0
  41. package/node_modules/es-errors/uri.d.ts +3 -0
  42. package/node_modules/es-errors/uri.js +4 -0
  43. package/node_modules/get-intrinsic/CHANGELOG.md +18 -0
  44. package/node_modules/get-intrinsic/index.js +15 -7
  45. package/node_modules/get-intrinsic/package.json +12 -12
  46. package/node_modules/set-function-length/CHANGELOG.md +8 -0
  47. package/node_modules/set-function-length/index.js +1 -1
  48. package/node_modules/set-function-length/package.json +7 -6
  49. package/node_modules/side-channel/.editorconfig +9 -0
  50. package/node_modules/side-channel/.eslintrc +1 -1
  51. package/node_modules/side-channel/CHANGELOG.md +21 -0
  52. package/node_modules/side-channel/index.js +6 -13
  53. package/node_modules/side-channel/package.json +28 -13
  54. package/node_modules/side-channel/test/index.js +5 -0
  55. package/package.json +13 -14
  56. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4486
  57. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  58. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  59. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  60. package/node_modules/@types/form-data/node_modules/@types/node/LICENSE +0 -21
  61. package/node_modules/@types/form-data/node_modules/@types/node/README.md +0 -15
  62. package/node_modules/@types/form-data/node_modules/@types/node/assert/strict.d.ts +0 -8
  63. package/node_modules/@types/form-data/node_modules/@types/node/assert.d.ts +0 -996
  64. package/node_modules/@types/form-data/node_modules/@types/node/async_hooks.d.ts +0 -539
  65. package/node_modules/@types/form-data/node_modules/@types/node/buffer.d.ts +0 -2362
  66. package/node_modules/@types/form-data/node_modules/@types/node/child_process.d.ts +0 -1540
  67. package/node_modules/@types/form-data/node_modules/@types/node/cluster.d.ts +0 -432
  68. package/node_modules/@types/form-data/node_modules/@types/node/console.d.ts +0 -415
  69. package/node_modules/@types/form-data/node_modules/@types/node/constants.d.ts +0 -19
  70. package/node_modules/@types/form-data/node_modules/@types/node/dgram.d.ts +0 -596
  71. package/node_modules/@types/form-data/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  72. package/node_modules/@types/form-data/node_modules/@types/node/dns/promises.d.ts +0 -425
  73. package/node_modules/@types/form-data/node_modules/@types/node/dns.d.ts +0 -809
  74. package/node_modules/@types/form-data/node_modules/@types/node/dom-events.d.ts +0 -122
  75. package/node_modules/@types/form-data/node_modules/@types/node/domain.d.ts +0 -170
  76. package/node_modules/@types/form-data/node_modules/@types/node/events.d.ts +0 -879
  77. package/node_modules/@types/form-data/node_modules/@types/node/fs/promises.d.ts +0 -1239
  78. package/node_modules/@types/form-data/node_modules/@types/node/fs.d.ts +0 -4311
  79. package/node_modules/@types/form-data/node_modules/@types/node/globals.d.ts +0 -411
  80. package/node_modules/@types/form-data/node_modules/@types/node/globals.global.d.ts +0 -1
  81. package/node_modules/@types/form-data/node_modules/@types/node/http.d.ts +0 -1887
  82. package/node_modules/@types/form-data/node_modules/@types/node/http2.d.ts +0 -2382
  83. package/node_modules/@types/form-data/node_modules/@types/node/https.d.ts +0 -550
  84. package/node_modules/@types/form-data/node_modules/@types/node/index.d.ts +0 -88
  85. package/node_modules/@types/form-data/node_modules/@types/node/inspector.d.ts +0 -2747
  86. package/node_modules/@types/form-data/node_modules/@types/node/module.d.ts +0 -315
  87. package/node_modules/@types/form-data/node_modules/@types/node/os.d.ts +0 -478
  88. package/node_modules/@types/form-data/node_modules/@types/node/package.json +0 -229
  89. package/node_modules/@types/form-data/node_modules/@types/node/path.d.ts +0 -191
  90. package/node_modules/@types/form-data/node_modules/@types/node/perf_hooks.d.ts +0 -645
  91. package/node_modules/@types/form-data/node_modules/@types/node/process.d.ts +0 -1561
  92. package/node_modules/@types/form-data/node_modules/@types/node/punycode.d.ts +0 -117
  93. package/node_modules/@types/form-data/node_modules/@types/node/querystring.d.ts +0 -141
  94. package/node_modules/@types/form-data/node_modules/@types/node/readline/promises.d.ts +0 -150
  95. package/node_modules/@types/form-data/node_modules/@types/node/readline.d.ts +0 -539
  96. package/node_modules/@types/form-data/node_modules/@types/node/repl.d.ts +0 -430
  97. package/node_modules/@types/form-data/node_modules/@types/node/stream/consumers.d.ts +0 -12
  98. package/node_modules/@types/form-data/node_modules/@types/node/stream/promises.d.ts +0 -83
  99. package/node_modules/@types/form-data/node_modules/@types/node/stream/web.d.ts +0 -366
  100. package/node_modules/@types/form-data/node_modules/@types/node/stream.d.ts +0 -1701
  101. package/node_modules/@types/form-data/node_modules/@types/node/string_decoder.d.ts +0 -67
  102. package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +0 -1465
  103. package/node_modules/@types/form-data/node_modules/@types/node/timers/promises.d.ts +0 -93
  104. package/node_modules/@types/form-data/node_modules/@types/node/timers.d.ts +0 -240
  105. package/node_modules/@types/form-data/node_modules/@types/node/trace_events.d.ts +0 -182
  106. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  107. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  108. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  109. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  110. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  111. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  112. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  113. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  114. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4486
  115. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  116. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  117. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  118. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  119. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  120. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  121. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  122. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  123. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  124. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  125. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  126. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  127. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  128. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  129. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  130. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  131. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  132. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  133. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  134. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  135. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  136. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  137. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  138. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  139. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  140. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  141. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  142. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  143. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  144. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  145. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  146. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  147. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  148. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  149. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  150. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  151. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  152. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  153. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  154. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  155. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  156. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  157. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  158. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  159. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  160. package/node_modules/@types/form-data/node_modules/@types/node/tty.d.ts +0 -208
  161. package/node_modules/@types/form-data/node_modules/@types/node/url.d.ts +0 -927
  162. package/node_modules/@types/form-data/node_modules/@types/node/v8.d.ts +0 -635
  163. package/node_modules/@types/form-data/node_modules/@types/node/vm.d.ts +0 -903
  164. package/node_modules/@types/form-data/node_modules/@types/node/wasi.d.ts +0 -179
  165. package/node_modules/@types/form-data/node_modules/@types/node/worker_threads.d.ts +0 -691
  166. package/node_modules/@types/form-data/node_modules/@types/node/zlib.d.ts +0 -517
  167. package/node_modules/asap/CHANGES.md +0 -70
  168. package/node_modules/combined-stream/yarn.lock +0 -17
  169. package/node_modules/side-channel/.eslintignore +0 -1
  170. package/node_modules/sync-rpc/HISTORY.md +0 -5
  171. package/node_modules/then-request/HISTORY.md +0 -79
  172. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/LICENSE +0 -0
  173. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/assert/strict.d.ts +0 -0
  174. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/assert.d.ts +0 -0
  175. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/async_hooks.d.ts +0 -0
  176. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/buffer.d.ts +0 -0
  177. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/child_process.d.ts +0 -0
  178. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/cluster.d.ts +0 -0
  179. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/console.d.ts +0 -0
  180. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/constants.d.ts +0 -0
  181. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/crypto.d.ts +0 -0
  182. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/dgram.d.ts +0 -0
  183. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/diagnostics_channel.d.ts +0 -0
  184. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/dns/promises.d.ts +0 -0
  185. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/dns.d.ts +0 -0
  186. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/dom-events.d.ts +0 -0
  187. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/domain.d.ts +0 -0
  188. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/events.d.ts +0 -0
  189. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/fs/promises.d.ts +0 -0
  190. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/fs.d.ts +0 -0
  191. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/globals.d.ts +0 -0
  192. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/globals.global.d.ts +0 -0
  193. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/http.d.ts +0 -0
  194. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/http2.d.ts +0 -0
  195. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/https.d.ts +0 -0
  196. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/index.d.ts +0 -0
  197. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/inspector.d.ts +0 -0
  198. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/module.d.ts +0 -0
  199. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/os.d.ts +0 -0
  200. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/path.d.ts +0 -0
  201. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/perf_hooks.d.ts +0 -0
  202. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/process.d.ts +0 -0
  203. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/punycode.d.ts +0 -0
  204. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/querystring.d.ts +0 -0
  205. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/readline/promises.d.ts +0 -0
  206. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/readline.d.ts +0 -0
  207. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/repl.d.ts +0 -0
  208. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/stream/consumers.d.ts +0 -0
  209. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/stream/promises.d.ts +0 -0
  210. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/stream/web.d.ts +0 -0
  211. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/stream.d.ts +0 -0
  212. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/string_decoder.d.ts +0 -0
  213. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/test.d.ts +0 -0
  214. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/timers/promises.d.ts +0 -0
  215. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/timers.d.ts +0 -0
  216. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/trace_events.d.ts +0 -0
  217. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/assert/strict.d.ts +0 -0
  218. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/assert.d.ts +0 -0
  219. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/async_hooks.d.ts +0 -0
  220. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/buffer.d.ts +0 -0
  221. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/child_process.d.ts +0 -0
  222. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/cluster.d.ts +0 -0
  223. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/console.d.ts +0 -0
  224. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/constants.d.ts +0 -0
  225. /package/node_modules/@types/{form-data/node_modules/@types/node → node/ts4.8}/crypto.d.ts +0 -0
  226. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/dgram.d.ts +0 -0
  227. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/diagnostics_channel.d.ts +0 -0
  228. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/dns/promises.d.ts +0 -0
  229. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/dns.d.ts +0 -0
  230. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/dom-events.d.ts +0 -0
  231. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/domain.d.ts +0 -0
  232. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/events.d.ts +0 -0
  233. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/fs/promises.d.ts +0 -0
  234. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/fs.d.ts +0 -0
  235. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/globals.d.ts +0 -0
  236. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/globals.global.d.ts +0 -0
  237. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/http.d.ts +0 -0
  238. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/http2.d.ts +0 -0
  239. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/https.d.ts +0 -0
  240. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/index.d.ts +0 -0
  241. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/inspector.d.ts +0 -0
  242. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/module.d.ts +0 -0
  243. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/os.d.ts +0 -0
  244. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/path.d.ts +0 -0
  245. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/perf_hooks.d.ts +0 -0
  246. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/process.d.ts +0 -0
  247. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/punycode.d.ts +0 -0
  248. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/querystring.d.ts +0 -0
  249. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/readline/promises.d.ts +0 -0
  250. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/readline.d.ts +0 -0
  251. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/repl.d.ts +0 -0
  252. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/stream/consumers.d.ts +0 -0
  253. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/stream/promises.d.ts +0 -0
  254. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/stream/web.d.ts +0 -0
  255. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/stream.d.ts +0 -0
  256. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/string_decoder.d.ts +0 -0
  257. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/test.d.ts +0 -0
  258. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/timers/promises.d.ts +0 -0
  259. /package/node_modules/@types/{concat-stream/node_modules/@types/node → node}/ts4.8/timers.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
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 30 Jan 2024 23:07:03 GMT
11
+ * Last updated: Thu, 01 Feb 2024 17:35:23 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -18,8 +18,8 @@ declare module "net" {
18
18
  import * as dns from "node:dns";
19
19
  type LookupFunction = (
20
20
  hostname: string,
21
- options: dns.LookupAllOptions,
22
- callback: (err: NodeJS.ErrnoException | null, addresses: dns.LookupAddress[]) => void,
21
+ options: dns.LookupOptions,
22
+ callback: (err: NodeJS.ErrnoException | null, address: string | dns.LookupAddress[], family?: number) => void,
23
23
  ) => void;
24
24
  interface AddressInfo {
25
25
  address: string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.11.13",
3
+ "version": "20.11.16",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -224,6 +224,6 @@
224
224
  "dependencies": {
225
225
  "undici-types": "~5.26.4"
226
226
  },
227
- "typesPublisherContentHash": "24c5c944aa13a9116b098c65a139b5511cc45f4e99d6128492111ef3b42f5447",
227
+ "typesPublisherContentHash": "c74616c0dddd05b588f3fe3d0da870cc1928ca91bb661c07bccd1d41c3058b05",
228
228
  "typeScriptVersion": "4.6"
229
229
  }
@@ -220,7 +220,7 @@ declare module "tls" {
220
220
  /**
221
221
  * Construct a new tls.TLSSocket object from an existing TCP socket.
222
222
  */
223
- constructor(socket: net.Socket, options?: TLSSocketOptions);
223
+ constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions);
224
224
  /**
225
225
  * This property is `true` if the peer certificate was signed by one of the CAs
226
226
  * specified when creating the `tls.TLSSocket` instance, otherwise `false`.
@@ -18,8 +18,8 @@ declare module "net" {
18
18
  import * as dns from "node:dns";
19
19
  type LookupFunction = (
20
20
  hostname: string,
21
- options: dns.LookupAllOptions,
22
- callback: (err: NodeJS.ErrnoException | null, addresses: dns.LookupAddress[]) => void,
21
+ options: dns.LookupOptions,
22
+ callback: (err: NodeJS.ErrnoException | null, address: string | dns.LookupAddress[], family?: number) => void,
23
23
  ) => void;
24
24
  interface AddressInfo {
25
25
  address: string;
@@ -220,7 +220,7 @@ declare module "tls" {
220
220
  /**
221
221
  * Construct a new tls.TLSSocket object from an existing TCP socket.
222
222
  */
223
- constructor(socket: net.Socket, options?: TLSSocketOptions);
223
+ constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions);
224
224
  /**
225
225
  * This property is `true` if the peer certificate was signed by one of the CAs
226
226
  * specified when creating the `tls.TLSSocket` instance, otherwise `false`.
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v1.0.6](https://github.com/ljharb/call-bind/compare/v1.0.5...v1.0.6) - 2024-02-05
9
+
10
+ ### Commits
11
+
12
+ - [Dev Deps] update `aud`, `npmignore`, `tape` [`d564d5c`](https://github.com/ljharb/call-bind/commit/d564d5ce3e06a19df4d499c77f8d1a9da44e77aa)
13
+ - [Deps] update `get-intrinsic`, `set-function-length` [`cfc2bdc`](https://github.com/ljharb/call-bind/commit/cfc2bdca7b633df0e0e689e6b637f668f1c6792e)
14
+ - [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`64cd289`](https://github.com/ljharb/call-bind/commit/64cd289ae5862c250a4ca80aa8d461047c166af5)
15
+ - [meta] add missing `engines.node` [`32a4038`](https://github.com/ljharb/call-bind/commit/32a4038857b62179f7f9b7b3df2c5260036be582)
16
+
8
17
  ## [v1.0.5](https://github.com/ljharb/call-bind/compare/v1.0.4...v1.0.5) - 2023-10-19
9
18
 
10
19
  ### Commits
@@ -4,7 +4,7 @@ var bind = require('function-bind');
4
4
  var GetIntrinsic = require('get-intrinsic');
5
5
  var setFunctionLength = require('set-function-length');
6
6
 
7
- var $TypeError = GetIntrinsic('%TypeError%');
7
+ var $TypeError = require('es-errors/type');
8
8
  var $apply = GetIntrinsic('%Function.prototype.apply%');
9
9
  var $call = GetIntrinsic('%Function.prototype.call%');
10
10
  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "call-bind",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Robustly `.call.bind()` a function",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -51,7 +51,7 @@
51
51
  "homepage": "https://github.com/ljharb/call-bind#readme",
52
52
  "devDependencies": {
53
53
  "@ljharb/eslint-config": "^21.1.0",
54
- "aud": "^2.0.3",
54
+ "aud": "^2.0.4",
55
55
  "auto-changelog": "^2.4.0",
56
56
  "es-value-fixtures": "^1.4.2",
57
57
  "eslint": "=8.8.0",
@@ -60,16 +60,17 @@
60
60
  "gopd": "^1.0.1",
61
61
  "has-strict-mode": "^1.0.1",
62
62
  "in-publish": "^2.0.1",
63
- "npmignore": "^0.3.0",
63
+ "npmignore": "^0.3.1",
64
64
  "nyc": "^10.3.2",
65
65
  "object-inspect": "^1.13.1",
66
66
  "safe-publish-latest": "^2.0.0",
67
- "tape": "^5.7.1"
67
+ "tape": "^5.7.4"
68
68
  },
69
69
  "dependencies": {
70
+ "es-errors": "^1.3.0",
70
71
  "function-bind": "^1.1.2",
71
- "get-intrinsic": "^1.2.1",
72
- "set-function-length": "^1.1.1"
72
+ "get-intrinsic": "^1.2.3",
73
+ "set-function-length": "^1.2.0"
73
74
  },
74
75
  "testling": {
75
76
  "files": "test/index.js"
@@ -86,5 +87,8 @@
86
87
  "ignore": [
87
88
  ".github/workflows"
88
89
  ]
90
+ },
91
+ "engines": {
92
+ "node": ">= 0.4"
89
93
  }
90
94
  }
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v1.1.2](https://github.com/ljharb/define-data-property/compare/v1.1.1...v1.1.2) - 2024-02-05
9
+
10
+ ### Commits
11
+
12
+ - [Dev Deps] update @types packages, `object-inspect`, `tape`, `typescript` [`df41bf8`](https://github.com/ljharb/define-data-property/commit/df41bf84ca3456be6226055caab44e38e3a7fd2f)
13
+ - [Dev Deps] update DT packages, `aud`, `npmignore`, `tape`, typescript` [`fab0e4e`](https://github.com/ljharb/define-data-property/commit/fab0e4ec709ee02b79f42d6db3ee5f26e0a34b8a)
14
+ - [Dev Deps] use `hasown` instead of `has` [`aa51ef9`](https://github.com/ljharb/define-data-property/commit/aa51ef93f6403d49d9bb72a807bcdb6e418978c0)
15
+ - [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`d89be50`](https://github.com/ljharb/define-data-property/commit/d89be50571175888d391238605122679f7e65ffc)
16
+ - [Deps] update `has-property-descriptors` [`7af887c`](https://github.com/ljharb/define-data-property/commit/7af887c9083b59b195b0079e04815cfed9fcee2b)
17
+ - [Deps] update `get-intrinsic` [`bb8728e`](https://github.com/ljharb/define-data-property/commit/bb8728ec42cd998505a7157ae24853a560c20646)
18
+
8
19
  ## [v1.1.1](https://github.com/ljharb/define-data-property/compare/v1.1.0...v1.1.1) - 2023-10-12
9
20
 
10
21
  ### Commits
@@ -14,8 +14,8 @@ if ($defineProperty) {
14
14
  }
15
15
  }
16
16
 
17
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
18
- var $TypeError = GetIntrinsic('%TypeError%');
17
+ var $SyntaxError = require('es-errors/syntax');
18
+ var $TypeError = require('es-errors/type');
19
19
 
20
20
  var gopd = require('gopd');
21
21
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "define-data-property",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Define a data property on an object. Will fall back to assignment in an engine without descriptors.",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -56,37 +56,38 @@
56
56
  },
57
57
  "homepage": "https://github.com/ljharb/define-data-property#readme",
58
58
  "dependencies": {
59
- "get-intrinsic": "^1.2.1",
59
+ "es-errors": "^1.3.0",
60
+ "get-intrinsic": "^1.2.2",
60
61
  "gopd": "^1.0.1",
61
- "has-property-descriptors": "^1.0.0"
62
+ "has-property-descriptors": "^1.0.1"
62
63
  },
63
64
  "devDependencies": {
64
65
  "@ljharb/eslint-config": "^21.1.0",
65
- "@types/es-value-fixtures": "^1.4.1",
66
- "@types/for-each": "^0.3.1",
67
- "@types/get-intrinsic": "^1.2.0",
68
- "@types/gopd": "^1.0.1",
69
- "@types/has": "^1.0.0",
70
- "@types/has-property-descriptors": "^1.0.1",
71
- "@types/object-inspect": "^1.8.2",
72
- "@types/object.getownpropertydescriptors": "^2.1.2",
73
- "@types/tape": "^5.6.1",
74
- "aud": "^2.0.3",
66
+ "@types/es-value-fixtures": "^1.4.4",
67
+ "@types/for-each": "^0.3.3",
68
+ "@types/get-intrinsic": "^1.2.2",
69
+ "@types/gopd": "^1.0.3",
70
+ "@types/has": "^1.0.1",
71
+ "@types/has-property-descriptors": "^1.0.3",
72
+ "@types/object-inspect": "^1.8.4",
73
+ "@types/object.getownpropertydescriptors": "^2.1.3",
74
+ "@types/tape": "^5.6.4",
75
+ "aud": "^2.0.4",
75
76
  "auto-changelog": "^2.4.0",
76
77
  "es-value-fixtures": "^1.4.2",
77
78
  "eslint": "=8.8.0",
78
79
  "evalmd": "^0.0.19",
79
80
  "for-each": "^0.3.3",
80
- "has": "^1.0.3",
81
+ "hasown": "^2.0.0",
81
82
  "in-publish": "^2.0.1",
82
- "npmignore": "^0.3.0",
83
+ "npmignore": "^0.3.1",
83
84
  "nyc": "^10.3.2",
84
- "object-inspect": "^1.12.3",
85
+ "object-inspect": "^1.13.1",
85
86
  "object.getownpropertydescriptors": "^2.1.7",
86
87
  "reflect.ownkeys": "^1.1.4",
87
88
  "safe-publish-latest": "^2.0.0",
88
- "tape": "^5.7.1",
89
- "typescript": "^5.3.0-dev.20231012"
89
+ "tape": "^5.7.4",
90
+ "typescript": "next"
90
91
  },
91
92
  "engines": {
92
93
  "node": ">= 0.4"
@@ -4,7 +4,7 @@ var test = require('tape');
4
4
  var v = require('es-value-fixtures');
5
5
  var forEach = require('for-each');
6
6
  var inspect = require('object-inspect');
7
- var has = require('has');
7
+ var hasOwn = require('hasown');
8
8
  var hasPropertyDescriptors = require('has-property-descriptors')();
9
9
  var getOwnPropertyDescriptors = require('object.getownpropertydescriptors');
10
10
  var ownKeys = require('reflect.ownkeys');
@@ -62,28 +62,28 @@ test('defineDataProperty', function (t) {
62
62
  t.test('normal data property', function (st) {
63
63
  /** @type {Record<PropertyKey, string>} */
64
64
  var obj = { existing: 'existing property' };
65
- st.ok(has(obj, 'existing'), 'has initial own property');
65
+ st.ok(hasOwn(obj, 'existing'), 'has initial own property');
66
66
  st.equal(obj.existing, 'existing property', 'has expected initial value');
67
67
 
68
68
  var res = defineDataProperty(obj, 'added', 'added property');
69
69
  st.equal(res, void undefined, 'returns `undefined`');
70
- st.ok(has(obj, 'added'), 'has expected own property');
70
+ st.ok(hasOwn(obj, 'added'), 'has expected own property');
71
71
  st.equal(obj.added, 'added property', 'has expected value');
72
72
 
73
73
  defineDataProperty(obj, 'existing', 'new value');
74
- st.ok(has(obj, 'existing'), 'still has expected own property');
74
+ st.ok(hasOwn(obj, 'existing'), 'still has expected own property');
75
75
  st.equal(obj.existing, 'new value', 'has new expected value');
76
76
 
77
77
  defineDataProperty(obj, 'explicit1', 'new value', false);
78
- st.ok(has(obj, 'explicit1'), 'has expected own property (explicit enumerable)');
78
+ st.ok(hasOwn(obj, 'explicit1'), 'has expected own property (explicit enumerable)');
79
79
  st.equal(obj.explicit1, 'new value', 'has new expected value (explicit enumerable)');
80
80
 
81
81
  defineDataProperty(obj, 'explicit2', 'new value', false, false);
82
- st.ok(has(obj, 'explicit2'), 'has expected own property (explicit writable)');
82
+ st.ok(hasOwn(obj, 'explicit2'), 'has expected own property (explicit writable)');
83
83
  st.equal(obj.explicit2, 'new value', 'has new expected value (explicit writable)');
84
84
 
85
85
  defineDataProperty(obj, 'explicit3', 'new value', false, false, false);
86
- st.ok(has(obj, 'explicit3'), 'has expected own property (explicit configurable)');
86
+ st.ok(hasOwn(obj, 'explicit3'), 'has expected own property (explicit configurable)');
87
87
  st.equal(obj.explicit3, 'new value', 'has new expected value (explicit configurable)');
88
88
 
89
89
  st.end();
@@ -0,0 +1,5 @@
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+ }
@@ -0,0 +1,12 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: [ljharb]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: # Replace with a single Ko-fi username
7
+ tidelift: npm/es-errors
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ otechie: # Replace with a single Otechie username
12
+ custom: # Replace with a single custom sponsorship URL
@@ -0,0 +1,40 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [v1.3.0](https://github.com/ljharb/es-errors/compare/v1.2.1...v1.3.0) - 2024-02-05
9
+
10
+ ### Commits
11
+
12
+ - [New] add `EvalError` and `URIError` [`1927627`](https://github.com/ljharb/es-errors/commit/1927627ba68cb6c829d307231376c967db53acdf)
13
+
14
+ ## [v1.2.1](https://github.com/ljharb/es-errors/compare/v1.2.0...v1.2.1) - 2024-02-04
15
+
16
+ ### Commits
17
+
18
+ - [Fix] add missing `exports` entry [`5bb5f28`](https://github.com/ljharb/es-errors/commit/5bb5f280f98922701109d6ebb82eea2257cecc7e)
19
+
20
+ ## [v1.2.0](https://github.com/ljharb/es-errors/compare/v1.1.0...v1.2.0) - 2024-02-04
21
+
22
+ ### Commits
23
+
24
+ - [New] add `ReferenceError` [`6d8cf5b`](https://github.com/ljharb/es-errors/commit/6d8cf5bbb6f3f598d02cf6f30e468ba2caa8e143)
25
+
26
+ ## [v1.1.0](https://github.com/ljharb/es-errors/compare/v1.0.0...v1.1.0) - 2024-02-04
27
+
28
+ ### Commits
29
+
30
+ - [New] add base Error [`2983ab6`](https://github.com/ljharb/es-errors/commit/2983ab65f7bc5441276cb021dc3aa03c78881698)
31
+
32
+ ## v1.0.0 - 2024-02-03
33
+
34
+ ### Commits
35
+
36
+ - Initial implementation, tests, readme, type [`8f47631`](https://github.com/ljharb/es-errors/commit/8f476317e9ad76f40ad648081829b1a1a3a1288b)
37
+ - Initial commit [`ea5d099`](https://github.com/ljharb/es-errors/commit/ea5d099ef18e550509ab9e2be000526afd81c385)
38
+ - npm init [`6f5ebf9`](https://github.com/ljharb/es-errors/commit/6f5ebf9cead474dadd72b9e63dad315820a089ae)
39
+ - Only apps should have lockfiles [`e1a0aeb`](https://github.com/ljharb/es-errors/commit/e1a0aeb7b80f5cfc56be54d6b2100e915d47def8)
40
+ - [meta] add `sideEffects` flag [`a9c7d46`](https://github.com/ljharb/es-errors/commit/a9c7d460a492f1d8a241c836bc25a322a19cc043)
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Jordan Harband
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,55 @@
1
+ # es-errors <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+ [![github actions][actions-image]][actions-url]
4
+ [![coverage][codecov-image]][codecov-url]
5
+ [![License][license-image]][license-url]
6
+ [![Downloads][downloads-image]][downloads-url]
7
+
8
+ [![npm badge][npm-badge-png]][package-url]
9
+
10
+ A simple cache for a few of the JS Error constructors.
11
+
12
+ ## Example
13
+
14
+ ```js
15
+ const assert = require('assert');
16
+
17
+ const Base = require('es-errors');
18
+ const Eval = require('es-errors/eval');
19
+ const Range = require('es-errors/range');
20
+ const Ref = require('es-errors/ref');
21
+ const Syntax = require('es-errors/syntax');
22
+ const Type = require('es-errors/type');
23
+ const URI = require('es-errors/uri');
24
+
25
+ assert.equal(Base, Error);
26
+ assert.equal(Eval, EvalError);
27
+ assert.equal(Range, RangeError);
28
+ assert.equal(Ref, ReferenceError);
29
+ assert.equal(Syntax, SyntaxError);
30
+ assert.equal(Type, TypeError);
31
+ assert.equal(URI, URIError);
32
+ ```
33
+
34
+ ## Tests
35
+ Simply clone the repo, `npm install`, and run `npm test`
36
+
37
+ ## Security
38
+
39
+ Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
40
+
41
+ [package-url]: https://npmjs.org/package/es-errors
42
+ [npm-version-svg]: https://versionbadg.es/ljharb/es-errors.svg
43
+ [deps-svg]: https://david-dm.org/ljharb/es-errors.svg
44
+ [deps-url]: https://david-dm.org/ljharb/es-errors
45
+ [dev-deps-svg]: https://david-dm.org/ljharb/es-errors/dev-status.svg
46
+ [dev-deps-url]: https://david-dm.org/ljharb/es-errors#info=devDependencies
47
+ [npm-badge-png]: https://nodei.co/npm/es-errors.png?downloads=true&stars=true
48
+ [license-image]: https://img.shields.io/npm/l/es-errors.svg
49
+ [license-url]: LICENSE
50
+ [downloads-image]: https://img.shields.io/npm/dm/es-errors.svg
51
+ [downloads-url]: https://npm-stat.com/charts.html?package=es-errors
52
+ [codecov-image]: https://codecov.io/gh/ljharb/es-errors/branch/main/graphs/badge.svg
53
+ [codecov-url]: https://app.codecov.io/gh/ljharb/es-errors/
54
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-errors
55
+ [actions-url]: https://github.com/ljharb/es-errors/actions
@@ -0,0 +1,3 @@
1
+ declare const EvalError: EvalErrorConstructor;
2
+
3
+ export = EvalError;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./eval')} */
4
+ module.exports = EvalError;
@@ -0,0 +1,3 @@
1
+ declare const Error: ErrorConstructor;
2
+
3
+ export = Error;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('.')} */
4
+ module.exports = Error;
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "es-errors",
3
+ "version": "1.3.0",
4
+ "description": "A simple cache for a few of the JS Error constructors.",
5
+ "main": "index.js",
6
+ "exports": {
7
+ ".": "./index.js",
8
+ "./eval": "./eval.js",
9
+ "./range": "./range.js",
10
+ "./ref": "./ref.js",
11
+ "./syntax": "./syntax.js",
12
+ "./type": "./type.js",
13
+ "./uri": "./uri.js",
14
+ "./package.json": "./package.json"
15
+ },
16
+ "sideEffects": false,
17
+ "scripts": {
18
+ "prepack": "npmignore --auto --commentLines=autogenerated",
19
+ "prepublishOnly": "safe-publish-latest",
20
+ "prepublish": "not-in-publish || npm run prepublishOnly",
21
+ "pretest": "npm run lint",
22
+ "test": "npm run tests-only",
23
+ "tests-only": "nyc tape 'test/**/*.js'",
24
+ "posttest": "aud --production",
25
+ "prelint": "evalmd README.md",
26
+ "lint": "eslint --ext=js,mjs .",
27
+ "postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
28
+ "version": "auto-changelog && git add CHANGELOG.md",
29
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/ljharb/es-errors.git"
34
+ },
35
+ "keywords": [
36
+ "javascript",
37
+ "ecmascript",
38
+ "error",
39
+ "typeerror",
40
+ "syntaxerror",
41
+ "rangeerror"
42
+ ],
43
+ "author": "Jordan Harband <ljharb@gmail.com>",
44
+ "license": "MIT",
45
+ "bugs": {
46
+ "url": "https://github.com/ljharb/es-errors/issues"
47
+ },
48
+ "homepage": "https://github.com/ljharb/es-errors#readme",
49
+ "devDependencies": {
50
+ "@ljharb/eslint-config": "^21.1.0",
51
+ "@types/tape": "^5.6.4",
52
+ "aud": "^2.0.4",
53
+ "auto-changelog": "^2.4.0",
54
+ "eclint": "^2.8.1",
55
+ "eslint": "^8.8.0",
56
+ "evalmd": "^0.0.19",
57
+ "in-publish": "^2.0.1",
58
+ "npmignore": "^0.3.1",
59
+ "nyc": "^10.3.2",
60
+ "safe-publish-latest": "^2.0.0",
61
+ "tape": "^5.7.4",
62
+ "typescript": "next"
63
+ },
64
+ "auto-changelog": {
65
+ "output": "CHANGELOG.md",
66
+ "template": "keepachangelog",
67
+ "unreleased": false,
68
+ "commitLimit": false,
69
+ "backfillLimit": false,
70
+ "hideCredit": true
71
+ },
72
+ "publishConfig": {
73
+ "ignore": [
74
+ ".github/workflows"
75
+ ]
76
+ },
77
+ "engines": {
78
+ "node": ">= 0.4"
79
+ }
80
+ }
@@ -0,0 +1,3 @@
1
+ declare const RangeError: RangeErrorConstructor;
2
+
3
+ export = RangeError;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./range')} */
4
+ module.exports = RangeError;
@@ -0,0 +1,3 @@
1
+ declare const ReferenceError: ReferenceErrorConstructor;
2
+
3
+ export = ReferenceError;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./ref')} */
4
+ module.exports = ReferenceError;
@@ -0,0 +1,3 @@
1
+ declare const SyntaxError: SyntaxErrorConstructor;
2
+
3
+ export = SyntaxError;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./syntax')} */
4
+ module.exports = SyntaxError;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ var test = require('tape');
4
+
5
+ var E = require('../');
6
+ var R = require('../range');
7
+ var Ref = require('../ref');
8
+ var S = require('../syntax');
9
+ var T = require('../type');
10
+
11
+ test('errors', function (t) {
12
+ t.equal(E, Error);
13
+ t.equal(R, RangeError);
14
+ t.equal(Ref, ReferenceError);
15
+ t.equal(S, SyntaxError);
16
+ t.equal(T, TypeError);
17
+
18
+ t.end();
19
+ });
@@ -0,0 +1,49 @@
1
+ {
2
+ "compilerOptions": {
3
+ /* Visit https://aka.ms/tsconfig.json to read more about this file */
4
+
5
+ /* Projects */
6
+
7
+ /* Language and Environment */
8
+ "target": "es5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
9
+ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
10
+ // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
11
+ "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
12
+ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
13
+
14
+ /* Modules */
15
+ "module": "commonjs", /* Specify what module code is generated. */
16
+ // "rootDir": "./", /* Specify the root folder within your source files. */
17
+ // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
18
+ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
19
+ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
20
+ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
21
+ // "typeRoots": ["types"], /* Specify multiple folders that act like `./node_modules/@types`. */
22
+ "resolveJsonModule": true, /* Enable importing .json files. */
23
+ // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
24
+
25
+ /* JavaScript Support */
26
+ "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
27
+ "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
28
+ "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
29
+
30
+ /* Emit */
31
+ "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
32
+ "declarationMap": true, /* Create sourcemaps for d.ts files. */
33
+ "noEmit": true, /* Disable emitting files from a compilation. */
34
+
35
+ /* Interop Constraints */
36
+ "allowSyntheticDefaultImports": true, /* Allow `import x from y` when a module doesn't have a default export. */
37
+ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
38
+ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
39
+
40
+ /* Type Checking */
41
+ "strict": true, /* Enable all strict type-checking options. */
42
+
43
+ /* Completeness */
44
+ // "skipLibCheck": true /* Skip type checking all .d.ts files. */
45
+ },
46
+ "exclude": [
47
+ "coverage",
48
+ ],
49
+ }
@@ -0,0 +1,3 @@
1
+ declare const TypeError: TypeErrorConstructor
2
+
3
+ export = TypeError;