mathjs 10.4.1 → 10.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2761) hide show
  1. package/HISTORY.md +17 -0
  2. package/docs/datatypes/units.md +2 -2
  3. package/docs/reference/functions/format.md +3 -0
  4. package/examples/node_modules/.bin/acorn +12 -0
  5. package/examples/node_modules/.bin/acorn.cmd +17 -0
  6. package/examples/node_modules/.bin/acorn.ps1 +28 -0
  7. package/examples/node_modules/.bin/browserslist +12 -0
  8. package/examples/node_modules/.bin/browserslist.cmd +17 -0
  9. package/examples/node_modules/.bin/browserslist.ps1 +28 -0
  10. package/examples/node_modules/.bin/envinfo +2 -5
  11. package/examples/node_modules/.bin/envinfo.cmd +6 -6
  12. package/examples/node_modules/.bin/envinfo.ps1 +12 -2
  13. package/examples/node_modules/.bin/import-local-fixture +2 -5
  14. package/examples/node_modules/.bin/import-local-fixture.cmd +6 -6
  15. package/examples/node_modules/.bin/import-local-fixture.ps1 +12 -2
  16. package/examples/node_modules/.bin/node-which +2 -5
  17. package/examples/node_modules/.bin/node-which.cmd +6 -6
  18. package/examples/node_modules/.bin/node-which.ps1 +12 -2
  19. package/examples/node_modules/.bin/resolve +12 -0
  20. package/examples/node_modules/.bin/resolve.cmd +17 -0
  21. package/examples/node_modules/.bin/resolve.ps1 +28 -0
  22. package/examples/node_modules/.bin/terser +12 -0
  23. package/examples/node_modules/.bin/terser.cmd +17 -0
  24. package/examples/node_modules/.bin/terser.ps1 +28 -0
  25. package/examples/node_modules/.bin/webpack +12 -0
  26. package/examples/node_modules/.bin/webpack-cli +2 -5
  27. package/examples/node_modules/.bin/webpack-cli.cmd +6 -6
  28. package/examples/node_modules/.bin/webpack-cli.ps1 +12 -2
  29. package/examples/node_modules/.bin/webpack.cmd +17 -0
  30. package/examples/node_modules/.bin/webpack.ps1 +28 -0
  31. package/examples/node_modules/.package-lock.json +1407 -0
  32. package/examples/node_modules/@discoveryjs/json-ext/README.md +2 -1
  33. package/examples/node_modules/@discoveryjs/json-ext/dist/json-ext.js +147 -164
  34. package/examples/node_modules/@discoveryjs/json-ext/dist/json-ext.min.js +1 -1
  35. package/examples/node_modules/@discoveryjs/json-ext/dist/version.js +1 -0
  36. package/examples/node_modules/@discoveryjs/json-ext/index.d.ts +31 -0
  37. package/examples/node_modules/@discoveryjs/json-ext/package.json +53 -90
  38. package/examples/node_modules/@discoveryjs/json-ext/src/index.js +1 -1
  39. package/examples/node_modules/@discoveryjs/json-ext/src/parse-chunked.js +89 -44
  40. package/examples/node_modules/@discoveryjs/json-ext/src/stringify-info.js +11 -4
  41. package/examples/node_modules/@discoveryjs/json-ext/src/stringify-stream.js +17 -3
  42. package/examples/node_modules/@discoveryjs/json-ext/src/utils.js +6 -5
  43. package/examples/node_modules/@discoveryjs/json-ext/src/version.js +1 -0
  44. package/examples/node_modules/@types/eslint/LICENSE +21 -0
  45. package/examples/node_modules/@types/eslint/README.md +16 -0
  46. package/examples/node_modules/@types/eslint/helpers.d.ts +3 -0
  47. package/examples/node_modules/@types/eslint/index.d.ts +953 -0
  48. package/examples/node_modules/@types/eslint/package.json +65 -0
  49. package/examples/node_modules/@types/eslint/rules/best-practices.d.ts +931 -0
  50. package/examples/node_modules/@types/eslint/rules/deprecated.d.ts +267 -0
  51. package/examples/node_modules/@types/eslint/rules/ecmascript-6.d.ts +502 -0
  52. package/examples/node_modules/@types/eslint/rules/index.d.ts +21 -0
  53. package/examples/node_modules/@types/eslint/rules/node-commonjs.d.ts +133 -0
  54. package/examples/node_modules/@types/eslint/rules/possible-errors.d.ts +484 -0
  55. package/examples/node_modules/@types/eslint/rules/strict-mode.d.ts +11 -0
  56. package/examples/node_modules/@types/eslint/rules/stylistic-issues.d.ts +1893 -0
  57. package/examples/node_modules/@types/eslint/rules/variables.d.ts +187 -0
  58. package/examples/node_modules/@types/eslint/use-at-your-own-risk.d.ts +8 -0
  59. package/examples/node_modules/@types/eslint-scope/LICENSE +21 -0
  60. package/examples/node_modules/@types/eslint-scope/README.md +84 -0
  61. package/examples/node_modules/@types/eslint-scope/index.d.ts +64 -0
  62. package/examples/node_modules/@types/eslint-scope/package.json +28 -0
  63. package/examples/node_modules/@types/estree/LICENSE +21 -0
  64. package/examples/node_modules/@types/estree/README.md +16 -0
  65. package/examples/node_modules/@types/estree/flow.d.ts +174 -0
  66. package/examples/node_modules/@types/estree/index.d.ts +595 -0
  67. package/examples/node_modules/@types/estree/package.json +25 -0
  68. package/examples/node_modules/@types/json-schema/LICENSE +21 -0
  69. package/examples/node_modules/@types/json-schema/README.md +16 -0
  70. package/examples/node_modules/@types/json-schema/index.d.ts +758 -0
  71. package/examples/node_modules/@types/json-schema/package.json +40 -0
  72. package/examples/node_modules/@types/node/LICENSE +21 -0
  73. package/examples/node_modules/@types/node/README.md +16 -0
  74. package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
  75. package/examples/node_modules/@types/node/assert.d.ts +912 -0
  76. package/examples/node_modules/@types/node/async_hooks.d.ts +501 -0
  77. package/examples/node_modules/@types/node/buffer.d.ts +2232 -0
  78. package/examples/node_modules/@types/node/child_process.d.ts +1366 -0
  79. package/examples/node_modules/@types/node/cluster.d.ts +414 -0
  80. package/examples/node_modules/@types/node/console.d.ts +412 -0
  81. package/examples/node_modules/@types/node/constants.d.ts +18 -0
  82. package/examples/node_modules/@types/node/crypto.d.ts +3307 -0
  83. package/examples/node_modules/@types/node/dgram.d.ts +545 -0
  84. package/examples/node_modules/@types/node/diagnostics_channel.d.ts +134 -0
  85. package/examples/node_modules/@types/node/dns/promises.d.ts +370 -0
  86. package/examples/node_modules/@types/node/dns.d.ts +659 -0
  87. package/examples/node_modules/@types/node/domain.d.ts +169 -0
  88. package/examples/node_modules/@types/node/events.d.ts +651 -0
  89. package/examples/node_modules/@types/node/fs/promises.d.ts +1091 -0
  90. package/examples/node_modules/@types/node/fs.d.ts +3869 -0
  91. package/examples/node_modules/@types/node/globals.d.ts +284 -0
  92. package/examples/node_modules/@types/node/globals.global.d.ts +1 -0
  93. package/examples/node_modules/@types/node/http.d.ts +1396 -0
  94. package/examples/node_modules/@types/node/http2.d.ts +2100 -0
  95. package/examples/node_modules/@types/node/https.d.ts +391 -0
  96. package/examples/node_modules/@types/node/index.d.ts +129 -0
  97. package/examples/node_modules/@types/node/inspector.d.ts +2744 -0
  98. package/examples/node_modules/@types/node/module.d.ts +114 -0
  99. package/examples/node_modules/@types/node/net.d.ts +784 -0
  100. package/examples/node_modules/@types/node/os.d.ts +455 -0
  101. package/examples/node_modules/@types/node/package.json +220 -0
  102. package/examples/node_modules/@types/node/path.d.ts +180 -0
  103. package/examples/node_modules/@types/node/perf_hooks.d.ts +557 -0
  104. package/examples/node_modules/@types/node/process.d.ts +1481 -0
  105. package/examples/node_modules/@types/node/punycode.d.ts +117 -0
  106. package/examples/node_modules/@types/node/querystring.d.ts +131 -0
  107. package/examples/node_modules/@types/node/readline.d.ts +650 -0
  108. package/examples/node_modules/@types/node/repl.d.ts +424 -0
  109. package/examples/node_modules/@types/node/stream/consumers.d.ts +24 -0
  110. package/examples/node_modules/@types/node/stream/promises.d.ts +42 -0
  111. package/examples/node_modules/@types/node/stream/web.d.ts +330 -0
  112. package/examples/node_modules/@types/node/stream.d.ts +1249 -0
  113. package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
  114. package/examples/node_modules/@types/node/timers/promises.d.ts +68 -0
  115. package/examples/node_modules/@types/node/timers.d.ts +94 -0
  116. package/examples/node_modules/@types/node/tls.d.ts +1020 -0
  117. package/examples/node_modules/@types/node/trace_events.d.ts +161 -0
  118. package/examples/node_modules/@types/node/tty.d.ts +204 -0
  119. package/examples/node_modules/@types/node/url.d.ts +891 -0
  120. package/examples/node_modules/@types/node/util.d.ts +1594 -0
  121. package/examples/node_modules/@types/node/v8.d.ts +378 -0
  122. package/examples/node_modules/@types/node/vm.d.ts +507 -0
  123. package/examples/node_modules/@types/node/wasi.d.ts +158 -0
  124. package/examples/node_modules/@types/node/worker_threads.d.ts +649 -0
  125. package/examples/node_modules/@types/node/zlib.d.ts +517 -0
  126. package/examples/node_modules/@webassemblyjs/ast/LICENSE +21 -0
  127. package/examples/node_modules/@webassemblyjs/ast/README.md +167 -0
  128. package/examples/node_modules/@webassemblyjs/ast/esm/clone.js +3 -0
  129. package/examples/node_modules/@webassemblyjs/ast/esm/definitions.js +668 -0
  130. package/examples/node_modules/@webassemblyjs/ast/esm/index.js +7 -0
  131. package/examples/node_modules/@webassemblyjs/ast/esm/node-helpers.js +84 -0
  132. package/examples/node_modules/@webassemblyjs/ast/esm/node-path.js +137 -0
  133. package/examples/node_modules/@webassemblyjs/ast/esm/nodes.js +925 -0
  134. package/examples/node_modules/@webassemblyjs/ast/esm/signatures.js +199 -0
  135. package/examples/node_modules/@webassemblyjs/ast/esm/transform/ast-module-to-module-context/index.js +378 -0
  136. package/examples/node_modules/@webassemblyjs/ast/esm/transform/denormalize-type-references/index.js +76 -0
  137. package/examples/node_modules/@webassemblyjs/ast/esm/transform/wast-identifier-to-index/index.js +216 -0
  138. package/examples/node_modules/@webassemblyjs/ast/esm/traverse.js +96 -0
  139. package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-all-lock/pnpm-lock.yaml → @webassemblyjs/ast/esm/types/basic.js} +0 -0
  140. package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-all-lock/yarn.lock → @webassemblyjs/ast/esm/types/nodes.js} +0 -0
  141. package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-npm-and-pnpm/pnpm-lock.yaml → @webassemblyjs/ast/esm/types/traverse.js} +0 -0
  142. package/examples/node_modules/@webassemblyjs/ast/esm/utils.js +265 -0
  143. package/examples/node_modules/@webassemblyjs/ast/lib/clone.js +10 -0
  144. package/examples/node_modules/@webassemblyjs/ast/lib/definitions.js +668 -0
  145. package/examples/node_modules/@webassemblyjs/ast/lib/index.js +127 -0
  146. package/examples/node_modules/@webassemblyjs/ast/lib/node-helpers.js +107 -0
  147. package/examples/node_modules/@webassemblyjs/ast/lib/node-path.js +144 -0
  148. package/examples/node_modules/@webassemblyjs/ast/lib/nodes.js +1144 -0
  149. package/examples/node_modules/@webassemblyjs/ast/lib/signatures.js +207 -0
  150. package/examples/node_modules/@webassemblyjs/ast/lib/transform/ast-module-to-module-context/index.js +389 -0
  151. package/examples/node_modules/@webassemblyjs/ast/lib/transform/denormalize-type-references/index.js +83 -0
  152. package/examples/node_modules/@webassemblyjs/ast/lib/transform/wast-identifier-to-index/index.js +225 -0
  153. package/examples/node_modules/@webassemblyjs/ast/lib/traverse.js +105 -0
  154. package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-npm-and-yarn/yarn.lock → @webassemblyjs/ast/lib/types/basic.js} +0 -0
  155. package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-pnpm-lock/pnpm-lock.yaml → @webassemblyjs/ast/lib/types/nodes.js} +0 -0
  156. package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-yarn-and-pnpm/pnpm-lock.yaml → @webassemblyjs/ast/lib/types/traverse.js} +0 -0
  157. package/examples/node_modules/@webassemblyjs/ast/lib/utils.js +306 -0
  158. package/examples/node_modules/@webassemblyjs/ast/package.json +32 -0
  159. package/examples/node_modules/@webassemblyjs/ast/scripts/generateNodeUtils.js +219 -0
  160. package/examples/node_modules/@webassemblyjs/ast/scripts/generateTypeDefinitions.js +47 -0
  161. package/examples/node_modules/@webassemblyjs/ast/scripts/util.js +38 -0
  162. package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/LICENSE +21 -0
  163. package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/README.md +34 -0
  164. package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/esm/index.js +42 -0
  165. package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/lib/index.js +49 -0
  166. package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/package.json +24 -0
  167. package/examples/node_modules/@webassemblyjs/helper-api-error/LICENSE +21 -0
  168. package/examples/node_modules/@webassemblyjs/helper-api-error/esm/index.js +47 -0
  169. package/examples/node_modules/@webassemblyjs/helper-api-error/lib/index.js +62 -0
  170. package/examples/node_modules/@webassemblyjs/helper-api-error/package.json +18 -0
  171. package/examples/node_modules/@webassemblyjs/helper-buffer/LICENSE +21 -0
  172. package/examples/node_modules/@webassemblyjs/helper-buffer/esm/compare.js +65 -0
  173. package/examples/node_modules/@webassemblyjs/helper-buffer/esm/index.js +67 -0
  174. package/examples/node_modules/@webassemblyjs/helper-buffer/lib/compare.js +73 -0
  175. package/examples/node_modules/@webassemblyjs/helper-buffer/lib/index.js +78 -0
  176. package/examples/node_modules/@webassemblyjs/helper-buffer/package.json +24 -0
  177. package/examples/node_modules/@webassemblyjs/helper-numbers/LICENSE +21 -0
  178. package/examples/node_modules/@webassemblyjs/helper-numbers/esm/index.js +91 -0
  179. package/examples/node_modules/@webassemblyjs/helper-numbers/lib/index.js +116 -0
  180. package/examples/node_modules/@webassemblyjs/helper-numbers/package.json +25 -0
  181. package/examples/node_modules/@webassemblyjs/helper-numbers/src/index.js +105 -0
  182. package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/LICENSE +21 -0
  183. package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js +391 -0
  184. package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/esm/section.js +31 -0
  185. package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/index.js +406 -0
  186. package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/section.js +38 -0
  187. package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/package.json +20 -0
  188. package/examples/node_modules/@webassemblyjs/helper-wasm-section/LICENSE +21 -0
  189. package/examples/node_modules/@webassemblyjs/helper-wasm-section/esm/create.js +107 -0
  190. package/examples/node_modules/@webassemblyjs/helper-wasm-section/esm/index.js +3 -0
  191. package/examples/node_modules/@webassemblyjs/helper-wasm-section/esm/remove.js +36 -0
  192. package/examples/node_modules/@webassemblyjs/helper-wasm-section/esm/resize.js +78 -0
  193. package/examples/node_modules/@webassemblyjs/helper-wasm-section/lib/create.js +121 -0
  194. package/examples/node_modules/@webassemblyjs/helper-wasm-section/lib/index.js +35 -0
  195. package/examples/node_modules/@webassemblyjs/helper-wasm-section/lib/remove.js +45 -0
  196. package/examples/node_modules/@webassemblyjs/helper-wasm-section/lib/resize.js +90 -0
  197. package/examples/node_modules/@webassemblyjs/helper-wasm-section/package.json +29 -0
  198. package/examples/node_modules/@webassemblyjs/ieee754/LICENSE +21 -0
  199. package/examples/node_modules/@webassemblyjs/ieee754/esm/index.js +33 -0
  200. package/examples/node_modules/@webassemblyjs/ieee754/lib/index.js +52 -0
  201. package/examples/node_modules/@webassemblyjs/ieee754/package.json +23 -0
  202. package/examples/node_modules/@webassemblyjs/ieee754/src/index.js +47 -0
  203. package/examples/node_modules/@webassemblyjs/leb128/LICENSE.txt +194 -0
  204. package/examples/node_modules/@webassemblyjs/leb128/esm/bits.js +145 -0
  205. package/examples/node_modules/@webassemblyjs/leb128/esm/bufs.js +218 -0
  206. package/examples/node_modules/@webassemblyjs/leb128/esm/index.js +34 -0
  207. package/examples/node_modules/@webassemblyjs/leb128/esm/leb.js +316 -0
  208. package/examples/node_modules/@webassemblyjs/leb128/lib/bits.js +156 -0
  209. package/examples/node_modules/@webassemblyjs/leb128/lib/bufs.js +236 -0
  210. package/examples/node_modules/@webassemblyjs/leb128/lib/index.js +59 -0
  211. package/examples/node_modules/@webassemblyjs/leb128/lib/leb.js +332 -0
  212. package/examples/node_modules/@webassemblyjs/leb128/package.json +23 -0
  213. package/examples/node_modules/@webassemblyjs/utf8/LICENSE +21 -0
  214. package/examples/node_modules/@webassemblyjs/utf8/esm/decoder.js +95 -0
  215. package/examples/node_modules/@webassemblyjs/utf8/esm/encoder.js +46 -0
  216. package/examples/node_modules/@webassemblyjs/utf8/esm/index.js +2 -0
  217. package/examples/node_modules/@webassemblyjs/utf8/lib/decoder.js +102 -0
  218. package/examples/node_modules/@webassemblyjs/utf8/lib/encoder.js +53 -0
  219. package/examples/node_modules/@webassemblyjs/utf8/lib/index.js +21 -0
  220. package/examples/node_modules/@webassemblyjs/utf8/package.json +20 -0
  221. package/examples/node_modules/@webassemblyjs/utf8/src/decoder.js +86 -0
  222. package/examples/node_modules/@webassemblyjs/utf8/src/encoder.js +44 -0
  223. package/examples/node_modules/@webassemblyjs/utf8/src/index.js +4 -0
  224. package/examples/node_modules/@webassemblyjs/utf8/test/index.js +13 -0
  225. package/examples/node_modules/@webassemblyjs/wasm-edit/LICENSE +21 -0
  226. package/examples/node_modules/@webassemblyjs/wasm-edit/README.md +86 -0
  227. package/examples/node_modules/@webassemblyjs/wasm-edit/esm/apply.js +299 -0
  228. package/examples/node_modules/@webassemblyjs/wasm-edit/esm/index.js +114 -0
  229. package/examples/node_modules/@webassemblyjs/wasm-edit/lib/apply.js +311 -0
  230. package/examples/node_modules/@webassemblyjs/wasm-edit/lib/index.js +133 -0
  231. package/examples/node_modules/@webassemblyjs/wasm-edit/package.json +33 -0
  232. package/examples/node_modules/@webassemblyjs/wasm-gen/LICENSE +21 -0
  233. package/examples/node_modules/@webassemblyjs/wasm-gen/esm/encoder/index.js +301 -0
  234. package/examples/node_modules/@webassemblyjs/wasm-gen/esm/index.js +51 -0
  235. package/examples/node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js +357 -0
  236. package/examples/node_modules/@webassemblyjs/wasm-gen/lib/index.js +64 -0
  237. package/examples/node_modules/@webassemblyjs/wasm-gen/package.json +27 -0
  238. package/examples/node_modules/@webassemblyjs/wasm-opt/LICENSE +21 -0
  239. package/examples/node_modules/@webassemblyjs/wasm-opt/esm/index.js +41 -0
  240. package/examples/node_modules/@webassemblyjs/wasm-opt/esm/leb128.js +47 -0
  241. package/examples/node_modules/@webassemblyjs/wasm-opt/lib/index.js +50 -0
  242. package/examples/node_modules/@webassemblyjs/wasm-opt/lib/leb128.js +56 -0
  243. package/examples/node_modules/@webassemblyjs/wasm-opt/package.json +26 -0
  244. package/examples/node_modules/@webassemblyjs/wasm-parser/LICENSE +21 -0
  245. package/examples/node_modules/@webassemblyjs/wasm-parser/README.md +28 -0
  246. package/examples/node_modules/@webassemblyjs/wasm-parser/esm/decoder.js +1776 -0
  247. package/examples/node_modules/@webassemblyjs/wasm-parser/esm/index.js +247 -0
  248. package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-yarn-and-pnpm/yarn.lock → @webassemblyjs/wasm-parser/esm/types/decoder.js} +0 -0
  249. package/examples/node_modules/@webassemblyjs/wasm-parser/lib/decoder.js +1792 -0
  250. package/examples/node_modules/@webassemblyjs/wasm-parser/lib/index.js +257 -0
  251. package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-yarn-lock/yarn.lock → @webassemblyjs/wasm-parser/lib/types/decoder.js} +0 -0
  252. package/examples/node_modules/@webassemblyjs/wasm-parser/package.json +44 -0
  253. package/examples/node_modules/@webassemblyjs/wast-printer/LICENSE +21 -0
  254. package/examples/node_modules/@webassemblyjs/wast-printer/README.md +17 -0
  255. package/examples/node_modules/@webassemblyjs/wast-printer/esm/index.js +904 -0
  256. package/examples/node_modules/@webassemblyjs/wast-printer/lib/index.js +915 -0
  257. package/examples/node_modules/@webassemblyjs/wast-printer/package.json +36 -0
  258. package/examples/node_modules/@webpack-cli/configtest/README.md +27 -0
  259. package/examples/node_modules/@webpack-cli/configtest/lib/index.js +18 -25
  260. package/examples/node_modules/@webpack-cli/configtest/package.json +14 -36
  261. package/examples/node_modules/@webpack-cli/info/README.md +6 -5
  262. package/examples/node_modules/@webpack-cli/info/lib/index.js +57 -38
  263. package/examples/node_modules/@webpack-cli/info/package.json +19 -37
  264. package/examples/node_modules/@webpack-cli/serve/README.md +4 -0
  265. package/examples/node_modules/@webpack-cli/serve/lib/index.js +214 -41
  266. package/examples/node_modules/@webpack-cli/serve/lib/types.d.ts +62 -19
  267. package/examples/node_modules/@webpack-cli/serve/lib/types.js +21 -2
  268. package/examples/node_modules/@webpack-cli/serve/package.json +15 -36
  269. package/examples/node_modules/@xtuc/ieee754/LICENSE +28 -0
  270. package/examples/node_modules/@xtuc/ieee754/README.md +51 -0
  271. package/examples/node_modules/@xtuc/ieee754/dist/.gitkeep +0 -0
  272. package/examples/node_modules/@xtuc/ieee754/dist/index.cjs.js +96 -0
  273. package/examples/node_modules/@xtuc/ieee754/index.js +84 -0
  274. package/examples/node_modules/@xtuc/ieee754/package.json +42 -0
  275. package/examples/node_modules/@xtuc/long/LICENSE +202 -0
  276. package/examples/node_modules/@xtuc/long/README.md +257 -0
  277. package/examples/node_modules/@xtuc/long/dist/long.js +2 -0
  278. package/examples/node_modules/@xtuc/long/dist/long.js.map +1 -0
  279. package/examples/node_modules/@xtuc/long/index.d.ts +429 -0
  280. package/examples/node_modules/@xtuc/long/index.js +1 -0
  281. package/examples/node_modules/@xtuc/long/package.json +36 -0
  282. package/examples/node_modules/@xtuc/long/src/long.js +1405 -0
  283. package/examples/node_modules/acorn/CHANGELOG.md +788 -0
  284. package/examples/node_modules/acorn/LICENSE +21 -0
  285. package/examples/node_modules/acorn/README.md +280 -0
  286. package/examples/node_modules/acorn/bin/acorn +4 -0
  287. package/examples/node_modules/acorn/dist/acorn.d.ts +214 -0
  288. package/examples/node_modules/acorn/dist/acorn.js +5619 -0
  289. package/examples/node_modules/acorn/dist/acorn.mjs +5588 -0
  290. package/examples/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
  291. package/examples/node_modules/acorn/dist/bin.js +91 -0
  292. package/examples/node_modules/acorn/package.json +46 -0
  293. package/examples/node_modules/acorn-import-assertions/README.md +15 -0
  294. package/examples/node_modules/acorn-import-assertions/lib/index.js +287 -0
  295. package/examples/node_modules/acorn-import-assertions/lib/index.mjs +242 -0
  296. package/examples/node_modules/acorn-import-assertions/package.json +49 -0
  297. package/examples/node_modules/acorn-import-assertions/src/index.js +242 -0
  298. package/examples/node_modules/ajv/.tonic_example.js +20 -0
  299. package/examples/node_modules/ajv/LICENSE +22 -0
  300. package/examples/node_modules/ajv/README.md +1497 -0
  301. package/examples/node_modules/ajv/dist/ajv.bundle.js +7189 -0
  302. package/examples/node_modules/ajv/dist/ajv.min.js +3 -0
  303. package/examples/node_modules/ajv/dist/ajv.min.js.map +1 -0
  304. package/examples/node_modules/ajv/lib/ajv.d.ts +397 -0
  305. package/examples/node_modules/ajv/lib/ajv.js +506 -0
  306. package/examples/node_modules/ajv/lib/cache.js +26 -0
  307. package/examples/node_modules/ajv/lib/compile/async.js +90 -0
  308. package/examples/node_modules/ajv/lib/compile/equal.js +5 -0
  309. package/examples/node_modules/ajv/lib/compile/error_classes.js +34 -0
  310. package/examples/node_modules/ajv/lib/compile/formats.js +142 -0
  311. package/examples/node_modules/ajv/lib/compile/index.js +387 -0
  312. package/examples/node_modules/ajv/lib/compile/resolve.js +270 -0
  313. package/examples/node_modules/ajv/lib/compile/rules.js +66 -0
  314. package/examples/node_modules/ajv/lib/compile/schema_obj.js +9 -0
  315. package/examples/node_modules/ajv/lib/compile/ucs2length.js +20 -0
  316. package/examples/node_modules/ajv/lib/compile/util.js +239 -0
  317. package/examples/node_modules/ajv/lib/data.js +49 -0
  318. package/examples/node_modules/ajv/lib/definition_schema.js +37 -0
  319. package/examples/node_modules/ajv/lib/dot/_limit.jst +113 -0
  320. package/examples/node_modules/ajv/lib/dot/_limitItems.jst +12 -0
  321. package/examples/node_modules/ajv/lib/dot/_limitLength.jst +12 -0
  322. package/examples/node_modules/ajv/lib/dot/_limitProperties.jst +12 -0
  323. package/examples/node_modules/ajv/lib/dot/allOf.jst +32 -0
  324. package/examples/node_modules/ajv/lib/dot/anyOf.jst +46 -0
  325. package/examples/node_modules/ajv/lib/dot/coerce.def +51 -0
  326. package/examples/node_modules/ajv/lib/dot/comment.jst +9 -0
  327. package/examples/node_modules/ajv/lib/dot/const.jst +11 -0
  328. package/examples/node_modules/ajv/lib/dot/contains.jst +55 -0
  329. package/examples/node_modules/ajv/lib/dot/custom.jst +191 -0
  330. package/examples/node_modules/ajv/lib/dot/defaults.def +47 -0
  331. package/examples/node_modules/ajv/lib/dot/definitions.def +203 -0
  332. package/examples/node_modules/ajv/lib/dot/dependencies.jst +79 -0
  333. package/examples/node_modules/ajv/lib/dot/enum.jst +30 -0
  334. package/examples/node_modules/ajv/lib/dot/errors.def +194 -0
  335. package/examples/node_modules/ajv/lib/dot/format.jst +106 -0
  336. package/examples/node_modules/ajv/lib/dot/if.jst +73 -0
  337. package/examples/node_modules/ajv/lib/dot/items.jst +98 -0
  338. package/examples/node_modules/ajv/lib/dot/missing.def +39 -0
  339. package/examples/node_modules/ajv/lib/dot/multipleOf.jst +22 -0
  340. package/examples/node_modules/ajv/lib/dot/not.jst +43 -0
  341. package/examples/node_modules/ajv/lib/dot/oneOf.jst +54 -0
  342. package/examples/node_modules/ajv/lib/dot/pattern.jst +14 -0
  343. package/examples/node_modules/ajv/lib/dot/properties.jst +245 -0
  344. package/examples/node_modules/ajv/lib/dot/propertyNames.jst +52 -0
  345. package/examples/node_modules/ajv/lib/dot/ref.jst +85 -0
  346. package/examples/node_modules/ajv/lib/dot/required.jst +108 -0
  347. package/examples/node_modules/ajv/lib/dot/uniqueItems.jst +62 -0
  348. package/examples/node_modules/ajv/lib/dot/validate.jst +276 -0
  349. package/examples/node_modules/ajv/lib/dotjs/README.md +3 -0
  350. package/examples/node_modules/ajv/lib/dotjs/_limit.js +163 -0
  351. package/examples/node_modules/ajv/lib/dotjs/_limitItems.js +80 -0
  352. package/examples/node_modules/ajv/lib/dotjs/_limitLength.js +85 -0
  353. package/examples/node_modules/ajv/lib/dotjs/_limitProperties.js +80 -0
  354. package/examples/node_modules/ajv/lib/dotjs/allOf.js +42 -0
  355. package/examples/node_modules/ajv/lib/dotjs/anyOf.js +73 -0
  356. package/examples/node_modules/ajv/lib/dotjs/comment.js +14 -0
  357. package/examples/node_modules/ajv/lib/dotjs/const.js +56 -0
  358. package/examples/node_modules/ajv/lib/dotjs/contains.js +81 -0
  359. package/examples/node_modules/ajv/lib/dotjs/custom.js +228 -0
  360. package/examples/node_modules/ajv/lib/dotjs/dependencies.js +168 -0
  361. package/examples/node_modules/ajv/lib/dotjs/enum.js +66 -0
  362. package/examples/node_modules/ajv/lib/dotjs/format.js +150 -0
  363. package/examples/node_modules/ajv/lib/dotjs/if.js +103 -0
  364. package/examples/node_modules/ajv/lib/dotjs/index.js +33 -0
  365. package/examples/node_modules/ajv/lib/dotjs/items.js +140 -0
  366. package/examples/node_modules/ajv/lib/dotjs/multipleOf.js +80 -0
  367. package/examples/node_modules/ajv/lib/dotjs/not.js +84 -0
  368. package/examples/node_modules/ajv/lib/dotjs/oneOf.js +73 -0
  369. package/examples/node_modules/ajv/lib/dotjs/pattern.js +75 -0
  370. package/examples/node_modules/ajv/lib/dotjs/properties.js +335 -0
  371. package/examples/node_modules/ajv/lib/dotjs/propertyNames.js +81 -0
  372. package/examples/node_modules/ajv/lib/dotjs/ref.js +124 -0
  373. package/examples/node_modules/ajv/lib/dotjs/required.js +270 -0
  374. package/examples/node_modules/ajv/lib/dotjs/uniqueItems.js +86 -0
  375. package/examples/node_modules/ajv/lib/dotjs/validate.js +482 -0
  376. package/examples/node_modules/ajv/lib/keyword.js +146 -0
  377. package/examples/node_modules/ajv/lib/refs/data.json +17 -0
  378. package/examples/node_modules/ajv/lib/refs/json-schema-draft-04.json +149 -0
  379. package/examples/node_modules/ajv/lib/refs/json-schema-draft-06.json +154 -0
  380. package/examples/node_modules/ajv/lib/refs/json-schema-draft-07.json +168 -0
  381. package/examples/node_modules/ajv/lib/refs/json-schema-secure.json +94 -0
  382. package/examples/node_modules/ajv/package.json +106 -0
  383. package/examples/node_modules/ajv/scripts/.eslintrc.yml +3 -0
  384. package/examples/node_modules/ajv/scripts/bundle.js +61 -0
  385. package/examples/node_modules/ajv/scripts/compile-dots.js +73 -0
  386. package/examples/node_modules/ajv/scripts/info +10 -0
  387. package/examples/node_modules/ajv/scripts/prepare-tests +12 -0
  388. package/examples/node_modules/ajv/scripts/publish-built-version +32 -0
  389. package/examples/node_modules/ajv/scripts/travis-gh-pages +23 -0
  390. package/examples/node_modules/ajv-keywords/LICENSE +21 -0
  391. package/examples/node_modules/ajv-keywords/README.md +836 -0
  392. package/examples/node_modules/ajv-keywords/ajv-keywords.d.ts +7 -0
  393. package/examples/node_modules/ajv-keywords/index.js +35 -0
  394. package/examples/node_modules/ajv-keywords/keywords/_formatLimit.js +101 -0
  395. package/examples/node_modules/ajv-keywords/keywords/_util.js +15 -0
  396. package/examples/node_modules/ajv-keywords/keywords/allRequired.js +18 -0
  397. package/examples/node_modules/ajv-keywords/keywords/anyRequired.js +24 -0
  398. package/examples/node_modules/ajv-keywords/keywords/deepProperties.js +54 -0
  399. package/examples/node_modules/ajv-keywords/keywords/deepRequired.js +57 -0
  400. package/examples/node_modules/ajv-keywords/keywords/dot/_formatLimit.jst +116 -0
  401. package/examples/node_modules/ajv-keywords/keywords/dot/patternRequired.jst +33 -0
  402. package/examples/node_modules/ajv-keywords/keywords/dot/switch.jst +71 -0
  403. package/examples/node_modules/ajv-keywords/keywords/dotjs/README.md +3 -0
  404. package/examples/node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js +178 -0
  405. package/examples/node_modules/ajv-keywords/keywords/dotjs/patternRequired.js +58 -0
  406. package/examples/node_modules/ajv-keywords/keywords/dotjs/switch.js +129 -0
  407. package/examples/node_modules/ajv-keywords/keywords/dynamicDefaults.js +72 -0
  408. package/examples/node_modules/ajv-keywords/keywords/formatMaximum.js +3 -0
  409. package/examples/node_modules/ajv-keywords/keywords/formatMinimum.js +3 -0
  410. package/examples/node_modules/ajv-keywords/keywords/index.js +22 -0
  411. package/examples/node_modules/ajv-keywords/keywords/instanceof.js +58 -0
  412. package/examples/node_modules/ajv-keywords/keywords/oneRequired.js +24 -0
  413. package/examples/node_modules/ajv-keywords/keywords/patternRequired.js +21 -0
  414. package/examples/node_modules/ajv-keywords/keywords/prohibited.js +24 -0
  415. package/examples/node_modules/ajv-keywords/keywords/range.js +36 -0
  416. package/examples/node_modules/ajv-keywords/keywords/regexp.js +36 -0
  417. package/examples/node_modules/ajv-keywords/keywords/select.js +79 -0
  418. package/examples/node_modules/ajv-keywords/keywords/switch.js +38 -0
  419. package/examples/node_modules/ajv-keywords/keywords/transform.js +80 -0
  420. package/examples/node_modules/ajv-keywords/keywords/typeof.js +32 -0
  421. package/examples/node_modules/ajv-keywords/keywords/uniqueItemProperties.js +59 -0
  422. package/examples/node_modules/ajv-keywords/package.json +53 -0
  423. package/examples/node_modules/browserslist/LICENSE +20 -0
  424. package/examples/node_modules/browserslist/README.md +66 -0
  425. package/examples/node_modules/browserslist/browser.js +50 -0
  426. package/examples/node_modules/browserslist/cli.js +152 -0
  427. package/examples/node_modules/browserslist/error.d.ts +7 -0
  428. package/examples/node_modules/browserslist/error.js +12 -0
  429. package/examples/node_modules/browserslist/index.d.ts +178 -0
  430. package/examples/node_modules/browserslist/index.js +1235 -0
  431. package/examples/node_modules/browserslist/node.js +393 -0
  432. package/examples/node_modules/browserslist/package.json +41 -0
  433. package/examples/node_modules/browserslist/update-db.js +317 -0
  434. package/examples/node_modules/buffer-from/LICENSE +21 -0
  435. package/examples/node_modules/buffer-from/index.js +72 -0
  436. package/examples/node_modules/buffer-from/package.json +19 -0
  437. package/examples/node_modules/buffer-from/readme.md +69 -0
  438. package/examples/node_modules/caniuse-lite/LICENSE +395 -0
  439. package/examples/node_modules/caniuse-lite/README.md +92 -0
  440. package/examples/node_modules/caniuse-lite/data/agents.js +1 -0
  441. package/examples/node_modules/caniuse-lite/data/browserVersions.js +1 -0
  442. package/examples/node_modules/caniuse-lite/data/browsers.js +1 -0
  443. package/examples/node_modules/caniuse-lite/data/features/aac.js +1 -0
  444. package/examples/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -0
  445. package/examples/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -0
  446. package/examples/node_modules/caniuse-lite/data/features/accelerometer.js +1 -0
  447. package/examples/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -0
  448. package/examples/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -0
  449. package/examples/node_modules/caniuse-lite/data/features/ambient-light.js +1 -0
  450. package/examples/node_modules/caniuse-lite/data/features/apng.js +1 -0
  451. package/examples/node_modules/caniuse-lite/data/features/array-find-index.js +1 -0
  452. package/examples/node_modules/caniuse-lite/data/features/array-find.js +1 -0
  453. package/examples/node_modules/caniuse-lite/data/features/array-flat.js +1 -0
  454. package/examples/node_modules/caniuse-lite/data/features/array-includes.js +1 -0
  455. package/examples/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -0
  456. package/examples/node_modules/caniuse-lite/data/features/asmjs.js +1 -0
  457. package/examples/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -0
  458. package/examples/node_modules/caniuse-lite/data/features/async-functions.js +1 -0
  459. package/examples/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -0
  460. package/examples/node_modules/caniuse-lite/data/features/audio-api.js +1 -0
  461. package/examples/node_modules/caniuse-lite/data/features/audio.js +1 -0
  462. package/examples/node_modules/caniuse-lite/data/features/audiotracks.js +1 -0
  463. package/examples/node_modules/caniuse-lite/data/features/autofocus.js +1 -0
  464. package/examples/node_modules/caniuse-lite/data/features/auxclick.js +1 -0
  465. package/examples/node_modules/caniuse-lite/data/features/av1.js +1 -0
  466. package/examples/node_modules/caniuse-lite/data/features/avif.js +1 -0
  467. package/examples/node_modules/caniuse-lite/data/features/background-attachment.js +1 -0
  468. package/examples/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -0
  469. package/examples/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -0
  470. package/examples/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -0
  471. package/examples/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -0
  472. package/examples/node_modules/caniuse-lite/data/features/background-sync.js +1 -0
  473. package/examples/node_modules/caniuse-lite/data/features/battery-status.js +1 -0
  474. package/examples/node_modules/caniuse-lite/data/features/beacon.js +1 -0
  475. package/examples/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -0
  476. package/examples/node_modules/caniuse-lite/data/features/bigint.js +1 -0
  477. package/examples/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -0
  478. package/examples/node_modules/caniuse-lite/data/features/bloburls.js +1 -0
  479. package/examples/node_modules/caniuse-lite/data/features/border-image.js +1 -0
  480. package/examples/node_modules/caniuse-lite/data/features/border-radius.js +1 -0
  481. package/examples/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -0
  482. package/examples/node_modules/caniuse-lite/data/features/brotli.js +1 -0
  483. package/examples/node_modules/caniuse-lite/data/features/calc.js +1 -0
  484. package/examples/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -0
  485. package/examples/node_modules/caniuse-lite/data/features/canvas-text.js +1 -0
  486. package/examples/node_modules/caniuse-lite/data/features/canvas.js +1 -0
  487. package/examples/node_modules/caniuse-lite/data/features/ch-unit.js +1 -0
  488. package/examples/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -0
  489. package/examples/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -0
  490. package/examples/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -0
  491. package/examples/node_modules/caniuse-lite/data/features/classlist.js +1 -0
  492. package/examples/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -0
  493. package/examples/node_modules/caniuse-lite/data/features/clipboard.js +1 -0
  494. package/examples/node_modules/caniuse-lite/data/features/colr-v1.js +1 -0
  495. package/examples/node_modules/caniuse-lite/data/features/colr.js +1 -0
  496. package/examples/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -0
  497. package/examples/node_modules/caniuse-lite/data/features/console-basic.js +1 -0
  498. package/examples/node_modules/caniuse-lite/data/features/console-time.js +1 -0
  499. package/examples/node_modules/caniuse-lite/data/features/const.js +1 -0
  500. package/examples/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -0
  501. package/examples/node_modules/caniuse-lite/data/features/contenteditable.js +1 -0
  502. package/examples/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -0
  503. package/examples/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -0
  504. package/examples/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -0
  505. package/examples/node_modules/caniuse-lite/data/features/cors.js +1 -0
  506. package/examples/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -0
  507. package/examples/node_modules/caniuse-lite/data/features/credential-management.js +1 -0
  508. package/examples/node_modules/caniuse-lite/data/features/cryptography.js +1 -0
  509. package/examples/node_modules/caniuse-lite/data/features/css-all.js +1 -0
  510. package/examples/node_modules/caniuse-lite/data/features/css-animation.js +1 -0
  511. package/examples/node_modules/caniuse-lite/data/features/css-any-link.js +1 -0
  512. package/examples/node_modules/caniuse-lite/data/features/css-appearance.js +1 -0
  513. package/examples/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -0
  514. package/examples/node_modules/caniuse-lite/data/features/css-autofill.js +1 -0
  515. package/examples/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -0
  516. package/examples/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -0
  517. package/examples/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -0
  518. package/examples/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -0
  519. package/examples/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -0
  520. package/examples/node_modules/caniuse-lite/data/features/css-canvas.js +1 -0
  521. package/examples/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -0
  522. package/examples/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -0
  523. package/examples/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -0
  524. package/examples/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -0
  525. package/examples/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -0
  526. package/examples/node_modules/caniuse-lite/data/features/css-color-function.js +1 -0
  527. package/examples/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -0
  528. package/examples/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -0
  529. package/examples/node_modules/caniuse-lite/data/features/css-containment.js +1 -0
  530. package/examples/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -0
  531. package/examples/node_modules/caniuse-lite/data/features/css-counters.js +1 -0
  532. package/examples/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -0
  533. package/examples/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -0
  534. package/examples/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -0
  535. package/examples/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -0
  536. package/examples/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -0
  537. package/examples/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -0
  538. package/examples/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -0
  539. package/examples/node_modules/caniuse-lite/data/features/css-element-function.js +1 -0
  540. package/examples/node_modules/caniuse-lite/data/features/css-env-function.js +1 -0
  541. package/examples/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -0
  542. package/examples/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -0
  543. package/examples/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -0
  544. package/examples/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -0
  545. package/examples/node_modules/caniuse-lite/data/features/css-filters.js +1 -0
  546. package/examples/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -0
  547. package/examples/node_modules/caniuse-lite/data/features/css-first-line.js +1 -0
  548. package/examples/node_modules/caniuse-lite/data/features/css-fixed.js +1 -0
  549. package/examples/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -0
  550. package/examples/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -0
  551. package/examples/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -0
  552. package/examples/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -0
  553. package/examples/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -0
  554. package/examples/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -0
  555. package/examples/node_modules/caniuse-lite/data/features/css-gradients.js +1 -0
  556. package/examples/node_modules/caniuse-lite/data/features/css-grid.js +1 -0
  557. package/examples/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -0
  558. package/examples/node_modules/caniuse-lite/data/features/css-has.js +1 -0
  559. package/examples/node_modules/caniuse-lite/data/features/css-hyphenate.js +1 -0
  560. package/examples/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -0
  561. package/examples/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -0
  562. package/examples/node_modules/caniuse-lite/data/features/css-image-set.js +1 -0
  563. package/examples/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -0
  564. package/examples/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -0
  565. package/examples/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -0
  566. package/examples/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -0
  567. package/examples/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -0
  568. package/examples/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -0
  569. package/examples/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -0
  570. package/examples/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -0
  571. package/examples/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -0
  572. package/examples/node_modules/caniuse-lite/data/features/css-masks.js +1 -0
  573. package/examples/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -0
  574. package/examples/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -0
  575. package/examples/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -0
  576. package/examples/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -0
  577. package/examples/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -0
  578. package/examples/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -0
  579. package/examples/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -0
  580. package/examples/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -0
  581. package/examples/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -0
  582. package/examples/node_modules/caniuse-lite/data/features/css-nesting.js +1 -0
  583. package/examples/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -0
  584. package/examples/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -0
  585. package/examples/node_modules/caniuse-lite/data/features/css-opacity.js +1 -0
  586. package/examples/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -0
  587. package/examples/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -0
  588. package/examples/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -0
  589. package/examples/node_modules/caniuse-lite/data/features/css-overflow.js +1 -0
  590. package/examples/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -0
  591. package/examples/node_modules/caniuse-lite/data/features/css-page-break.js +1 -0
  592. package/examples/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -0
  593. package/examples/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -0
  594. package/examples/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -0
  595. package/examples/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -0
  596. package/examples/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -0
  597. package/examples/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -0
  598. package/examples/node_modules/caniuse-lite/data/features/css-reflections.js +1 -0
  599. package/examples/node_modules/caniuse-lite/data/features/css-regions.js +1 -0
  600. package/examples/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -0
  601. package/examples/node_modules/caniuse-lite/data/features/css-resize.js +1 -0
  602. package/examples/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -0
  603. package/examples/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -0
  604. package/examples/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -0
  605. package/examples/node_modules/caniuse-lite/data/features/css-scroll-timeline.js +1 -0
  606. package/examples/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -0
  607. package/examples/node_modules/caniuse-lite/data/features/css-sel2.js +1 -0
  608. package/examples/node_modules/caniuse-lite/data/features/css-sel3.js +1 -0
  609. package/examples/node_modules/caniuse-lite/data/features/css-selection.js +1 -0
  610. package/examples/node_modules/caniuse-lite/data/features/css-shapes.js +1 -0
  611. package/examples/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -0
  612. package/examples/node_modules/caniuse-lite/data/features/css-sticky.js +1 -0
  613. package/examples/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -0
  614. package/examples/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -0
  615. package/examples/node_modules/caniuse-lite/data/features/css-table.js +1 -0
  616. package/examples/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -0
  617. package/examples/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -0
  618. package/examples/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -0
  619. package/examples/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -0
  620. package/examples/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -0
  621. package/examples/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -0
  622. package/examples/node_modules/caniuse-lite/data/features/css-touch-action-2.js +1 -0
  623. package/examples/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -0
  624. package/examples/node_modules/caniuse-lite/data/features/css-transitions.js +1 -0
  625. package/examples/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -0
  626. package/examples/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -0
  627. package/examples/node_modules/caniuse-lite/data/features/css-variables.js +1 -0
  628. package/examples/node_modules/caniuse-lite/data/features/css-when-else.js +1 -0
  629. package/examples/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -0
  630. package/examples/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -0
  631. package/examples/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -0
  632. package/examples/node_modules/caniuse-lite/data/features/css-zoom.js +1 -0
  633. package/examples/node_modules/caniuse-lite/data/features/css3-attr.js +1 -0
  634. package/examples/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -0
  635. package/examples/node_modules/caniuse-lite/data/features/css3-colors.js +1 -0
  636. package/examples/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -0
  637. package/examples/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -0
  638. package/examples/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -0
  639. package/examples/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -0
  640. package/examples/node_modules/caniuse-lite/data/features/currentcolor.js +1 -0
  641. package/examples/node_modules/caniuse-lite/data/features/custom-elements.js +1 -0
  642. package/examples/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -0
  643. package/examples/node_modules/caniuse-lite/data/features/customevent.js +1 -0
  644. package/examples/node_modules/caniuse-lite/data/features/datalist.js +1 -0
  645. package/examples/node_modules/caniuse-lite/data/features/dataset.js +1 -0
  646. package/examples/node_modules/caniuse-lite/data/features/datauri.js +1 -0
  647. package/examples/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -0
  648. package/examples/node_modules/caniuse-lite/data/features/decorators.js +1 -0
  649. package/examples/node_modules/caniuse-lite/data/features/details.js +1 -0
  650. package/examples/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -0
  651. package/examples/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -0
  652. package/examples/node_modules/caniuse-lite/data/features/dialog.js +1 -0
  653. package/examples/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -0
  654. package/examples/node_modules/caniuse-lite/data/features/dnssec.js +1 -0
  655. package/examples/node_modules/caniuse-lite/data/features/do-not-track.js +1 -0
  656. package/examples/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -0
  657. package/examples/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -0
  658. package/examples/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -0
  659. package/examples/node_modules/caniuse-lite/data/features/document-policy.js +1 -0
  660. package/examples/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -0
  661. package/examples/node_modules/caniuse-lite/data/features/documenthead.js +1 -0
  662. package/examples/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -0
  663. package/examples/node_modules/caniuse-lite/data/features/dom-range.js +1 -0
  664. package/examples/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -0
  665. package/examples/node_modules/caniuse-lite/data/features/domfocusin-domfocusout-events.js +1 -0
  666. package/examples/node_modules/caniuse-lite/data/features/dommatrix.js +1 -0
  667. package/examples/node_modules/caniuse-lite/data/features/download.js +1 -0
  668. package/examples/node_modules/caniuse-lite/data/features/dragndrop.js +1 -0
  669. package/examples/node_modules/caniuse-lite/data/features/element-closest.js +1 -0
  670. package/examples/node_modules/caniuse-lite/data/features/element-from-point.js +1 -0
  671. package/examples/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -0
  672. package/examples/node_modules/caniuse-lite/data/features/eme.js +1 -0
  673. package/examples/node_modules/caniuse-lite/data/features/eot.js +1 -0
  674. package/examples/node_modules/caniuse-lite/data/features/es5.js +1 -0
  675. package/examples/node_modules/caniuse-lite/data/features/es6-class.js +1 -0
  676. package/examples/node_modules/caniuse-lite/data/features/es6-generators.js +1 -0
  677. package/examples/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -0
  678. package/examples/node_modules/caniuse-lite/data/features/es6-module.js +1 -0
  679. package/examples/node_modules/caniuse-lite/data/features/es6-number.js +1 -0
  680. package/examples/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -0
  681. package/examples/node_modules/caniuse-lite/data/features/es6.js +1 -0
  682. package/examples/node_modules/caniuse-lite/data/features/eventsource.js +1 -0
  683. package/examples/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -0
  684. package/examples/node_modules/caniuse-lite/data/features/feature-policy.js +1 -0
  685. package/examples/node_modules/caniuse-lite/data/features/fetch.js +1 -0
  686. package/examples/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -0
  687. package/examples/node_modules/caniuse-lite/data/features/fileapi.js +1 -0
  688. package/examples/node_modules/caniuse-lite/data/features/filereader.js +1 -0
  689. package/examples/node_modules/caniuse-lite/data/features/filereadersync.js +1 -0
  690. package/examples/node_modules/caniuse-lite/data/features/filesystem.js +1 -0
  691. package/examples/node_modules/caniuse-lite/data/features/flac.js +1 -0
  692. package/examples/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -0
  693. package/examples/node_modules/caniuse-lite/data/features/flexbox.js +1 -0
  694. package/examples/node_modules/caniuse-lite/data/features/flow-root.js +1 -0
  695. package/examples/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -0
  696. package/examples/node_modules/caniuse-lite/data/features/focusoptions-preventscroll.js +1 -0
  697. package/examples/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -0
  698. package/examples/node_modules/caniuse-lite/data/features/font-feature.js +1 -0
  699. package/examples/node_modules/caniuse-lite/data/features/font-kerning.js +1 -0
  700. package/examples/node_modules/caniuse-lite/data/features/font-loading.js +1 -0
  701. package/examples/node_modules/caniuse-lite/data/features/font-metrics-overrides.js +1 -0
  702. package/examples/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -0
  703. package/examples/node_modules/caniuse-lite/data/features/font-smooth.js +1 -0
  704. package/examples/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -0
  705. package/examples/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -0
  706. package/examples/node_modules/caniuse-lite/data/features/font-variant-east-asian.js +1 -0
  707. package/examples/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -0
  708. package/examples/node_modules/caniuse-lite/data/features/fontface.js +1 -0
  709. package/examples/node_modules/caniuse-lite/data/features/form-attribute.js +1 -0
  710. package/examples/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -0
  711. package/examples/node_modules/caniuse-lite/data/features/form-validation.js +1 -0
  712. package/examples/node_modules/caniuse-lite/data/features/forms.js +1 -0
  713. package/examples/node_modules/caniuse-lite/data/features/fullscreen.js +1 -0
  714. package/examples/node_modules/caniuse-lite/data/features/gamepad.js +1 -0
  715. package/examples/node_modules/caniuse-lite/data/features/geolocation.js +1 -0
  716. package/examples/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -0
  717. package/examples/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -0
  718. package/examples/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -0
  719. package/examples/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -0
  720. package/examples/node_modules/caniuse-lite/data/features/gyroscope.js +1 -0
  721. package/examples/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -0
  722. package/examples/node_modules/caniuse-lite/data/features/hashchange.js +1 -0
  723. package/examples/node_modules/caniuse-lite/data/features/heif.js +1 -0
  724. package/examples/node_modules/caniuse-lite/data/features/hevc.js +1 -0
  725. package/examples/node_modules/caniuse-lite/data/features/hidden.js +1 -0
  726. package/examples/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -0
  727. package/examples/node_modules/caniuse-lite/data/features/history.js +1 -0
  728. package/examples/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -0
  729. package/examples/node_modules/caniuse-lite/data/features/html5semantic.js +1 -0
  730. package/examples/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -0
  731. package/examples/node_modules/caniuse-lite/data/features/http2.js +1 -0
  732. package/examples/node_modules/caniuse-lite/data/features/http3.js +1 -0
  733. package/examples/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -0
  734. package/examples/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -0
  735. package/examples/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -0
  736. package/examples/node_modules/caniuse-lite/data/features/imagecapture.js +1 -0
  737. package/examples/node_modules/caniuse-lite/data/features/ime.js +1 -0
  738. package/examples/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -0
  739. package/examples/node_modules/caniuse-lite/data/features/import-maps.js +1 -0
  740. package/examples/node_modules/caniuse-lite/data/features/imports.js +1 -0
  741. package/examples/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -0
  742. package/examples/node_modules/caniuse-lite/data/features/indexeddb.js +1 -0
  743. package/examples/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -0
  744. package/examples/node_modules/caniuse-lite/data/features/inline-block.js +1 -0
  745. package/examples/node_modules/caniuse-lite/data/features/innertext.js +1 -0
  746. package/examples/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -0
  747. package/examples/node_modules/caniuse-lite/data/features/input-color.js +1 -0
  748. package/examples/node_modules/caniuse-lite/data/features/input-datetime.js +1 -0
  749. package/examples/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -0
  750. package/examples/node_modules/caniuse-lite/data/features/input-event.js +1 -0
  751. package/examples/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -0
  752. package/examples/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -0
  753. package/examples/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -0
  754. package/examples/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -0
  755. package/examples/node_modules/caniuse-lite/data/features/input-minlength.js +1 -0
  756. package/examples/node_modules/caniuse-lite/data/features/input-number.js +1 -0
  757. package/examples/node_modules/caniuse-lite/data/features/input-pattern.js +1 -0
  758. package/examples/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -0
  759. package/examples/node_modules/caniuse-lite/data/features/input-range.js +1 -0
  760. package/examples/node_modules/caniuse-lite/data/features/input-search.js +1 -0
  761. package/examples/node_modules/caniuse-lite/data/features/input-selection.js +1 -0
  762. package/examples/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -0
  763. package/examples/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -0
  764. package/examples/node_modules/caniuse-lite/data/features/internationalization.js +1 -0
  765. package/examples/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -0
  766. package/examples/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -0
  767. package/examples/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -0
  768. package/examples/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -0
  769. package/examples/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -0
  770. package/examples/node_modules/caniuse-lite/data/features/jpegxl.js +1 -0
  771. package/examples/node_modules/caniuse-lite/data/features/jpegxr.js +1 -0
  772. package/examples/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -0
  773. package/examples/node_modules/caniuse-lite/data/features/json.js +1 -0
  774. package/examples/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -0
  775. package/examples/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -0
  776. package/examples/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -0
  777. package/examples/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -0
  778. package/examples/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -0
  779. package/examples/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -0
  780. package/examples/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -0
  781. package/examples/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -0
  782. package/examples/node_modules/caniuse-lite/data/features/lazyload.js +1 -0
  783. package/examples/node_modules/caniuse-lite/data/features/let.js +1 -0
  784. package/examples/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -0
  785. package/examples/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -0
  786. package/examples/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -0
  787. package/examples/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -0
  788. package/examples/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -0
  789. package/examples/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -0
  790. package/examples/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -0
  791. package/examples/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -0
  792. package/examples/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -0
  793. package/examples/node_modules/caniuse-lite/data/features/localecompare.js +1 -0
  794. package/examples/node_modules/caniuse-lite/data/features/magnetometer.js +1 -0
  795. package/examples/node_modules/caniuse-lite/data/features/matchesselector.js +1 -0
  796. package/examples/node_modules/caniuse-lite/data/features/matchmedia.js +1 -0
  797. package/examples/node_modules/caniuse-lite/data/features/mathml.js +1 -0
  798. package/examples/node_modules/caniuse-lite/data/features/maxlength.js +1 -0
  799. package/examples/node_modules/caniuse-lite/data/features/media-attribute.js +1 -0
  800. package/examples/node_modules/caniuse-lite/data/features/media-fragments.js +1 -0
  801. package/examples/node_modules/caniuse-lite/data/features/media-session-api.js +1 -0
  802. package/examples/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -0
  803. package/examples/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -0
  804. package/examples/node_modules/caniuse-lite/data/features/mediasource.js +1 -0
  805. package/examples/node_modules/caniuse-lite/data/features/menu.js +1 -0
  806. package/examples/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -0
  807. package/examples/node_modules/caniuse-lite/data/features/meter.js +1 -0
  808. package/examples/node_modules/caniuse-lite/data/features/midi.js +1 -0
  809. package/examples/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -0
  810. package/examples/node_modules/caniuse-lite/data/features/mp3.js +1 -0
  811. package/examples/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -0
  812. package/examples/node_modules/caniuse-lite/data/features/mpeg4.js +1 -0
  813. package/examples/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -0
  814. package/examples/node_modules/caniuse-lite/data/features/multicolumn.js +1 -0
  815. package/examples/node_modules/caniuse-lite/data/features/mutation-events.js +1 -0
  816. package/examples/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -0
  817. package/examples/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -0
  818. package/examples/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -0
  819. package/examples/node_modules/caniuse-lite/data/features/nav-timing.js +1 -0
  820. package/examples/node_modules/caniuse-lite/data/features/navigator-language.js +1 -0
  821. package/examples/node_modules/caniuse-lite/data/features/netinfo.js +1 -0
  822. package/examples/node_modules/caniuse-lite/data/features/notifications.js +1 -0
  823. package/examples/node_modules/caniuse-lite/data/features/object-entries.js +1 -0
  824. package/examples/node_modules/caniuse-lite/data/features/object-fit.js +1 -0
  825. package/examples/node_modules/caniuse-lite/data/features/object-observe.js +1 -0
  826. package/examples/node_modules/caniuse-lite/data/features/object-values.js +1 -0
  827. package/examples/node_modules/caniuse-lite/data/features/objectrtc.js +1 -0
  828. package/examples/node_modules/caniuse-lite/data/features/offline-apps.js +1 -0
  829. package/examples/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -0
  830. package/examples/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -0
  831. package/examples/node_modules/caniuse-lite/data/features/ogv.js +1 -0
  832. package/examples/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -0
  833. package/examples/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -0
  834. package/examples/node_modules/caniuse-lite/data/features/online-status.js +1 -0
  835. package/examples/node_modules/caniuse-lite/data/features/opus.js +1 -0
  836. package/examples/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -0
  837. package/examples/node_modules/caniuse-lite/data/features/outline.js +1 -0
  838. package/examples/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -0
  839. package/examples/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -0
  840. package/examples/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -0
  841. package/examples/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -0
  842. package/examples/node_modules/caniuse-lite/data/features/passwordrules.js +1 -0
  843. package/examples/node_modules/caniuse-lite/data/features/path2d.js +1 -0
  844. package/examples/node_modules/caniuse-lite/data/features/payment-request.js +1 -0
  845. package/examples/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -0
  846. package/examples/node_modules/caniuse-lite/data/features/permissions-api.js +1 -0
  847. package/examples/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -0
  848. package/examples/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -0
  849. package/examples/node_modules/caniuse-lite/data/features/picture.js +1 -0
  850. package/examples/node_modules/caniuse-lite/data/features/ping.js +1 -0
  851. package/examples/node_modules/caniuse-lite/data/features/png-alpha.js +1 -0
  852. package/examples/node_modules/caniuse-lite/data/features/pointer-events.js +1 -0
  853. package/examples/node_modules/caniuse-lite/data/features/pointer.js +1 -0
  854. package/examples/node_modules/caniuse-lite/data/features/pointerlock.js +1 -0
  855. package/examples/node_modules/caniuse-lite/data/features/portals.js +1 -0
  856. package/examples/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -0
  857. package/examples/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -0
  858. package/examples/node_modules/caniuse-lite/data/features/private-class-fields.js +1 -0
  859. package/examples/node_modules/caniuse-lite/data/features/private-methods-and-accessors.js +1 -0
  860. package/examples/node_modules/caniuse-lite/data/features/progress.js +1 -0
  861. package/examples/node_modules/caniuse-lite/data/features/promise-finally.js +1 -0
  862. package/examples/node_modules/caniuse-lite/data/features/promises.js +1 -0
  863. package/examples/node_modules/caniuse-lite/data/features/proximity.js +1 -0
  864. package/examples/node_modules/caniuse-lite/data/features/proxy.js +1 -0
  865. package/examples/node_modules/caniuse-lite/data/features/public-class-fields.js +1 -0
  866. package/examples/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -0
  867. package/examples/node_modules/caniuse-lite/data/features/push-api.js +1 -0
  868. package/examples/node_modules/caniuse-lite/data/features/queryselector.js +1 -0
  869. package/examples/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -0
  870. package/examples/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -0
  871. package/examples/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -0
  872. package/examples/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -0
  873. package/examples/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -0
  874. package/examples/node_modules/caniuse-lite/data/features/rellist.js +1 -0
  875. package/examples/node_modules/caniuse-lite/data/features/rem.js +1 -0
  876. package/examples/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -0
  877. package/examples/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -0
  878. package/examples/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -0
  879. package/examples/node_modules/caniuse-lite/data/features/resource-timing.js +1 -0
  880. package/examples/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -0
  881. package/examples/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -0
  882. package/examples/node_modules/caniuse-lite/data/features/ruby.js +1 -0
  883. package/examples/node_modules/caniuse-lite/data/features/run-in.js +1 -0
  884. package/examples/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -0
  885. package/examples/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -0
  886. package/examples/node_modules/caniuse-lite/data/features/script-async.js +1 -0
  887. package/examples/node_modules/caniuse-lite/data/features/script-defer.js +1 -0
  888. package/examples/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -0
  889. package/examples/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -0
  890. package/examples/node_modules/caniuse-lite/data/features/sdch.js +1 -0
  891. package/examples/node_modules/caniuse-lite/data/features/selection-api.js +1 -0
  892. package/examples/node_modules/caniuse-lite/data/features/server-timing.js +1 -0
  893. package/examples/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -0
  894. package/examples/node_modules/caniuse-lite/data/features/setimmediate.js +1 -0
  895. package/examples/node_modules/caniuse-lite/data/features/sha-2.js +1 -0
  896. package/examples/node_modules/caniuse-lite/data/features/shadowdom.js +1 -0
  897. package/examples/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -0
  898. package/examples/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -0
  899. package/examples/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -0
  900. package/examples/node_modules/caniuse-lite/data/features/sni.js +1 -0
  901. package/examples/node_modules/caniuse-lite/data/features/spdy.js +1 -0
  902. package/examples/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -0
  903. package/examples/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -0
  904. package/examples/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -0
  905. package/examples/node_modules/caniuse-lite/data/features/sql-storage.js +1 -0
  906. package/examples/node_modules/caniuse-lite/data/features/srcset.js +1 -0
  907. package/examples/node_modules/caniuse-lite/data/features/stream.js +1 -0
  908. package/examples/node_modules/caniuse-lite/data/features/streams.js +1 -0
  909. package/examples/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -0
  910. package/examples/node_modules/caniuse-lite/data/features/style-scoped.js +1 -0
  911. package/examples/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -0
  912. package/examples/node_modules/caniuse-lite/data/features/svg-css.js +1 -0
  913. package/examples/node_modules/caniuse-lite/data/features/svg-filters.js +1 -0
  914. package/examples/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -0
  915. package/examples/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -0
  916. package/examples/node_modules/caniuse-lite/data/features/svg-html.js +1 -0
  917. package/examples/node_modules/caniuse-lite/data/features/svg-html5.js +1 -0
  918. package/examples/node_modules/caniuse-lite/data/features/svg-img.js +1 -0
  919. package/examples/node_modules/caniuse-lite/data/features/svg-smil.js +1 -0
  920. package/examples/node_modules/caniuse-lite/data/features/svg.js +1 -0
  921. package/examples/node_modules/caniuse-lite/data/features/sxg.js +1 -0
  922. package/examples/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -0
  923. package/examples/node_modules/caniuse-lite/data/features/template-literals.js +1 -0
  924. package/examples/node_modules/caniuse-lite/data/features/template.js +1 -0
  925. package/examples/node_modules/caniuse-lite/data/features/temporal.js +1 -0
  926. package/examples/node_modules/caniuse-lite/data/features/testfeat.js +1 -0
  927. package/examples/node_modules/caniuse-lite/data/features/text-decoration.js +1 -0
  928. package/examples/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -0
  929. package/examples/node_modules/caniuse-lite/data/features/text-overflow.js +1 -0
  930. package/examples/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -0
  931. package/examples/node_modules/caniuse-lite/data/features/text-stroke.js +1 -0
  932. package/examples/node_modules/caniuse-lite/data/features/text-underline-offset.js +1 -0
  933. package/examples/node_modules/caniuse-lite/data/features/textcontent.js +1 -0
  934. package/examples/node_modules/caniuse-lite/data/features/textencoder.js +1 -0
  935. package/examples/node_modules/caniuse-lite/data/features/tls1-1.js +1 -0
  936. package/examples/node_modules/caniuse-lite/data/features/tls1-2.js +1 -0
  937. package/examples/node_modules/caniuse-lite/data/features/tls1-3.js +1 -0
  938. package/examples/node_modules/caniuse-lite/data/features/token-binding.js +1 -0
  939. package/examples/node_modules/caniuse-lite/data/features/touch.js +1 -0
  940. package/examples/node_modules/caniuse-lite/data/features/transforms2d.js +1 -0
  941. package/examples/node_modules/caniuse-lite/data/features/transforms3d.js +1 -0
  942. package/examples/node_modules/caniuse-lite/data/features/trusted-types.js +1 -0
  943. package/examples/node_modules/caniuse-lite/data/features/ttf.js +1 -0
  944. package/examples/node_modules/caniuse-lite/data/features/typedarrays.js +1 -0
  945. package/examples/node_modules/caniuse-lite/data/features/u2f.js +1 -0
  946. package/examples/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -0
  947. package/examples/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -0
  948. package/examples/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -0
  949. package/examples/node_modules/caniuse-lite/data/features/url.js +1 -0
  950. package/examples/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -0
  951. package/examples/node_modules/caniuse-lite/data/features/use-strict.js +1 -0
  952. package/examples/node_modules/caniuse-lite/data/features/user-select-none.js +1 -0
  953. package/examples/node_modules/caniuse-lite/data/features/user-timing.js +1 -0
  954. package/examples/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -0
  955. package/examples/node_modules/caniuse-lite/data/features/vector-effect.js +1 -0
  956. package/examples/node_modules/caniuse-lite/data/features/vibration.js +1 -0
  957. package/examples/node_modules/caniuse-lite/data/features/video.js +1 -0
  958. package/examples/node_modules/caniuse-lite/data/features/videotracks.js +1 -0
  959. package/examples/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -0
  960. package/examples/node_modules/caniuse-lite/data/features/viewport-units.js +1 -0
  961. package/examples/node_modules/caniuse-lite/data/features/wai-aria.js +1 -0
  962. package/examples/node_modules/caniuse-lite/data/features/wake-lock.js +1 -0
  963. package/examples/node_modules/caniuse-lite/data/features/wasm.js +1 -0
  964. package/examples/node_modules/caniuse-lite/data/features/wav.js +1 -0
  965. package/examples/node_modules/caniuse-lite/data/features/wbr-element.js +1 -0
  966. package/examples/node_modules/caniuse-lite/data/features/web-animation.js +1 -0
  967. package/examples/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -0
  968. package/examples/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -0
  969. package/examples/node_modules/caniuse-lite/data/features/web-serial.js +1 -0
  970. package/examples/node_modules/caniuse-lite/data/features/web-share.js +1 -0
  971. package/examples/node_modules/caniuse-lite/data/features/webauthn.js +1 -0
  972. package/examples/node_modules/caniuse-lite/data/features/webgl.js +1 -0
  973. package/examples/node_modules/caniuse-lite/data/features/webgl2.js +1 -0
  974. package/examples/node_modules/caniuse-lite/data/features/webgpu.js +1 -0
  975. package/examples/node_modules/caniuse-lite/data/features/webhid.js +1 -0
  976. package/examples/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -0
  977. package/examples/node_modules/caniuse-lite/data/features/webm.js +1 -0
  978. package/examples/node_modules/caniuse-lite/data/features/webnfc.js +1 -0
  979. package/examples/node_modules/caniuse-lite/data/features/webp.js +1 -0
  980. package/examples/node_modules/caniuse-lite/data/features/websockets.js +1 -0
  981. package/examples/node_modules/caniuse-lite/data/features/webusb.js +1 -0
  982. package/examples/node_modules/caniuse-lite/data/features/webvr.js +1 -0
  983. package/examples/node_modules/caniuse-lite/data/features/webvtt.js +1 -0
  984. package/examples/node_modules/caniuse-lite/data/features/webworkers.js +1 -0
  985. package/examples/node_modules/caniuse-lite/data/features/webxr.js +1 -0
  986. package/examples/node_modules/caniuse-lite/data/features/will-change.js +1 -0
  987. package/examples/node_modules/caniuse-lite/data/features/woff.js +1 -0
  988. package/examples/node_modules/caniuse-lite/data/features/woff2.js +1 -0
  989. package/examples/node_modules/caniuse-lite/data/features/word-break.js +1 -0
  990. package/examples/node_modules/caniuse-lite/data/features/wordwrap.js +1 -0
  991. package/examples/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -0
  992. package/examples/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -0
  993. package/examples/node_modules/caniuse-lite/data/features/xhr2.js +1 -0
  994. package/examples/node_modules/caniuse-lite/data/features/xhtml.js +1 -0
  995. package/examples/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -0
  996. package/examples/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -0
  997. package/examples/node_modules/caniuse-lite/data/features.js +1 -0
  998. package/examples/node_modules/caniuse-lite/data/regions/AD.js +1 -0
  999. package/examples/node_modules/caniuse-lite/data/regions/AE.js +1 -0
  1000. package/examples/node_modules/caniuse-lite/data/regions/AF.js +1 -0
  1001. package/examples/node_modules/caniuse-lite/data/regions/AG.js +1 -0
  1002. package/examples/node_modules/caniuse-lite/data/regions/AI.js +1 -0
  1003. package/examples/node_modules/caniuse-lite/data/regions/AL.js +1 -0
  1004. package/examples/node_modules/caniuse-lite/data/regions/AM.js +1 -0
  1005. package/examples/node_modules/caniuse-lite/data/regions/AO.js +1 -0
  1006. package/examples/node_modules/caniuse-lite/data/regions/AR.js +1 -0
  1007. package/examples/node_modules/caniuse-lite/data/regions/AS.js +1 -0
  1008. package/examples/node_modules/caniuse-lite/data/regions/AT.js +1 -0
  1009. package/examples/node_modules/caniuse-lite/data/regions/AU.js +1 -0
  1010. package/examples/node_modules/caniuse-lite/data/regions/AW.js +1 -0
  1011. package/examples/node_modules/caniuse-lite/data/regions/AX.js +1 -0
  1012. package/examples/node_modules/caniuse-lite/data/regions/AZ.js +1 -0
  1013. package/examples/node_modules/caniuse-lite/data/regions/BA.js +1 -0
  1014. package/examples/node_modules/caniuse-lite/data/regions/BB.js +1 -0
  1015. package/examples/node_modules/caniuse-lite/data/regions/BD.js +1 -0
  1016. package/examples/node_modules/caniuse-lite/data/regions/BE.js +1 -0
  1017. package/examples/node_modules/caniuse-lite/data/regions/BF.js +1 -0
  1018. package/examples/node_modules/caniuse-lite/data/regions/BG.js +1 -0
  1019. package/examples/node_modules/caniuse-lite/data/regions/BH.js +1 -0
  1020. package/examples/node_modules/caniuse-lite/data/regions/BI.js +1 -0
  1021. package/examples/node_modules/caniuse-lite/data/regions/BJ.js +1 -0
  1022. package/examples/node_modules/caniuse-lite/data/regions/BM.js +1 -0
  1023. package/examples/node_modules/caniuse-lite/data/regions/BN.js +1 -0
  1024. package/examples/node_modules/caniuse-lite/data/regions/BO.js +1 -0
  1025. package/examples/node_modules/caniuse-lite/data/regions/BR.js +1 -0
  1026. package/examples/node_modules/caniuse-lite/data/regions/BS.js +1 -0
  1027. package/examples/node_modules/caniuse-lite/data/regions/BT.js +1 -0
  1028. package/examples/node_modules/caniuse-lite/data/regions/BW.js +1 -0
  1029. package/examples/node_modules/caniuse-lite/data/regions/BY.js +1 -0
  1030. package/examples/node_modules/caniuse-lite/data/regions/BZ.js +1 -0
  1031. package/examples/node_modules/caniuse-lite/data/regions/CA.js +1 -0
  1032. package/examples/node_modules/caniuse-lite/data/regions/CD.js +1 -0
  1033. package/examples/node_modules/caniuse-lite/data/regions/CF.js +1 -0
  1034. package/examples/node_modules/caniuse-lite/data/regions/CG.js +1 -0
  1035. package/examples/node_modules/caniuse-lite/data/regions/CH.js +1 -0
  1036. package/examples/node_modules/caniuse-lite/data/regions/CI.js +1 -0
  1037. package/examples/node_modules/caniuse-lite/data/regions/CK.js +1 -0
  1038. package/examples/node_modules/caniuse-lite/data/regions/CL.js +1 -0
  1039. package/examples/node_modules/caniuse-lite/data/regions/CM.js +1 -0
  1040. package/examples/node_modules/caniuse-lite/data/regions/CN.js +1 -0
  1041. package/examples/node_modules/caniuse-lite/data/regions/CO.js +1 -0
  1042. package/examples/node_modules/caniuse-lite/data/regions/CR.js +1 -0
  1043. package/examples/node_modules/caniuse-lite/data/regions/CU.js +1 -0
  1044. package/examples/node_modules/caniuse-lite/data/regions/CV.js +1 -0
  1045. package/examples/node_modules/caniuse-lite/data/regions/CX.js +1 -0
  1046. package/examples/node_modules/caniuse-lite/data/regions/CY.js +1 -0
  1047. package/examples/node_modules/caniuse-lite/data/regions/CZ.js +1 -0
  1048. package/examples/node_modules/caniuse-lite/data/regions/DE.js +1 -0
  1049. package/examples/node_modules/caniuse-lite/data/regions/DJ.js +1 -0
  1050. package/examples/node_modules/caniuse-lite/data/regions/DK.js +1 -0
  1051. package/examples/node_modules/caniuse-lite/data/regions/DM.js +1 -0
  1052. package/examples/node_modules/caniuse-lite/data/regions/DO.js +1 -0
  1053. package/examples/node_modules/caniuse-lite/data/regions/DZ.js +1 -0
  1054. package/examples/node_modules/caniuse-lite/data/regions/EC.js +1 -0
  1055. package/examples/node_modules/caniuse-lite/data/regions/EE.js +1 -0
  1056. package/examples/node_modules/caniuse-lite/data/regions/EG.js +1 -0
  1057. package/examples/node_modules/caniuse-lite/data/regions/ER.js +1 -0
  1058. package/examples/node_modules/caniuse-lite/data/regions/ES.js +1 -0
  1059. package/examples/node_modules/caniuse-lite/data/regions/ET.js +1 -0
  1060. package/examples/node_modules/caniuse-lite/data/regions/FI.js +1 -0
  1061. package/examples/node_modules/caniuse-lite/data/regions/FJ.js +1 -0
  1062. package/examples/node_modules/caniuse-lite/data/regions/FK.js +1 -0
  1063. package/examples/node_modules/caniuse-lite/data/regions/FM.js +1 -0
  1064. package/examples/node_modules/caniuse-lite/data/regions/FO.js +1 -0
  1065. package/examples/node_modules/caniuse-lite/data/regions/FR.js +1 -0
  1066. package/examples/node_modules/caniuse-lite/data/regions/GA.js +1 -0
  1067. package/examples/node_modules/caniuse-lite/data/regions/GB.js +1 -0
  1068. package/examples/node_modules/caniuse-lite/data/regions/GD.js +1 -0
  1069. package/examples/node_modules/caniuse-lite/data/regions/GE.js +1 -0
  1070. package/examples/node_modules/caniuse-lite/data/regions/GF.js +1 -0
  1071. package/examples/node_modules/caniuse-lite/data/regions/GG.js +1 -0
  1072. package/examples/node_modules/caniuse-lite/data/regions/GH.js +1 -0
  1073. package/examples/node_modules/caniuse-lite/data/regions/GI.js +1 -0
  1074. package/examples/node_modules/caniuse-lite/data/regions/GL.js +1 -0
  1075. package/examples/node_modules/caniuse-lite/data/regions/GM.js +1 -0
  1076. package/examples/node_modules/caniuse-lite/data/regions/GN.js +1 -0
  1077. package/examples/node_modules/caniuse-lite/data/regions/GP.js +1 -0
  1078. package/examples/node_modules/caniuse-lite/data/regions/GQ.js +1 -0
  1079. package/examples/node_modules/caniuse-lite/data/regions/GR.js +1 -0
  1080. package/examples/node_modules/caniuse-lite/data/regions/GT.js +1 -0
  1081. package/examples/node_modules/caniuse-lite/data/regions/GU.js +1 -0
  1082. package/examples/node_modules/caniuse-lite/data/regions/GW.js +1 -0
  1083. package/examples/node_modules/caniuse-lite/data/regions/GY.js +1 -0
  1084. package/examples/node_modules/caniuse-lite/data/regions/HK.js +1 -0
  1085. package/examples/node_modules/caniuse-lite/data/regions/HN.js +1 -0
  1086. package/examples/node_modules/caniuse-lite/data/regions/HR.js +1 -0
  1087. package/examples/node_modules/caniuse-lite/data/regions/HT.js +1 -0
  1088. package/examples/node_modules/caniuse-lite/data/regions/HU.js +1 -0
  1089. package/examples/node_modules/caniuse-lite/data/regions/ID.js +1 -0
  1090. package/examples/node_modules/caniuse-lite/data/regions/IE.js +1 -0
  1091. package/examples/node_modules/caniuse-lite/data/regions/IL.js +1 -0
  1092. package/examples/node_modules/caniuse-lite/data/regions/IM.js +1 -0
  1093. package/examples/node_modules/caniuse-lite/data/regions/IN.js +1 -0
  1094. package/examples/node_modules/caniuse-lite/data/regions/IQ.js +1 -0
  1095. package/examples/node_modules/caniuse-lite/data/regions/IR.js +1 -0
  1096. package/examples/node_modules/caniuse-lite/data/regions/IS.js +1 -0
  1097. package/examples/node_modules/caniuse-lite/data/regions/IT.js +1 -0
  1098. package/examples/node_modules/caniuse-lite/data/regions/JE.js +1 -0
  1099. package/examples/node_modules/caniuse-lite/data/regions/JM.js +1 -0
  1100. package/examples/node_modules/caniuse-lite/data/regions/JO.js +1 -0
  1101. package/examples/node_modules/caniuse-lite/data/regions/JP.js +1 -0
  1102. package/examples/node_modules/caniuse-lite/data/regions/KE.js +1 -0
  1103. package/examples/node_modules/caniuse-lite/data/regions/KG.js +1 -0
  1104. package/examples/node_modules/caniuse-lite/data/regions/KH.js +1 -0
  1105. package/examples/node_modules/caniuse-lite/data/regions/KI.js +1 -0
  1106. package/examples/node_modules/caniuse-lite/data/regions/KM.js +1 -0
  1107. package/examples/node_modules/caniuse-lite/data/regions/KN.js +1 -0
  1108. package/examples/node_modules/caniuse-lite/data/regions/KP.js +1 -0
  1109. package/examples/node_modules/caniuse-lite/data/regions/KR.js +1 -0
  1110. package/examples/node_modules/caniuse-lite/data/regions/KW.js +1 -0
  1111. package/examples/node_modules/caniuse-lite/data/regions/KY.js +1 -0
  1112. package/examples/node_modules/caniuse-lite/data/regions/KZ.js +1 -0
  1113. package/examples/node_modules/caniuse-lite/data/regions/LA.js +1 -0
  1114. package/examples/node_modules/caniuse-lite/data/regions/LB.js +1 -0
  1115. package/examples/node_modules/caniuse-lite/data/regions/LC.js +1 -0
  1116. package/examples/node_modules/caniuse-lite/data/regions/LI.js +1 -0
  1117. package/examples/node_modules/caniuse-lite/data/regions/LK.js +1 -0
  1118. package/examples/node_modules/caniuse-lite/data/regions/LR.js +1 -0
  1119. package/examples/node_modules/caniuse-lite/data/regions/LS.js +1 -0
  1120. package/examples/node_modules/caniuse-lite/data/regions/LT.js +1 -0
  1121. package/examples/node_modules/caniuse-lite/data/regions/LU.js +1 -0
  1122. package/examples/node_modules/caniuse-lite/data/regions/LV.js +1 -0
  1123. package/examples/node_modules/caniuse-lite/data/regions/LY.js +1 -0
  1124. package/examples/node_modules/caniuse-lite/data/regions/MA.js +1 -0
  1125. package/examples/node_modules/caniuse-lite/data/regions/MC.js +1 -0
  1126. package/examples/node_modules/caniuse-lite/data/regions/MD.js +1 -0
  1127. package/examples/node_modules/caniuse-lite/data/regions/ME.js +1 -0
  1128. package/examples/node_modules/caniuse-lite/data/regions/MG.js +1 -0
  1129. package/examples/node_modules/caniuse-lite/data/regions/MH.js +1 -0
  1130. package/examples/node_modules/caniuse-lite/data/regions/MK.js +1 -0
  1131. package/examples/node_modules/caniuse-lite/data/regions/ML.js +1 -0
  1132. package/examples/node_modules/caniuse-lite/data/regions/MM.js +1 -0
  1133. package/examples/node_modules/caniuse-lite/data/regions/MN.js +1 -0
  1134. package/examples/node_modules/caniuse-lite/data/regions/MO.js +1 -0
  1135. package/examples/node_modules/caniuse-lite/data/regions/MP.js +1 -0
  1136. package/examples/node_modules/caniuse-lite/data/regions/MQ.js +1 -0
  1137. package/examples/node_modules/caniuse-lite/data/regions/MR.js +1 -0
  1138. package/examples/node_modules/caniuse-lite/data/regions/MS.js +1 -0
  1139. package/examples/node_modules/caniuse-lite/data/regions/MT.js +1 -0
  1140. package/examples/node_modules/caniuse-lite/data/regions/MU.js +1 -0
  1141. package/examples/node_modules/caniuse-lite/data/regions/MV.js +1 -0
  1142. package/examples/node_modules/caniuse-lite/data/regions/MW.js +1 -0
  1143. package/examples/node_modules/caniuse-lite/data/regions/MX.js +1 -0
  1144. package/examples/node_modules/caniuse-lite/data/regions/MY.js +1 -0
  1145. package/examples/node_modules/caniuse-lite/data/regions/MZ.js +1 -0
  1146. package/examples/node_modules/caniuse-lite/data/regions/NA.js +1 -0
  1147. package/examples/node_modules/caniuse-lite/data/regions/NC.js +1 -0
  1148. package/examples/node_modules/caniuse-lite/data/regions/NE.js +1 -0
  1149. package/examples/node_modules/caniuse-lite/data/regions/NF.js +1 -0
  1150. package/examples/node_modules/caniuse-lite/data/regions/NG.js +1 -0
  1151. package/examples/node_modules/caniuse-lite/data/regions/NI.js +1 -0
  1152. package/examples/node_modules/caniuse-lite/data/regions/NL.js +1 -0
  1153. package/examples/node_modules/caniuse-lite/data/regions/NO.js +1 -0
  1154. package/examples/node_modules/caniuse-lite/data/regions/NP.js +1 -0
  1155. package/examples/node_modules/caniuse-lite/data/regions/NR.js +1 -0
  1156. package/examples/node_modules/caniuse-lite/data/regions/NU.js +1 -0
  1157. package/examples/node_modules/caniuse-lite/data/regions/NZ.js +1 -0
  1158. package/examples/node_modules/caniuse-lite/data/regions/OM.js +1 -0
  1159. package/examples/node_modules/caniuse-lite/data/regions/PA.js +1 -0
  1160. package/examples/node_modules/caniuse-lite/data/regions/PE.js +1 -0
  1161. package/examples/node_modules/caniuse-lite/data/regions/PF.js +1 -0
  1162. package/examples/node_modules/caniuse-lite/data/regions/PG.js +1 -0
  1163. package/examples/node_modules/caniuse-lite/data/regions/PH.js +1 -0
  1164. package/examples/node_modules/caniuse-lite/data/regions/PK.js +1 -0
  1165. package/examples/node_modules/caniuse-lite/data/regions/PL.js +1 -0
  1166. package/examples/node_modules/caniuse-lite/data/regions/PM.js +1 -0
  1167. package/examples/node_modules/caniuse-lite/data/regions/PN.js +1 -0
  1168. package/examples/node_modules/caniuse-lite/data/regions/PR.js +1 -0
  1169. package/examples/node_modules/caniuse-lite/data/regions/PS.js +1 -0
  1170. package/examples/node_modules/caniuse-lite/data/regions/PT.js +1 -0
  1171. package/examples/node_modules/caniuse-lite/data/regions/PW.js +1 -0
  1172. package/examples/node_modules/caniuse-lite/data/regions/PY.js +1 -0
  1173. package/examples/node_modules/caniuse-lite/data/regions/QA.js +1 -0
  1174. package/examples/node_modules/caniuse-lite/data/regions/RE.js +1 -0
  1175. package/examples/node_modules/caniuse-lite/data/regions/RO.js +1 -0
  1176. package/examples/node_modules/caniuse-lite/data/regions/RS.js +1 -0
  1177. package/examples/node_modules/caniuse-lite/data/regions/RU.js +1 -0
  1178. package/examples/node_modules/caniuse-lite/data/regions/RW.js +1 -0
  1179. package/examples/node_modules/caniuse-lite/data/regions/SA.js +1 -0
  1180. package/examples/node_modules/caniuse-lite/data/regions/SB.js +1 -0
  1181. package/examples/node_modules/caniuse-lite/data/regions/SC.js +1 -0
  1182. package/examples/node_modules/caniuse-lite/data/regions/SD.js +1 -0
  1183. package/examples/node_modules/caniuse-lite/data/regions/SE.js +1 -0
  1184. package/examples/node_modules/caniuse-lite/data/regions/SG.js +1 -0
  1185. package/examples/node_modules/caniuse-lite/data/regions/SH.js +1 -0
  1186. package/examples/node_modules/caniuse-lite/data/regions/SI.js +1 -0
  1187. package/examples/node_modules/caniuse-lite/data/regions/SK.js +1 -0
  1188. package/examples/node_modules/caniuse-lite/data/regions/SL.js +1 -0
  1189. package/examples/node_modules/caniuse-lite/data/regions/SM.js +1 -0
  1190. package/examples/node_modules/caniuse-lite/data/regions/SN.js +1 -0
  1191. package/examples/node_modules/caniuse-lite/data/regions/SO.js +1 -0
  1192. package/examples/node_modules/caniuse-lite/data/regions/SR.js +1 -0
  1193. package/examples/node_modules/caniuse-lite/data/regions/ST.js +1 -0
  1194. package/examples/node_modules/caniuse-lite/data/regions/SV.js +1 -0
  1195. package/examples/node_modules/caniuse-lite/data/regions/SY.js +1 -0
  1196. package/examples/node_modules/caniuse-lite/data/regions/SZ.js +1 -0
  1197. package/examples/node_modules/caniuse-lite/data/regions/TC.js +1 -0
  1198. package/examples/node_modules/caniuse-lite/data/regions/TD.js +1 -0
  1199. package/examples/node_modules/caniuse-lite/data/regions/TG.js +1 -0
  1200. package/examples/node_modules/caniuse-lite/data/regions/TH.js +1 -0
  1201. package/examples/node_modules/caniuse-lite/data/regions/TJ.js +1 -0
  1202. package/examples/node_modules/caniuse-lite/data/regions/TK.js +1 -0
  1203. package/examples/node_modules/caniuse-lite/data/regions/TL.js +1 -0
  1204. package/examples/node_modules/caniuse-lite/data/regions/TM.js +1 -0
  1205. package/examples/node_modules/caniuse-lite/data/regions/TN.js +1 -0
  1206. package/examples/node_modules/caniuse-lite/data/regions/TO.js +1 -0
  1207. package/examples/node_modules/caniuse-lite/data/regions/TR.js +1 -0
  1208. package/examples/node_modules/caniuse-lite/data/regions/TT.js +1 -0
  1209. package/examples/node_modules/caniuse-lite/data/regions/TV.js +1 -0
  1210. package/examples/node_modules/caniuse-lite/data/regions/TW.js +1 -0
  1211. package/examples/node_modules/caniuse-lite/data/regions/TZ.js +1 -0
  1212. package/examples/node_modules/caniuse-lite/data/regions/UA.js +1 -0
  1213. package/examples/node_modules/caniuse-lite/data/regions/UG.js +1 -0
  1214. package/examples/node_modules/caniuse-lite/data/regions/US.js +1 -0
  1215. package/examples/node_modules/caniuse-lite/data/regions/UY.js +1 -0
  1216. package/examples/node_modules/caniuse-lite/data/regions/UZ.js +1 -0
  1217. package/examples/node_modules/caniuse-lite/data/regions/VA.js +1 -0
  1218. package/examples/node_modules/caniuse-lite/data/regions/VC.js +1 -0
  1219. package/examples/node_modules/caniuse-lite/data/regions/VE.js +1 -0
  1220. package/examples/node_modules/caniuse-lite/data/regions/VG.js +1 -0
  1221. package/examples/node_modules/caniuse-lite/data/regions/VI.js +1 -0
  1222. package/examples/node_modules/caniuse-lite/data/regions/VN.js +1 -0
  1223. package/examples/node_modules/caniuse-lite/data/regions/VU.js +1 -0
  1224. package/examples/node_modules/caniuse-lite/data/regions/WF.js +1 -0
  1225. package/examples/node_modules/caniuse-lite/data/regions/WS.js +1 -0
  1226. package/examples/node_modules/caniuse-lite/data/regions/YE.js +1 -0
  1227. package/examples/node_modules/caniuse-lite/data/regions/YT.js +1 -0
  1228. package/examples/node_modules/caniuse-lite/data/regions/ZA.js +1 -0
  1229. package/examples/node_modules/caniuse-lite/data/regions/ZM.js +1 -0
  1230. package/examples/node_modules/caniuse-lite/data/regions/ZW.js +1 -0
  1231. package/examples/node_modules/caniuse-lite/data/regions/alt-af.js +1 -0
  1232. package/examples/node_modules/caniuse-lite/data/regions/alt-an.js +1 -0
  1233. package/examples/node_modules/caniuse-lite/data/regions/alt-as.js +1 -0
  1234. package/examples/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -0
  1235. package/examples/node_modules/caniuse-lite/data/regions/alt-na.js +1 -0
  1236. package/examples/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -0
  1237. package/examples/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -0
  1238. package/examples/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -0
  1239. package/examples/node_modules/caniuse-lite/dist/lib/statuses.js +9 -0
  1240. package/examples/node_modules/caniuse-lite/dist/lib/supported.js +9 -0
  1241. package/examples/node_modules/caniuse-lite/dist/unpacker/agents.js +47 -0
  1242. package/examples/node_modules/caniuse-lite/dist/unpacker/browserVersions.js +1 -0
  1243. package/examples/node_modules/caniuse-lite/dist/unpacker/browsers.js +1 -0
  1244. package/examples/node_modules/caniuse-lite/dist/unpacker/feature.js +48 -0
  1245. package/examples/node_modules/caniuse-lite/dist/unpacker/features.js +6 -0
  1246. package/examples/node_modules/caniuse-lite/dist/unpacker/index.js +4 -0
  1247. package/examples/node_modules/caniuse-lite/dist/unpacker/region.js +22 -0
  1248. package/examples/node_modules/caniuse-lite/package.json +34 -0
  1249. package/examples/node_modules/chrome-trace-event/CHANGES.md +26 -0
  1250. package/examples/node_modules/chrome-trace-event/LICENSE.txt +23 -0
  1251. package/examples/node_modules/chrome-trace-event/README.md +31 -0
  1252. package/examples/node_modules/chrome-trace-event/dist/trace-event.d.ts +52 -0
  1253. package/examples/node_modules/chrome-trace-event/dist/trace-event.js +170 -0
  1254. package/examples/node_modules/chrome-trace-event/dist/trace-event.js.map +1 -0
  1255. package/examples/node_modules/chrome-trace-event/package.json +38 -0
  1256. package/examples/node_modules/clone-deep/package.json +17 -48
  1257. package/examples/node_modules/colorette/README.md +54 -22
  1258. package/examples/node_modules/colorette/index.cjs +213 -71
  1259. package/examples/node_modules/colorette/index.d.ts +91 -47
  1260. package/examples/node_modules/colorette/index.js +142 -68
  1261. package/examples/node_modules/colorette/package.json +17 -51
  1262. package/examples/node_modules/commander/CHANGELOG.md +339 -360
  1263. package/examples/node_modules/commander/Readme.md +254 -743
  1264. package/examples/node_modules/commander/index.js +1003 -1996
  1265. package/examples/node_modules/commander/package.json +24 -86
  1266. package/examples/node_modules/commander/typings/index.d.ts +153 -470
  1267. package/examples/node_modules/cross-spawn/package.json +40 -71
  1268. package/examples/node_modules/electron-to-chromium/CHANGELOG.md +14 -0
  1269. package/examples/node_modules/electron-to-chromium/LICENSE +5 -0
  1270. package/examples/node_modules/electron-to-chromium/README.md +186 -0
  1271. package/examples/node_modules/electron-to-chromium/chromium-versions.js +45 -0
  1272. package/examples/node_modules/electron-to-chromium/chromium-versions.json +1 -0
  1273. package/examples/node_modules/electron-to-chromium/full-chromium-versions.js +1833 -0
  1274. package/examples/node_modules/electron-to-chromium/full-chromium-versions.json +1 -0
  1275. package/examples/node_modules/electron-to-chromium/full-versions.js +1335 -0
  1276. package/examples/node_modules/electron-to-chromium/full-versions.json +1 -0
  1277. package/examples/node_modules/electron-to-chromium/index.js +36 -0
  1278. package/examples/node_modules/electron-to-chromium/package.json +42 -0
  1279. package/examples/node_modules/electron-to-chromium/versions.js +89 -0
  1280. package/examples/node_modules/electron-to-chromium/versions.json +1 -0
  1281. package/examples/node_modules/enhanced-resolve/LICENSE +20 -0
  1282. package/examples/node_modules/enhanced-resolve/README.md +167 -0
  1283. package/examples/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js +96 -0
  1284. package/examples/node_modules/enhanced-resolve/lib/AliasPlugin.js +120 -0
  1285. package/examples/node_modules/enhanced-resolve/lib/AppendPlugin.js +47 -0
  1286. package/examples/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js +477 -0
  1287. package/examples/node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js +45 -0
  1288. package/examples/node_modules/enhanced-resolve/lib/ConditionalPlugin.js +59 -0
  1289. package/examples/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js +96 -0
  1290. package/examples/node_modules/enhanced-resolve/lib/DescriptionFileUtils.js +170 -0
  1291. package/examples/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js +63 -0
  1292. package/examples/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js +149 -0
  1293. package/examples/node_modules/enhanced-resolve/lib/FileExistsPlugin.js +58 -0
  1294. package/examples/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js +171 -0
  1295. package/examples/node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js +64 -0
  1296. package/examples/node_modules/enhanced-resolve/lib/JoinRequestPlugin.js +41 -0
  1297. package/examples/node_modules/enhanced-resolve/lib/LogInfoPlugin.js +50 -0
  1298. package/examples/node_modules/enhanced-resolve/lib/MainFieldPlugin.js +81 -0
  1299. package/examples/node_modules/enhanced-resolve/lib/ModulesInHierachicDirectoriesPlugin.js +9 -0
  1300. package/examples/node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js +80 -0
  1301. package/examples/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js +47 -0
  1302. package/examples/node_modules/enhanced-resolve/lib/NextPlugin.js +33 -0
  1303. package/examples/node_modules/enhanced-resolve/lib/ParsePlugin.js +74 -0
  1304. package/examples/node_modules/enhanced-resolve/lib/PnpPlugin.js +103 -0
  1305. package/examples/node_modules/enhanced-resolve/lib/Resolver.js +500 -0
  1306. package/examples/node_modules/enhanced-resolve/lib/ResolverFactory.js +661 -0
  1307. package/examples/node_modules/enhanced-resolve/lib/RestrictionsPlugin.js +65 -0
  1308. package/examples/node_modules/enhanced-resolve/lib/ResultPlugin.js +42 -0
  1309. package/examples/node_modules/enhanced-resolve/lib/RootsPlugin.js +62 -0
  1310. package/examples/node_modules/enhanced-resolve/lib/SelfReferencePlugin.js +80 -0
  1311. package/examples/node_modules/enhanced-resolve/lib/SymlinkPlugin.js +88 -0
  1312. package/examples/node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js +95 -0
  1313. package/examples/node_modules/enhanced-resolve/lib/TryNextPlugin.js +41 -0
  1314. package/examples/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js +99 -0
  1315. package/examples/node_modules/enhanced-resolve/lib/UseFilePlugin.js +49 -0
  1316. package/examples/node_modules/enhanced-resolve/lib/createInnerContext.js +37 -0
  1317. package/examples/node_modules/enhanced-resolve/lib/forEachBail.js +25 -0
  1318. package/examples/node_modules/enhanced-resolve/lib/getInnerRequest.js +27 -0
  1319. package/examples/node_modules/enhanced-resolve/lib/getPaths.js +37 -0
  1320. package/examples/node_modules/enhanced-resolve/lib/index.js +131 -0
  1321. package/examples/node_modules/enhanced-resolve/lib/util/entrypoints.js +667 -0
  1322. package/examples/node_modules/enhanced-resolve/lib/util/identifier.js +26 -0
  1323. package/examples/node_modules/enhanced-resolve/lib/util/path.js +221 -0
  1324. package/examples/node_modules/enhanced-resolve/lib/util/process-browser.js +16 -0
  1325. package/examples/node_modules/enhanced-resolve/package.json +70 -0
  1326. package/examples/node_modules/enhanced-resolve/types.d.ts +506 -0
  1327. package/examples/node_modules/envinfo/dist/cli.js +1 -1
  1328. package/examples/node_modules/envinfo/dist/envinfo.js +1 -1
  1329. package/examples/node_modules/envinfo/package.json +55 -89
  1330. package/examples/node_modules/es-module-lexer/LICENSE +10 -0
  1331. package/examples/node_modules/es-module-lexer/README.md +251 -0
  1332. package/examples/node_modules/es-module-lexer/dist/lexer.asm.js +1 -0
  1333. package/examples/node_modules/es-module-lexer/dist/lexer.cjs +1 -0
  1334. package/examples/node_modules/es-module-lexer/dist/lexer.js +2 -0
  1335. package/examples/node_modules/es-module-lexer/lexer.js +899 -0
  1336. package/examples/node_modules/es-module-lexer/package.json +53 -0
  1337. package/examples/node_modules/es-module-lexer/types/lexer.d.ts +86 -0
  1338. package/examples/node_modules/escalade/dist/index.js +22 -0
  1339. package/examples/node_modules/escalade/dist/index.mjs +22 -0
  1340. package/examples/node_modules/escalade/index.d.ts +3 -0
  1341. package/examples/node_modules/escalade/license +9 -0
  1342. package/examples/node_modules/escalade/package.json +61 -0
  1343. package/examples/node_modules/escalade/readme.md +211 -0
  1344. package/examples/node_modules/escalade/sync/index.d.ts +2 -0
  1345. package/examples/node_modules/escalade/sync/index.js +18 -0
  1346. package/examples/node_modules/escalade/sync/index.mjs +18 -0
  1347. package/examples/node_modules/eslint-scope/CHANGELOG.md +70 -0
  1348. package/examples/node_modules/eslint-scope/LICENSE +22 -0
  1349. package/examples/node_modules/eslint-scope/README.md +54 -0
  1350. package/examples/node_modules/eslint-scope/lib/definition.js +86 -0
  1351. package/examples/node_modules/eslint-scope/lib/index.js +165 -0
  1352. package/examples/node_modules/eslint-scope/lib/pattern-visitor.js +152 -0
  1353. package/examples/node_modules/eslint-scope/lib/reference.js +167 -0
  1354. package/examples/node_modules/eslint-scope/lib/referencer.js +629 -0
  1355. package/examples/node_modules/eslint-scope/lib/scope-manager.js +247 -0
  1356. package/examples/node_modules/eslint-scope/lib/scope.js +748 -0
  1357. package/examples/node_modules/eslint-scope/lib/variable.js +88 -0
  1358. package/examples/node_modules/eslint-scope/package.json +48 -0
  1359. package/examples/node_modules/esrecurse/.babelrc +3 -0
  1360. package/examples/node_modules/esrecurse/README.md +171 -0
  1361. package/examples/node_modules/esrecurse/esrecurse.js +117 -0
  1362. package/examples/node_modules/esrecurse/gulpfile.babel.js +92 -0
  1363. package/examples/node_modules/esrecurse/node_modules/estraverse/.jshintrc +16 -0
  1364. package/examples/node_modules/esrecurse/node_modules/estraverse/LICENSE.BSD +19 -0
  1365. package/examples/node_modules/esrecurse/node_modules/estraverse/README.md +153 -0
  1366. package/examples/node_modules/esrecurse/node_modules/estraverse/estraverse.js +805 -0
  1367. package/examples/node_modules/esrecurse/node_modules/estraverse/gulpfile.js +70 -0
  1368. package/examples/node_modules/esrecurse/node_modules/estraverse/package.json +40 -0
  1369. package/examples/node_modules/esrecurse/package.json +52 -0
  1370. package/examples/node_modules/estraverse/.jshintrc +16 -0
  1371. package/examples/node_modules/estraverse/LICENSE.BSD +19 -0
  1372. package/examples/node_modules/estraverse/README.md +153 -0
  1373. package/examples/node_modules/estraverse/estraverse.js +782 -0
  1374. package/examples/node_modules/estraverse/gulpfile.js +70 -0
  1375. package/examples/node_modules/estraverse/package.json +40 -0
  1376. package/examples/node_modules/events/.airtap.yml +15 -0
  1377. package/examples/node_modules/events/.github/FUNDING.yml +12 -0
  1378. package/examples/node_modules/events/.travis.yml +18 -0
  1379. package/examples/node_modules/events/History.md +118 -0
  1380. package/examples/node_modules/events/LICENSE +22 -0
  1381. package/examples/node_modules/events/Readme.md +50 -0
  1382. package/examples/node_modules/events/events.js +497 -0
  1383. package/examples/node_modules/events/package.json +37 -0
  1384. package/examples/node_modules/events/security.md +10 -0
  1385. package/examples/node_modules/events/tests/add-listeners.js +111 -0
  1386. package/examples/node_modules/events/tests/check-listener-leaks.js +101 -0
  1387. package/examples/node_modules/events/tests/common.js +104 -0
  1388. package/examples/node_modules/events/tests/errors.js +13 -0
  1389. package/examples/node_modules/events/tests/events-list.js +28 -0
  1390. package/examples/node_modules/events/tests/events-once.js +234 -0
  1391. package/examples/node_modules/events/tests/index.js +64 -0
  1392. package/examples/node_modules/events/tests/legacy-compat.js +16 -0
  1393. package/examples/node_modules/events/tests/listener-count.js +37 -0
  1394. package/examples/node_modules/events/tests/listeners-side-effects.js +56 -0
  1395. package/examples/node_modules/events/tests/listeners.js +168 -0
  1396. package/examples/node_modules/events/tests/max-listeners.js +47 -0
  1397. package/examples/node_modules/events/tests/method-names.js +35 -0
  1398. package/examples/node_modules/events/tests/modify-in-emit.js +90 -0
  1399. package/examples/node_modules/events/tests/num-args.js +60 -0
  1400. package/examples/node_modules/events/tests/once.js +83 -0
  1401. package/examples/node_modules/events/tests/prepend.js +31 -0
  1402. package/examples/node_modules/events/tests/remove-all-listeners.js +133 -0
  1403. package/examples/node_modules/events/tests/remove-listeners.js +212 -0
  1404. package/examples/node_modules/events/tests/set-max-listeners-side-effects.js +31 -0
  1405. package/examples/node_modules/events/tests/special-event-names.js +45 -0
  1406. package/examples/node_modules/events/tests/subclass.js +66 -0
  1407. package/examples/node_modules/events/tests/symbols.js +25 -0
  1408. package/examples/node_modules/execa/index.d.ts +12 -2
  1409. package/examples/node_modules/execa/index.js +14 -4
  1410. package/examples/node_modules/execa/lib/command.js +25 -5
  1411. package/examples/node_modules/execa/lib/error.js +2 -0
  1412. package/examples/node_modules/execa/lib/kill.js +7 -4
  1413. package/examples/node_modules/execa/lib/stream.js +1 -1
  1414. package/examples/node_modules/execa/package.json +72 -100
  1415. package/examples/node_modules/execa/readme.md +16 -3
  1416. package/examples/node_modules/fast-deep-equal/LICENSE +21 -0
  1417. package/examples/node_modules/fast-deep-equal/README.md +96 -0
  1418. package/examples/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  1419. package/examples/node_modules/fast-deep-equal/es6/index.js +72 -0
  1420. package/examples/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  1421. package/examples/node_modules/fast-deep-equal/es6/react.js +79 -0
  1422. package/examples/node_modules/fast-deep-equal/index.d.ts +4 -0
  1423. package/examples/node_modules/fast-deep-equal/index.js +46 -0
  1424. package/examples/node_modules/fast-deep-equal/package.json +61 -0
  1425. package/examples/node_modules/fast-deep-equal/react.d.ts +2 -0
  1426. package/examples/node_modules/fast-deep-equal/react.js +53 -0
  1427. package/examples/node_modules/fast-json-stable-stringify/.eslintrc.yml +26 -0
  1428. package/examples/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +1 -0
  1429. package/examples/node_modules/fast-json-stable-stringify/.travis.yml +8 -0
  1430. package/examples/node_modules/fast-json-stable-stringify/LICENSE +21 -0
  1431. package/examples/node_modules/fast-json-stable-stringify/README.md +131 -0
  1432. package/examples/node_modules/fast-json-stable-stringify/benchmark/index.js +31 -0
  1433. package/examples/node_modules/fast-json-stable-stringify/benchmark/test.json +137 -0
  1434. package/examples/node_modules/fast-json-stable-stringify/example/key_cmp.js +7 -0
  1435. package/examples/node_modules/fast-json-stable-stringify/example/nested.js +3 -0
  1436. package/examples/node_modules/fast-json-stable-stringify/example/str.js +3 -0
  1437. package/examples/node_modules/fast-json-stable-stringify/example/value_cmp.js +7 -0
  1438. package/examples/node_modules/fast-json-stable-stringify/index.d.ts +4 -0
  1439. package/examples/node_modules/fast-json-stable-stringify/index.js +59 -0
  1440. package/examples/node_modules/fast-json-stable-stringify/package.json +52 -0
  1441. package/examples/node_modules/fast-json-stable-stringify/test/cmp.js +13 -0
  1442. package/examples/node_modules/fast-json-stable-stringify/test/nested.js +44 -0
  1443. package/examples/node_modules/fast-json-stable-stringify/test/str.js +46 -0
  1444. package/examples/node_modules/fast-json-stable-stringify/test/to-json.js +22 -0
  1445. package/examples/node_modules/fastest-levenshtein/package.json +33 -60
  1446. package/examples/node_modules/find-up/package.json +51 -83
  1447. package/examples/node_modules/function-bind/package.json +23 -54
  1448. package/examples/node_modules/get-stream/index.d.ts +1 -1
  1449. package/examples/node_modules/get-stream/package.json +45 -77
  1450. package/examples/node_modules/get-stream/readme.md +1 -1
  1451. package/examples/node_modules/glob-to-regexp/.travis.yml +4 -0
  1452. package/examples/node_modules/glob-to-regexp/README.md +75 -0
  1453. package/examples/node_modules/glob-to-regexp/index.js +130 -0
  1454. package/examples/node_modules/glob-to-regexp/package.json +23 -0
  1455. package/examples/node_modules/glob-to-regexp/test.js +235 -0
  1456. package/examples/node_modules/graceful-fs/LICENSE +15 -0
  1457. package/examples/node_modules/graceful-fs/README.md +143 -0
  1458. package/examples/node_modules/graceful-fs/clone.js +23 -0
  1459. package/examples/node_modules/graceful-fs/graceful-fs.js +429 -0
  1460. package/examples/node_modules/graceful-fs/legacy-streams.js +118 -0
  1461. package/examples/node_modules/graceful-fs/package.json +50 -0
  1462. package/examples/node_modules/graceful-fs/polyfills.js +348 -0
  1463. package/examples/node_modules/has/package.json +21 -46
  1464. package/examples/node_modules/has-flag/index.d.ts +39 -0
  1465. package/examples/node_modules/has-flag/index.js +8 -0
  1466. package/examples/node_modules/has-flag/license +9 -0
  1467. package/examples/node_modules/has-flag/package.json +46 -0
  1468. package/examples/node_modules/has-flag/readme.md +89 -0
  1469. package/examples/node_modules/human-signals/package.json +27 -59
  1470. package/examples/node_modules/import-local/index.js +9 -4
  1471. package/examples/node_modules/import-local/package.json +50 -81
  1472. package/examples/node_modules/import-local/readme.md +7 -8
  1473. package/examples/node_modules/interpret/package.json +24 -67
  1474. package/examples/node_modules/is-core-module/.eslintrc +0 -1
  1475. package/examples/node_modules/is-core-module/.nycrc +0 -4
  1476. package/examples/node_modules/is-core-module/CHANGELOG.md +69 -0
  1477. package/examples/node_modules/is-core-module/README.md +6 -3
  1478. package/examples/node_modules/is-core-module/core.json +85 -16
  1479. package/examples/node_modules/is-core-module/index.js +1 -1
  1480. package/examples/node_modules/is-core-module/package.json +67 -92
  1481. package/examples/node_modules/is-core-module/test/index.js +47 -0
  1482. package/examples/node_modules/is-plain-object/package.json +26 -68
  1483. package/examples/node_modules/is-stream/index.d.ts +0 -1
  1484. package/examples/node_modules/is-stream/index.js +1 -2
  1485. package/examples/node_modules/is-stream/license +1 -1
  1486. package/examples/node_modules/is-stream/package.json +40 -71
  1487. package/examples/node_modules/is-stream/readme.md +12 -9
  1488. package/examples/node_modules/isexe/package.json +16 -45
  1489. package/examples/node_modules/isobject/package.json +24 -69
  1490. package/examples/node_modules/jest-worker/LICENSE +21 -0
  1491. package/examples/node_modules/jest-worker/README.md +247 -0
  1492. package/examples/node_modules/jest-worker/build/Farm.d.ts +29 -0
  1493. package/examples/node_modules/jest-worker/build/Farm.js +206 -0
  1494. package/examples/node_modules/jest-worker/build/FifoQueue.d.ts +18 -0
  1495. package/examples/node_modules/jest-worker/build/FifoQueue.js +171 -0
  1496. package/examples/node_modules/jest-worker/build/PriorityQueue.d.ts +41 -0
  1497. package/examples/node_modules/jest-worker/build/PriorityQueue.js +188 -0
  1498. package/examples/node_modules/jest-worker/build/WorkerPool.d.ts +13 -0
  1499. package/examples/node_modules/jest-worker/build/WorkerPool.js +49 -0
  1500. package/examples/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +21 -0
  1501. package/examples/node_modules/jest-worker/build/base/BaseWorkerPool.js +201 -0
  1502. package/examples/node_modules/jest-worker/build/index.d.ts +49 -0
  1503. package/examples/node_modules/jest-worker/build/index.js +223 -0
  1504. package/examples/node_modules/jest-worker/build/types.d.ts +143 -0
  1505. package/examples/node_modules/jest-worker/build/types.js +39 -0
  1506. package/examples/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +51 -0
  1507. package/examples/node_modules/jest-worker/build/workers/ChildProcessWorker.js +333 -0
  1508. package/examples/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +34 -0
  1509. package/examples/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +344 -0
  1510. package/examples/node_modules/jest-worker/build/workers/messageParent.d.ts +8 -0
  1511. package/examples/node_modules/jest-worker/build/workers/messageParent.js +38 -0
  1512. package/examples/node_modules/jest-worker/build/workers/processChild.d.ts +7 -0
  1513. package/examples/node_modules/jest-worker/build/workers/processChild.js +148 -0
  1514. package/examples/node_modules/jest-worker/build/workers/threadChild.d.ts +7 -0
  1515. package/examples/node_modules/jest-worker/build/workers/threadChild.js +159 -0
  1516. package/examples/node_modules/jest-worker/package.json +38 -0
  1517. package/examples/node_modules/json-parse-better-errors/CHANGELOG.md +46 -0
  1518. package/examples/node_modules/json-parse-better-errors/LICENSE.md +7 -0
  1519. package/examples/node_modules/json-parse-better-errors/README.md +46 -0
  1520. package/examples/node_modules/json-parse-better-errors/index.js +38 -0
  1521. package/examples/node_modules/json-parse-better-errors/package.json +45 -0
  1522. package/examples/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  1523. package/examples/node_modules/json-schema-traverse/.travis.yml +8 -0
  1524. package/examples/node_modules/json-schema-traverse/LICENSE +21 -0
  1525. package/examples/node_modules/json-schema-traverse/README.md +83 -0
  1526. package/examples/node_modules/json-schema-traverse/index.js +89 -0
  1527. package/examples/node_modules/json-schema-traverse/package.json +43 -0
  1528. package/examples/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  1529. package/examples/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  1530. package/examples/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  1531. package/examples/node_modules/kind-of/package.json +27 -83
  1532. package/examples/node_modules/loader-runner/LICENSE +21 -0
  1533. package/examples/node_modules/loader-runner/README.md +53 -0
  1534. package/examples/node_modules/loader-runner/lib/LoaderLoadingError.js +11 -0
  1535. package/examples/node_modules/loader-runner/lib/LoaderRunner.js +415 -0
  1536. package/examples/node_modules/loader-runner/lib/loadLoader.js +54 -0
  1537. package/examples/node_modules/loader-runner/package.json +45 -0
  1538. package/examples/node_modules/locate-path/package.json +43 -75
  1539. package/examples/node_modules/merge-stream/package.json +10 -45
  1540. package/examples/node_modules/mime-db/HISTORY.md +507 -0
  1541. package/examples/node_modules/mime-db/LICENSE +23 -0
  1542. package/examples/node_modules/mime-db/README.md +100 -0
  1543. package/examples/node_modules/mime-db/db.json +8519 -0
  1544. package/examples/node_modules/mime-db/index.js +12 -0
  1545. package/examples/node_modules/mime-db/package.json +60 -0
  1546. package/examples/node_modules/mime-types/HISTORY.md +397 -0
  1547. package/examples/node_modules/mime-types/LICENSE +23 -0
  1548. package/examples/node_modules/mime-types/README.md +113 -0
  1549. package/examples/node_modules/mime-types/index.js +188 -0
  1550. package/examples/node_modules/mime-types/package.json +44 -0
  1551. package/examples/node_modules/mimic-fn/package.json +40 -72
  1552. package/examples/node_modules/neo-async/LICENSE +22 -0
  1553. package/examples/node_modules/neo-async/README.md +273 -0
  1554. package/examples/node_modules/neo-async/all.js +3 -0
  1555. package/examples/node_modules/neo-async/allLimit.js +3 -0
  1556. package/examples/node_modules/neo-async/allSeries.js +3 -0
  1557. package/examples/node_modules/neo-async/angelFall.js +3 -0
  1558. package/examples/node_modules/neo-async/any.js +3 -0
  1559. package/examples/node_modules/neo-async/anyLimit.js +3 -0
  1560. package/examples/node_modules/neo-async/anySeries.js +3 -0
  1561. package/examples/node_modules/neo-async/apply.js +3 -0
  1562. package/examples/node_modules/neo-async/applyEach.js +3 -0
  1563. package/examples/node_modules/neo-async/applyEachSeries.js +3 -0
  1564. package/examples/node_modules/neo-async/async.js +9184 -0
  1565. package/examples/node_modules/neo-async/async.min.js +80 -0
  1566. package/examples/node_modules/neo-async/asyncify.js +3 -0
  1567. package/examples/node_modules/neo-async/auto.js +3 -0
  1568. package/examples/node_modules/neo-async/autoInject.js +3 -0
  1569. package/examples/node_modules/neo-async/cargo.js +3 -0
  1570. package/examples/node_modules/neo-async/compose.js +3 -0
  1571. package/examples/node_modules/neo-async/concat.js +3 -0
  1572. package/examples/node_modules/neo-async/concatLimit.js +3 -0
  1573. package/examples/node_modules/neo-async/concatSeries.js +3 -0
  1574. package/examples/node_modules/neo-async/constant.js +3 -0
  1575. package/examples/node_modules/neo-async/createLogger.js +3 -0
  1576. package/examples/node_modules/neo-async/detect.js +3 -0
  1577. package/examples/node_modules/neo-async/detectLimit.js +3 -0
  1578. package/examples/node_modules/neo-async/detectSeries.js +3 -0
  1579. package/examples/node_modules/neo-async/dir.js +3 -0
  1580. package/examples/node_modules/neo-async/doDuring.js +3 -0
  1581. package/examples/node_modules/neo-async/doUntil.js +3 -0
  1582. package/examples/node_modules/neo-async/doWhilst.js +3 -0
  1583. package/examples/node_modules/neo-async/during.js +3 -0
  1584. package/examples/node_modules/neo-async/each.js +3 -0
  1585. package/examples/node_modules/neo-async/eachLimit.js +3 -0
  1586. package/examples/node_modules/neo-async/eachOf.js +3 -0
  1587. package/examples/node_modules/neo-async/eachOfLimit.js +3 -0
  1588. package/examples/node_modules/neo-async/eachOfSeries.js +3 -0
  1589. package/examples/node_modules/neo-async/eachSeries.js +3 -0
  1590. package/examples/node_modules/neo-async/ensureAsync.js +3 -0
  1591. package/examples/node_modules/neo-async/every.js +3 -0
  1592. package/examples/node_modules/neo-async/everyLimit.js +3 -0
  1593. package/examples/node_modules/neo-async/everySeries.js +3 -0
  1594. package/examples/node_modules/neo-async/fast.js +3 -0
  1595. package/examples/node_modules/neo-async/filter.js +3 -0
  1596. package/examples/node_modules/neo-async/filterLimit.js +3 -0
  1597. package/examples/node_modules/neo-async/filterSeries.js +3 -0
  1598. package/examples/node_modules/neo-async/find.js +3 -0
  1599. package/examples/node_modules/neo-async/findLimit.js +3 -0
  1600. package/examples/node_modules/neo-async/findSeries.js +3 -0
  1601. package/examples/node_modules/neo-async/foldl.js +3 -0
  1602. package/examples/node_modules/neo-async/foldr.js +3 -0
  1603. package/examples/node_modules/neo-async/forEach.js +3 -0
  1604. package/examples/node_modules/neo-async/forEachLimit.js +3 -0
  1605. package/examples/node_modules/neo-async/forEachOf.js +3 -0
  1606. package/examples/node_modules/neo-async/forEachOfLimit.js +3 -0
  1607. package/examples/node_modules/neo-async/forEachOfSeries.js +3 -0
  1608. package/examples/node_modules/neo-async/forEachSeries.js +3 -0
  1609. package/examples/node_modules/neo-async/forever.js +3 -0
  1610. package/examples/node_modules/neo-async/groupBy.js +3 -0
  1611. package/examples/node_modules/neo-async/groupByLimit.js +3 -0
  1612. package/examples/node_modules/neo-async/groupBySeries.js +3 -0
  1613. package/examples/node_modules/neo-async/inject.js +3 -0
  1614. package/examples/node_modules/neo-async/iterator.js +3 -0
  1615. package/examples/node_modules/neo-async/log.js +3 -0
  1616. package/examples/node_modules/neo-async/map.js +3 -0
  1617. package/examples/node_modules/neo-async/mapLimit.js +3 -0
  1618. package/examples/node_modules/neo-async/mapSeries.js +3 -0
  1619. package/examples/node_modules/neo-async/mapValues.js +3 -0
  1620. package/examples/node_modules/neo-async/mapValuesLimit.js +3 -0
  1621. package/examples/node_modules/neo-async/mapValuesSeries.js +3 -0
  1622. package/examples/node_modules/neo-async/memoize.js +3 -0
  1623. package/examples/node_modules/neo-async/nextTick.js +3 -0
  1624. package/examples/node_modules/neo-async/omit.js +3 -0
  1625. package/examples/node_modules/neo-async/omitLimit.js +3 -0
  1626. package/examples/node_modules/neo-async/omitSeries.js +3 -0
  1627. package/examples/node_modules/neo-async/package.json +57 -0
  1628. package/examples/node_modules/neo-async/parallel.js +3 -0
  1629. package/examples/node_modules/neo-async/parallelLimit.js +3 -0
  1630. package/examples/node_modules/neo-async/pick.js +3 -0
  1631. package/examples/node_modules/neo-async/pickLimit.js +3 -0
  1632. package/examples/node_modules/neo-async/pickSeries.js +3 -0
  1633. package/examples/node_modules/neo-async/priorityQueue.js +3 -0
  1634. package/examples/node_modules/neo-async/queue.js +3 -0
  1635. package/examples/node_modules/neo-async/race.js +3 -0
  1636. package/examples/node_modules/neo-async/reduce.js +3 -0
  1637. package/examples/node_modules/neo-async/reduceRight.js +3 -0
  1638. package/examples/node_modules/neo-async/reflect.js +3 -0
  1639. package/examples/node_modules/neo-async/reflectAll.js +3 -0
  1640. package/examples/node_modules/neo-async/reject.js +3 -0
  1641. package/examples/node_modules/neo-async/rejectLimit.js +3 -0
  1642. package/examples/node_modules/neo-async/rejectSeries.js +3 -0
  1643. package/examples/node_modules/neo-async/retry.js +3 -0
  1644. package/examples/node_modules/neo-async/retryable.js +3 -0
  1645. package/examples/node_modules/neo-async/safe.js +3 -0
  1646. package/examples/node_modules/neo-async/select.js +3 -0
  1647. package/examples/node_modules/neo-async/selectLimit.js +3 -0
  1648. package/examples/node_modules/neo-async/selectSeries.js +3 -0
  1649. package/examples/node_modules/neo-async/seq.js +3 -0
  1650. package/examples/node_modules/neo-async/series.js +3 -0
  1651. package/examples/node_modules/neo-async/setImmediate.js +3 -0
  1652. package/examples/node_modules/neo-async/some.js +3 -0
  1653. package/examples/node_modules/neo-async/someLimit.js +3 -0
  1654. package/examples/node_modules/neo-async/someSeries.js +3 -0
  1655. package/examples/node_modules/neo-async/sortBy.js +3 -0
  1656. package/examples/node_modules/neo-async/sortByLimit.js +3 -0
  1657. package/examples/node_modules/neo-async/sortBySeries.js +3 -0
  1658. package/examples/node_modules/neo-async/timeout.js +3 -0
  1659. package/examples/node_modules/neo-async/times.js +3 -0
  1660. package/examples/node_modules/neo-async/timesLimit.js +3 -0
  1661. package/examples/node_modules/neo-async/timesSeries.js +3 -0
  1662. package/examples/node_modules/neo-async/transform.js +3 -0
  1663. package/examples/node_modules/neo-async/transformLimit.js +3 -0
  1664. package/examples/node_modules/neo-async/transformSeries.js +3 -0
  1665. package/examples/node_modules/neo-async/tryEach.js +3 -0
  1666. package/examples/node_modules/neo-async/unmemoize.js +3 -0
  1667. package/examples/node_modules/neo-async/until.js +3 -0
  1668. package/examples/node_modules/neo-async/waterfall.js +3 -0
  1669. package/examples/node_modules/neo-async/whilst.js +3 -0
  1670. package/examples/node_modules/neo-async/wrapSync.js +3 -0
  1671. package/examples/node_modules/node-releases/LICENSE +21 -0
  1672. package/examples/node_modules/node-releases/README.md +31 -0
  1673. package/examples/node_modules/node-releases/data/processed/envs.json +1 -0
  1674. package/examples/node_modules/node-releases/data/release-schedule/release-schedule.json +1 -0
  1675. package/examples/node_modules/node-releases/package.json +18 -0
  1676. package/examples/node_modules/npm-run-path/package.json +42 -74
  1677. package/examples/node_modules/onetime/package.json +41 -73
  1678. package/examples/node_modules/p-limit/package.json +50 -82
  1679. package/examples/node_modules/p-locate/package.json +51 -83
  1680. package/examples/node_modules/p-try/package.json +40 -72
  1681. package/examples/node_modules/path-exists/package.json +37 -69
  1682. package/examples/node_modules/path-key/package.json +37 -70
  1683. package/examples/node_modules/path-parse/index.js +17 -35
  1684. package/examples/node_modules/path-parse/package.json +13 -41
  1685. package/examples/node_modules/picocolors/LICENSE +15 -0
  1686. package/examples/node_modules/picocolors/README.md +21 -0
  1687. package/examples/node_modules/picocolors/package.json +25 -0
  1688. package/examples/node_modules/picocolors/picocolors.browser.js +4 -0
  1689. package/examples/node_modules/picocolors/picocolors.d.ts +5 -0
  1690. package/examples/node_modules/picocolors/picocolors.js +58 -0
  1691. package/examples/node_modules/picocolors/types.ts +30 -0
  1692. package/examples/node_modules/pkg-dir/package.json +54 -86
  1693. package/examples/node_modules/punycode/LICENSE-MIT.txt +20 -0
  1694. package/examples/node_modules/punycode/README.md +122 -0
  1695. package/examples/node_modules/punycode/package.json +58 -0
  1696. package/examples/node_modules/punycode/punycode.es6.js +441 -0
  1697. package/examples/node_modules/punycode/punycode.js +440 -0
  1698. package/examples/node_modules/randombytes/.travis.yml +15 -0
  1699. package/examples/node_modules/randombytes/.zuul.yml +1 -0
  1700. package/examples/node_modules/randombytes/LICENSE +21 -0
  1701. package/examples/node_modules/randombytes/README.md +14 -0
  1702. package/examples/node_modules/randombytes/browser.js +50 -0
  1703. package/examples/node_modules/randombytes/index.js +1 -0
  1704. package/examples/node_modules/randombytes/package.json +36 -0
  1705. package/examples/node_modules/randombytes/test.js +81 -0
  1706. package/examples/node_modules/rechoir/README.md +9 -0
  1707. package/examples/node_modules/rechoir/lib/extension.js +35 -10
  1708. package/examples/node_modules/rechoir/package.json +24 -67
  1709. package/examples/node_modules/resolve/.eslintrc +34 -8
  1710. package/examples/node_modules/resolve/.github/FUNDING.yml +12 -0
  1711. package/examples/node_modules/resolve/appveyor.yml +4 -2
  1712. package/examples/node_modules/resolve/async.js +3 -0
  1713. package/examples/node_modules/resolve/bin/resolve +50 -0
  1714. package/examples/node_modules/resolve/lib/async.js +10 -1
  1715. package/examples/node_modules/resolve/lib/core.js +1 -2
  1716. package/examples/node_modules/resolve/lib/core.json +85 -16
  1717. package/examples/node_modules/resolve/lib/homedir.js +24 -0
  1718. package/examples/node_modules/resolve/lib/node-modules-paths.js +1 -1
  1719. package/examples/node_modules/resolve/lib/sync.js +14 -5
  1720. package/examples/node_modules/resolve/package.json +60 -78
  1721. package/examples/node_modules/resolve/readme.markdown +35 -13
  1722. package/examples/node_modules/resolve/sync.js +3 -0
  1723. package/examples/node_modules/resolve/test/home_paths.js +127 -0
  1724. package/examples/node_modules/resolve/test/home_paths_sync.js +114 -0
  1725. package/examples/node_modules/resolve/test/mock_sync.js +2 -4
  1726. package/examples/node_modules/resolve/test/node_path.js +1 -1
  1727. package/examples/node_modules/resolve/test/resolver/invalid_main/package.json +1 -1
  1728. package/examples/node_modules/resolve/test/resolver/malformed_package_json/index.js +0 -0
  1729. package/examples/node_modules/resolve/test/resolver/malformed_package_json/package.json +1 -0
  1730. package/examples/node_modules/resolve/test/resolver.js +99 -3
  1731. package/examples/node_modules/resolve/test/resolver_sync.js +310 -23
  1732. package/examples/node_modules/resolve-cwd/package.json +41 -73
  1733. package/examples/node_modules/resolve-from/package.json +34 -66
  1734. package/examples/node_modules/safe-buffer/LICENSE +21 -0
  1735. package/examples/node_modules/safe-buffer/README.md +584 -0
  1736. package/examples/node_modules/safe-buffer/index.d.ts +187 -0
  1737. package/examples/node_modules/safe-buffer/index.js +65 -0
  1738. package/examples/node_modules/safe-buffer/package.json +51 -0
  1739. package/examples/node_modules/schema-utils/LICENSE +20 -0
  1740. package/examples/node_modules/schema-utils/README.md +290 -0
  1741. package/examples/node_modules/schema-utils/declarations/ValidationError.d.ts +74 -0
  1742. package/examples/node_modules/schema-utils/declarations/index.d.ts +3 -0
  1743. package/examples/node_modules/schema-utils/declarations/keywords/absolutePath.d.ts +10 -0
  1744. package/examples/node_modules/schema-utils/declarations/util/Range.d.ts +79 -0
  1745. package/examples/node_modules/schema-utils/declarations/util/hints.d.ts +3 -0
  1746. package/examples/node_modules/schema-utils/declarations/validate.d.ts +37 -0
  1747. package/examples/node_modules/schema-utils/dist/ValidationError.js +1271 -0
  1748. package/examples/node_modules/schema-utils/dist/index.js +11 -0
  1749. package/examples/node_modules/schema-utils/dist/keywords/absolutePath.js +93 -0
  1750. package/examples/node_modules/schema-utils/dist/util/Range.js +163 -0
  1751. package/examples/node_modules/schema-utils/dist/util/hints.js +105 -0
  1752. package/examples/node_modules/schema-utils/dist/validate.js +163 -0
  1753. package/examples/node_modules/schema-utils/package.json +78 -0
  1754. package/examples/node_modules/serialize-javascript/LICENSE +27 -0
  1755. package/examples/node_modules/serialize-javascript/README.md +142 -0
  1756. package/examples/node_modules/serialize-javascript/index.js +268 -0
  1757. package/examples/node_modules/serialize-javascript/package.json +36 -0
  1758. package/examples/node_modules/shallow-clone/package.json +20 -57
  1759. package/examples/node_modules/shebang-command/package.json +32 -64
  1760. package/examples/node_modules/shebang-regex/package.json +33 -65
  1761. package/examples/node_modules/signal-exit/README.md +1 -1
  1762. package/examples/node_modules/signal-exit/index.js +169 -130
  1763. package/examples/node_modules/signal-exit/package.json +24 -52
  1764. package/examples/node_modules/source-map/CHANGELOG.md +301 -0
  1765. package/examples/node_modules/source-map/LICENSE +28 -0
  1766. package/examples/node_modules/source-map/README.md +742 -0
  1767. package/examples/node_modules/source-map/dist/source-map.debug.js +3234 -0
  1768. package/examples/node_modules/source-map/dist/source-map.js +3233 -0
  1769. package/examples/node_modules/source-map/dist/source-map.min.js +2 -0
  1770. package/examples/node_modules/source-map/dist/source-map.min.js.map +1 -0
  1771. package/examples/node_modules/source-map/lib/array-set.js +121 -0
  1772. package/examples/node_modules/source-map/lib/base64-vlq.js +140 -0
  1773. package/examples/node_modules/source-map/lib/base64.js +67 -0
  1774. package/examples/node_modules/source-map/lib/binary-search.js +111 -0
  1775. package/examples/node_modules/source-map/lib/mapping-list.js +79 -0
  1776. package/examples/node_modules/source-map/lib/quick-sort.js +114 -0
  1777. package/examples/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  1778. package/examples/node_modules/source-map/lib/source-map-generator.js +425 -0
  1779. package/examples/node_modules/source-map/lib/source-node.js +413 -0
  1780. package/examples/node_modules/source-map/lib/util.js +488 -0
  1781. package/examples/node_modules/source-map/package.json +73 -0
  1782. package/examples/node_modules/source-map/source-map.d.ts +98 -0
  1783. package/examples/node_modules/source-map/source-map.js +8 -0
  1784. package/examples/node_modules/source-map-support/LICENSE.md +21 -0
  1785. package/examples/node_modules/source-map-support/README.md +284 -0
  1786. package/examples/node_modules/source-map-support/browser-source-map-support.js +114 -0
  1787. package/examples/node_modules/source-map-support/package.json +31 -0
  1788. package/examples/node_modules/source-map-support/register-hook-require.js +1 -0
  1789. package/examples/node_modules/source-map-support/register.js +1 -0
  1790. package/examples/node_modules/source-map-support/source-map-support.js +625 -0
  1791. package/examples/node_modules/strip-final-newline/package.json +38 -70
  1792. package/examples/node_modules/supports-color/browser.js +24 -0
  1793. package/examples/node_modules/supports-color/index.js +152 -0
  1794. package/examples/node_modules/supports-color/license +9 -0
  1795. package/examples/node_modules/supports-color/package.json +58 -0
  1796. package/examples/node_modules/supports-color/readme.md +77 -0
  1797. package/examples/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
  1798. package/examples/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
  1799. package/examples/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
  1800. package/examples/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
  1801. package/examples/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
  1802. package/examples/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
  1803. package/examples/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
  1804. package/examples/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
  1805. package/examples/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
  1806. package/examples/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
  1807. package/examples/node_modules/tapable/LICENSE +21 -0
  1808. package/examples/node_modules/tapable/README.md +296 -0
  1809. package/examples/node_modules/tapable/lib/AsyncParallelBailHook.js +85 -0
  1810. package/examples/node_modules/tapable/lib/AsyncParallelHook.js +37 -0
  1811. package/examples/node_modules/tapable/lib/AsyncSeriesBailHook.js +42 -0
  1812. package/examples/node_modules/tapable/lib/AsyncSeriesHook.js +37 -0
  1813. package/examples/node_modules/tapable/lib/AsyncSeriesLoopHook.js +37 -0
  1814. package/examples/node_modules/tapable/lib/AsyncSeriesWaterfallHook.js +47 -0
  1815. package/examples/node_modules/tapable/lib/Hook.js +175 -0
  1816. package/examples/node_modules/tapable/lib/HookCodeFactory.js +468 -0
  1817. package/examples/node_modules/tapable/lib/HookMap.js +61 -0
  1818. package/examples/node_modules/tapable/lib/MultiHook.js +54 -0
  1819. package/examples/node_modules/tapable/lib/SyncBailHook.js +51 -0
  1820. package/examples/node_modules/tapable/lib/SyncHook.js +46 -0
  1821. package/examples/node_modules/tapable/lib/SyncLoopHook.js +46 -0
  1822. package/examples/node_modules/tapable/lib/SyncWaterfallHook.js +57 -0
  1823. package/examples/node_modules/tapable/lib/index.js +19 -0
  1824. package/examples/node_modules/tapable/lib/util-browser.js +16 -0
  1825. package/examples/node_modules/tapable/package.json +44 -0
  1826. package/examples/node_modules/tapable/tapable.d.ts +116 -0
  1827. package/examples/node_modules/terser/CHANGELOG.md +480 -0
  1828. package/examples/node_modules/terser/LICENSE +29 -0
  1829. package/examples/node_modules/terser/PATRONS.md +15 -0
  1830. package/examples/node_modules/terser/README.md +1374 -0
  1831. package/examples/node_modules/terser/bin/package.json +10 -0
  1832. package/examples/node_modules/terser/bin/terser +21 -0
  1833. package/examples/node_modules/terser/bin/uglifyjs +10 -0
  1834. package/examples/node_modules/terser/dist/.gitkeep +0 -0
  1835. package/examples/node_modules/terser/dist/bundle.min.js +28332 -0
  1836. package/examples/node_modules/terser/dist/package.json +10 -0
  1837. package/examples/node_modules/terser/lib/ast.js +1858 -0
  1838. package/examples/node_modules/terser/lib/cli.js +479 -0
  1839. package/examples/node_modules/terser/lib/compress/common.js +296 -0
  1840. package/examples/node_modules/terser/lib/compress/compressor-flags.js +63 -0
  1841. package/examples/node_modules/terser/lib/compress/drop-side-effect-free.js +350 -0
  1842. package/examples/node_modules/terser/lib/compress/evaluate.js +461 -0
  1843. package/examples/node_modules/terser/lib/compress/index.js +4667 -0
  1844. package/examples/node_modules/terser/lib/compress/inference.js +948 -0
  1845. package/examples/node_modules/terser/lib/compress/native-objects.js +184 -0
  1846. package/examples/node_modules/terser/lib/compress/reduce-vars.js +675 -0
  1847. package/examples/node_modules/terser/lib/compress/tighten-body.js +1461 -0
  1848. package/examples/node_modules/terser/lib/equivalent-to.js +313 -0
  1849. package/examples/node_modules/terser/lib/minify.js +335 -0
  1850. package/examples/node_modules/terser/lib/mozilla-ast.js +1376 -0
  1851. package/examples/node_modules/terser/lib/output.js +2347 -0
  1852. package/examples/node_modules/terser/lib/parse.js +3362 -0
  1853. package/examples/node_modules/terser/lib/propmangle.js +376 -0
  1854. package/examples/node_modules/terser/lib/scope.js +1042 -0
  1855. package/examples/node_modules/terser/lib/size.js +490 -0
  1856. package/examples/node_modules/terser/lib/sourcemap.js +114 -0
  1857. package/examples/node_modules/terser/lib/transform.js +318 -0
  1858. package/examples/node_modules/terser/lib/utils/first_in_statement.js +50 -0
  1859. package/examples/node_modules/terser/lib/utils/index.js +302 -0
  1860. package/examples/node_modules/terser/main.js +27 -0
  1861. package/examples/node_modules/terser/node_modules/source-map/CHANGELOG.md +344 -0
  1862. package/examples/node_modules/terser/node_modules/source-map/LICENSE +28 -0
  1863. package/examples/node_modules/terser/node_modules/source-map/README.md +822 -0
  1864. package/examples/node_modules/terser/node_modules/source-map/dist/source-map.js +3351 -0
  1865. package/examples/node_modules/terser/node_modules/source-map/lib/array-set.js +100 -0
  1866. package/examples/node_modules/terser/node_modules/source-map/lib/base64-vlq.js +111 -0
  1867. package/examples/node_modules/terser/node_modules/source-map/lib/base64.js +18 -0
  1868. package/examples/node_modules/terser/node_modules/source-map/lib/binary-search.js +107 -0
  1869. package/examples/node_modules/terser/node_modules/source-map/lib/mapping-list.js +80 -0
  1870. package/examples/node_modules/terser/node_modules/source-map/lib/mappings.wasm +0 -0
  1871. package/examples/node_modules/terser/node_modules/source-map/lib/read-wasm.js +40 -0
  1872. package/examples/node_modules/terser/node_modules/source-map/lib/source-map-consumer.js +1254 -0
  1873. package/examples/node_modules/terser/node_modules/source-map/lib/source-map-generator.js +413 -0
  1874. package/examples/node_modules/terser/node_modules/source-map/lib/source-node.js +404 -0
  1875. package/examples/node_modules/terser/node_modules/source-map/lib/util.js +546 -0
  1876. package/examples/node_modules/terser/node_modules/source-map/lib/wasm.js +107 -0
  1877. package/examples/node_modules/terser/node_modules/source-map/package.json +90 -0
  1878. package/examples/node_modules/terser/node_modules/source-map/source-map.d.ts +369 -0
  1879. package/examples/node_modules/terser/node_modules/source-map/source-map.js +8 -0
  1880. package/examples/node_modules/terser/package.json +152 -0
  1881. package/examples/node_modules/terser/tools/domprops.js +7771 -0
  1882. package/examples/node_modules/terser/tools/exit.cjs +7 -0
  1883. package/examples/node_modules/terser/tools/props.html +55 -0
  1884. package/examples/node_modules/terser/tools/terser.d.ts +207 -0
  1885. package/examples/node_modules/terser-webpack-plugin/LICENSE +20 -0
  1886. package/examples/node_modules/terser-webpack-plugin/README.md +742 -0
  1887. package/examples/node_modules/terser-webpack-plugin/dist/index.js +798 -0
  1888. package/examples/node_modules/terser-webpack-plugin/dist/minify.js +50 -0
  1889. package/examples/node_modules/terser-webpack-plugin/dist/options.json +164 -0
  1890. package/examples/node_modules/terser-webpack-plugin/dist/utils.js +687 -0
  1891. package/examples/node_modules/terser-webpack-plugin/package.json +114 -0
  1892. package/examples/node_modules/terser-webpack-plugin/types/index.d.ts +329 -0
  1893. package/examples/node_modules/terser-webpack-plugin/types/minify.d.ts +17 -0
  1894. package/examples/node_modules/terser-webpack-plugin/types/utils.d.ts +100 -0
  1895. package/examples/node_modules/uri-js/LICENSE +11 -0
  1896. package/examples/node_modules/uri-js/README.md +203 -0
  1897. package/examples/node_modules/uri-js/dist/es5/uri.all.d.ts +59 -0
  1898. package/examples/node_modules/uri-js/dist/es5/uri.all.js +1443 -0
  1899. package/examples/node_modules/uri-js/dist/es5/uri.all.js.map +1 -0
  1900. package/examples/node_modules/uri-js/dist/es5/uri.all.min.d.ts +59 -0
  1901. package/examples/node_modules/uri-js/dist/es5/uri.all.min.js +3 -0
  1902. package/examples/node_modules/uri-js/dist/es5/uri.all.min.js.map +1 -0
  1903. package/examples/node_modules/uri-js/dist/esnext/index.d.ts +1 -0
  1904. package/examples/node_modules/uri-js/dist/esnext/index.js +17 -0
  1905. package/examples/node_modules/uri-js/dist/esnext/index.js.map +1 -0
  1906. package/examples/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +3 -0
  1907. package/examples/node_modules/uri-js/dist/esnext/regexps-iri.js +3 -0
  1908. package/examples/node_modules/uri-js/dist/esnext/regexps-iri.js.map +1 -0
  1909. package/examples/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +4 -0
  1910. package/examples/node_modules/uri-js/dist/esnext/regexps-uri.js +42 -0
  1911. package/examples/node_modules/uri-js/dist/esnext/regexps-uri.js.map +1 -0
  1912. package/examples/node_modules/uri-js/dist/esnext/schemes/http.d.ts +3 -0
  1913. package/examples/node_modules/uri-js/dist/esnext/schemes/http.js +28 -0
  1914. package/examples/node_modules/uri-js/dist/esnext/schemes/http.js.map +1 -0
  1915. package/examples/node_modules/uri-js/dist/esnext/schemes/https.d.ts +3 -0
  1916. package/examples/node_modules/uri-js/dist/esnext/schemes/https.js +9 -0
  1917. package/examples/node_modules/uri-js/dist/esnext/schemes/https.js.map +1 -0
  1918. package/examples/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +12 -0
  1919. package/examples/node_modules/uri-js/dist/esnext/schemes/mailto.js +148 -0
  1920. package/examples/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +1 -0
  1921. package/examples/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +7 -0
  1922. package/examples/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +23 -0
  1923. package/examples/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +1 -0
  1924. package/examples/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +10 -0
  1925. package/examples/node_modules/uri-js/dist/esnext/schemes/urn.js +49 -0
  1926. package/examples/node_modules/uri-js/dist/esnext/schemes/urn.js.map +1 -0
  1927. package/examples/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +7 -0
  1928. package/examples/node_modules/uri-js/dist/esnext/schemes/ws.js +41 -0
  1929. package/examples/node_modules/uri-js/dist/esnext/schemes/ws.js.map +1 -0
  1930. package/examples/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +3 -0
  1931. package/examples/node_modules/uri-js/dist/esnext/schemes/wss.js +9 -0
  1932. package/examples/node_modules/uri-js/dist/esnext/schemes/wss.js.map +1 -0
  1933. package/examples/node_modules/uri-js/dist/esnext/uri.d.ts +59 -0
  1934. package/examples/node_modules/uri-js/dist/esnext/uri.js +480 -0
  1935. package/examples/node_modules/uri-js/dist/esnext/uri.js.map +1 -0
  1936. package/examples/node_modules/uri-js/dist/esnext/util.d.ts +6 -0
  1937. package/examples/node_modules/uri-js/dist/esnext/util.js +36 -0
  1938. package/examples/node_modules/uri-js/dist/esnext/util.js.map +1 -0
  1939. package/examples/node_modules/uri-js/package.json +77 -0
  1940. package/examples/node_modules/uri-js/yarn.lock +2558 -0
  1941. package/examples/node_modules/watchpack/LICENSE +20 -0
  1942. package/examples/node_modules/watchpack/README.md +149 -0
  1943. package/examples/node_modules/watchpack/lib/DirectoryWatcher.js +785 -0
  1944. package/examples/node_modules/watchpack/lib/LinkResolver.js +107 -0
  1945. package/examples/node_modules/watchpack/lib/getWatcherManager.js +52 -0
  1946. package/examples/node_modules/watchpack/lib/reducePlan.js +138 -0
  1947. package/examples/node_modules/watchpack/lib/watchEventSource.js +335 -0
  1948. package/examples/node_modules/watchpack/lib/watchpack.js +383 -0
  1949. package/examples/node_modules/watchpack/package.json +49 -0
  1950. package/examples/node_modules/webpack/LICENSE +20 -0
  1951. package/examples/node_modules/webpack/README.md +711 -0
  1952. package/examples/node_modules/webpack/SECURITY.md +9 -0
  1953. package/examples/node_modules/webpack/bin/webpack.js +163 -0
  1954. package/examples/node_modules/webpack/hot/dev-server.js +61 -0
  1955. package/examples/node_modules/webpack/hot/emitter.js +2 -0
  1956. package/examples/node_modules/webpack/hot/lazy-compilation-node.js +40 -0
  1957. package/examples/node_modules/webpack/hot/lazy-compilation-web.js +74 -0
  1958. package/examples/node_modules/webpack/hot/log-apply-result.js +44 -0
  1959. package/examples/node_modules/webpack/hot/log.js +59 -0
  1960. package/examples/node_modules/webpack/hot/only-dev-server.js +102 -0
  1961. package/examples/node_modules/webpack/hot/poll.js +37 -0
  1962. package/examples/node_modules/webpack/hot/signal.js +62 -0
  1963. package/examples/node_modules/webpack/lib/APIPlugin.js +253 -0
  1964. package/examples/node_modules/webpack/lib/AbstractMethodError.js +49 -0
  1965. package/examples/node_modules/webpack/lib/AsyncDependenciesBlock.js +106 -0
  1966. package/examples/node_modules/webpack/lib/AsyncDependencyToInitialChunkError.js +31 -0
  1967. package/examples/node_modules/webpack/lib/AutomaticPrefetchPlugin.js +65 -0
  1968. package/examples/node_modules/webpack/lib/BannerPlugin.js +123 -0
  1969. package/examples/node_modules/webpack/lib/Cache.js +161 -0
  1970. package/examples/node_modules/webpack/lib/CacheFacade.js +345 -0
  1971. package/examples/node_modules/webpack/lib/CaseSensitiveModulesWarning.js +71 -0
  1972. package/examples/node_modules/webpack/lib/Chunk.js +820 -0
  1973. package/examples/node_modules/webpack/lib/ChunkGraph.js +1727 -0
  1974. package/examples/node_modules/webpack/lib/ChunkGroup.js +584 -0
  1975. package/examples/node_modules/webpack/lib/ChunkRenderError.js +31 -0
  1976. package/examples/node_modules/webpack/lib/ChunkTemplate.js +138 -0
  1977. package/examples/node_modules/webpack/lib/CleanPlugin.js +420 -0
  1978. package/examples/node_modules/webpack/lib/CodeGenerationError.js +29 -0
  1979. package/examples/node_modules/webpack/lib/CodeGenerationResults.js +155 -0
  1980. package/examples/node_modules/webpack/lib/CommentCompilationWarning.js +33 -0
  1981. package/examples/node_modules/webpack/lib/CompatibilityPlugin.js +152 -0
  1982. package/examples/node_modules/webpack/lib/Compilation.js +5292 -0
  1983. package/examples/node_modules/webpack/lib/Compiler.js +1217 -0
  1984. package/examples/node_modules/webpack/lib/ConcatenationScope.js +159 -0
  1985. package/examples/node_modules/webpack/lib/ConcurrentCompilationError.js +18 -0
  1986. package/examples/node_modules/webpack/lib/ConditionalInitFragment.js +112 -0
  1987. package/examples/node_modules/webpack/lib/ConstPlugin.js +497 -0
  1988. package/examples/node_modules/webpack/lib/ContextExclusionPlugin.js +32 -0
  1989. package/examples/node_modules/webpack/lib/ContextModule.js +1147 -0
  1990. package/examples/node_modules/webpack/lib/ContextModuleFactory.js +437 -0
  1991. package/examples/node_modules/webpack/lib/ContextReplacementPlugin.js +157 -0
  1992. package/examples/node_modules/webpack/lib/DefinePlugin.js +601 -0
  1993. package/examples/node_modules/webpack/lib/DelegatedModule.js +239 -0
  1994. package/examples/node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js +91 -0
  1995. package/examples/node_modules/webpack/lib/DelegatedPlugin.js +43 -0
  1996. package/examples/node_modules/webpack/lib/DependenciesBlock.js +107 -0
  1997. package/examples/node_modules/webpack/lib/Dependency.js +348 -0
  1998. package/examples/node_modules/webpack/lib/DependencyTemplate.js +57 -0
  1999. package/examples/node_modules/webpack/lib/DependencyTemplates.js +67 -0
  2000. package/examples/node_modules/webpack/lib/DllEntryPlugin.js +55 -0
  2001. package/examples/node_modules/webpack/lib/DllModule.js +157 -0
  2002. package/examples/node_modules/webpack/lib/DllModuleFactory.js +37 -0
  2003. package/examples/node_modules/webpack/lib/DllPlugin.js +68 -0
  2004. package/examples/node_modules/webpack/lib/DllReferencePlugin.js +162 -0
  2005. package/examples/node_modules/webpack/lib/DynamicEntryPlugin.js +79 -0
  2006. package/examples/node_modules/webpack/lib/EntryOptionPlugin.js +93 -0
  2007. package/examples/node_modules/webpack/lib/EntryPlugin.js +67 -0
  2008. package/examples/node_modules/webpack/lib/Entrypoint.js +101 -0
  2009. package/examples/node_modules/webpack/lib/EnvironmentPlugin.js +63 -0
  2010. package/examples/node_modules/webpack/lib/ErrorHelpers.js +61 -0
  2011. package/examples/node_modules/webpack/lib/EvalDevToolModulePlugin.js +117 -0
  2012. package/examples/node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js +206 -0
  2013. package/examples/node_modules/webpack/lib/ExportsInfo.js +1523 -0
  2014. package/examples/node_modules/webpack/lib/ExportsInfoApiPlugin.js +71 -0
  2015. package/examples/node_modules/webpack/lib/ExternalModule.js +758 -0
  2016. package/examples/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js +254 -0
  2017. package/examples/node_modules/webpack/lib/ExternalsPlugin.js +37 -0
  2018. package/examples/node_modules/webpack/lib/FileSystemInfo.js +3559 -0
  2019. package/examples/node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js +55 -0
  2020. package/examples/node_modules/webpack/lib/FlagDependencyExportsPlugin.js +417 -0
  2021. package/examples/node_modules/webpack/lib/FlagDependencyUsagePlugin.js +347 -0
  2022. package/examples/node_modules/webpack/lib/FlagEntryExportAsUsedPlugin.js +53 -0
  2023. package/examples/node_modules/webpack/lib/Generator.js +149 -0
  2024. package/examples/node_modules/webpack/lib/GraphHelpers.js +37 -0
  2025. package/examples/node_modules/webpack/lib/HarmonyLinkingError.js +16 -0
  2026. package/examples/node_modules/webpack/lib/HookWebpackError.js +93 -0
  2027. package/examples/node_modules/webpack/lib/HotModuleReplacementPlugin.js +778 -0
  2028. package/examples/node_modules/webpack/lib/HotUpdateChunk.js +19 -0
  2029. package/examples/node_modules/webpack/lib/IgnoreErrorModuleFactory.js +39 -0
  2030. package/examples/node_modules/webpack/lib/IgnorePlugin.js +83 -0
  2031. package/examples/node_modules/webpack/lib/IgnoreWarningsPlugin.js +39 -0
  2032. package/examples/node_modules/webpack/lib/InitFragment.js +161 -0
  2033. package/examples/node_modules/webpack/lib/InvalidDependenciesModuleWarning.js +44 -0
  2034. package/examples/node_modules/webpack/lib/JavascriptMetaInfoPlugin.js +68 -0
  2035. package/examples/node_modules/webpack/lib/LibManifestPlugin.js +115 -0
  2036. package/examples/node_modules/webpack/lib/LibraryTemplatePlugin.js +48 -0
  2037. package/examples/node_modules/webpack/lib/LoaderOptionsPlugin.js +71 -0
  2038. package/examples/node_modules/webpack/lib/LoaderTargetPlugin.js +37 -0
  2039. package/examples/node_modules/webpack/lib/MainTemplate.js +329 -0
  2040. package/examples/node_modules/webpack/lib/Module.js +1091 -0
  2041. package/examples/node_modules/webpack/lib/ModuleBuildError.js +77 -0
  2042. package/examples/node_modules/webpack/lib/ModuleDependencyError.js +40 -0
  2043. package/examples/node_modules/webpack/lib/ModuleDependencyWarning.js +45 -0
  2044. package/examples/node_modules/webpack/lib/ModuleError.js +61 -0
  2045. package/examples/node_modules/webpack/lib/ModuleFactory.js +50 -0
  2046. package/examples/node_modules/webpack/lib/ModuleFilenameHelpers.js +277 -0
  2047. package/examples/node_modules/webpack/lib/ModuleGraph.js +856 -0
  2048. package/examples/node_modules/webpack/lib/ModuleGraphConnection.js +191 -0
  2049. package/examples/node_modules/webpack/lib/ModuleHashingError.js +29 -0
  2050. package/examples/node_modules/webpack/lib/ModuleInfoHeaderPlugin.js +255 -0
  2051. package/examples/node_modules/webpack/lib/ModuleNotFoundError.js +86 -0
  2052. package/examples/node_modules/webpack/lib/ModuleParseError.js +109 -0
  2053. package/examples/node_modules/webpack/lib/ModuleProfile.js +107 -0
  2054. package/examples/node_modules/webpack/lib/ModuleRestoreError.js +42 -0
  2055. package/examples/node_modules/webpack/lib/ModuleStoreError.js +42 -0
  2056. package/examples/node_modules/webpack/lib/ModuleTemplate.js +142 -0
  2057. package/examples/node_modules/webpack/lib/ModuleWarning.js +61 -0
  2058. package/examples/node_modules/webpack/lib/MultiCompiler.js +582 -0
  2059. package/examples/node_modules/webpack/lib/MultiStats.js +166 -0
  2060. package/examples/node_modules/webpack/lib/MultiWatching.js +77 -0
  2061. package/examples/node_modules/webpack/lib/NoEmitOnErrorsPlugin.js +28 -0
  2062. package/examples/node_modules/webpack/lib/NoModeWarning.js +22 -0
  2063. package/examples/node_modules/webpack/lib/NodeStuffInWebError.js +34 -0
  2064. package/examples/node_modules/webpack/lib/NodeStuffPlugin.js +186 -0
  2065. package/examples/node_modules/webpack/lib/NormalModule.js +1411 -0
  2066. package/examples/node_modules/webpack/lib/NormalModuleFactory.js +1118 -0
  2067. package/examples/node_modules/webpack/lib/NormalModuleReplacementPlugin.js +71 -0
  2068. package/examples/node_modules/webpack/lib/NullFactory.js +23 -0
  2069. package/examples/node_modules/webpack/lib/OptimizationStages.js +10 -0
  2070. package/examples/node_modules/webpack/lib/OptionsApply.js +11 -0
  2071. package/examples/node_modules/webpack/lib/Parser.js +38 -0
  2072. package/examples/node_modules/webpack/lib/PrefetchPlugin.js +50 -0
  2073. package/examples/node_modules/webpack/lib/ProgressPlugin.js +613 -0
  2074. package/examples/node_modules/webpack/lib/ProvidePlugin.js +101 -0
  2075. package/examples/node_modules/webpack/lib/RawModule.js +152 -0
  2076. package/examples/node_modules/webpack/lib/RecordIdsPlugin.js +238 -0
  2077. package/examples/node_modules/webpack/lib/RequestShortener.js +34 -0
  2078. package/examples/node_modules/webpack/lib/RequireJsStuffPlugin.js +77 -0
  2079. package/examples/node_modules/webpack/lib/ResolverFactory.js +151 -0
  2080. package/examples/node_modules/webpack/lib/RuntimeGlobals.js +381 -0
  2081. package/examples/node_modules/webpack/lib/RuntimeModule.js +213 -0
  2082. package/examples/node_modules/webpack/lib/RuntimePlugin.js +444 -0
  2083. package/examples/node_modules/webpack/lib/RuntimeTemplate.js +1041 -0
  2084. package/examples/node_modules/webpack/lib/SelfModuleFactory.js +21 -0
  2085. package/examples/node_modules/webpack/lib/SingleEntryPlugin.js +8 -0
  2086. package/examples/node_modules/webpack/lib/SizeFormatHelpers.js +27 -0
  2087. package/examples/node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js +57 -0
  2088. package/examples/node_modules/webpack/lib/SourceMapDevToolPlugin.js +560 -0
  2089. package/examples/node_modules/webpack/lib/Stats.js +84 -0
  2090. package/examples/node_modules/webpack/lib/Template.js +419 -0
  2091. package/examples/node_modules/webpack/lib/TemplatedPathPlugin.js +346 -0
  2092. package/examples/node_modules/webpack/lib/UnhandledSchemeError.js +33 -0
  2093. package/examples/node_modules/webpack/lib/UnsupportedFeatureWarning.js +32 -0
  2094. package/examples/node_modules/webpack/lib/UseStrictPlugin.js +56 -0
  2095. package/examples/node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js +53 -0
  2096. package/examples/node_modules/webpack/lib/WarnDeprecatedOptionPlugin.js +54 -0
  2097. package/examples/node_modules/webpack/lib/WarnNoModeSetPlugin.js +25 -0
  2098. package/examples/node_modules/webpack/lib/WatchIgnorePlugin.js +132 -0
  2099. package/examples/node_modules/webpack/lib/Watching.js +479 -0
  2100. package/examples/node_modules/webpack/lib/WebpackError.js +61 -0
  2101. package/examples/node_modules/webpack/lib/WebpackIsIncludedPlugin.js +85 -0
  2102. package/examples/node_modules/webpack/lib/WebpackOptionsApply.js +700 -0
  2103. package/examples/node_modules/webpack/lib/WebpackOptionsDefaulter.js +19 -0
  2104. package/examples/node_modules/webpack/lib/asset/AssetGenerator.js +464 -0
  2105. package/examples/node_modules/webpack/lib/asset/AssetModulesPlugin.js +223 -0
  2106. package/examples/node_modules/webpack/lib/asset/AssetParser.js +56 -0
  2107. package/examples/node_modules/webpack/lib/asset/AssetSourceGenerator.js +71 -0
  2108. package/examples/node_modules/webpack/lib/asset/AssetSourceParser.js +31 -0
  2109. package/examples/node_modules/webpack/lib/asset/RawDataUrlModule.js +148 -0
  2110. package/examples/node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js +69 -0
  2111. package/examples/node_modules/webpack/lib/async-modules/InferAsyncModulesPlugin.js +55 -0
  2112. package/examples/node_modules/webpack/lib/buildChunkGraph.js +1401 -0
  2113. package/examples/node_modules/webpack/lib/cache/AddBuildDependenciesPlugin.js +33 -0
  2114. package/examples/node_modules/webpack/lib/cache/AddManagedPathsPlugin.js +35 -0
  2115. package/examples/node_modules/webpack/lib/cache/IdleFileCachePlugin.js +227 -0
  2116. package/examples/node_modules/webpack/lib/cache/MemoryCachePlugin.js +57 -0
  2117. package/examples/node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js +129 -0
  2118. package/examples/node_modules/webpack/lib/cache/PackFileCacheStrategy.js +1426 -0
  2119. package/examples/node_modules/webpack/lib/cache/ResolverCachePlugin.js +354 -0
  2120. package/examples/node_modules/webpack/lib/cache/getLazyHashedEtag.js +81 -0
  2121. package/examples/node_modules/webpack/lib/cache/mergeEtags.js +74 -0
  2122. package/examples/node_modules/webpack/lib/cli.js +655 -0
  2123. package/examples/node_modules/webpack/lib/config/browserslistTargetHandler.js +333 -0
  2124. package/examples/node_modules/webpack/lib/config/defaults.js +1309 -0
  2125. package/examples/node_modules/webpack/lib/config/normalization.js +529 -0
  2126. package/examples/node_modules/webpack/lib/config/target.js +348 -0
  2127. package/examples/node_modules/webpack/lib/container/ContainerEntryDependency.js +47 -0
  2128. package/examples/node_modules/webpack/lib/container/ContainerEntryModule.js +283 -0
  2129. package/examples/node_modules/webpack/lib/container/ContainerEntryModuleFactory.js +27 -0
  2130. package/examples/node_modules/webpack/lib/container/ContainerExposedDependency.js +52 -0
  2131. package/examples/node_modules/webpack/lib/container/ContainerPlugin.js +105 -0
  2132. package/examples/node_modules/webpack/lib/container/ContainerReferencePlugin.js +142 -0
  2133. package/examples/node_modules/webpack/lib/container/FallbackDependency.js +51 -0
  2134. package/examples/node_modules/webpack/lib/container/FallbackItemDependency.js +30 -0
  2135. package/examples/node_modules/webpack/lib/container/FallbackModule.js +173 -0
  2136. package/examples/node_modules/webpack/lib/container/FallbackModuleFactory.js +27 -0
  2137. package/examples/node_modules/webpack/lib/container/ModuleFederationPlugin.js +92 -0
  2138. package/examples/node_modules/webpack/lib/container/RemoteModule.js +171 -0
  2139. package/examples/node_modules/webpack/lib/container/RemoteRuntimeModule.js +128 -0
  2140. package/examples/node_modules/webpack/lib/container/RemoteToExternalDependency.js +30 -0
  2141. package/examples/node_modules/webpack/lib/container/options.js +91 -0
  2142. package/examples/node_modules/webpack/lib/css/CssExportsGenerator.js +139 -0
  2143. package/examples/node_modules/webpack/lib/css/CssGenerator.js +109 -0
  2144. package/examples/node_modules/webpack/lib/css/CssLoadingRuntimeModule.js +440 -0
  2145. package/examples/node_modules/webpack/lib/css/CssModulesPlugin.js +462 -0
  2146. package/examples/node_modules/webpack/lib/css/CssParser.js +618 -0
  2147. package/examples/node_modules/webpack/lib/css/walkCssTokens.js +659 -0
  2148. package/examples/node_modules/webpack/lib/debug/ProfilingPlugin.js +454 -0
  2149. package/examples/node_modules/webpack/lib/dependencies/AMDDefineDependency.js +221 -0
  2150. package/examples/node_modules/webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js +354 -0
  2151. package/examples/node_modules/webpack/lib/dependencies/AMDPlugin.js +216 -0
  2152. package/examples/node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js +99 -0
  2153. package/examples/node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js +53 -0
  2154. package/examples/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js +22 -0
  2155. package/examples/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js +279 -0
  2156. package/examples/node_modules/webpack/lib/dependencies/AMDRequireDependency.js +174 -0
  2157. package/examples/node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js +35 -0
  2158. package/examples/node_modules/webpack/lib/dependencies/AMDRuntimeModules.js +48 -0
  2159. package/examples/node_modules/webpack/lib/dependencies/CachedConstDependency.js +106 -0
  2160. package/examples/node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js +49 -0
  2161. package/examples/node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js +374 -0
  2162. package/examples/node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js +160 -0
  2163. package/examples/node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js +336 -0
  2164. package/examples/node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js +136 -0
  2165. package/examples/node_modules/webpack/lib/dependencies/CommonJsImportsParserPlugin.js +388 -0
  2166. package/examples/node_modules/webpack/lib/dependencies/CommonJsPlugin.js +280 -0
  2167. package/examples/node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js +55 -0
  2168. package/examples/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js +34 -0
  2169. package/examples/node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js +141 -0
  2170. package/examples/node_modules/webpack/lib/dependencies/ConstDependency.js +108 -0
  2171. package/examples/node_modules/webpack/lib/dependencies/ContextDependency.js +147 -0
  2172. package/examples/node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js +232 -0
  2173. package/examples/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsId.js +61 -0
  2174. package/examples/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js +59 -0
  2175. package/examples/node_modules/webpack/lib/dependencies/ContextElementDependency.js +77 -0
  2176. package/examples/node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js +66 -0
  2177. package/examples/node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js +25 -0
  2178. package/examples/node_modules/webpack/lib/dependencies/CssExportDependency.js +85 -0
  2179. package/examples/node_modules/webpack/lib/dependencies/CssImportDependency.js +75 -0
  2180. package/examples/node_modules/webpack/lib/dependencies/CssLocalIdentifierDependency.js +119 -0
  2181. package/examples/node_modules/webpack/lib/dependencies/CssSelfLocalIdentifierDependency.js +101 -0
  2182. package/examples/node_modules/webpack/lib/dependencies/CssUrlDependency.js +132 -0
  2183. package/examples/node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js +30 -0
  2184. package/examples/node_modules/webpack/lib/dependencies/DllEntryDependency.js +47 -0
  2185. package/examples/node_modules/webpack/lib/dependencies/DynamicExports.js +69 -0
  2186. package/examples/node_modules/webpack/lib/dependencies/EntryDependency.js +30 -0
  2187. package/examples/node_modules/webpack/lib/dependencies/ExportsInfoDependency.js +143 -0
  2188. package/examples/node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js +134 -0
  2189. package/examples/node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js +37 -0
  2190. package/examples/node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js +91 -0
  2191. package/examples/node_modules/webpack/lib/dependencies/HarmonyDetectionParserPlugin.js +97 -0
  2192. package/examples/node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js +185 -0
  2193. package/examples/node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js +190 -0
  2194. package/examples/node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js +65 -0
  2195. package/examples/node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +1271 -0
  2196. package/examples/node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js +168 -0
  2197. package/examples/node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js +111 -0
  2198. package/examples/node_modules/webpack/lib/dependencies/HarmonyExports.js +40 -0
  2199. package/examples/node_modules/webpack/lib/dependencies/HarmonyImportDependency.js +359 -0
  2200. package/examples/node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js +256 -0
  2201. package/examples/node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js +80 -0
  2202. package/examples/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js +331 -0
  2203. package/examples/node_modules/webpack/lib/dependencies/HarmonyModulesPlugin.js +121 -0
  2204. package/examples/node_modules/webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js +27 -0
  2205. package/examples/node_modules/webpack/lib/dependencies/ImportContextDependency.js +52 -0
  2206. package/examples/node_modules/webpack/lib/dependencies/ImportDependency.js +101 -0
  2207. package/examples/node_modules/webpack/lib/dependencies/ImportEagerDependency.js +69 -0
  2208. package/examples/node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js +35 -0
  2209. package/examples/node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js +252 -0
  2210. package/examples/node_modules/webpack/lib/dependencies/ImportMetaContextPlugin.js +59 -0
  2211. package/examples/node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js +35 -0
  2212. package/examples/node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js +36 -0
  2213. package/examples/node_modules/webpack/lib/dependencies/ImportMetaPlugin.js +203 -0
  2214. package/examples/node_modules/webpack/lib/dependencies/ImportParserPlugin.js +267 -0
  2215. package/examples/node_modules/webpack/lib/dependencies/ImportPlugin.js +82 -0
  2216. package/examples/node_modules/webpack/lib/dependencies/ImportWeakDependency.js +67 -0
  2217. package/examples/node_modules/webpack/lib/dependencies/JsonExportsDependency.js +103 -0
  2218. package/examples/node_modules/webpack/lib/dependencies/LoaderDependency.js +27 -0
  2219. package/examples/node_modules/webpack/lib/dependencies/LoaderImportDependency.js +28 -0
  2220. package/examples/node_modules/webpack/lib/dependencies/LoaderPlugin.js +261 -0
  2221. package/examples/node_modules/webpack/lib/dependencies/LocalModule.js +44 -0
  2222. package/examples/node_modules/webpack/lib/dependencies/LocalModuleDependency.js +69 -0
  2223. package/examples/node_modules/webpack/lib/dependencies/LocalModulesHelpers.js +50 -0
  2224. package/examples/node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js +129 -0
  2225. package/examples/node_modules/webpack/lib/dependencies/ModuleDependency.js +81 -0
  2226. package/examples/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js +34 -0
  2227. package/examples/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js +38 -0
  2228. package/examples/node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js +35 -0
  2229. package/examples/node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js +36 -0
  2230. package/examples/node_modules/webpack/lib/dependencies/NullDependency.js +40 -0
  2231. package/examples/node_modules/webpack/lib/dependencies/PrefetchDependency.js +24 -0
  2232. package/examples/node_modules/webpack/lib/dependencies/ProvidedDependency.js +122 -0
  2233. package/examples/node_modules/webpack/lib/dependencies/PureExpressionDependency.js +128 -0
  2234. package/examples/node_modules/webpack/lib/dependencies/RequireContextDependency.js +31 -0
  2235. package/examples/node_modules/webpack/lib/dependencies/RequireContextDependencyParserPlugin.js +58 -0
  2236. package/examples/node_modules/webpack/lib/dependencies/RequireContextPlugin.js +150 -0
  2237. package/examples/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js +22 -0
  2238. package/examples/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js +121 -0
  2239. package/examples/node_modules/webpack/lib/dependencies/RequireEnsureDependency.js +101 -0
  2240. package/examples/node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js +33 -0
  2241. package/examples/node_modules/webpack/lib/dependencies/RequireEnsurePlugin.js +66 -0
  2242. package/examples/node_modules/webpack/lib/dependencies/RequireHeaderDependency.js +57 -0
  2243. package/examples/node_modules/webpack/lib/dependencies/RequireIncludeDependency.js +74 -0
  2244. package/examples/node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js +77 -0
  2245. package/examples/node_modules/webpack/lib/dependencies/RequireIncludePlugin.js +42 -0
  2246. package/examples/node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js +50 -0
  2247. package/examples/node_modules/webpack/lib/dependencies/RequireResolveDependency.js +51 -0
  2248. package/examples/node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js +63 -0
  2249. package/examples/node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js +77 -0
  2250. package/examples/node_modules/webpack/lib/dependencies/StaticExportsDependency.js +66 -0
  2251. package/examples/node_modules/webpack/lib/dependencies/SystemPlugin.js +140 -0
  2252. package/examples/node_modules/webpack/lib/dependencies/SystemRuntimeModule.js +35 -0
  2253. package/examples/node_modules/webpack/lib/dependencies/URLDependency.js +158 -0
  2254. package/examples/node_modules/webpack/lib/dependencies/URLPlugin.js +114 -0
  2255. package/examples/node_modules/webpack/lib/dependencies/UnsupportedDependency.js +69 -0
  2256. package/examples/node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js +79 -0
  2257. package/examples/node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js +100 -0
  2258. package/examples/node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js +80 -0
  2259. package/examples/node_modules/webpack/lib/dependencies/WorkerDependency.js +89 -0
  2260. package/examples/node_modules/webpack/lib/dependencies/WorkerPlugin.js +416 -0
  2261. package/examples/node_modules/webpack/lib/dependencies/getFunctionExpression.js +55 -0
  2262. package/examples/node_modules/webpack/lib/dependencies/processExportInfo.js +65 -0
  2263. package/examples/node_modules/webpack/lib/electron/ElectronTargetPlugin.js +68 -0
  2264. package/examples/node_modules/webpack/lib/errors/BuildCycleError.js +27 -0
  2265. package/examples/node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js +29 -0
  2266. package/examples/node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js +202 -0
  2267. package/examples/node_modules/webpack/lib/esm/ModuleChunkLoadingPlugin.js +76 -0
  2268. package/examples/node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js +242 -0
  2269. package/examples/node_modules/webpack/lib/formatLocation.js +68 -0
  2270. package/examples/node_modules/webpack/lib/hmr/HotModuleReplacement.runtime.js +394 -0
  2271. package/examples/node_modules/webpack/lib/hmr/HotModuleReplacementRuntimeModule.js +42 -0
  2272. package/examples/node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js +462 -0
  2273. package/examples/node_modules/webpack/lib/hmr/LazyCompilationPlugin.js +418 -0
  2274. package/examples/node_modules/webpack/lib/hmr/lazyCompilationBackend.js +143 -0
  2275. package/examples/node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js +80 -0
  2276. package/examples/node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js +70 -0
  2277. package/examples/node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js +93 -0
  2278. package/examples/node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js +77 -0
  2279. package/examples/node_modules/webpack/lib/ids/IdHelpers.js +477 -0
  2280. package/examples/node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js +81 -0
  2281. package/examples/node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js +58 -0
  2282. package/examples/node_modules/webpack/lib/ids/NaturalChunkIdsPlugin.js +33 -0
  2283. package/examples/node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js +39 -0
  2284. package/examples/node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js +80 -0
  2285. package/examples/node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js +159 -0
  2286. package/examples/node_modules/webpack/lib/ids/SyncModuleIdsPlugin.js +140 -0
  2287. package/examples/node_modules/webpack/lib/index.js +579 -0
  2288. package/examples/node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js +154 -0
  2289. package/examples/node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js +480 -0
  2290. package/examples/node_modules/webpack/lib/javascript/ChunkHelpers.js +33 -0
  2291. package/examples/node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js +172 -0
  2292. package/examples/node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js +118 -0
  2293. package/examples/node_modules/webpack/lib/javascript/JavascriptGenerator.js +225 -0
  2294. package/examples/node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js +1370 -0
  2295. package/examples/node_modules/webpack/lib/javascript/JavascriptParser.js +3776 -0
  2296. package/examples/node_modules/webpack/lib/javascript/JavascriptParserHelpers.js +107 -0
  2297. package/examples/node_modules/webpack/lib/javascript/StartupHelpers.js +132 -0
  2298. package/examples/node_modules/webpack/lib/json/JsonData.js +41 -0
  2299. package/examples/node_modules/webpack/lib/json/JsonGenerator.js +191 -0
  2300. package/examples/node_modules/webpack/lib/json/JsonModulesPlugin.js +50 -0
  2301. package/examples/node_modules/webpack/lib/json/JsonParser.js +57 -0
  2302. package/examples/node_modules/webpack/lib/library/AbstractLibraryPlugin.js +297 -0
  2303. package/examples/node_modules/webpack/lib/library/AmdLibraryPlugin.js +162 -0
  2304. package/examples/node_modules/webpack/lib/library/AssignLibraryPlugin.js +375 -0
  2305. package/examples/node_modules/webpack/lib/library/EnableLibraryPlugin.js +248 -0
  2306. package/examples/node_modules/webpack/lib/library/ExportPropertyLibraryPlugin.js +113 -0
  2307. package/examples/node_modules/webpack/lib/library/JsonpLibraryPlugin.js +88 -0
  2308. package/examples/node_modules/webpack/lib/library/ModuleLibraryPlugin.js +104 -0
  2309. package/examples/node_modules/webpack/lib/library/SystemLibraryPlugin.js +233 -0
  2310. package/examples/node_modules/webpack/lib/library/UmdLibraryPlugin.js +324 -0
  2311. package/examples/node_modules/webpack/lib/logging/Logger.js +163 -0
  2312. package/examples/node_modules/webpack/lib/logging/createConsoleLogger.js +228 -0
  2313. package/examples/node_modules/webpack/lib/logging/runtime.js +46 -0
  2314. package/examples/node_modules/webpack/lib/logging/truncateArgs.js +82 -0
  2315. package/examples/node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js +105 -0
  2316. package/examples/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js +60 -0
  2317. package/examples/node_modules/webpack/lib/node/NodeSourcePlugin.js +19 -0
  2318. package/examples/node_modules/webpack/lib/node/NodeTargetPlugin.js +81 -0
  2319. package/examples/node_modules/webpack/lib/node/NodeTemplatePlugin.js +33 -0
  2320. package/examples/node_modules/webpack/lib/node/NodeWatchFileSystem.js +194 -0
  2321. package/examples/node_modules/webpack/lib/node/ReadFileChunkLoadingRuntimeModule.js +291 -0
  2322. package/examples/node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js +107 -0
  2323. package/examples/node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js +93 -0
  2324. package/examples/node_modules/webpack/lib/node/RequireChunkLoadingRuntimeModule.js +238 -0
  2325. package/examples/node_modules/webpack/lib/node/nodeConsole.js +143 -0
  2326. package/examples/node_modules/webpack/lib/optimize/AggressiveMergingPlugin.js +92 -0
  2327. package/examples/node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js +329 -0
  2328. package/examples/node_modules/webpack/lib/optimize/ConcatenatedModule.js +1879 -0
  2329. package/examples/node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js +85 -0
  2330. package/examples/node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js +118 -0
  2331. package/examples/node_modules/webpack/lib/optimize/InnerGraph.js +346 -0
  2332. package/examples/node_modules/webpack/lib/optimize/InnerGraphPlugin.js +368 -0
  2333. package/examples/node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js +256 -0
  2334. package/examples/node_modules/webpack/lib/optimize/MangleExportsPlugin.js +177 -0
  2335. package/examples/node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js +115 -0
  2336. package/examples/node_modules/webpack/lib/optimize/MinChunkSizePlugin.js +113 -0
  2337. package/examples/node_modules/webpack/lib/optimize/MinMaxSizeWarning.js +30 -0
  2338. package/examples/node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js +866 -0
  2339. package/examples/node_modules/webpack/lib/optimize/RealContentHashPlugin.js +408 -0
  2340. package/examples/node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js +57 -0
  2341. package/examples/node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js +121 -0
  2342. package/examples/node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js +44 -0
  2343. package/examples/node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js +337 -0
  2344. package/examples/node_modules/webpack/lib/optimize/SplitChunksPlugin.js +1723 -0
  2345. package/examples/node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js +32 -0
  2346. package/examples/node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js +35 -0
  2347. package/examples/node_modules/webpack/lib/performance/NoAsyncChunksWarning.js +20 -0
  2348. package/examples/node_modules/webpack/lib/performance/SizeLimitsPlugin.js +165 -0
  2349. package/examples/node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js +44 -0
  2350. package/examples/node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js +95 -0
  2351. package/examples/node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js +52 -0
  2352. package/examples/node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js +49 -0
  2353. package/examples/node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js +43 -0
  2354. package/examples/node_modules/webpack/lib/rules/BasicEffectRulePlugin.js +39 -0
  2355. package/examples/node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js +47 -0
  2356. package/examples/node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js +47 -0
  2357. package/examples/node_modules/webpack/lib/rules/RuleSetCompiler.js +379 -0
  2358. package/examples/node_modules/webpack/lib/rules/UseEffectRulePlugin.js +194 -0
  2359. package/examples/node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js +156 -0
  2360. package/examples/node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js +69 -0
  2361. package/examples/node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js +27 -0
  2362. package/examples/node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js +37 -0
  2363. package/examples/node_modules/webpack/lib/runtime/CompatRuntimeModule.js +78 -0
  2364. package/examples/node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js +66 -0
  2365. package/examples/node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js +36 -0
  2366. package/examples/node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js +36 -0
  2367. package/examples/node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js +39 -0
  2368. package/examples/node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js +54 -0
  2369. package/examples/node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js +282 -0
  2370. package/examples/node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js +29 -0
  2371. package/examples/node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js +44 -0
  2372. package/examples/node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js +76 -0
  2373. package/examples/node_modules/webpack/lib/runtime/GlobalRuntimeModule.js +47 -0
  2374. package/examples/node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js +32 -0
  2375. package/examples/node_modules/webpack/lib/runtime/HelperRuntimeModule.js +18 -0
  2376. package/examples/node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js +158 -0
  2377. package/examples/node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js +36 -0
  2378. package/examples/node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js +76 -0
  2379. package/examples/node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js +30 -0
  2380. package/examples/node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js +41 -0
  2381. package/examples/node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js +28 -0
  2382. package/examples/node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js +74 -0
  2383. package/examples/node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js +67 -0
  2384. package/examples/node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js +50 -0
  2385. package/examples/node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js +25 -0
  2386. package/examples/node_modules/webpack/lib/schemes/DataUriPlugin.js +56 -0
  2387. package/examples/node_modules/webpack/lib/schemes/FileUriPlugin.js +49 -0
  2388. package/examples/node_modules/webpack/lib/schemes/HttpUriPlugin.js +1118 -0
  2389. package/examples/node_modules/webpack/lib/serialization/ArraySerializer.js +22 -0
  2390. package/examples/node_modules/webpack/lib/serialization/BinaryMiddleware.js +950 -0
  2391. package/examples/node_modules/webpack/lib/serialization/DateObjectSerializer.js +16 -0
  2392. package/examples/node_modules/webpack/lib/serialization/ErrorObjectSerializer.js +27 -0
  2393. package/examples/node_modules/webpack/lib/serialization/FileMiddleware.js +665 -0
  2394. package/examples/node_modules/webpack/lib/serialization/MapObjectSerializer.js +31 -0
  2395. package/examples/node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js +33 -0
  2396. package/examples/node_modules/webpack/lib/serialization/ObjectMiddleware.js +734 -0
  2397. package/examples/node_modules/webpack/lib/serialization/PlainObjectSerializer.js +80 -0
  2398. package/examples/node_modules/webpack/lib/serialization/RegExpObjectSerializer.js +17 -0
  2399. package/examples/node_modules/webpack/lib/serialization/Serializer.js +46 -0
  2400. package/examples/node_modules/webpack/lib/serialization/SerializerMiddleware.js +153 -0
  2401. package/examples/node_modules/webpack/lib/serialization/SetObjectSerializer.js +24 -0
  2402. package/examples/node_modules/webpack/lib/serialization/SingleItemMiddleware.js +34 -0
  2403. package/examples/node_modules/webpack/lib/serialization/types.js +13 -0
  2404. package/examples/node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js +30 -0
  2405. package/examples/node_modules/webpack/lib/sharing/ConsumeSharedModule.js +251 -0
  2406. package/examples/node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js +319 -0
  2407. package/examples/node_modules/webpack/lib/sharing/ConsumeSharedRuntimeModule.js +360 -0
  2408. package/examples/node_modules/webpack/lib/sharing/ProvideForSharedDependency.js +34 -0
  2409. package/examples/node_modules/webpack/lib/sharing/ProvideSharedDependency.js +63 -0
  2410. package/examples/node_modules/webpack/lib/sharing/ProvideSharedModule.js +184 -0
  2411. package/examples/node_modules/webpack/lib/sharing/ProvideSharedModuleFactory.js +35 -0
  2412. package/examples/node_modules/webpack/lib/sharing/ProvideSharedPlugin.js +237 -0
  2413. package/examples/node_modules/webpack/lib/sharing/SharePlugin.js +92 -0
  2414. package/examples/node_modules/webpack/lib/sharing/ShareRuntimeModule.js +141 -0
  2415. package/examples/node_modules/webpack/lib/sharing/resolveMatchedConfigs.js +91 -0
  2416. package/examples/node_modules/webpack/lib/sharing/utils.js +90 -0
  2417. package/examples/node_modules/webpack/lib/stats/DefaultStatsFactoryPlugin.js +2398 -0
  2418. package/examples/node_modules/webpack/lib/stats/DefaultStatsPresetPlugin.js +326 -0
  2419. package/examples/node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js +1380 -0
  2420. package/examples/node_modules/webpack/lib/stats/StatsFactory.js +292 -0
  2421. package/examples/node_modules/webpack/lib/stats/StatsPrinter.js +249 -0
  2422. package/examples/node_modules/webpack/lib/util/ArrayHelpers.js +44 -0
  2423. package/examples/node_modules/webpack/lib/util/ArrayQueue.js +111 -0
  2424. package/examples/node_modules/webpack/lib/util/AsyncQueue.js +373 -0
  2425. package/examples/node_modules/webpack/lib/util/Hash.js +35 -0
  2426. package/examples/node_modules/webpack/lib/util/IterableHelpers.js +46 -0
  2427. package/examples/node_modules/webpack/lib/util/LazyBucketSortedSet.js +236 -0
  2428. package/examples/node_modules/webpack/lib/util/LazySet.js +208 -0
  2429. package/examples/node_modules/webpack/lib/util/MapHelpers.js +22 -0
  2430. package/examples/node_modules/webpack/lib/util/ParallelismFactorCalculator.js +59 -0
  2431. package/examples/node_modules/webpack/lib/util/Queue.js +51 -0
  2432. package/examples/node_modules/webpack/lib/util/Semaphore.js +54 -0
  2433. package/examples/node_modules/webpack/lib/util/SetHelpers.js +94 -0
  2434. package/examples/node_modules/webpack/lib/util/SortableSet.js +160 -0
  2435. package/examples/node_modules/webpack/lib/util/StackedCacheMap.js +110 -0
  2436. package/examples/node_modules/webpack/lib/util/StackedMap.js +166 -0
  2437. package/examples/node_modules/webpack/lib/util/StringXor.js +55 -0
  2438. package/examples/node_modules/webpack/lib/util/TupleQueue.js +61 -0
  2439. package/examples/node_modules/webpack/lib/util/TupleSet.js +150 -0
  2440. package/examples/node_modules/webpack/lib/util/URLAbsoluteSpecifier.js +87 -0
  2441. package/examples/node_modules/webpack/lib/util/WeakTupleMap.js +171 -0
  2442. package/examples/node_modules/webpack/lib/util/binarySearchBounds.js +86 -0
  2443. package/examples/node_modules/webpack/lib/util/cleverMerge.js +568 -0
  2444. package/examples/node_modules/webpack/lib/util/comparators.js +459 -0
  2445. package/examples/node_modules/webpack/lib/util/compileBooleanMatcher.js +206 -0
  2446. package/examples/node_modules/webpack/lib/util/create-schema-validation.js +28 -0
  2447. package/examples/node_modules/webpack/lib/util/createHash.js +171 -0
  2448. package/examples/node_modules/webpack/lib/util/deprecation.js +264 -0
  2449. package/examples/node_modules/webpack/lib/util/deterministicGrouping.js +508 -0
  2450. package/examples/node_modules/webpack/lib/util/extractUrlAndGlobal.js +18 -0
  2451. package/examples/node_modules/webpack/lib/util/findGraphRoots.js +229 -0
  2452. package/examples/node_modules/webpack/lib/util/fs.js +337 -0
  2453. package/examples/node_modules/webpack/lib/util/hash/BatchedHash.js +68 -0
  2454. package/examples/node_modules/webpack/lib/util/hash/md4.js +20 -0
  2455. package/examples/node_modules/webpack/lib/util/hash/wasm-hash.js +163 -0
  2456. package/examples/node_modules/webpack/lib/util/hash/xxhash64.js +20 -0
  2457. package/examples/node_modules/webpack/lib/util/identifier.js +377 -0
  2458. package/examples/node_modules/webpack/lib/util/internalSerializables.js +211 -0
  2459. package/examples/node_modules/webpack/lib/util/makeSerializable.js +30 -0
  2460. package/examples/node_modules/webpack/lib/util/memoize.js +32 -0
  2461. package/examples/node_modules/webpack/lib/util/nonNumericOnlyHash.js +22 -0
  2462. package/examples/node_modules/webpack/lib/util/numberHash.js +45 -0
  2463. package/examples/node_modules/webpack/lib/util/objectToMap.js +15 -0
  2464. package/examples/node_modules/webpack/lib/util/processAsyncTree.js +62 -0
  2465. package/examples/node_modules/webpack/lib/util/propertyAccess.js +78 -0
  2466. package/examples/node_modules/webpack/lib/util/registerExternalSerializer.js +337 -0
  2467. package/examples/node_modules/webpack/lib/util/runtime.js +623 -0
  2468. package/examples/node_modules/webpack/lib/util/semver.js +484 -0
  2469. package/examples/node_modules/webpack/lib/util/serialization.js +128 -0
  2470. package/examples/node_modules/webpack/lib/util/smartGrouping.js +206 -0
  2471. package/examples/node_modules/webpack/lib/util/source.js +61 -0
  2472. package/examples/node_modules/webpack/lib/validateSchema.js +175 -0
  2473. package/examples/node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js +118 -0
  2474. package/examples/node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js +78 -0
  2475. package/examples/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js +53 -0
  2476. package/examples/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +194 -0
  2477. package/examples/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js +198 -0
  2478. package/examples/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js +75 -0
  2479. package/examples/node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js +16 -0
  2480. package/examples/node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js +372 -0
  2481. package/examples/node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js +82 -0
  2482. package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js +501 -0
  2483. package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyInInitialChunkError.js +106 -0
  2484. package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyJavascriptGenerator.js +216 -0
  2485. package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyModulesPlugin.js +142 -0
  2486. package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyParser.js +192 -0
  2487. package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js +65 -0
  2488. package/examples/node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js +62 -0
  2489. package/examples/node_modules/webpack/lib/web/FetchCompileWasmPlugin.js +71 -0
  2490. package/examples/node_modules/webpack/lib/web/JsonpChunkLoadingPlugin.js +91 -0
  2491. package/examples/node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js +450 -0
  2492. package/examples/node_modules/webpack/lib/web/JsonpTemplatePlugin.js +38 -0
  2493. package/examples/node_modules/webpack/lib/webpack.js +171 -0
  2494. package/examples/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js +94 -0
  2495. package/examples/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js +238 -0
  2496. package/examples/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js +25 -0
  2497. package/examples/node_modules/webpack/module.d.ts +215 -0
  2498. package/examples/node_modules/webpack/package.json +242 -0
  2499. package/examples/node_modules/webpack/schemas/WebpackOptions.check.d.ts +7 -0
  2500. package/examples/node_modules/webpack/schemas/WebpackOptions.check.js +6 -0
  2501. package/examples/node_modules/webpack/schemas/WebpackOptions.json +5321 -0
  2502. package/examples/node_modules/webpack/schemas/_container.json +155 -0
  2503. package/examples/node_modules/webpack/schemas/_sharing.json +118 -0
  2504. package/examples/node_modules/webpack/schemas/plugins/BannerPlugin.check.d.ts +7 -0
  2505. package/examples/node_modules/webpack/schemas/plugins/BannerPlugin.check.js +6 -0
  2506. package/examples/node_modules/webpack/schemas/plugins/BannerPlugin.json +103 -0
  2507. package/examples/node_modules/webpack/schemas/plugins/DllPlugin.check.d.ts +7 -0
  2508. package/examples/node_modules/webpack/schemas/plugins/DllPlugin.check.js +6 -0
  2509. package/examples/node_modules/webpack/schemas/plugins/DllPlugin.json +36 -0
  2510. package/examples/node_modules/webpack/schemas/plugins/DllReferencePlugin.check.d.ts +7 -0
  2511. package/examples/node_modules/webpack/schemas/plugins/DllReferencePlugin.check.js +6 -0
  2512. package/examples/node_modules/webpack/schemas/plugins/DllReferencePlugin.json +206 -0
  2513. package/examples/node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.check.d.ts +7 -0
  2514. package/examples/node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.check.js +6 -0
  2515. package/examples/node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.json +44 -0
  2516. package/examples/node_modules/webpack/schemas/plugins/IgnorePlugin.check.d.ts +7 -0
  2517. package/examples/node_modules/webpack/schemas/plugins/IgnorePlugin.check.js +6 -0
  2518. package/examples/node_modules/webpack/schemas/plugins/IgnorePlugin.json +34 -0
  2519. package/examples/node_modules/webpack/schemas/plugins/JsonModulesPluginParser.check.d.ts +7 -0
  2520. package/examples/node_modules/webpack/schemas/plugins/JsonModulesPluginParser.check.js +6 -0
  2521. package/examples/node_modules/webpack/schemas/plugins/JsonModulesPluginParser.json +12 -0
  2522. package/examples/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.d.ts +7 -0
  2523. package/examples/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.js +6 -0
  2524. package/examples/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.json +27 -0
  2525. package/examples/node_modules/webpack/schemas/plugins/ProgressPlugin.check.d.ts +7 -0
  2526. package/examples/node_modules/webpack/schemas/plugins/ProgressPlugin.check.js +6 -0
  2527. package/examples/node_modules/webpack/schemas/plugins/ProgressPlugin.json +65 -0
  2528. package/examples/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.d.ts +7 -0
  2529. package/examples/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.js +6 -0
  2530. package/examples/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json +143 -0
  2531. package/examples/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.d.ts +7 -0
  2532. package/examples/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.js +6 -0
  2533. package/examples/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.json +25 -0
  2534. package/examples/node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.d.ts +7 -0
  2535. package/examples/node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.js +6 -0
  2536. package/examples/node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.json +3 -0
  2537. package/examples/node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.d.ts +7 -0
  2538. package/examples/node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js +6 -0
  2539. package/examples/node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.json +3 -0
  2540. package/examples/node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.d.ts +7 -0
  2541. package/examples/node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.js +6 -0
  2542. package/examples/node_modules/webpack/schemas/plugins/asset/AssetParserOptions.json +3 -0
  2543. package/examples/node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.d.ts +7 -0
  2544. package/examples/node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js +6 -0
  2545. package/examples/node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.json +3 -0
  2546. package/examples/node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.d.ts +7 -0
  2547. package/examples/node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.js +6 -0
  2548. package/examples/node_modules/webpack/schemas/plugins/container/ContainerPlugin.json +286 -0
  2549. package/examples/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.d.ts +7 -0
  2550. package/examples/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.js +6 -0
  2551. package/examples/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json +128 -0
  2552. package/examples/node_modules/webpack/schemas/plugins/container/ExternalsType.check.d.ts +7 -0
  2553. package/examples/node_modules/webpack/schemas/plugins/container/ExternalsType.check.js +6 -0
  2554. package/examples/node_modules/webpack/schemas/plugins/container/ExternalsType.json +3 -0
  2555. package/examples/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.d.ts +7 -0
  2556. package/examples/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.js +6 -0
  2557. package/examples/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.json +513 -0
  2558. package/examples/node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.d.ts +7 -0
  2559. package/examples/node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.js +6 -0
  2560. package/examples/node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.json +3 -0
  2561. package/examples/node_modules/webpack/schemas/plugins/css/CssParserOptions.check.d.ts +7 -0
  2562. package/examples/node_modules/webpack/schemas/plugins/css/CssParserOptions.check.js +6 -0
  2563. package/examples/node_modules/webpack/schemas/plugins/css/CssParserOptions.json +3 -0
  2564. package/examples/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.d.ts +7 -0
  2565. package/examples/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.js +6 -0
  2566. package/examples/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.json +12 -0
  2567. package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.d.ts +7 -0
  2568. package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js +6 -0
  2569. package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.json +11 -0
  2570. package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.d.ts +7 -0
  2571. package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js +6 -0
  2572. package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json +11 -0
  2573. package/examples/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.d.ts +7 -0
  2574. package/examples/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js +6 -0
  2575. package/examples/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json +23 -0
  2576. package/examples/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.d.ts +7 -0
  2577. package/examples/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.js +6 -0
  2578. package/examples/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json +21 -0
  2579. package/examples/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.d.ts +7 -0
  2580. package/examples/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.js +6 -0
  2581. package/examples/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json +20 -0
  2582. package/examples/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.d.ts +7 -0
  2583. package/examples/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.js +6 -0
  2584. package/examples/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.json +74 -0
  2585. package/examples/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.d.ts +7 -0
  2586. package/examples/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js +6 -0
  2587. package/examples/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json +120 -0
  2588. package/examples/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.d.ts +7 -0
  2589. package/examples/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.js +6 -0
  2590. package/examples/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json +94 -0
  2591. package/examples/node_modules/webpack/schemas/plugins/sharing/SharePlugin.check.d.ts +7 -0
  2592. package/examples/node_modules/webpack/schemas/plugins/sharing/SharePlugin.check.js +6 -0
  2593. package/examples/node_modules/webpack/schemas/plugins/sharing/SharePlugin.json +133 -0
  2594. package/examples/node_modules/webpack/types.d.ts +13072 -0
  2595. package/examples/node_modules/webpack-cli/README.md +45 -14
  2596. package/examples/node_modules/webpack-cli/bin/cli.js +9 -32
  2597. package/examples/node_modules/webpack-cli/lib/bootstrap.js +12 -15
  2598. package/examples/node_modules/webpack-cli/lib/index.js +3 -3
  2599. package/examples/node_modules/webpack-cli/lib/plugins/CLIPlugin.js +101 -68
  2600. package/examples/node_modules/webpack-cli/lib/utils/dynamic-import-loader.js +7 -7
  2601. package/examples/node_modules/webpack-cli/lib/webpack-cli.js +2093 -1553
  2602. package/examples/node_modules/webpack-cli/node_modules/commander/CHANGELOG.md +440 -0
  2603. package/examples/node_modules/webpack-cli/node_modules/commander/LICENSE +22 -0
  2604. package/examples/node_modules/webpack-cli/node_modules/commander/Readme.md +917 -0
  2605. package/examples/node_modules/{commander → webpack-cli/node_modules/commander}/esm.mjs +0 -0
  2606. package/examples/node_modules/webpack-cli/node_modules/commander/index.js +2217 -0
  2607. package/examples/node_modules/{commander → webpack-cli/node_modules/commander}/package-support.json +0 -0
  2608. package/examples/node_modules/webpack-cli/node_modules/commander/package.json +68 -0
  2609. package/examples/node_modules/webpack-cli/node_modules/commander/typings/index.d.ts +627 -0
  2610. package/examples/node_modules/webpack-cli/package.json +30 -63
  2611. package/examples/node_modules/webpack-merge/CHANGELOG.md +5 -0
  2612. package/examples/node_modules/webpack-merge/README.md +3 -3
  2613. package/examples/node_modules/webpack-merge/dist/index.d.ts +4 -4
  2614. package/examples/node_modules/webpack-merge/dist/index.js +8 -7
  2615. package/examples/node_modules/webpack-merge/dist/index.js.map +1 -1
  2616. package/examples/node_modules/webpack-merge/dist/join-arrays.js +7 -6
  2617. package/examples/node_modules/webpack-merge/dist/join-arrays.js.map +1 -1
  2618. package/examples/node_modules/webpack-merge/dist/types.d.ts +1 -0
  2619. package/examples/node_modules/webpack-merge/dist/unique.js +5 -4
  2620. package/examples/node_modules/webpack-merge/dist/unique.js.map +1 -1
  2621. package/examples/node_modules/webpack-merge/dist/utils.d.ts +1 -1
  2622. package/examples/node_modules/webpack-merge/package.json +37 -65
  2623. package/examples/node_modules/webpack-sources/LICENSE +21 -0
  2624. package/examples/node_modules/webpack-sources/README.md +228 -0
  2625. package/examples/node_modules/webpack-sources/lib/CachedSource.js +274 -0
  2626. package/examples/node_modules/webpack-sources/lib/CompatSource.js +66 -0
  2627. package/examples/node_modules/webpack-sources/lib/ConcatSource.js +319 -0
  2628. package/examples/node_modules/webpack-sources/lib/OriginalSource.js +135 -0
  2629. package/examples/node_modules/webpack-sources/lib/PrefixSource.js +114 -0
  2630. package/examples/node_modules/webpack-sources/lib/RawSource.js +81 -0
  2631. package/examples/node_modules/webpack-sources/lib/ReplaceSource.js +467 -0
  2632. package/examples/node_modules/webpack-sources/lib/SizeOnlySource.js +42 -0
  2633. package/examples/node_modules/webpack-sources/lib/Source.js +38 -0
  2634. package/examples/node_modules/webpack-sources/lib/SourceMapSource.js +247 -0
  2635. package/examples/node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js +206 -0
  2636. package/examples/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js +129 -0
  2637. package/examples/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js +33 -0
  2638. package/examples/node_modules/webpack-sources/lib/helpers/getName.js +14 -0
  2639. package/examples/node_modules/webpack-sources/lib/helpers/getSource.js +17 -0
  2640. package/examples/node_modules/webpack-sources/lib/helpers/readMappings.js +116 -0
  2641. package/examples/node_modules/webpack-sources/lib/helpers/splitIntoLines.js +21 -0
  2642. package/examples/node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js +41 -0
  2643. package/examples/node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js +102 -0
  2644. package/examples/node_modules/webpack-sources/lib/helpers/streamChunks.js +36 -0
  2645. package/examples/node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js +329 -0
  2646. package/examples/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js +34 -0
  2647. package/examples/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js +412 -0
  2648. package/examples/node_modules/webpack-sources/lib/index.js +30 -0
  2649. package/examples/node_modules/webpack-sources/package.json +58 -0
  2650. package/examples/node_modules/which/package.json +22 -55
  2651. package/examples/node_modules/wildcard/package.json +22 -51
  2652. package/lib/browser/math.js +6 -6
  2653. package/lib/browser/math.js.map +1 -1
  2654. package/lib/cjs/expression/embeddedDocs/function/matrix/forEach.js +1 -1
  2655. package/lib/cjs/expression/node/FunctionNode.js +30 -8
  2656. package/lib/cjs/function/arithmetic/sign.js +4 -0
  2657. package/lib/cjs/function/string/format.js +3 -0
  2658. package/lib/cjs/header.js +2 -2
  2659. package/lib/cjs/type/unit/Unit.js +67 -79
  2660. package/lib/cjs/utils/string.js +17 -4
  2661. package/lib/cjs/version.js +1 -1
  2662. package/lib/esm/expression/embeddedDocs/function/matrix/forEach.js +1 -1
  2663. package/lib/esm/expression/node/FunctionNode.js +29 -9
  2664. package/lib/esm/function/arithmetic/sign.js +4 -0
  2665. package/lib/esm/function/string/format.js +3 -0
  2666. package/lib/esm/type/unit/Unit.js +67 -79
  2667. package/lib/esm/utils/string.js +18 -4
  2668. package/lib/esm/version.js +1 -1
  2669. package/package.json +2 -2
  2670. package/examples/node_modules/@discoveryjs/json-ext/CHANGELOG.md +0 -42
  2671. package/examples/node_modules/@webpack-cli/configtest/CHANGELOG.md +0 -18
  2672. package/examples/node_modules/@webpack-cli/configtest/LICENSE +0 -20
  2673. package/examples/node_modules/@webpack-cli/info/CHANGELOG.md +0 -61
  2674. package/examples/node_modules/@webpack-cli/info/LICENSE +0 -20
  2675. package/examples/node_modules/@webpack-cli/serve/CHANGELOG.md +0 -93
  2676. package/examples/node_modules/@webpack-cli/serve/LICENSE +0 -20
  2677. package/examples/node_modules/@webpack-cli/serve/lib/startDevServer.d.ts +0 -12
  2678. package/examples/node_modules/@webpack-cli/serve/lib/startDevServer.js +0 -113
  2679. package/examples/node_modules/ansi-colors/LICENSE +0 -21
  2680. package/examples/node_modules/ansi-colors/README.md +0 -315
  2681. package/examples/node_modules/ansi-colors/index.js +0 -177
  2682. package/examples/node_modules/ansi-colors/package.json +0 -152
  2683. package/examples/node_modules/ansi-colors/symbols.js +0 -70
  2684. package/examples/node_modules/ansi-colors/types/index.d.ts +0 -161
  2685. package/examples/node_modules/enquirer/CHANGELOG.md +0 -135
  2686. package/examples/node_modules/enquirer/LICENSE +0 -21
  2687. package/examples/node_modules/enquirer/README.md +0 -1752
  2688. package/examples/node_modules/enquirer/index.d.ts +0 -151
  2689. package/examples/node_modules/enquirer/index.js +0 -250
  2690. package/examples/node_modules/enquirer/lib/ansi.js +0 -116
  2691. package/examples/node_modules/enquirer/lib/combos.js +0 -75
  2692. package/examples/node_modules/enquirer/lib/completer.js +0 -52
  2693. package/examples/node_modules/enquirer/lib/interpolate.js +0 -266
  2694. package/examples/node_modules/enquirer/lib/keypress.js +0 -243
  2695. package/examples/node_modules/enquirer/lib/placeholder.js +0 -63
  2696. package/examples/node_modules/enquirer/lib/prompt.js +0 -485
  2697. package/examples/node_modules/enquirer/lib/prompts/autocomplete.js +0 -113
  2698. package/examples/node_modules/enquirer/lib/prompts/basicauth.js +0 -41
  2699. package/examples/node_modules/enquirer/lib/prompts/confirm.js +0 -13
  2700. package/examples/node_modules/enquirer/lib/prompts/editable.js +0 -136
  2701. package/examples/node_modules/enquirer/lib/prompts/form.js +0 -196
  2702. package/examples/node_modules/enquirer/lib/prompts/index.js +0 -28
  2703. package/examples/node_modules/enquirer/lib/prompts/input.js +0 -55
  2704. package/examples/node_modules/enquirer/lib/prompts/invisible.js +0 -11
  2705. package/examples/node_modules/enquirer/lib/prompts/list.js +0 -36
  2706. package/examples/node_modules/enquirer/lib/prompts/multiselect.js +0 -11
  2707. package/examples/node_modules/enquirer/lib/prompts/numeral.js +0 -1
  2708. package/examples/node_modules/enquirer/lib/prompts/password.js +0 -18
  2709. package/examples/node_modules/enquirer/lib/prompts/quiz.js +0 -37
  2710. package/examples/node_modules/enquirer/lib/prompts/scale.js +0 -237
  2711. package/examples/node_modules/enquirer/lib/prompts/select.js +0 -139
  2712. package/examples/node_modules/enquirer/lib/prompts/snippet.js +0 -185
  2713. package/examples/node_modules/enquirer/lib/prompts/sort.js +0 -37
  2714. package/examples/node_modules/enquirer/lib/prompts/survey.js +0 -163
  2715. package/examples/node_modules/enquirer/lib/prompts/text.js +0 -1
  2716. package/examples/node_modules/enquirer/lib/prompts/toggle.js +0 -109
  2717. package/examples/node_modules/enquirer/lib/render.js +0 -33
  2718. package/examples/node_modules/enquirer/lib/roles.js +0 -46
  2719. package/examples/node_modules/enquirer/lib/state.js +0 -69
  2720. package/examples/node_modules/enquirer/lib/styles.js +0 -144
  2721. package/examples/node_modules/enquirer/lib/symbols.js +0 -66
  2722. package/examples/node_modules/enquirer/lib/theme.js +0 -11
  2723. package/examples/node_modules/enquirer/lib/timer.js +0 -38
  2724. package/examples/node_modules/enquirer/lib/types/array.js +0 -658
  2725. package/examples/node_modules/enquirer/lib/types/auth.js +0 -29
  2726. package/examples/node_modules/enquirer/lib/types/boolean.js +0 -88
  2727. package/examples/node_modules/enquirer/lib/types/index.js +0 -7
  2728. package/examples/node_modules/enquirer/lib/types/number.js +0 -86
  2729. package/examples/node_modules/enquirer/lib/types/string.js +0 -185
  2730. package/examples/node_modules/enquirer/lib/utils.js +0 -268
  2731. package/examples/node_modules/enquirer/package.json +0 -148
  2732. package/examples/node_modules/is-core-module/.eslintignore +0 -1
  2733. package/examples/node_modules/is-core-module/.github/FUNDING.yml +0 -12
  2734. package/examples/node_modules/is-core-module/.github/workflows/node-4+.yml +0 -54
  2735. package/examples/node_modules/is-core-module/.github/workflows/node-iojs.yml +0 -58
  2736. package/examples/node_modules/is-core-module/.github/workflows/node-pretest.yml +0 -26
  2737. package/examples/node_modules/is-core-module/.github/workflows/node-zero.yml +0 -58
  2738. package/examples/node_modules/is-core-module/.github/workflows/rebase.yml +0 -15
  2739. package/examples/node_modules/is-core-module/.github/workflows/require-allow-edits.yml +0 -14
  2740. package/examples/node_modules/path-parse/.travis.yml +0 -9
  2741. package/examples/node_modules/path-parse/test.js +0 -77
  2742. package/examples/node_modules/resolve/.eslintignore +0 -1
  2743. package/examples/node_modules/resolve/test/.eslintrc +0 -5
  2744. package/examples/node_modules/signal-exit/CHANGELOG.md +0 -35
  2745. package/examples/node_modules/v8-compile-cache/CHANGELOG.md +0 -53
  2746. package/examples/node_modules/v8-compile-cache/LICENSE +0 -21
  2747. package/examples/node_modules/v8-compile-cache/README.md +0 -55
  2748. package/examples/node_modules/v8-compile-cache/package.json +0 -66
  2749. package/examples/node_modules/v8-compile-cache/v8-compile-cache.js +0 -371
  2750. package/examples/node_modules/webpack-cli/CHANGELOG.md +0 -501
  2751. package/examples/node_modules/webpack-cli/LICENSE +0 -20
  2752. package/examples/node_modules/webpack-cli/lib/utils/__tests__/get-package-manager.test.js +0 -108
  2753. package/examples/node_modules/webpack-cli/lib/utils/__tests__/prompt-installation.test.js +0 -118
  2754. package/examples/node_modules/webpack-cli/lib/utils/capitalize-first-letter.js +0 -9
  2755. package/examples/node_modules/webpack-cli/lib/utils/get-package-manager.js +0 -65
  2756. package/examples/node_modules/webpack-cli/lib/utils/index.js +0 -49
  2757. package/examples/node_modules/webpack-cli/lib/utils/logger.js +0 -11
  2758. package/examples/node_modules/webpack-cli/lib/utils/package-exists.js +0 -9
  2759. package/examples/node_modules/webpack-cli/lib/utils/prompt-installation.js +0 -58
  2760. package/examples/node_modules/webpack-cli/lib/utils/run-command.js +0 -13
  2761. package/examples/node_modules/webpack-cli/lib/utils/to-kebab-case.js +0 -5
@@ -0,0 +1,3869 @@
1
+ /**
2
+ * The `fs` module enables interacting with the file system in a
3
+ * way modeled on standard POSIX functions.
4
+ *
5
+ * To use the promise-based APIs:
6
+ *
7
+ * ```js
8
+ * import * as fs from 'fs/promises';
9
+ * ```
10
+ *
11
+ * To use the callback and sync APIs:
12
+ *
13
+ * ```js
14
+ * import * as fs from 'fs';
15
+ * ```
16
+ *
17
+ * All file system operations have synchronous, callback, and promise-based
18
+ * forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM).
19
+ * @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/fs.js)
20
+ */
21
+ declare module 'fs' {
22
+ import * as stream from 'node:stream';
23
+ import { Abortable, EventEmitter } from 'node:events';
24
+ import { URL } from 'node:url';
25
+ import * as promises from 'node:fs/promises';
26
+ export { promises };
27
+ /**
28
+ * Valid types for path values in "fs".
29
+ */
30
+ export type PathLike = string | Buffer | URL;
31
+ export type PathOrFileDescriptor = PathLike | number;
32
+ export type TimeLike = string | number | Date;
33
+ export type NoParamCallback = (err: NodeJS.ErrnoException | null) => void;
34
+ export type BufferEncodingOption =
35
+ | 'buffer'
36
+ | {
37
+ encoding: 'buffer';
38
+ };
39
+ export interface ObjectEncodingOptions {
40
+ encoding?: BufferEncoding | null | undefined;
41
+ }
42
+ export type EncodingOption = ObjectEncodingOptions | BufferEncoding | undefined | null;
43
+ export type OpenMode = number | string;
44
+ export type Mode = number | string;
45
+ export interface StatsBase<T> {
46
+ isFile(): boolean;
47
+ isDirectory(): boolean;
48
+ isBlockDevice(): boolean;
49
+ isCharacterDevice(): boolean;
50
+ isSymbolicLink(): boolean;
51
+ isFIFO(): boolean;
52
+ isSocket(): boolean;
53
+ dev: T;
54
+ ino: T;
55
+ mode: T;
56
+ nlink: T;
57
+ uid: T;
58
+ gid: T;
59
+ rdev: T;
60
+ size: T;
61
+ blksize: T;
62
+ blocks: T;
63
+ atimeMs: T;
64
+ mtimeMs: T;
65
+ ctimeMs: T;
66
+ birthtimeMs: T;
67
+ atime: Date;
68
+ mtime: Date;
69
+ ctime: Date;
70
+ birthtime: Date;
71
+ }
72
+ export interface Stats extends StatsBase<number> {}
73
+ /**
74
+ * A `fs.Stats` object provides information about a file.
75
+ *
76
+ * Objects returned from {@link stat}, {@link lstat} and {@link fstat} and
77
+ * their synchronous counterparts are of this type.
78
+ * If `bigint` in the `options` passed to those methods is true, the numeric values
79
+ * will be `bigint` instead of `number`, and the object will contain additional
80
+ * nanosecond-precision properties suffixed with `Ns`.
81
+ *
82
+ * ```console
83
+ * Stats {
84
+ * dev: 2114,
85
+ * ino: 48064969,
86
+ * mode: 33188,
87
+ * nlink: 1,
88
+ * uid: 85,
89
+ * gid: 100,
90
+ * rdev: 0,
91
+ * size: 527,
92
+ * blksize: 4096,
93
+ * blocks: 8,
94
+ * atimeMs: 1318289051000.1,
95
+ * mtimeMs: 1318289051000.1,
96
+ * ctimeMs: 1318289051000.1,
97
+ * birthtimeMs: 1318289051000.1,
98
+ * atime: Mon, 10 Oct 2011 23:24:11 GMT,
99
+ * mtime: Mon, 10 Oct 2011 23:24:11 GMT,
100
+ * ctime: Mon, 10 Oct 2011 23:24:11 GMT,
101
+ * birthtime: Mon, 10 Oct 2011 23:24:11 GMT }
102
+ * ```
103
+ *
104
+ * `bigint` version:
105
+ *
106
+ * ```console
107
+ * BigIntStats {
108
+ * dev: 2114n,
109
+ * ino: 48064969n,
110
+ * mode: 33188n,
111
+ * nlink: 1n,
112
+ * uid: 85n,
113
+ * gid: 100n,
114
+ * rdev: 0n,
115
+ * size: 527n,
116
+ * blksize: 4096n,
117
+ * blocks: 8n,
118
+ * atimeMs: 1318289051000n,
119
+ * mtimeMs: 1318289051000n,
120
+ * ctimeMs: 1318289051000n,
121
+ * birthtimeMs: 1318289051000n,
122
+ * atimeNs: 1318289051000000000n,
123
+ * mtimeNs: 1318289051000000000n,
124
+ * ctimeNs: 1318289051000000000n,
125
+ * birthtimeNs: 1318289051000000000n,
126
+ * atime: Mon, 10 Oct 2011 23:24:11 GMT,
127
+ * mtime: Mon, 10 Oct 2011 23:24:11 GMT,
128
+ * ctime: Mon, 10 Oct 2011 23:24:11 GMT,
129
+ * birthtime: Mon, 10 Oct 2011 23:24:11 GMT }
130
+ * ```
131
+ * @since v0.1.21
132
+ */
133
+ export class Stats {}
134
+ /**
135
+ * A representation of a directory entry, which can be a file or a subdirectory
136
+ * within the directory, as returned by reading from an `fs.Dir`. The
137
+ * directory entry is a combination of the file name and file type pairs.
138
+ *
139
+ * Additionally, when {@link readdir} or {@link readdirSync} is called with
140
+ * the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s.
141
+ * @since v10.10.0
142
+ */
143
+ export class Dirent {
144
+ /**
145
+ * Returns `true` if the `fs.Dirent` object describes a regular file.
146
+ * @since v10.10.0
147
+ */
148
+ isFile(): boolean;
149
+ /**
150
+ * Returns `true` if the `fs.Dirent` object describes a file system
151
+ * directory.
152
+ * @since v10.10.0
153
+ */
154
+ isDirectory(): boolean;
155
+ /**
156
+ * Returns `true` if the `fs.Dirent` object describes a block device.
157
+ * @since v10.10.0
158
+ */
159
+ isBlockDevice(): boolean;
160
+ /**
161
+ * Returns `true` if the `fs.Dirent` object describes a character device.
162
+ * @since v10.10.0
163
+ */
164
+ isCharacterDevice(): boolean;
165
+ /**
166
+ * Returns `true` if the `fs.Dirent` object describes a symbolic link.
167
+ * @since v10.10.0
168
+ */
169
+ isSymbolicLink(): boolean;
170
+ /**
171
+ * Returns `true` if the `fs.Dirent` object describes a first-in-first-out
172
+ * (FIFO) pipe.
173
+ * @since v10.10.0
174
+ */
175
+ isFIFO(): boolean;
176
+ /**
177
+ * Returns `true` if the `fs.Dirent` object describes a socket.
178
+ * @since v10.10.0
179
+ */
180
+ isSocket(): boolean;
181
+ /**
182
+ * The file name that this `fs.Dirent` object refers to. The type of this
183
+ * value is determined by the `options.encoding` passed to {@link readdir} or {@link readdirSync}.
184
+ * @since v10.10.0
185
+ */
186
+ name: string;
187
+ }
188
+ /**
189
+ * A class representing a directory stream.
190
+ *
191
+ * Created by {@link opendir}, {@link opendirSync}, or `fsPromises.opendir()`.
192
+ *
193
+ * ```js
194
+ * import { opendir } from 'fs/promises';
195
+ *
196
+ * try {
197
+ * const dir = await opendir('./');
198
+ * for await (const dirent of dir)
199
+ * console.log(dirent.name);
200
+ * } catch (err) {
201
+ * console.error(err);
202
+ * }
203
+ * ```
204
+ *
205
+ * When using the async iterator, the `fs.Dir` object will be automatically
206
+ * closed after the iterator exits.
207
+ * @since v12.12.0
208
+ */
209
+ export class Dir implements AsyncIterable<Dirent> {
210
+ /**
211
+ * The read-only path of this directory as was provided to {@link opendir},{@link opendirSync}, or `fsPromises.opendir()`.
212
+ * @since v12.12.0
213
+ */
214
+ readonly path: string;
215
+ /**
216
+ * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read.
217
+ */
218
+ [Symbol.asyncIterator](): AsyncIterableIterator<Dirent>;
219
+ /**
220
+ * Asynchronously close the directory's underlying resource handle.
221
+ * Subsequent reads will result in errors.
222
+ *
223
+ * A promise is returned that will be resolved after the resource has been
224
+ * closed.
225
+ * @since v12.12.0
226
+ */
227
+ close(): Promise<void>;
228
+ close(cb: NoParamCallback): void;
229
+ /**
230
+ * Synchronously close the directory's underlying resource handle.
231
+ * Subsequent reads will result in errors.
232
+ * @since v12.12.0
233
+ */
234
+ closeSync(): void;
235
+ /**
236
+ * Asynchronously read the next directory entry via [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) as an `fs.Dirent`.
237
+ *
238
+ * A promise is returned that will be resolved with an `fs.Dirent`, or `null`if there are no more directory entries to read.
239
+ *
240
+ * Directory entries returned by this function are in no particular order as
241
+ * provided by the operating system's underlying directory mechanisms.
242
+ * Entries added or removed while iterating over the directory might not be
243
+ * included in the iteration results.
244
+ * @since v12.12.0
245
+ * @return containing {fs.Dirent|null}
246
+ */
247
+ read(): Promise<Dirent | null>;
248
+ read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void;
249
+ /**
250
+ * Synchronously read the next directory entry as an `fs.Dirent`. See the
251
+ * POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more detail.
252
+ *
253
+ * If there are no more directory entries to read, `null` will be returned.
254
+ *
255
+ * Directory entries returned by this function are in no particular order as
256
+ * provided by the operating system's underlying directory mechanisms.
257
+ * Entries added or removed while iterating over the directory might not be
258
+ * included in the iteration results.
259
+ * @since v12.12.0
260
+ */
261
+ readSync(): Dirent | null;
262
+ }
263
+ /**
264
+ * Class: fs.StatWatcher
265
+ * @since v14.3.0, v12.20.0
266
+ * Extends `EventEmitter`
267
+ * A successful call to {@link watchFile} method will return a new fs.StatWatcher object.
268
+ */
269
+ export interface StatWatcher extends EventEmitter {
270
+ /**
271
+ * When called, requests that the Node.js event loop _not_ exit so long as the `fs.StatWatcher` is active. Calling `watcher.ref()` multiple times will have
272
+ * no effect.
273
+ *
274
+ * By default, all `fs.StatWatcher` objects are "ref'ed", making it normally
275
+ * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been
276
+ * called previously.
277
+ * @since v14.3.0, v12.20.0
278
+ */
279
+ ref(): this;
280
+ /**
281
+ * When called, the active `fs.StatWatcher` object will not require the Node.js
282
+ * event loop to remain active. If there is no other activity keeping the
283
+ * event loop running, the process may exit before the `fs.StatWatcher` object's
284
+ * callback is invoked. Calling `watcher.unref()` multiple times will have
285
+ * no effect.
286
+ * @since v14.3.0, v12.20.0
287
+ */
288
+ unref(): this;
289
+ }
290
+ export interface FSWatcher extends EventEmitter {
291
+ /**
292
+ * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable.
293
+ * @since v0.5.8
294
+ */
295
+ close(): void;
296
+ /**
297
+ * events.EventEmitter
298
+ * 1. change
299
+ * 2. error
300
+ */
301
+ addListener(event: string, listener: (...args: any[]) => void): this;
302
+ addListener(event: 'change', listener: (eventType: string, filename: string | Buffer) => void): this;
303
+ addListener(event: 'error', listener: (error: Error) => void): this;
304
+ addListener(event: 'close', listener: () => void): this;
305
+ on(event: string, listener: (...args: any[]) => void): this;
306
+ on(event: 'change', listener: (eventType: string, filename: string | Buffer) => void): this;
307
+ on(event: 'error', listener: (error: Error) => void): this;
308
+ on(event: 'close', listener: () => void): this;
309
+ once(event: string, listener: (...args: any[]) => void): this;
310
+ once(event: 'change', listener: (eventType: string, filename: string | Buffer) => void): this;
311
+ once(event: 'error', listener: (error: Error) => void): this;
312
+ once(event: 'close', listener: () => void): this;
313
+ prependListener(event: string, listener: (...args: any[]) => void): this;
314
+ prependListener(event: 'change', listener: (eventType: string, filename: string | Buffer) => void): this;
315
+ prependListener(event: 'error', listener: (error: Error) => void): this;
316
+ prependListener(event: 'close', listener: () => void): this;
317
+ prependOnceListener(event: string, listener: (...args: any[]) => void): this;
318
+ prependOnceListener(event: 'change', listener: (eventType: string, filename: string | Buffer) => void): this;
319
+ prependOnceListener(event: 'error', listener: (error: Error) => void): this;
320
+ prependOnceListener(event: 'close', listener: () => void): this;
321
+ }
322
+ /**
323
+ * Instances of `fs.ReadStream` are created and returned using the {@link createReadStream} function.
324
+ * @since v0.1.93
325
+ */
326
+ export class ReadStream extends stream.Readable {
327
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
328
+ /**
329
+ * The number of bytes that have been read so far.
330
+ * @since v6.4.0
331
+ */
332
+ bytesRead: number;
333
+ /**
334
+ * The path to the file the stream is reading from as specified in the first
335
+ * argument to `fs.createReadStream()`. If `path` is passed as a string, then`readStream.path` will be a string. If `path` is passed as a `Buffer`, then`readStream.path` will be a
336
+ * `Buffer`. If `fd` is specified, then`readStream.path` will be `undefined`.
337
+ * @since v0.1.93
338
+ */
339
+ path: string | Buffer;
340
+ /**
341
+ * This property is `true` if the underlying file has not been opened yet,
342
+ * i.e. before the `'ready'` event is emitted.
343
+ * @since v11.2.0, v10.16.0
344
+ */
345
+ pending: boolean;
346
+ /**
347
+ * events.EventEmitter
348
+ * 1. open
349
+ * 2. close
350
+ * 3. ready
351
+ */
352
+ addListener(event: 'close', listener: () => void): this;
353
+ addListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
354
+ addListener(event: 'end', listener: () => void): this;
355
+ addListener(event: 'error', listener: (err: Error) => void): this;
356
+ addListener(event: 'open', listener: (fd: number) => void): this;
357
+ addListener(event: 'pause', listener: () => void): this;
358
+ addListener(event: 'readable', listener: () => void): this;
359
+ addListener(event: 'ready', listener: () => void): this;
360
+ addListener(event: 'resume', listener: () => void): this;
361
+ addListener(event: string | symbol, listener: (...args: any[]) => void): this;
362
+ on(event: 'close', listener: () => void): this;
363
+ on(event: 'data', listener: (chunk: Buffer | string) => void): this;
364
+ on(event: 'end', listener: () => void): this;
365
+ on(event: 'error', listener: (err: Error) => void): this;
366
+ on(event: 'open', listener: (fd: number) => void): this;
367
+ on(event: 'pause', listener: () => void): this;
368
+ on(event: 'readable', listener: () => void): this;
369
+ on(event: 'ready', listener: () => void): this;
370
+ on(event: 'resume', listener: () => void): this;
371
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
372
+ once(event: 'close', listener: () => void): this;
373
+ once(event: 'data', listener: (chunk: Buffer | string) => void): this;
374
+ once(event: 'end', listener: () => void): this;
375
+ once(event: 'error', listener: (err: Error) => void): this;
376
+ once(event: 'open', listener: (fd: number) => void): this;
377
+ once(event: 'pause', listener: () => void): this;
378
+ once(event: 'readable', listener: () => void): this;
379
+ once(event: 'ready', listener: () => void): this;
380
+ once(event: 'resume', listener: () => void): this;
381
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
382
+ prependListener(event: 'close', listener: () => void): this;
383
+ prependListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
384
+ prependListener(event: 'end', listener: () => void): this;
385
+ prependListener(event: 'error', listener: (err: Error) => void): this;
386
+ prependListener(event: 'open', listener: (fd: number) => void): this;
387
+ prependListener(event: 'pause', listener: () => void): this;
388
+ prependListener(event: 'readable', listener: () => void): this;
389
+ prependListener(event: 'ready', listener: () => void): this;
390
+ prependListener(event: 'resume', listener: () => void): this;
391
+ prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
392
+ prependOnceListener(event: 'close', listener: () => void): this;
393
+ prependOnceListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
394
+ prependOnceListener(event: 'end', listener: () => void): this;
395
+ prependOnceListener(event: 'error', listener: (err: Error) => void): this;
396
+ prependOnceListener(event: 'open', listener: (fd: number) => void): this;
397
+ prependOnceListener(event: 'pause', listener: () => void): this;
398
+ prependOnceListener(event: 'readable', listener: () => void): this;
399
+ prependOnceListener(event: 'ready', listener: () => void): this;
400
+ prependOnceListener(event: 'resume', listener: () => void): this;
401
+ prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
402
+ }
403
+ /**
404
+ * * Extends `stream.Writable`
405
+ *
406
+ * Instances of `fs.WriteStream` are created and returned using the {@link createWriteStream} function.
407
+ * @since v0.1.93
408
+ */
409
+ export class WriteStream extends stream.Writable {
410
+ /**
411
+ * Closes `writeStream`. Optionally accepts a
412
+ * callback that will be executed once the `writeStream`is closed.
413
+ * @since v0.9.4
414
+ */
415
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
416
+ /**
417
+ * The number of bytes written so far. Does not include data that is still queued
418
+ * for writing.
419
+ * @since v0.4.7
420
+ */
421
+ bytesWritten: number;
422
+ /**
423
+ * The path to the file the stream is writing to as specified in the first
424
+ * argument to {@link createWriteStream}. If `path` is passed as a string, then`writeStream.path` will be a string. If `path` is passed as a `Buffer`, then`writeStream.path` will be a
425
+ * `Buffer`.
426
+ * @since v0.1.93
427
+ */
428
+ path: string | Buffer;
429
+ /**
430
+ * This property is `true` if the underlying file has not been opened yet,
431
+ * i.e. before the `'ready'` event is emitted.
432
+ * @since v11.2.0
433
+ */
434
+ pending: boolean;
435
+ /**
436
+ * events.EventEmitter
437
+ * 1. open
438
+ * 2. close
439
+ * 3. ready
440
+ */
441
+ addListener(event: 'close', listener: () => void): this;
442
+ addListener(event: 'drain', listener: () => void): this;
443
+ addListener(event: 'error', listener: (err: Error) => void): this;
444
+ addListener(event: 'finish', listener: () => void): this;
445
+ addListener(event: 'open', listener: (fd: number) => void): this;
446
+ addListener(event: 'pipe', listener: (src: stream.Readable) => void): this;
447
+ addListener(event: 'ready', listener: () => void): this;
448
+ addListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
449
+ addListener(event: string | symbol, listener: (...args: any[]) => void): this;
450
+ on(event: 'close', listener: () => void): this;
451
+ on(event: 'drain', listener: () => void): this;
452
+ on(event: 'error', listener: (err: Error) => void): this;
453
+ on(event: 'finish', listener: () => void): this;
454
+ on(event: 'open', listener: (fd: number) => void): this;
455
+ on(event: 'pipe', listener: (src: stream.Readable) => void): this;
456
+ on(event: 'ready', listener: () => void): this;
457
+ on(event: 'unpipe', listener: (src: stream.Readable) => void): this;
458
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
459
+ once(event: 'close', listener: () => void): this;
460
+ once(event: 'drain', listener: () => void): this;
461
+ once(event: 'error', listener: (err: Error) => void): this;
462
+ once(event: 'finish', listener: () => void): this;
463
+ once(event: 'open', listener: (fd: number) => void): this;
464
+ once(event: 'pipe', listener: (src: stream.Readable) => void): this;
465
+ once(event: 'ready', listener: () => void): this;
466
+ once(event: 'unpipe', listener: (src: stream.Readable) => void): this;
467
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
468
+ prependListener(event: 'close', listener: () => void): this;
469
+ prependListener(event: 'drain', listener: () => void): this;
470
+ prependListener(event: 'error', listener: (err: Error) => void): this;
471
+ prependListener(event: 'finish', listener: () => void): this;
472
+ prependListener(event: 'open', listener: (fd: number) => void): this;
473
+ prependListener(event: 'pipe', listener: (src: stream.Readable) => void): this;
474
+ prependListener(event: 'ready', listener: () => void): this;
475
+ prependListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
476
+ prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
477
+ prependOnceListener(event: 'close', listener: () => void): this;
478
+ prependOnceListener(event: 'drain', listener: () => void): this;
479
+ prependOnceListener(event: 'error', listener: (err: Error) => void): this;
480
+ prependOnceListener(event: 'finish', listener: () => void): this;
481
+ prependOnceListener(event: 'open', listener: (fd: number) => void): this;
482
+ prependOnceListener(event: 'pipe', listener: (src: stream.Readable) => void): this;
483
+ prependOnceListener(event: 'ready', listener: () => void): this;
484
+ prependOnceListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
485
+ prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
486
+ }
487
+ /**
488
+ * Asynchronously rename file at `oldPath` to the pathname provided
489
+ * as `newPath`. In the case that `newPath` already exists, it will
490
+ * be overwritten. If there is a directory at `newPath`, an error will
491
+ * be raised instead. No arguments other than a possible exception are
492
+ * given to the completion callback.
493
+ *
494
+ * See also: [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html).
495
+ *
496
+ * ```js
497
+ * import { rename } from 'fs';
498
+ *
499
+ * rename('oldFile.txt', 'newFile.txt', (err) => {
500
+ * if (err) throw err;
501
+ * console.log('Rename complete!');
502
+ * });
503
+ * ```
504
+ * @since v0.0.2
505
+ */
506
+ export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
507
+ export namespace rename {
508
+ /**
509
+ * Asynchronous rename(2) - Change the name or location of a file or directory.
510
+ * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
511
+ * URL support is _experimental_.
512
+ * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
513
+ * URL support is _experimental_.
514
+ */
515
+ function __promisify__(oldPath: PathLike, newPath: PathLike): Promise<void>;
516
+ }
517
+ /**
518
+ * Renames the file from `oldPath` to `newPath`. Returns `undefined`.
519
+ *
520
+ * See the POSIX [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html) documentation for more details.
521
+ * @since v0.1.21
522
+ */
523
+ export function renameSync(oldPath: PathLike, newPath: PathLike): void;
524
+ /**
525
+ * Truncates the file. No arguments other than a possible exception are
526
+ * given to the completion callback. A file descriptor can also be passed as the
527
+ * first argument. In this case, `fs.ftruncate()` is called.
528
+ *
529
+ * ```js
530
+ * import { truncate } from 'fs';
531
+ * // Assuming that 'path/file.txt' is a regular file.
532
+ * truncate('path/file.txt', (err) => {
533
+ * if (err) throw err;
534
+ * console.log('path/file.txt was truncated');
535
+ * });
536
+ * ```
537
+ *
538
+ * Passing a file descriptor is deprecated and may result in an error being thrown
539
+ * in the future.
540
+ *
541
+ * See the POSIX [`truncate(2)`](http://man7.org/linux/man-pages/man2/truncate.2.html) documentation for more details.
542
+ * @since v0.8.6
543
+ * @param [len=0]
544
+ */
545
+ export function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void;
546
+ /**
547
+ * Asynchronous truncate(2) - Truncate a file to a specified length.
548
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
549
+ */
550
+ export function truncate(path: PathLike, callback: NoParamCallback): void;
551
+ export namespace truncate {
552
+ /**
553
+ * Asynchronous truncate(2) - Truncate a file to a specified length.
554
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
555
+ * @param len If not specified, defaults to `0`.
556
+ */
557
+ function __promisify__(path: PathLike, len?: number | null): Promise<void>;
558
+ }
559
+ /**
560
+ * Truncates the file. Returns `undefined`. A file descriptor can also be
561
+ * passed as the first argument. In this case, `fs.ftruncateSync()` is called.
562
+ *
563
+ * Passing a file descriptor is deprecated and may result in an error being thrown
564
+ * in the future.
565
+ * @since v0.8.6
566
+ * @param [len=0]
567
+ */
568
+ export function truncateSync(path: PathLike, len?: number | null): void;
569
+ /**
570
+ * Truncates the file descriptor. No arguments other than a possible exception are
571
+ * given to the completion callback.
572
+ *
573
+ * See the POSIX [`ftruncate(2)`](http://man7.org/linux/man-pages/man2/ftruncate.2.html) documentation for more detail.
574
+ *
575
+ * If the file referred to by the file descriptor was larger than `len` bytes, only
576
+ * the first `len` bytes will be retained in the file.
577
+ *
578
+ * For example, the following program retains only the first four bytes of the
579
+ * file:
580
+ *
581
+ * ```js
582
+ * import { open, close, ftruncate } from 'fs';
583
+ *
584
+ * function closeFd(fd) {
585
+ * close(fd, (err) => {
586
+ * if (err) throw err;
587
+ * });
588
+ * }
589
+ *
590
+ * open('temp.txt', 'r+', (err, fd) => {
591
+ * if (err) throw err;
592
+ *
593
+ * try {
594
+ * ftruncate(fd, 4, (err) => {
595
+ * closeFd(fd);
596
+ * if (err) throw err;
597
+ * });
598
+ * } catch (err) {
599
+ * closeFd(fd);
600
+ * if (err) throw err;
601
+ * }
602
+ * });
603
+ * ```
604
+ *
605
+ * If the file previously was shorter than `len` bytes, it is extended, and the
606
+ * extended part is filled with null bytes (`'\0'`):
607
+ *
608
+ * If `len` is negative then `0` will be used.
609
+ * @since v0.8.6
610
+ * @param [len=0]
611
+ */
612
+ export function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void;
613
+ /**
614
+ * Asynchronous ftruncate(2) - Truncate a file to a specified length.
615
+ * @param fd A file descriptor.
616
+ */
617
+ export function ftruncate(fd: number, callback: NoParamCallback): void;
618
+ export namespace ftruncate {
619
+ /**
620
+ * Asynchronous ftruncate(2) - Truncate a file to a specified length.
621
+ * @param fd A file descriptor.
622
+ * @param len If not specified, defaults to `0`.
623
+ */
624
+ function __promisify__(fd: number, len?: number | null): Promise<void>;
625
+ }
626
+ /**
627
+ * Truncates the file descriptor. Returns `undefined`.
628
+ *
629
+ * For detailed information, see the documentation of the asynchronous version of
630
+ * this API: {@link ftruncate}.
631
+ * @since v0.8.6
632
+ * @param [len=0]
633
+ */
634
+ export function ftruncateSync(fd: number, len?: number | null): void;
635
+ /**
636
+ * Asynchronously changes owner and group of a file. No arguments other than a
637
+ * possible exception are given to the completion callback.
638
+ *
639
+ * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
640
+ * @since v0.1.97
641
+ */
642
+ export function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
643
+ export namespace chown {
644
+ /**
645
+ * Asynchronous chown(2) - Change ownership of a file.
646
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
647
+ */
648
+ function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>;
649
+ }
650
+ /**
651
+ * Synchronously changes owner and group of a file. Returns `undefined`.
652
+ * This is the synchronous version of {@link chown}.
653
+ *
654
+ * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
655
+ * @since v0.1.97
656
+ */
657
+ export function chownSync(path: PathLike, uid: number, gid: number): void;
658
+ /**
659
+ * Sets the owner of the file. No arguments other than a possible exception are
660
+ * given to the completion callback.
661
+ *
662
+ * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail.
663
+ * @since v0.4.7
664
+ */
665
+ export function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void;
666
+ export namespace fchown {
667
+ /**
668
+ * Asynchronous fchown(2) - Change ownership of a file.
669
+ * @param fd A file descriptor.
670
+ */
671
+ function __promisify__(fd: number, uid: number, gid: number): Promise<void>;
672
+ }
673
+ /**
674
+ * Sets the owner of the file. Returns `undefined`.
675
+ *
676
+ * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail.
677
+ * @since v0.4.7
678
+ * @param uid The file's new owner's user id.
679
+ * @param gid The file's new group's group id.
680
+ */
681
+ export function fchownSync(fd: number, uid: number, gid: number): void;
682
+ /**
683
+ * Set the owner of the symbolic link. No arguments other than a possible
684
+ * exception are given to the completion callback.
685
+ *
686
+ * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail.
687
+ */
688
+ export function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
689
+ export namespace lchown {
690
+ /**
691
+ * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
692
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
693
+ */
694
+ function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>;
695
+ }
696
+ /**
697
+ * Set the owner for the path. Returns `undefined`.
698
+ *
699
+ * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more details.
700
+ * @param uid The file's new owner's user id.
701
+ * @param gid The file's new group's group id.
702
+ */
703
+ export function lchownSync(path: PathLike, uid: number, gid: number): void;
704
+ /**
705
+ * Changes the access and modification times of a file in the same way as {@link utimes}, with the difference that if the path refers to a symbolic
706
+ * link, then the link is not dereferenced: instead, the timestamps of the
707
+ * symbolic link itself are changed.
708
+ *
709
+ * No arguments other than a possible exception are given to the completion
710
+ * callback.
711
+ * @since v14.5.0, v12.19.0
712
+ */
713
+ export function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
714
+ export namespace lutimes {
715
+ /**
716
+ * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
717
+ * with the difference that if the path refers to a symbolic link, then the link is not
718
+ * dereferenced: instead, the timestamps of the symbolic link itself are changed.
719
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
720
+ * @param atime The last access time. If a string is provided, it will be coerced to number.
721
+ * @param mtime The last modified time. If a string is provided, it will be coerced to number.
722
+ */
723
+ function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise<void>;
724
+ }
725
+ /**
726
+ * Change the file system timestamps of the symbolic link referenced by `path`.
727
+ * Returns `undefined`, or throws an exception when parameters are incorrect or
728
+ * the operation fails. This is the synchronous version of {@link lutimes}.
729
+ * @since v14.5.0, v12.19.0
730
+ */
731
+ export function lutimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
732
+ /**
733
+ * Asynchronously changes the permissions of a file. No arguments other than a
734
+ * possible exception are given to the completion callback.
735
+ *
736
+ * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail.
737
+ *
738
+ * ```js
739
+ * import { chmod } from 'fs';
740
+ *
741
+ * chmod('my_file.txt', 0o775, (err) => {
742
+ * if (err) throw err;
743
+ * console.log('The permissions for file "my_file.txt" have been changed!');
744
+ * });
745
+ * ```
746
+ * @since v0.1.30
747
+ */
748
+ export function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
749
+ export namespace chmod {
750
+ /**
751
+ * Asynchronous chmod(2) - Change permissions of a file.
752
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
753
+ * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
754
+ */
755
+ function __promisify__(path: PathLike, mode: Mode): Promise<void>;
756
+ }
757
+ /**
758
+ * For detailed information, see the documentation of the asynchronous version of
759
+ * this API: {@link chmod}.
760
+ *
761
+ * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail.
762
+ * @since v0.6.7
763
+ */
764
+ export function chmodSync(path: PathLike, mode: Mode): void;
765
+ /**
766
+ * Sets the permissions on the file. No arguments other than a possible exception
767
+ * are given to the completion callback.
768
+ *
769
+ * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
770
+ * @since v0.4.7
771
+ */
772
+ export function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void;
773
+ export namespace fchmod {
774
+ /**
775
+ * Asynchronous fchmod(2) - Change permissions of a file.
776
+ * @param fd A file descriptor.
777
+ * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
778
+ */
779
+ function __promisify__(fd: number, mode: Mode): Promise<void>;
780
+ }
781
+ /**
782
+ * Sets the permissions on the file. Returns `undefined`.
783
+ *
784
+ * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
785
+ * @since v0.4.7
786
+ */
787
+ export function fchmodSync(fd: number, mode: Mode): void;
788
+ /**
789
+ * Changes the permissions on a symbolic link. No arguments other than a possible
790
+ * exception are given to the completion callback.
791
+ *
792
+ * This method is only implemented on macOS.
793
+ *
794
+ * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
795
+ * @deprecated Since v0.4.7
796
+ */
797
+ export function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
798
+ /** @deprecated */
799
+ export namespace lchmod {
800
+ /**
801
+ * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
802
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
803
+ * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
804
+ */
805
+ function __promisify__(path: PathLike, mode: Mode): Promise<void>;
806
+ }
807
+ /**
808
+ * Changes the permissions on a symbolic link. Returns `undefined`.
809
+ *
810
+ * This method is only implemented on macOS.
811
+ *
812
+ * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
813
+ * @deprecated Since v0.4.7
814
+ */
815
+ export function lchmodSync(path: PathLike, mode: Mode): void;
816
+ /**
817
+ * Asynchronous [`stat(2)`](http://man7.org/linux/man-pages/man2/stat.2.html). The callback gets two arguments `(err, stats)` where`stats` is an `fs.Stats` object.
818
+ *
819
+ * In case of an error, the `err.code` will be one of `Common System Errors`.
820
+ *
821
+ * Using `fs.stat()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()` or `fs.writeFile()` is not recommended.
822
+ * Instead, user code should open/read/write the file directly and handle the
823
+ * error raised if the file is not available.
824
+ *
825
+ * To check if a file exists without manipulating it afterwards, {@link access} is recommended.
826
+ *
827
+ * For example, given the following directory structure:
828
+ *
829
+ * ```text
830
+ * - txtDir
831
+ * -- file.txt
832
+ * - app.js
833
+ * ```
834
+ *
835
+ * The next program will check for the stats of the given paths:
836
+ *
837
+ * ```js
838
+ * import { stat } from 'fs';
839
+ *
840
+ * const pathsToCheck = ['./txtDir', './txtDir/file.txt'];
841
+ *
842
+ * for (let i = 0; i < pathsToCheck.length; i++) {
843
+ * stat(pathsToCheck[i], (err, stats) => {
844
+ * console.log(stats.isDirectory());
845
+ * console.log(stats);
846
+ * });
847
+ * }
848
+ * ```
849
+ *
850
+ * The resulting output will resemble:
851
+ *
852
+ * ```console
853
+ * true
854
+ * Stats {
855
+ * dev: 16777220,
856
+ * mode: 16877,
857
+ * nlink: 3,
858
+ * uid: 501,
859
+ * gid: 20,
860
+ * rdev: 0,
861
+ * blksize: 4096,
862
+ * ino: 14214262,
863
+ * size: 96,
864
+ * blocks: 0,
865
+ * atimeMs: 1561174653071.963,
866
+ * mtimeMs: 1561174614583.3518,
867
+ * ctimeMs: 1561174626623.5366,
868
+ * birthtimeMs: 1561174126937.2893,
869
+ * atime: 2019-06-22T03:37:33.072Z,
870
+ * mtime: 2019-06-22T03:36:54.583Z,
871
+ * ctime: 2019-06-22T03:37:06.624Z,
872
+ * birthtime: 2019-06-22T03:28:46.937Z
873
+ * }
874
+ * false
875
+ * Stats {
876
+ * dev: 16777220,
877
+ * mode: 33188,
878
+ * nlink: 1,
879
+ * uid: 501,
880
+ * gid: 20,
881
+ * rdev: 0,
882
+ * blksize: 4096,
883
+ * ino: 14214074,
884
+ * size: 8,
885
+ * blocks: 8,
886
+ * atimeMs: 1561174616618.8555,
887
+ * mtimeMs: 1561174614584,
888
+ * ctimeMs: 1561174614583.8145,
889
+ * birthtimeMs: 1561174007710.7478,
890
+ * atime: 2019-06-22T03:36:56.619Z,
891
+ * mtime: 2019-06-22T03:36:54.584Z,
892
+ * ctime: 2019-06-22T03:36:54.584Z,
893
+ * birthtime: 2019-06-22T03:26:47.711Z
894
+ * }
895
+ * ```
896
+ * @since v0.0.2
897
+ */
898
+ export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
899
+ export function stat(
900
+ path: PathLike,
901
+ options:
902
+ | (StatOptions & {
903
+ bigint?: false | undefined;
904
+ })
905
+ | undefined,
906
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void
907
+ ): void;
908
+ export function stat(
909
+ path: PathLike,
910
+ options: StatOptions & {
911
+ bigint: true;
912
+ },
913
+ callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void
914
+ ): void;
915
+ export function stat(path: PathLike, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
916
+ export namespace stat {
917
+ /**
918
+ * Asynchronous stat(2) - Get file status.
919
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
920
+ */
921
+ function __promisify__(
922
+ path: PathLike,
923
+ options?: StatOptions & {
924
+ bigint?: false | undefined;
925
+ }
926
+ ): Promise<Stats>;
927
+ function __promisify__(
928
+ path: PathLike,
929
+ options: StatOptions & {
930
+ bigint: true;
931
+ }
932
+ ): Promise<BigIntStats>;
933
+ function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
934
+ }
935
+ export interface StatSyncFn extends Function {
936
+ (path: PathLike, options?: undefined): Stats;
937
+ (
938
+ path: PathLike,
939
+ options?: StatSyncOptions & {
940
+ bigint?: false | undefined;
941
+ throwIfNoEntry: false;
942
+ }
943
+ ): Stats | undefined;
944
+ (
945
+ path: PathLike,
946
+ options: StatSyncOptions & {
947
+ bigint: true;
948
+ throwIfNoEntry: false;
949
+ }
950
+ ): BigIntStats | undefined;
951
+ (
952
+ path: PathLike,
953
+ options?: StatSyncOptions & {
954
+ bigint?: false | undefined;
955
+ }
956
+ ): Stats;
957
+ (
958
+ path: PathLike,
959
+ options: StatSyncOptions & {
960
+ bigint: true;
961
+ }
962
+ ): BigIntStats;
963
+ (
964
+ path: PathLike,
965
+ options: StatSyncOptions & {
966
+ bigint: boolean;
967
+ throwIfNoEntry?: false | undefined;
968
+ }
969
+ ): Stats | BigIntStats;
970
+ (path: PathLike, options?: StatSyncOptions): Stats | BigIntStats | undefined;
971
+ }
972
+ /**
973
+ * Synchronous stat(2) - Get file status.
974
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
975
+ */
976
+ export const statSync: StatSyncFn;
977
+ /**
978
+ * Invokes the callback with the `fs.Stats` for the file descriptor.
979
+ *
980
+ * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
981
+ * @since v0.1.95
982
+ */
983
+ export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
984
+ export function fstat(
985
+ fd: number,
986
+ options:
987
+ | (StatOptions & {
988
+ bigint?: false | undefined;
989
+ })
990
+ | undefined,
991
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void
992
+ ): void;
993
+ export function fstat(
994
+ fd: number,
995
+ options: StatOptions & {
996
+ bigint: true;
997
+ },
998
+ callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void
999
+ ): void;
1000
+ export function fstat(fd: number, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
1001
+ export namespace fstat {
1002
+ /**
1003
+ * Asynchronous fstat(2) - Get file status.
1004
+ * @param fd A file descriptor.
1005
+ */
1006
+ function __promisify__(
1007
+ fd: number,
1008
+ options?: StatOptions & {
1009
+ bigint?: false | undefined;
1010
+ }
1011
+ ): Promise<Stats>;
1012
+ function __promisify__(
1013
+ fd: number,
1014
+ options: StatOptions & {
1015
+ bigint: true;
1016
+ }
1017
+ ): Promise<BigIntStats>;
1018
+ function __promisify__(fd: number, options?: StatOptions): Promise<Stats | BigIntStats>;
1019
+ }
1020
+ /**
1021
+ * Retrieves the `fs.Stats` for the file descriptor.
1022
+ *
1023
+ * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
1024
+ * @since v0.1.95
1025
+ */
1026
+ export function fstatSync(
1027
+ fd: number,
1028
+ options?: StatOptions & {
1029
+ bigint?: false | undefined;
1030
+ }
1031
+ ): Stats;
1032
+ export function fstatSync(
1033
+ fd: number,
1034
+ options: StatOptions & {
1035
+ bigint: true;
1036
+ }
1037
+ ): BigIntStats;
1038
+ export function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
1039
+ /**
1040
+ * Retrieves the `fs.Stats` for the symbolic link referred to by the path.
1041
+ * The callback gets two arguments `(err, stats)` where `stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic
1042
+ * link, then the link itself is stat-ed, not the file that it refers to.
1043
+ *
1044
+ * See the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) documentation for more details.
1045
+ * @since v0.1.30
1046
+ */
1047
+ export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
1048
+ export function lstat(
1049
+ path: PathLike,
1050
+ options:
1051
+ | (StatOptions & {
1052
+ bigint?: false | undefined;
1053
+ })
1054
+ | undefined,
1055
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void
1056
+ ): void;
1057
+ export function lstat(
1058
+ path: PathLike,
1059
+ options: StatOptions & {
1060
+ bigint: true;
1061
+ },
1062
+ callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void
1063
+ ): void;
1064
+ export function lstat(path: PathLike, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
1065
+ export namespace lstat {
1066
+ /**
1067
+ * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
1068
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1069
+ */
1070
+ function __promisify__(
1071
+ path: PathLike,
1072
+ options?: StatOptions & {
1073
+ bigint?: false | undefined;
1074
+ }
1075
+ ): Promise<Stats>;
1076
+ function __promisify__(
1077
+ path: PathLike,
1078
+ options: StatOptions & {
1079
+ bigint: true;
1080
+ }
1081
+ ): Promise<BigIntStats>;
1082
+ function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
1083
+ }
1084
+ /**
1085
+ * Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
1086
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1087
+ */
1088
+ export const lstatSync: StatSyncFn;
1089
+ /**
1090
+ * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. No arguments other than
1091
+ * a possible
1092
+ * exception are given to the completion callback.
1093
+ * @since v0.1.31
1094
+ */
1095
+ export function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
1096
+ export namespace link {
1097
+ /**
1098
+ * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
1099
+ * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
1100
+ * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
1101
+ */
1102
+ function __promisify__(existingPath: PathLike, newPath: PathLike): Promise<void>;
1103
+ }
1104
+ /**
1105
+ * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. Returns `undefined`.
1106
+ * @since v0.1.31
1107
+ */
1108
+ export function linkSync(existingPath: PathLike, newPath: PathLike): void;
1109
+ /**
1110
+ * Creates the link called `path` pointing to `target`. No arguments other than a
1111
+ * possible exception are given to the completion callback.
1112
+ *
1113
+ * See the POSIX [`symlink(2)`](http://man7.org/linux/man-pages/man2/symlink.2.html) documentation for more details.
1114
+ *
1115
+ * The `type` argument is only available on Windows and ignored on other platforms.
1116
+ * It can be set to `'dir'`, `'file'`, or `'junction'`. If the `type` argument is
1117
+ * not set, Node.js will autodetect `target` type and use `'file'` or `'dir'`. If
1118
+ * the `target` does not exist, `'file'` will be used. Windows junction points
1119
+ * require the destination path to be absolute. When using `'junction'`, the`target` argument will automatically be normalized to absolute path.
1120
+ *
1121
+ * Relative targets are relative to the link’s parent directory.
1122
+ *
1123
+ * ```js
1124
+ * import { symlink } from 'fs';
1125
+ *
1126
+ * symlink('./mew', './example/mewtwo', callback);
1127
+ * ```
1128
+ *
1129
+ * The above example creates a symbolic link `mewtwo` in the `example` which points
1130
+ * to `mew` in the same directory:
1131
+ *
1132
+ * ```bash
1133
+ * $ tree example/
1134
+ * example/
1135
+ * ├── mew
1136
+ * └── mewtwo -> ./mew
1137
+ * ```
1138
+ * @since v0.1.31
1139
+ */
1140
+ export function symlink(target: PathLike, path: PathLike, type: symlink.Type | undefined | null, callback: NoParamCallback): void;
1141
+ /**
1142
+ * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
1143
+ * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
1144
+ * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
1145
+ */
1146
+ export function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void;
1147
+ export namespace symlink {
1148
+ /**
1149
+ * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
1150
+ * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
1151
+ * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
1152
+ * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
1153
+ * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
1154
+ */
1155
+ function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
1156
+ type Type = 'dir' | 'file' | 'junction';
1157
+ }
1158
+ /**
1159
+ * Returns `undefined`.
1160
+ *
1161
+ * For detailed information, see the documentation of the asynchronous version of
1162
+ * this API: {@link symlink}.
1163
+ * @since v0.1.31
1164
+ */
1165
+ export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void;
1166
+ /**
1167
+ * Reads the contents of the symbolic link referred to by `path`. The callback gets
1168
+ * two arguments `(err, linkString)`.
1169
+ *
1170
+ * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details.
1171
+ *
1172
+ * The optional `options` argument can be a string specifying an encoding, or an
1173
+ * object with an `encoding` property specifying the character encoding to use for
1174
+ * the link path passed to the callback. If the `encoding` is set to `'buffer'`,
1175
+ * the link path returned will be passed as a `Buffer` object.
1176
+ * @since v0.1.31
1177
+ */
1178
+ export function readlink(path: PathLike, options: EncodingOption, callback: (err: NodeJS.ErrnoException | null, linkString: string) => void): void;
1179
+ /**
1180
+ * Asynchronous readlink(2) - read value of a symbolic link.
1181
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1182
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1183
+ */
1184
+ export function readlink(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void): void;
1185
+ /**
1186
+ * Asynchronous readlink(2) - read value of a symbolic link.
1187
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1188
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1189
+ */
1190
+ export function readlink(path: PathLike, options: EncodingOption, callback: (err: NodeJS.ErrnoException | null, linkString: string | Buffer) => void): void;
1191
+ /**
1192
+ * Asynchronous readlink(2) - read value of a symbolic link.
1193
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1194
+ */
1195
+ export function readlink(path: PathLike, callback: (err: NodeJS.ErrnoException | null, linkString: string) => void): void;
1196
+ export namespace readlink {
1197
+ /**
1198
+ * Asynchronous readlink(2) - read value of a symbolic link.
1199
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1200
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1201
+ */
1202
+ function __promisify__(path: PathLike, options?: EncodingOption): Promise<string>;
1203
+ /**
1204
+ * Asynchronous readlink(2) - read value of a symbolic link.
1205
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1206
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1207
+ */
1208
+ function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<Buffer>;
1209
+ /**
1210
+ * Asynchronous readlink(2) - read value of a symbolic link.
1211
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1212
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1213
+ */
1214
+ function __promisify__(path: PathLike, options?: EncodingOption): Promise<string | Buffer>;
1215
+ }
1216
+ /**
1217
+ * Returns the symbolic link's string value.
1218
+ *
1219
+ * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details.
1220
+ *
1221
+ * The optional `options` argument can be a string specifying an encoding, or an
1222
+ * object with an `encoding` property specifying the character encoding to use for
1223
+ * the link path returned. If the `encoding` is set to `'buffer'`,
1224
+ * the link path returned will be passed as a `Buffer` object.
1225
+ * @since v0.1.31
1226
+ */
1227
+ export function readlinkSync(path: PathLike, options?: EncodingOption): string;
1228
+ /**
1229
+ * Synchronous readlink(2) - read value of a symbolic link.
1230
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1231
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1232
+ */
1233
+ export function readlinkSync(path: PathLike, options: BufferEncodingOption): Buffer;
1234
+ /**
1235
+ * Synchronous readlink(2) - read value of a symbolic link.
1236
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1237
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1238
+ */
1239
+ export function readlinkSync(path: PathLike, options?: EncodingOption): string | Buffer;
1240
+ /**
1241
+ * Asynchronously computes the canonical pathname by resolving `.`, `..` and
1242
+ * symbolic links.
1243
+ *
1244
+ * A canonical pathname is not necessarily unique. Hard links and bind mounts can
1245
+ * expose a file system entity through many pathnames.
1246
+ *
1247
+ * This function behaves like [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html), with some exceptions:
1248
+ *
1249
+ * 1. No case conversion is performed on case-insensitive file systems.
1250
+ * 2. The maximum number of symbolic links is platform-independent and generally
1251
+ * (much) higher than what the native [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html) implementation supports.
1252
+ *
1253
+ * The `callback` gets two arguments `(err, resolvedPath)`. May use `process.cwd`to resolve relative paths.
1254
+ *
1255
+ * Only paths that can be converted to UTF8 strings are supported.
1256
+ *
1257
+ * The optional `options` argument can be a string specifying an encoding, or an
1258
+ * object with an `encoding` property specifying the character encoding to use for
1259
+ * the path passed to the callback. If the `encoding` is set to `'buffer'`,
1260
+ * the path returned will be passed as a `Buffer` object.
1261
+ *
1262
+ * If `path` resolves to a socket or a pipe, the function will return a system
1263
+ * dependent name for that object.
1264
+ * @since v0.1.31
1265
+ */
1266
+ export function realpath(path: PathLike, options: EncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void;
1267
+ /**
1268
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1269
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1270
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1271
+ */
1272
+ export function realpath(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void;
1273
+ /**
1274
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1275
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1276
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1277
+ */
1278
+ export function realpath(path: PathLike, options: EncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void): void;
1279
+ /**
1280
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1281
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1282
+ */
1283
+ export function realpath(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void;
1284
+ export namespace realpath {
1285
+ /**
1286
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1287
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1288
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1289
+ */
1290
+ function __promisify__(path: PathLike, options?: EncodingOption): Promise<string>;
1291
+ /**
1292
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1293
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1294
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1295
+ */
1296
+ function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<Buffer>;
1297
+ /**
1298
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1299
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1300
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1301
+ */
1302
+ function __promisify__(path: PathLike, options?: EncodingOption): Promise<string | Buffer>;
1303
+ /**
1304
+ * Asynchronous [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html).
1305
+ *
1306
+ * The `callback` gets two arguments `(err, resolvedPath)`.
1307
+ *
1308
+ * Only paths that can be converted to UTF8 strings are supported.
1309
+ *
1310
+ * The optional `options` argument can be a string specifying an encoding, or an
1311
+ * object with an `encoding` property specifying the character encoding to use for
1312
+ * the path passed to the callback. If the `encoding` is set to `'buffer'`,
1313
+ * the path returned will be passed as a `Buffer` object.
1314
+ *
1315
+ * On Linux, when Node.js is linked against musl libc, the procfs file system must
1316
+ * be mounted on `/proc` in order for this function to work. Glibc does not have
1317
+ * this restriction.
1318
+ * @since v9.2.0
1319
+ */
1320
+ function native(path: PathLike, options: EncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void;
1321
+ function native(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void;
1322
+ function native(path: PathLike, options: EncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void): void;
1323
+ function native(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void;
1324
+ }
1325
+ /**
1326
+ * Returns the resolved pathname.
1327
+ *
1328
+ * For detailed information, see the documentation of the asynchronous version of
1329
+ * this API: {@link realpath}.
1330
+ * @since v0.1.31
1331
+ */
1332
+ export function realpathSync(path: PathLike, options?: EncodingOption): string;
1333
+ /**
1334
+ * Synchronous realpath(3) - return the canonicalized absolute pathname.
1335
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1336
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1337
+ */
1338
+ export function realpathSync(path: PathLike, options: BufferEncodingOption): Buffer;
1339
+ /**
1340
+ * Synchronous realpath(3) - return the canonicalized absolute pathname.
1341
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1342
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1343
+ */
1344
+ export function realpathSync(path: PathLike, options?: EncodingOption): string | Buffer;
1345
+ export namespace realpathSync {
1346
+ function native(path: PathLike, options?: EncodingOption): string;
1347
+ function native(path: PathLike, options: BufferEncodingOption): Buffer;
1348
+ function native(path: PathLike, options?: EncodingOption): string | Buffer;
1349
+ }
1350
+ /**
1351
+ * Asynchronously removes a file or symbolic link. No arguments other than a
1352
+ * possible exception are given to the completion callback.
1353
+ *
1354
+ * ```js
1355
+ * import { unlink } from 'fs';
1356
+ * // Assuming that 'path/file.txt' is a regular file.
1357
+ * unlink('path/file.txt', (err) => {
1358
+ * if (err) throw err;
1359
+ * console.log('path/file.txt was deleted');
1360
+ * });
1361
+ * ```
1362
+ *
1363
+ * `fs.unlink()` will not work on a directory, empty or otherwise. To remove a
1364
+ * directory, use {@link rmdir}.
1365
+ *
1366
+ * See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more details.
1367
+ * @since v0.0.2
1368
+ */
1369
+ export function unlink(path: PathLike, callback: NoParamCallback): void;
1370
+ export namespace unlink {
1371
+ /**
1372
+ * Asynchronous unlink(2) - delete a name and possibly the file it refers to.
1373
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1374
+ */
1375
+ function __promisify__(path: PathLike): Promise<void>;
1376
+ }
1377
+ /**
1378
+ * Synchronous [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html). Returns `undefined`.
1379
+ * @since v0.1.21
1380
+ */
1381
+ export function unlinkSync(path: PathLike): void;
1382
+ export interface RmDirOptions {
1383
+ /**
1384
+ * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or
1385
+ * `EPERM` error is encountered, Node.js will retry the operation with a linear
1386
+ * backoff wait of `retryDelay` ms longer on each try. This option represents the
1387
+ * number of retries. This option is ignored if the `recursive` option is not
1388
+ * `true`.
1389
+ * @default 0
1390
+ */
1391
+ maxRetries?: number | undefined;
1392
+ /**
1393
+ * @deprecated since v14.14.0 In future versions of Node.js and will trigger a warning
1394
+ * `fs.rmdir(path, { recursive: true })` will throw if `path` does not exist or is a file.
1395
+ * Use `fs.rm(path, { recursive: true, force: true })` instead.
1396
+ *
1397
+ * If `true`, perform a recursive directory removal. In
1398
+ * recursive mode soperations are retried on failure.
1399
+ * @default false
1400
+ */
1401
+ recursive?: boolean | undefined;
1402
+ /**
1403
+ * The amount of time in milliseconds to wait between retries.
1404
+ * This option is ignored if the `recursive` option is not `true`.
1405
+ * @default 100
1406
+ */
1407
+ retryDelay?: number | undefined;
1408
+ }
1409
+ /**
1410
+ * Asynchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). No arguments other than a possible exception are given
1411
+ * to the completion callback.
1412
+ *
1413
+ * Using `fs.rmdir()` on a file (not a directory) results in an `ENOENT` error on
1414
+ * Windows and an `ENOTDIR` error on POSIX.
1415
+ *
1416
+ * To get a behavior similar to the `rm -rf` Unix command, use {@link rm} with options `{ recursive: true, force: true }`.
1417
+ * @since v0.0.2
1418
+ */
1419
+ export function rmdir(path: PathLike, callback: NoParamCallback): void;
1420
+ export function rmdir(path: PathLike, options: RmDirOptions, callback: NoParamCallback): void;
1421
+ export namespace rmdir {
1422
+ /**
1423
+ * Asynchronous rmdir(2) - delete a directory.
1424
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1425
+ */
1426
+ function __promisify__(path: PathLike, options?: RmDirOptions): Promise<void>;
1427
+ }
1428
+ /**
1429
+ * Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`.
1430
+ *
1431
+ * Using `fs.rmdirSync()` on a file (not a directory) results in an `ENOENT` error
1432
+ * on Windows and an `ENOTDIR` error on POSIX.
1433
+ *
1434
+ * To get a behavior similar to the `rm -rf` Unix command, use {@link rmSync} with options `{ recursive: true, force: true }`.
1435
+ * @since v0.1.21
1436
+ */
1437
+ export function rmdirSync(path: PathLike, options?: RmDirOptions): void;
1438
+ export interface RmOptions {
1439
+ /**
1440
+ * When `true`, exceptions will be ignored if `path` does not exist.
1441
+ * @default false
1442
+ */
1443
+ force?: boolean | undefined;
1444
+ /**
1445
+ * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or
1446
+ * `EPERM` error is encountered, Node.js will retry the operation with a linear
1447
+ * backoff wait of `retryDelay` ms longer on each try. This option represents the
1448
+ * number of retries. This option is ignored if the `recursive` option is not
1449
+ * `true`.
1450
+ * @default 0
1451
+ */
1452
+ maxRetries?: number | undefined;
1453
+ /**
1454
+ * If `true`, perform a recursive directory removal. In
1455
+ * recursive mode, operations are retried on failure.
1456
+ * @default false
1457
+ */
1458
+ recursive?: boolean | undefined;
1459
+ /**
1460
+ * The amount of time in milliseconds to wait between retries.
1461
+ * This option is ignored if the `recursive` option is not `true`.
1462
+ * @default 100
1463
+ */
1464
+ retryDelay?: number | undefined;
1465
+ }
1466
+ /**
1467
+ * Asynchronously removes files and directories (modeled on the standard POSIX `rm`utility). No arguments other than a possible exception are given to the
1468
+ * completion callback.
1469
+ * @since v14.14.0
1470
+ */
1471
+ export function rm(path: PathLike, callback: NoParamCallback): void;
1472
+ export function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void;
1473
+ export namespace rm {
1474
+ /**
1475
+ * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility).
1476
+ */
1477
+ function __promisify__(path: PathLike, options?: RmOptions): Promise<void>;
1478
+ }
1479
+ /**
1480
+ * Synchronously removes files and directories (modeled on the standard POSIX `rm`utility). Returns `undefined`.
1481
+ * @since v14.14.0
1482
+ */
1483
+ export function rmSync(path: PathLike, options?: RmOptions): void;
1484
+ export interface MakeDirectoryOptions {
1485
+ /**
1486
+ * Indicates whether parent folders should be created.
1487
+ * If a folder was created, the path to the first created folder will be returned.
1488
+ * @default false
1489
+ */
1490
+ recursive?: boolean | undefined;
1491
+ /**
1492
+ * A file mode. If a string is passed, it is parsed as an octal integer. If not specified
1493
+ * @default 0o777
1494
+ */
1495
+ mode?: Mode | undefined;
1496
+ }
1497
+ /**
1498
+ * Asynchronously creates a directory.
1499
+ *
1500
+ * The callback is given a possible exception and, if `recursive` is `true`, the
1501
+ * first directory path created, `(err[, path])`.`path` can still be `undefined` when `recursive` is `true`, if no directory was
1502
+ * created.
1503
+ *
1504
+ * The optional `options` argument can be an integer specifying `mode` (permission
1505
+ * and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fs.mkdir()` when `path` is a directory that
1506
+ * exists results in an error only
1507
+ * when `recursive` is false.
1508
+ *
1509
+ * ```js
1510
+ * import { mkdir } from 'fs';
1511
+ *
1512
+ * // Creates /tmp/a/apple, regardless of whether `/tmp` and /tmp/a exist.
1513
+ * mkdir('/tmp/a/apple', { recursive: true }, (err) => {
1514
+ * if (err) throw err;
1515
+ * });
1516
+ * ```
1517
+ *
1518
+ * On Windows, using `fs.mkdir()` on the root directory even with recursion will
1519
+ * result in an error:
1520
+ *
1521
+ * ```js
1522
+ * import { mkdir } from 'fs';
1523
+ *
1524
+ * mkdir('/', { recursive: true }, (err) => {
1525
+ * // => [Error: EPERM: operation not permitted, mkdir 'C:\']
1526
+ * });
1527
+ * ```
1528
+ *
1529
+ * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
1530
+ * @since v0.1.8
1531
+ */
1532
+ export function mkdir(
1533
+ path: PathLike,
1534
+ options: MakeDirectoryOptions & {
1535
+ recursive: true;
1536
+ },
1537
+ callback: (err: NodeJS.ErrnoException | null, path?: string) => void
1538
+ ): void;
1539
+ /**
1540
+ * Asynchronous mkdir(2) - create a directory.
1541
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1542
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1543
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1544
+ */
1545
+ export function mkdir(
1546
+ path: PathLike,
1547
+ options:
1548
+ | Mode
1549
+ | (MakeDirectoryOptions & {
1550
+ recursive?: false | undefined;
1551
+ })
1552
+ | null
1553
+ | undefined,
1554
+ callback: NoParamCallback
1555
+ ): void;
1556
+ /**
1557
+ * Asynchronous mkdir(2) - create a directory.
1558
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1559
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1560
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1561
+ */
1562
+ export function mkdir(path: PathLike, options: Mode | MakeDirectoryOptions | null | undefined, callback: (err: NodeJS.ErrnoException | null, path?: string) => void): void;
1563
+ /**
1564
+ * Asynchronous mkdir(2) - create a directory with a mode of `0o777`.
1565
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1566
+ */
1567
+ export function mkdir(path: PathLike, callback: NoParamCallback): void;
1568
+ export namespace mkdir {
1569
+ /**
1570
+ * Asynchronous mkdir(2) - create a directory.
1571
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1572
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1573
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1574
+ */
1575
+ function __promisify__(
1576
+ path: PathLike,
1577
+ options: MakeDirectoryOptions & {
1578
+ recursive: true;
1579
+ }
1580
+ ): Promise<string | undefined>;
1581
+ /**
1582
+ * Asynchronous mkdir(2) - create a directory.
1583
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1584
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1585
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1586
+ */
1587
+ function __promisify__(
1588
+ path: PathLike,
1589
+ options?:
1590
+ | Mode
1591
+ | (MakeDirectoryOptions & {
1592
+ recursive?: false | undefined;
1593
+ })
1594
+ | null
1595
+ ): Promise<void>;
1596
+ /**
1597
+ * Asynchronous mkdir(2) - create a directory.
1598
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1599
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1600
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1601
+ */
1602
+ function __promisify__(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise<string | undefined>;
1603
+ }
1604
+ /**
1605
+ * Synchronously creates a directory. Returns `undefined`, or if `recursive` is`true`, the first directory path created.
1606
+ * This is the synchronous version of {@link mkdir}.
1607
+ *
1608
+ * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
1609
+ * @since v0.1.21
1610
+ */
1611
+ export function mkdirSync(
1612
+ path: PathLike,
1613
+ options: MakeDirectoryOptions & {
1614
+ recursive: true;
1615
+ }
1616
+ ): string | undefined;
1617
+ /**
1618
+ * Synchronous mkdir(2) - create a directory.
1619
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1620
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1621
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1622
+ */
1623
+ export function mkdirSync(
1624
+ path: PathLike,
1625
+ options?:
1626
+ | Mode
1627
+ | (MakeDirectoryOptions & {
1628
+ recursive?: false | undefined;
1629
+ })
1630
+ | null
1631
+ ): void;
1632
+ /**
1633
+ * Synchronous mkdir(2) - create a directory.
1634
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1635
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1636
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1637
+ */
1638
+ export function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined;
1639
+ /**
1640
+ * Creates a unique temporary directory.
1641
+ *
1642
+ * Generates six random characters to be appended behind a required`prefix` to create a unique temporary directory. Due to platform
1643
+ * inconsistencies, avoid trailing `X` characters in `prefix`. Some platforms,
1644
+ * notably the BSDs, can return more than six random characters, and replace
1645
+ * trailing `X` characters in `prefix` with random characters.
1646
+ *
1647
+ * The created directory path is passed as a string to the callback's second
1648
+ * parameter.
1649
+ *
1650
+ * The optional `options` argument can be a string specifying an encoding, or an
1651
+ * object with an `encoding` property specifying the character encoding to use.
1652
+ *
1653
+ * ```js
1654
+ * import { mkdtemp } from 'fs';
1655
+ *
1656
+ * mkdtemp(path.join(os.tmpdir(), 'foo-'), (err, directory) => {
1657
+ * if (err) throw err;
1658
+ * console.log(directory);
1659
+ * // Prints: /tmp/foo-itXde2 or C:\Users\...\AppData\Local\Temp\foo-itXde2
1660
+ * });
1661
+ * ```
1662
+ *
1663
+ * The `fs.mkdtemp()` method will append the six randomly selected characters
1664
+ * directly to the `prefix` string. For instance, given a directory `/tmp`, if the
1665
+ * intention is to create a temporary directory _within_`/tmp`, the `prefix`must end with a trailing platform-specific path separator
1666
+ * (`require('path').sep`).
1667
+ *
1668
+ * ```js
1669
+ * import { tmpdir } from 'os';
1670
+ * import { mkdtemp } from 'fs';
1671
+ *
1672
+ * // The parent directory for the new temporary directory
1673
+ * const tmpDir = tmpdir();
1674
+ *
1675
+ * // This method is *INCORRECT*:
1676
+ * mkdtemp(tmpDir, (err, directory) => {
1677
+ * if (err) throw err;
1678
+ * console.log(directory);
1679
+ * // Will print something similar to `/tmpabc123`.
1680
+ * // A new temporary directory is created at the file system root
1681
+ * // rather than *within* the /tmp directory.
1682
+ * });
1683
+ *
1684
+ * // This method is *CORRECT*:
1685
+ * import { sep } from 'path';
1686
+ * mkdtemp(`${tmpDir}${sep}`, (err, directory) => {
1687
+ * if (err) throw err;
1688
+ * console.log(directory);
1689
+ * // Will print something similar to `/tmp/abc123`.
1690
+ * // A new temporary directory is created within
1691
+ * // the /tmp directory.
1692
+ * });
1693
+ * ```
1694
+ * @since v5.10.0
1695
+ */
1696
+ export function mkdtemp(prefix: string, options: EncodingOption, callback: (err: NodeJS.ErrnoException | null, folder: string) => void): void;
1697
+ /**
1698
+ * Asynchronously creates a unique temporary directory.
1699
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1700
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1701
+ */
1702
+ export function mkdtemp(
1703
+ prefix: string,
1704
+ options:
1705
+ | 'buffer'
1706
+ | {
1707
+ encoding: 'buffer';
1708
+ },
1709
+ callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void
1710
+ ): void;
1711
+ /**
1712
+ * Asynchronously creates a unique temporary directory.
1713
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1714
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1715
+ */
1716
+ export function mkdtemp(prefix: string, options: EncodingOption, callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void): void;
1717
+ /**
1718
+ * Asynchronously creates a unique temporary directory.
1719
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1720
+ */
1721
+ export function mkdtemp(prefix: string, callback: (err: NodeJS.ErrnoException | null, folder: string) => void): void;
1722
+ export namespace mkdtemp {
1723
+ /**
1724
+ * Asynchronously creates a unique temporary directory.
1725
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1726
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1727
+ */
1728
+ function __promisify__(prefix: string, options?: EncodingOption): Promise<string>;
1729
+ /**
1730
+ * Asynchronously creates a unique temporary directory.
1731
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1732
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1733
+ */
1734
+ function __promisify__(prefix: string, options: BufferEncodingOption): Promise<Buffer>;
1735
+ /**
1736
+ * Asynchronously creates a unique temporary directory.
1737
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1738
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1739
+ */
1740
+ function __promisify__(prefix: string, options?: EncodingOption): Promise<string | Buffer>;
1741
+ }
1742
+ /**
1743
+ * Returns the created directory path.
1744
+ *
1745
+ * For detailed information, see the documentation of the asynchronous version of
1746
+ * this API: {@link mkdtemp}.
1747
+ *
1748
+ * The optional `options` argument can be a string specifying an encoding, or an
1749
+ * object with an `encoding` property specifying the character encoding to use.
1750
+ * @since v5.10.0
1751
+ */
1752
+ export function mkdtempSync(prefix: string, options?: EncodingOption): string;
1753
+ /**
1754
+ * Synchronously creates a unique temporary directory.
1755
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1756
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1757
+ */
1758
+ export function mkdtempSync(prefix: string, options: BufferEncodingOption): Buffer;
1759
+ /**
1760
+ * Synchronously creates a unique temporary directory.
1761
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1762
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1763
+ */
1764
+ export function mkdtempSync(prefix: string, options?: EncodingOption): string | Buffer;
1765
+ /**
1766
+ * Reads the contents of a directory. The callback gets two arguments `(err, files)`where `files` is an array of the names of the files in the directory excluding`'.'` and `'..'`.
1767
+ *
1768
+ * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details.
1769
+ *
1770
+ * The optional `options` argument can be a string specifying an encoding, or an
1771
+ * object with an `encoding` property specifying the character encoding to use for
1772
+ * the filenames passed to the callback. If the `encoding` is set to `'buffer'`,
1773
+ * the filenames returned will be passed as `Buffer` objects.
1774
+ *
1775
+ * If `options.withFileTypes` is set to `true`, the `files` array will contain `fs.Dirent` objects.
1776
+ * @since v0.1.8
1777
+ */
1778
+ export function readdir(
1779
+ path: PathLike,
1780
+ options:
1781
+ | {
1782
+ encoding: BufferEncoding | null;
1783
+ withFileTypes?: false | undefined;
1784
+ }
1785
+ | BufferEncoding
1786
+ | undefined
1787
+ | null,
1788
+ callback: (err: NodeJS.ErrnoException | null, files: string[]) => void
1789
+ ): void;
1790
+ /**
1791
+ * Asynchronous readdir(3) - read a directory.
1792
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1793
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1794
+ */
1795
+ export function readdir(
1796
+ path: PathLike,
1797
+ options:
1798
+ | {
1799
+ encoding: 'buffer';
1800
+ withFileTypes?: false | undefined;
1801
+ }
1802
+ | 'buffer',
1803
+ callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void
1804
+ ): void;
1805
+ /**
1806
+ * Asynchronous readdir(3) - read a directory.
1807
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1808
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1809
+ */
1810
+ export function readdir(
1811
+ path: PathLike,
1812
+ options:
1813
+ | (ObjectEncodingOptions & {
1814
+ withFileTypes?: false | undefined;
1815
+ })
1816
+ | BufferEncoding
1817
+ | undefined
1818
+ | null,
1819
+ callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void
1820
+ ): void;
1821
+ /**
1822
+ * Asynchronous readdir(3) - read a directory.
1823
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1824
+ */
1825
+ export function readdir(path: PathLike, callback: (err: NodeJS.ErrnoException | null, files: string[]) => void): void;
1826
+ /**
1827
+ * Asynchronous readdir(3) - read a directory.
1828
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1829
+ * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
1830
+ */
1831
+ export function readdir(
1832
+ path: PathLike,
1833
+ options: ObjectEncodingOptions & {
1834
+ withFileTypes: true;
1835
+ },
1836
+ callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void
1837
+ ): void;
1838
+ export namespace readdir {
1839
+ /**
1840
+ * Asynchronous readdir(3) - read a directory.
1841
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1842
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1843
+ */
1844
+ function __promisify__(
1845
+ path: PathLike,
1846
+ options?:
1847
+ | {
1848
+ encoding: BufferEncoding | null;
1849
+ withFileTypes?: false | undefined;
1850
+ }
1851
+ | BufferEncoding
1852
+ | null
1853
+ ): Promise<string[]>;
1854
+ /**
1855
+ * Asynchronous readdir(3) - read a directory.
1856
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1857
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1858
+ */
1859
+ function __promisify__(
1860
+ path: PathLike,
1861
+ options:
1862
+ | 'buffer'
1863
+ | {
1864
+ encoding: 'buffer';
1865
+ withFileTypes?: false | undefined;
1866
+ }
1867
+ ): Promise<Buffer[]>;
1868
+ /**
1869
+ * Asynchronous readdir(3) - read a directory.
1870
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1871
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1872
+ */
1873
+ function __promisify__(
1874
+ path: PathLike,
1875
+ options?:
1876
+ | (ObjectEncodingOptions & {
1877
+ withFileTypes?: false | undefined;
1878
+ })
1879
+ | BufferEncoding
1880
+ | null
1881
+ ): Promise<string[] | Buffer[]>;
1882
+ /**
1883
+ * Asynchronous readdir(3) - read a directory.
1884
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1885
+ * @param options If called with `withFileTypes: true` the result data will be an array of Dirent
1886
+ */
1887
+ function __promisify__(
1888
+ path: PathLike,
1889
+ options: ObjectEncodingOptions & {
1890
+ withFileTypes: true;
1891
+ }
1892
+ ): Promise<Dirent[]>;
1893
+ }
1894
+ /**
1895
+ * Reads the contents of the directory.
1896
+ *
1897
+ * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details.
1898
+ *
1899
+ * The optional `options` argument can be a string specifying an encoding, or an
1900
+ * object with an `encoding` property specifying the character encoding to use for
1901
+ * the filenames returned. If the `encoding` is set to `'buffer'`,
1902
+ * the filenames returned will be passed as `Buffer` objects.
1903
+ *
1904
+ * If `options.withFileTypes` is set to `true`, the result will contain `fs.Dirent` objects.
1905
+ * @since v0.1.21
1906
+ */
1907
+ export function readdirSync(
1908
+ path: PathLike,
1909
+ options?:
1910
+ | {
1911
+ encoding: BufferEncoding | null;
1912
+ withFileTypes?: false | undefined;
1913
+ }
1914
+ | BufferEncoding
1915
+ | null
1916
+ ): string[];
1917
+ /**
1918
+ * Synchronous readdir(3) - read a directory.
1919
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1920
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1921
+ */
1922
+ export function readdirSync(
1923
+ path: PathLike,
1924
+ options:
1925
+ | {
1926
+ encoding: 'buffer';
1927
+ withFileTypes?: false | undefined;
1928
+ }
1929
+ | 'buffer'
1930
+ ): Buffer[];
1931
+ /**
1932
+ * Synchronous readdir(3) - read a directory.
1933
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1934
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1935
+ */
1936
+ export function readdirSync(
1937
+ path: PathLike,
1938
+ options?:
1939
+ | (ObjectEncodingOptions & {
1940
+ withFileTypes?: false | undefined;
1941
+ })
1942
+ | BufferEncoding
1943
+ | null
1944
+ ): string[] | Buffer[];
1945
+ /**
1946
+ * Synchronous readdir(3) - read a directory.
1947
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1948
+ * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
1949
+ */
1950
+ export function readdirSync(
1951
+ path: PathLike,
1952
+ options: ObjectEncodingOptions & {
1953
+ withFileTypes: true;
1954
+ }
1955
+ ): Dirent[];
1956
+ /**
1957
+ * Closes the file descriptor. No arguments other than a possible exception are
1958
+ * given to the completion callback.
1959
+ *
1960
+ * Calling `fs.close()` on any file descriptor (`fd`) that is currently in use
1961
+ * through any other `fs` operation may lead to undefined behavior.
1962
+ *
1963
+ * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
1964
+ * @since v0.0.2
1965
+ */
1966
+ export function close(fd: number, callback?: NoParamCallback): void;
1967
+ export namespace close {
1968
+ /**
1969
+ * Asynchronous close(2) - close a file descriptor.
1970
+ * @param fd A file descriptor.
1971
+ */
1972
+ function __promisify__(fd: number): Promise<void>;
1973
+ }
1974
+ /**
1975
+ * Closes the file descriptor. Returns `undefined`.
1976
+ *
1977
+ * Calling `fs.closeSync()` on any file descriptor (`fd`) that is currently in use
1978
+ * through any other `fs` operation may lead to undefined behavior.
1979
+ *
1980
+ * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
1981
+ * @since v0.1.21
1982
+ */
1983
+ export function closeSync(fd: number): void;
1984
+ /**
1985
+ * Asynchronous file open. See the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more details.
1986
+ *
1987
+ * `mode` sets the file mode (permission and sticky bits), but only if the file was
1988
+ * created. On Windows, only the write permission can be manipulated; see {@link chmod}.
1989
+ *
1990
+ * The callback gets two arguments `(err, fd)`.
1991
+ *
1992
+ * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented
1993
+ * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains
1994
+ * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams).
1995
+ *
1996
+ * Functions based on `fs.open()` exhibit this behavior as well:`fs.writeFile()`, `fs.readFile()`, etc.
1997
+ * @since v0.0.2
1998
+ * @param [flags='r'] See `support of file system `flags``.
1999
+ * @param [mode=0o666]
2000
+ */
2001
+ export function open(path: PathLike, flags: OpenMode, mode: Mode | undefined | null, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
2002
+ /**
2003
+ * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
2004
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2005
+ */
2006
+ export function open(path: PathLike, flags: OpenMode, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
2007
+ export namespace open {
2008
+ /**
2009
+ * Asynchronous open(2) - open and possibly create a file.
2010
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2011
+ * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`.
2012
+ */
2013
+ function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise<number>;
2014
+ }
2015
+ /**
2016
+ * Returns an integer representing the file descriptor.
2017
+ *
2018
+ * For detailed information, see the documentation of the asynchronous version of
2019
+ * this API: {@link open}.
2020
+ * @since v0.1.21
2021
+ * @param [flags='r']
2022
+ * @param [mode=0o666]
2023
+ */
2024
+ export function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number;
2025
+ /**
2026
+ * Change the file system timestamps of the object referenced by `path`.
2027
+ *
2028
+ * The `atime` and `mtime` arguments follow these rules:
2029
+ *
2030
+ * * Values can be either numbers representing Unix epoch time in seconds,`Date`s, or a numeric string like `'123456789.0'`.
2031
+ * * If the value can not be converted to a number, or is `NaN`, `Infinity` or`-Infinity`, an `Error` will be thrown.
2032
+ * @since v0.4.2
2033
+ */
2034
+ export function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
2035
+ export namespace utimes {
2036
+ /**
2037
+ * Asynchronously change file timestamps of the file referenced by the supplied path.
2038
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2039
+ * @param atime The last access time. If a string is provided, it will be coerced to number.
2040
+ * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2041
+ */
2042
+ function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise<void>;
2043
+ }
2044
+ /**
2045
+ * Returns `undefined`.
2046
+ *
2047
+ * For detailed information, see the documentation of the asynchronous version of
2048
+ * this API: {@link utimes}.
2049
+ * @since v0.4.2
2050
+ */
2051
+ export function utimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
2052
+ /**
2053
+ * Change the file system timestamps of the object referenced by the supplied file
2054
+ * descriptor. See {@link utimes}.
2055
+ * @since v0.4.2
2056
+ */
2057
+ export function futimes(fd: number, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
2058
+ export namespace futimes {
2059
+ /**
2060
+ * Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
2061
+ * @param fd A file descriptor.
2062
+ * @param atime The last access time. If a string is provided, it will be coerced to number.
2063
+ * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2064
+ */
2065
+ function __promisify__(fd: number, atime: TimeLike, mtime: TimeLike): Promise<void>;
2066
+ }
2067
+ /**
2068
+ * Synchronous version of {@link futimes}. Returns `undefined`.
2069
+ * @since v0.4.2
2070
+ */
2071
+ export function futimesSync(fd: number, atime: TimeLike, mtime: TimeLike): void;
2072
+ /**
2073
+ * Request that all data for the open file descriptor is flushed to the storage
2074
+ * device. The specific implementation is operating system and device specific.
2075
+ * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. No arguments other
2076
+ * than a possible exception are given to the completion callback.
2077
+ * @since v0.1.96
2078
+ */
2079
+ export function fsync(fd: number, callback: NoParamCallback): void;
2080
+ export namespace fsync {
2081
+ /**
2082
+ * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
2083
+ * @param fd A file descriptor.
2084
+ */
2085
+ function __promisify__(fd: number): Promise<void>;
2086
+ }
2087
+ /**
2088
+ * Request that all data for the open file descriptor is flushed to the storage
2089
+ * device. The specific implementation is operating system and device specific.
2090
+ * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. Returns `undefined`.
2091
+ * @since v0.1.96
2092
+ */
2093
+ export function fsyncSync(fd: number): void;
2094
+ /**
2095
+ * Write `buffer` to the file specified by `fd`. If `buffer` is a normal object, it
2096
+ * must have an own `toString` function property.
2097
+ *
2098
+ * `offset` determines the part of the buffer to be written, and `length` is
2099
+ * an integer specifying the number of bytes to write.
2100
+ *
2101
+ * `position` refers to the offset from the beginning of the file where this data
2102
+ * should be written. If `typeof position !== 'number'`, the data will be written
2103
+ * at the current position. See [`pwrite(2)`](http://man7.org/linux/man-pages/man2/pwrite.2.html).
2104
+ *
2105
+ * The callback will be given three arguments `(err, bytesWritten, buffer)` where`bytesWritten` specifies how many _bytes_ were written from `buffer`.
2106
+ *
2107
+ * If this method is invoked as its `util.promisify()` ed version, it returns
2108
+ * a promise for an `Object` with `bytesWritten` and `buffer` properties.
2109
+ *
2110
+ * It is unsafe to use `fs.write()` multiple times on the same file without waiting
2111
+ * for the callback. For this scenario, {@link createWriteStream} is
2112
+ * recommended.
2113
+ *
2114
+ * On Linux, positional writes don't work when the file is opened in append mode.
2115
+ * The kernel ignores the position argument and always appends the data to
2116
+ * the end of the file.
2117
+ * @since v0.0.2
2118
+ */
2119
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(
2120
+ fd: number,
2121
+ buffer: TBuffer,
2122
+ offset: number | undefined | null,
2123
+ length: number | undefined | null,
2124
+ position: number | undefined | null,
2125
+ callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void
2126
+ ): void;
2127
+ /**
2128
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2129
+ * @param fd A file descriptor.
2130
+ * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2131
+ * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2132
+ */
2133
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(
2134
+ fd: number,
2135
+ buffer: TBuffer,
2136
+ offset: number | undefined | null,
2137
+ length: number | undefined | null,
2138
+ callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void
2139
+ ): void;
2140
+ /**
2141
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2142
+ * @param fd A file descriptor.
2143
+ * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2144
+ */
2145
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(
2146
+ fd: number,
2147
+ buffer: TBuffer,
2148
+ offset: number | undefined | null,
2149
+ callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void
2150
+ ): void;
2151
+ /**
2152
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2153
+ * @param fd A file descriptor.
2154
+ */
2155
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(fd: number, buffer: TBuffer, callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void): void;
2156
+ /**
2157
+ * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2158
+ * @param fd A file descriptor.
2159
+ * @param string A string to write.
2160
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2161
+ * @param encoding The expected string encoding.
2162
+ */
2163
+ export function write(
2164
+ fd: number,
2165
+ string: string,
2166
+ position: number | undefined | null,
2167
+ encoding: BufferEncoding | undefined | null,
2168
+ callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void
2169
+ ): void;
2170
+ /**
2171
+ * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2172
+ * @param fd A file descriptor.
2173
+ * @param string A string to write.
2174
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2175
+ */
2176
+ export function write(fd: number, string: string, position: number | undefined | null, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void;
2177
+ /**
2178
+ * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2179
+ * @param fd A file descriptor.
2180
+ * @param string A string to write.
2181
+ */
2182
+ export function write(fd: number, string: string, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void;
2183
+ export namespace write {
2184
+ /**
2185
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2186
+ * @param fd A file descriptor.
2187
+ * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2188
+ * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2189
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2190
+ */
2191
+ function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2192
+ fd: number,
2193
+ buffer?: TBuffer,
2194
+ offset?: number,
2195
+ length?: number,
2196
+ position?: number | null
2197
+ ): Promise<{
2198
+ bytesWritten: number;
2199
+ buffer: TBuffer;
2200
+ }>;
2201
+ /**
2202
+ * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2203
+ * @param fd A file descriptor.
2204
+ * @param string A string to write.
2205
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2206
+ * @param encoding The expected string encoding.
2207
+ */
2208
+ function __promisify__(
2209
+ fd: number,
2210
+ string: string,
2211
+ position?: number | null,
2212
+ encoding?: BufferEncoding | null
2213
+ ): Promise<{
2214
+ bytesWritten: number;
2215
+ buffer: string;
2216
+ }>;
2217
+ }
2218
+ /**
2219
+ * If `buffer` is a plain object, it must have an own (not inherited) `toString`function property.
2220
+ *
2221
+ * For detailed information, see the documentation of the asynchronous version of
2222
+ * this API: {@link write}.
2223
+ * @since v0.1.21
2224
+ * @return The number of bytes written.
2225
+ */
2226
+ export function writeSync(fd: number, buffer: NodeJS.ArrayBufferView, offset?: number | null, length?: number | null, position?: number | null): number;
2227
+ /**
2228
+ * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written.
2229
+ * @param fd A file descriptor.
2230
+ * @param string A string to write.
2231
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2232
+ * @param encoding The expected string encoding.
2233
+ */
2234
+ export function writeSync(fd: number, string: string, position?: number | null, encoding?: BufferEncoding | null): number;
2235
+ export type ReadPosition = number | bigint;
2236
+ export interface ReadSyncOptions {
2237
+ /**
2238
+ * @default 0
2239
+ */
2240
+ offset?: number | undefined;
2241
+ /**
2242
+ * @default `length of buffer`
2243
+ */
2244
+ length?: number | undefined;
2245
+ /**
2246
+ * @default null
2247
+ */
2248
+ position?: ReadPosition | null | undefined;
2249
+ }
2250
+ export interface ReadAsyncOptions<TBuffer extends NodeJS.ArrayBufferView> extends ReadSyncOptions {
2251
+ buffer?: TBuffer;
2252
+ }
2253
+ /**
2254
+ * Read data from the file specified by `fd`.
2255
+ *
2256
+ * The callback is given the three arguments, `(err, bytesRead, buffer)`.
2257
+ *
2258
+ * If the file is not modified concurrently, the end-of-file is reached when the
2259
+ * number of bytes read is zero.
2260
+ *
2261
+ * If this method is invoked as its `util.promisify()` ed version, it returns
2262
+ * a promise for an `Object` with `bytesRead` and `buffer` properties.
2263
+ * @since v0.0.2
2264
+ * @param buffer The buffer that the data will be written to.
2265
+ * @param offset The position in `buffer` to write the data to.
2266
+ * @param length The number of bytes to read.
2267
+ * @param position Specifies where to begin reading from in the file. If `position` is `null` or `-1 `, data will be read from the current file position, and the file position will be updated. If
2268
+ * `position` is an integer, the file position will be unchanged.
2269
+ */
2270
+ export function read<TBuffer extends NodeJS.ArrayBufferView>(
2271
+ fd: number,
2272
+ buffer: TBuffer,
2273
+ offset: number,
2274
+ length: number,
2275
+ position: ReadPosition | null,
2276
+ callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void
2277
+ ): void;
2278
+ /**
2279
+ * Similar to the above `fs.read` function, this version takes an optional `options` object.
2280
+ * If not otherwise specified in an `options` object,
2281
+ * `buffer` defaults to `Buffer.alloc(16384)`,
2282
+ * `offset` defaults to `0`,
2283
+ * `length` defaults to `buffer.byteLength`, `- offset` as of Node 17.6.0
2284
+ * `position` defaults to `null`
2285
+ * @since v12.17.0, 13.11.0
2286
+ */
2287
+ export function read<TBuffer extends NodeJS.ArrayBufferView>(
2288
+ fd: number,
2289
+ options: ReadAsyncOptions<TBuffer>,
2290
+ callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void
2291
+ ): void;
2292
+ export function read(
2293
+ fd: number,
2294
+ callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NodeJS.ArrayBufferView) => void
2295
+ ): void;
2296
+ export namespace read {
2297
+ /**
2298
+ * @param fd A file descriptor.
2299
+ * @param buffer The buffer that the data will be written to.
2300
+ * @param offset The offset in the buffer at which to start writing.
2301
+ * @param length The number of bytes to read.
2302
+ * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
2303
+ */
2304
+ function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2305
+ fd: number,
2306
+ buffer: TBuffer,
2307
+ offset: number,
2308
+ length: number,
2309
+ position: number | null
2310
+ ): Promise<{
2311
+ bytesRead: number;
2312
+ buffer: TBuffer;
2313
+ }>;
2314
+ function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2315
+ fd: number,
2316
+ options: ReadAsyncOptions<TBuffer>
2317
+ ): Promise<{
2318
+ bytesRead: number;
2319
+ buffer: TBuffer;
2320
+ }>;
2321
+ function __promisify__(
2322
+ fd: number
2323
+ ): Promise<{
2324
+ bytesRead: number;
2325
+ buffer: NodeJS.ArrayBufferView;
2326
+ }>;
2327
+ }
2328
+ /**
2329
+ * Returns the number of `bytesRead`.
2330
+ *
2331
+ * For detailed information, see the documentation of the asynchronous version of
2332
+ * this API: {@link read}.
2333
+ * @since v0.1.21
2334
+ */
2335
+ export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, offset: number, length: number, position: ReadPosition | null): number;
2336
+ /**
2337
+ * Similar to the above `fs.readSync` function, this version takes an optional `options` object.
2338
+ * If no `options` object is specified, it will default with the above values.
2339
+ */
2340
+ export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadSyncOptions): number;
2341
+ /**
2342
+ * Asynchronously reads the entire contents of a file.
2343
+ *
2344
+ * ```js
2345
+ * import { readFile } from 'fs';
2346
+ *
2347
+ * readFile('/etc/passwd', (err, data) => {
2348
+ * if (err) throw err;
2349
+ * console.log(data);
2350
+ * });
2351
+ * ```
2352
+ *
2353
+ * The callback is passed two arguments `(err, data)`, where `data` is the
2354
+ * contents of the file.
2355
+ *
2356
+ * If no encoding is specified, then the raw buffer is returned.
2357
+ *
2358
+ * If `options` is a string, then it specifies the encoding:
2359
+ *
2360
+ * ```js
2361
+ * import { readFile } from 'fs';
2362
+ *
2363
+ * readFile('/etc/passwd', 'utf8', callback);
2364
+ * ```
2365
+ *
2366
+ * When the path is a directory, the behavior of `fs.readFile()` and {@link readFileSync} is platform-specific. On macOS, Linux, and Windows, an
2367
+ * error will be returned. On FreeBSD, a representation of the directory's contents
2368
+ * will be returned.
2369
+ *
2370
+ * ```js
2371
+ * import { readFile } from 'fs';
2372
+ *
2373
+ * // macOS, Linux, and Windows
2374
+ * readFile('<directory>', (err, data) => {
2375
+ * // => [Error: EISDIR: illegal operation on a directory, read <directory>]
2376
+ * });
2377
+ *
2378
+ * // FreeBSD
2379
+ * readFile('<directory>', (err, data) => {
2380
+ * // => null, <data>
2381
+ * });
2382
+ * ```
2383
+ *
2384
+ * It is possible to abort an ongoing request using an `AbortSignal`. If a
2385
+ * request is aborted the callback is called with an `AbortError`:
2386
+ *
2387
+ * ```js
2388
+ * import { readFile } from 'fs';
2389
+ *
2390
+ * const controller = new AbortController();
2391
+ * const signal = controller.signal;
2392
+ * readFile(fileInfo[0].name, { signal }, (err, buf) => {
2393
+ * // ...
2394
+ * });
2395
+ * // When you want to abort the request
2396
+ * controller.abort();
2397
+ * ```
2398
+ *
2399
+ * The `fs.readFile()` function buffers the entire file. To minimize memory costs,
2400
+ * when possible prefer streaming via `fs.createReadStream()`.
2401
+ *
2402
+ * Aborting an ongoing request does not abort individual operating
2403
+ * system requests but rather the internal buffering `fs.readFile` performs.
2404
+ * @since v0.1.29
2405
+ * @param path filename or file descriptor
2406
+ */
2407
+ export function readFile(
2408
+ path: PathOrFileDescriptor,
2409
+ options:
2410
+ | ({
2411
+ encoding?: null | undefined;
2412
+ flag?: string | undefined;
2413
+ } & Abortable)
2414
+ | undefined
2415
+ | null,
2416
+ callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void
2417
+ ): void;
2418
+ /**
2419
+ * Asynchronously reads the entire contents of a file.
2420
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2421
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2422
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2423
+ * If a flag is not provided, it defaults to `'r'`.
2424
+ */
2425
+ export function readFile(
2426
+ path: PathOrFileDescriptor,
2427
+ options:
2428
+ | ({
2429
+ encoding: BufferEncoding;
2430
+ flag?: string | undefined;
2431
+ } & Abortable)
2432
+ | BufferEncoding,
2433
+ callback: (err: NodeJS.ErrnoException | null, data: string) => void
2434
+ ): void;
2435
+ /**
2436
+ * Asynchronously reads the entire contents of a file.
2437
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2438
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2439
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2440
+ * If a flag is not provided, it defaults to `'r'`.
2441
+ */
2442
+ export function readFile(
2443
+ path: PathOrFileDescriptor,
2444
+ options:
2445
+ | (ObjectEncodingOptions & {
2446
+ flag?: string | undefined;
2447
+ } & Abortable)
2448
+ | BufferEncoding
2449
+ | undefined
2450
+ | null,
2451
+ callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void
2452
+ ): void;
2453
+ /**
2454
+ * Asynchronously reads the entire contents of a file.
2455
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2456
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2457
+ */
2458
+ export function readFile(path: PathOrFileDescriptor, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void;
2459
+ export namespace readFile {
2460
+ /**
2461
+ * Asynchronously reads the entire contents of a file.
2462
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2463
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2464
+ * @param options An object that may contain an optional flag.
2465
+ * If a flag is not provided, it defaults to `'r'`.
2466
+ */
2467
+ function __promisify__(
2468
+ path: PathOrFileDescriptor,
2469
+ options?: {
2470
+ encoding?: null | undefined;
2471
+ flag?: string | undefined;
2472
+ } | null
2473
+ ): Promise<Buffer>;
2474
+ /**
2475
+ * Asynchronously reads the entire contents of a file.
2476
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2477
+ * URL support is _experimental_.
2478
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2479
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2480
+ * If a flag is not provided, it defaults to `'r'`.
2481
+ */
2482
+ function __promisify__(
2483
+ path: PathOrFileDescriptor,
2484
+ options:
2485
+ | {
2486
+ encoding: BufferEncoding;
2487
+ flag?: string | undefined;
2488
+ }
2489
+ | BufferEncoding
2490
+ ): Promise<string>;
2491
+ /**
2492
+ * Asynchronously reads the entire contents of a file.
2493
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2494
+ * URL support is _experimental_.
2495
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2496
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2497
+ * If a flag is not provided, it defaults to `'r'`.
2498
+ */
2499
+ function __promisify__(
2500
+ path: PathOrFileDescriptor,
2501
+ options?:
2502
+ | (ObjectEncodingOptions & {
2503
+ flag?: string | undefined;
2504
+ })
2505
+ | BufferEncoding
2506
+ | null
2507
+ ): Promise<string | Buffer>;
2508
+ }
2509
+ /**
2510
+ * Returns the contents of the `path`.
2511
+ *
2512
+ * For detailed information, see the documentation of the asynchronous version of
2513
+ * this API: {@link readFile}.
2514
+ *
2515
+ * If the `encoding` option is specified then this function returns a
2516
+ * string. Otherwise it returns a buffer.
2517
+ *
2518
+ * Similar to {@link readFile}, when the path is a directory, the behavior of`fs.readFileSync()` is platform-specific.
2519
+ *
2520
+ * ```js
2521
+ * import { readFileSync } from 'fs';
2522
+ *
2523
+ * // macOS, Linux, and Windows
2524
+ * readFileSync('<directory>');
2525
+ * // => [Error: EISDIR: illegal operation on a directory, read <directory>]
2526
+ *
2527
+ * // FreeBSD
2528
+ * readFileSync('<directory>'); // => <data>
2529
+ * ```
2530
+ * @since v0.1.8
2531
+ * @param path filename or file descriptor
2532
+ */
2533
+ export function readFileSync(
2534
+ path: PathOrFileDescriptor,
2535
+ options?: {
2536
+ encoding?: null | undefined;
2537
+ flag?: string | undefined;
2538
+ } | null
2539
+ ): Buffer;
2540
+ /**
2541
+ * Synchronously reads the entire contents of a file.
2542
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2543
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2544
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2545
+ * If a flag is not provided, it defaults to `'r'`.
2546
+ */
2547
+ export function readFileSync(
2548
+ path: PathOrFileDescriptor,
2549
+ options:
2550
+ | {
2551
+ encoding: BufferEncoding;
2552
+ flag?: string | undefined;
2553
+ }
2554
+ | BufferEncoding
2555
+ ): string;
2556
+ /**
2557
+ * Synchronously reads the entire contents of a file.
2558
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2559
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2560
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2561
+ * If a flag is not provided, it defaults to `'r'`.
2562
+ */
2563
+ export function readFileSync(
2564
+ path: PathOrFileDescriptor,
2565
+ options?:
2566
+ | (ObjectEncodingOptions & {
2567
+ flag?: string | undefined;
2568
+ })
2569
+ | BufferEncoding
2570
+ | null
2571
+ ): string | Buffer;
2572
+ export type WriteFileOptions =
2573
+ | (ObjectEncodingOptions &
2574
+ Abortable & {
2575
+ mode?: Mode | undefined;
2576
+ flag?: string | undefined;
2577
+ })
2578
+ | BufferEncoding
2579
+ | null;
2580
+ /**
2581
+ * When `file` is a filename, asynchronously writes data to the file, replacing the
2582
+ * file if it already exists. `data` can be a string or a buffer.
2583
+ *
2584
+ * When `file` is a file descriptor, the behavior is similar to calling`fs.write()` directly (which is recommended). See the notes below on using
2585
+ * a file descriptor.
2586
+ *
2587
+ * The `encoding` option is ignored if `data` is a buffer.
2588
+ *
2589
+ * The `mode` option only affects the newly created file. See {@link open} for more details.
2590
+ *
2591
+ * If `data` is a plain object, it must have an own (not inherited) `toString`function property.
2592
+ *
2593
+ * ```js
2594
+ * import { writeFile } from 'fs';
2595
+ * import { Buffer } from 'buffer';
2596
+ *
2597
+ * const data = new Uint8Array(Buffer.from('Hello Node.js'));
2598
+ * writeFile('message.txt', data, (err) => {
2599
+ * if (err) throw err;
2600
+ * console.log('The file has been saved!');
2601
+ * });
2602
+ * ```
2603
+ *
2604
+ * If `options` is a string, then it specifies the encoding:
2605
+ *
2606
+ * ```js
2607
+ * import { writeFile } from 'fs';
2608
+ *
2609
+ * writeFile('message.txt', 'Hello Node.js', 'utf8', callback);
2610
+ * ```
2611
+ *
2612
+ * It is unsafe to use `fs.writeFile()` multiple times on the same file without
2613
+ * waiting for the callback. For this scenario, {@link createWriteStream} is
2614
+ * recommended.
2615
+ *
2616
+ * Similarly to `fs.readFile` \- `fs.writeFile` is a convenience method that
2617
+ * performs multiple `write` calls internally to write the buffer passed to it.
2618
+ * For performance sensitive code consider using {@link createWriteStream}.
2619
+ *
2620
+ * It is possible to use an `AbortSignal` to cancel an `fs.writeFile()`.
2621
+ * Cancelation is "best effort", and some amount of data is likely still
2622
+ * to be written.
2623
+ *
2624
+ * ```js
2625
+ * import { writeFile } from 'fs';
2626
+ * import { Buffer } from 'buffer';
2627
+ *
2628
+ * const controller = new AbortController();
2629
+ * const { signal } = controller;
2630
+ * const data = new Uint8Array(Buffer.from('Hello Node.js'));
2631
+ * writeFile('message.txt', data, { signal }, (err) => {
2632
+ * // When a request is aborted - the callback is called with an AbortError
2633
+ * });
2634
+ * // When the request should be aborted
2635
+ * controller.abort();
2636
+ * ```
2637
+ *
2638
+ * Aborting an ongoing request does not abort individual operating
2639
+ * system requests but rather the internal buffering `fs.writeFile` performs.
2640
+ * @since v0.1.29
2641
+ * @param file filename or file descriptor
2642
+ */
2643
+ export function writeFile(file: PathOrFileDescriptor, data: string | NodeJS.ArrayBufferView, options: WriteFileOptions, callback: NoParamCallback): void;
2644
+ /**
2645
+ * Asynchronously writes data to a file, replacing the file if it already exists.
2646
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2647
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2648
+ * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
2649
+ */
2650
+ export function writeFile(path: PathOrFileDescriptor, data: string | NodeJS.ArrayBufferView, callback: NoParamCallback): void;
2651
+ export namespace writeFile {
2652
+ /**
2653
+ * Asynchronously writes data to a file, replacing the file if it already exists.
2654
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2655
+ * URL support is _experimental_.
2656
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2657
+ * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
2658
+ * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
2659
+ * If `encoding` is not supplied, the default of `'utf8'` is used.
2660
+ * If `mode` is not supplied, the default of `0o666` is used.
2661
+ * If `mode` is a string, it is parsed as an octal integer.
2662
+ * If `flag` is not supplied, the default of `'w'` is used.
2663
+ */
2664
+ function __promisify__(path: PathOrFileDescriptor, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptions): Promise<void>;
2665
+ }
2666
+ /**
2667
+ * Returns `undefined`.
2668
+ *
2669
+ * If `data` is a plain object, it must have an own (not inherited) `toString`function property.
2670
+ *
2671
+ * The `mode` option only affects the newly created file. See {@link open} for more details.
2672
+ *
2673
+ * For detailed information, see the documentation of the asynchronous version of
2674
+ * this API: {@link writeFile}.
2675
+ * @since v0.1.29
2676
+ * @param file filename or file descriptor
2677
+ */
2678
+ export function writeFileSync(file: PathOrFileDescriptor, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptions): void;
2679
+ /**
2680
+ * Asynchronously append data to a file, creating the file if it does not yet
2681
+ * exist. `data` can be a string or a `Buffer`.
2682
+ *
2683
+ * The `mode` option only affects the newly created file. See {@link open} for more details.
2684
+ *
2685
+ * ```js
2686
+ * import { appendFile } from 'fs';
2687
+ *
2688
+ * appendFile('message.txt', 'data to append', (err) => {
2689
+ * if (err) throw err;
2690
+ * console.log('The "data to append" was appended to file!');
2691
+ * });
2692
+ * ```
2693
+ *
2694
+ * If `options` is a string, then it specifies the encoding:
2695
+ *
2696
+ * ```js
2697
+ * import { appendFile } from 'fs';
2698
+ *
2699
+ * appendFile('message.txt', 'data to append', 'utf8', callback);
2700
+ * ```
2701
+ *
2702
+ * The `path` may be specified as a numeric file descriptor that has been opened
2703
+ * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will
2704
+ * not be closed automatically.
2705
+ *
2706
+ * ```js
2707
+ * import { open, close, appendFile } from 'fs';
2708
+ *
2709
+ * function closeFd(fd) {
2710
+ * close(fd, (err) => {
2711
+ * if (err) throw err;
2712
+ * });
2713
+ * }
2714
+ *
2715
+ * open('message.txt', 'a', (err, fd) => {
2716
+ * if (err) throw err;
2717
+ *
2718
+ * try {
2719
+ * appendFile(fd, 'data to append', 'utf8', (err) => {
2720
+ * closeFd(fd);
2721
+ * if (err) throw err;
2722
+ * });
2723
+ * } catch (err) {
2724
+ * closeFd(fd);
2725
+ * throw err;
2726
+ * }
2727
+ * });
2728
+ * ```
2729
+ * @since v0.6.7
2730
+ * @param path filename or file descriptor
2731
+ */
2732
+ export function appendFile(path: PathOrFileDescriptor, data: string | Uint8Array, options: WriteFileOptions, callback: NoParamCallback): void;
2733
+ /**
2734
+ * Asynchronously append data to a file, creating the file if it does not exist.
2735
+ * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
2736
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2737
+ * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
2738
+ */
2739
+ export function appendFile(file: PathOrFileDescriptor, data: string | Uint8Array, callback: NoParamCallback): void;
2740
+ export namespace appendFile {
2741
+ /**
2742
+ * Asynchronously append data to a file, creating the file if it does not exist.
2743
+ * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
2744
+ * URL support is _experimental_.
2745
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2746
+ * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
2747
+ * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
2748
+ * If `encoding` is not supplied, the default of `'utf8'` is used.
2749
+ * If `mode` is not supplied, the default of `0o666` is used.
2750
+ * If `mode` is a string, it is parsed as an octal integer.
2751
+ * If `flag` is not supplied, the default of `'a'` is used.
2752
+ */
2753
+ function __promisify__(file: PathOrFileDescriptor, data: string | Uint8Array, options?: WriteFileOptions): Promise<void>;
2754
+ }
2755
+ /**
2756
+ * Synchronously append data to a file, creating the file if it does not yet
2757
+ * exist. `data` can be a string or a `Buffer`.
2758
+ *
2759
+ * The `mode` option only affects the newly created file. See {@link open} for more details.
2760
+ *
2761
+ * ```js
2762
+ * import { appendFileSync } from 'fs';
2763
+ *
2764
+ * try {
2765
+ * appendFileSync('message.txt', 'data to append');
2766
+ * console.log('The "data to append" was appended to file!');
2767
+ * } catch (err) {
2768
+ * // Handle the error
2769
+ * }
2770
+ * ```
2771
+ *
2772
+ * If `options` is a string, then it specifies the encoding:
2773
+ *
2774
+ * ```js
2775
+ * import { appendFileSync } from 'fs';
2776
+ *
2777
+ * appendFileSync('message.txt', 'data to append', 'utf8');
2778
+ * ```
2779
+ *
2780
+ * The `path` may be specified as a numeric file descriptor that has been opened
2781
+ * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will
2782
+ * not be closed automatically.
2783
+ *
2784
+ * ```js
2785
+ * import { openSync, closeSync, appendFileSync } from 'fs';
2786
+ *
2787
+ * let fd;
2788
+ *
2789
+ * try {
2790
+ * fd = openSync('message.txt', 'a');
2791
+ * appendFileSync(fd, 'data to append', 'utf8');
2792
+ * } catch (err) {
2793
+ * // Handle the error
2794
+ * } finally {
2795
+ * if (fd !== undefined)
2796
+ * closeSync(fd);
2797
+ * }
2798
+ * ```
2799
+ * @since v0.6.7
2800
+ * @param path filename or file descriptor
2801
+ */
2802
+ export function appendFileSync(path: PathOrFileDescriptor, data: string | Uint8Array, options?: WriteFileOptions): void;
2803
+ /**
2804
+ * Watch for changes on `filename`. The callback `listener` will be called each
2805
+ * time the file is accessed.
2806
+ *
2807
+ * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates
2808
+ * whether the process should continue to run as long as files are being watched.
2809
+ * The `options` object may specify an `interval` property indicating how often the
2810
+ * target should be polled in milliseconds.
2811
+ *
2812
+ * The `listener` gets two arguments the current stat object and the previous
2813
+ * stat object:
2814
+ *
2815
+ * ```js
2816
+ * import { watchFile } from 'fs';
2817
+ *
2818
+ * watchFile('message.text', (curr, prev) => {
2819
+ * console.log(`the current mtime is: ${curr.mtime}`);
2820
+ * console.log(`the previous mtime was: ${prev.mtime}`);
2821
+ * });
2822
+ * ```
2823
+ *
2824
+ * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`,
2825
+ * the numeric values in these objects are specified as `BigInt`s.
2826
+ *
2827
+ * To be notified when the file was modified, not just accessed, it is necessary
2828
+ * to compare `curr.mtimeMs` and `prev.mtimeMs`.
2829
+ *
2830
+ * When an `fs.watchFile` operation results in an `ENOENT` error, it
2831
+ * will invoke the listener once, with all the fields zeroed (or, for dates, the
2832
+ * Unix Epoch). If the file is created later on, the listener will be called
2833
+ * again, with the latest stat objects. This is a change in functionality since
2834
+ * v0.10.
2835
+ *
2836
+ * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible.
2837
+ *
2838
+ * When a file being watched by `fs.watchFile()` disappears and reappears,
2839
+ * then the contents of `previous` in the second callback event (the file's
2840
+ * reappearance) will be the same as the contents of `previous` in the first
2841
+ * callback event (its disappearance).
2842
+ *
2843
+ * This happens when:
2844
+ *
2845
+ * * the file is deleted, followed by a restore
2846
+ * * the file is renamed and then renamed a second time back to its original name
2847
+ * @since v0.1.31
2848
+ */
2849
+ export interface WatchFileOptions {
2850
+ bigint?: boolean | undefined;
2851
+ persistent?: boolean | undefined;
2852
+ interval?: number | undefined;
2853
+ }
2854
+ /**
2855
+ * Watch for changes on `filename`. The callback `listener` will be called each
2856
+ * time the file is accessed.
2857
+ *
2858
+ * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates
2859
+ * whether the process should continue to run as long as files are being watched.
2860
+ * The `options` object may specify an `interval` property indicating how often the
2861
+ * target should be polled in milliseconds.
2862
+ *
2863
+ * The `listener` gets two arguments the current stat object and the previous
2864
+ * stat object:
2865
+ *
2866
+ * ```js
2867
+ * import { watchFile } from 'fs';
2868
+ *
2869
+ * watchFile('message.text', (curr, prev) => {
2870
+ * console.log(`the current mtime is: ${curr.mtime}`);
2871
+ * console.log(`the previous mtime was: ${prev.mtime}`);
2872
+ * });
2873
+ * ```
2874
+ *
2875
+ * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`,
2876
+ * the numeric values in these objects are specified as `BigInt`s.
2877
+ *
2878
+ * To be notified when the file was modified, not just accessed, it is necessary
2879
+ * to compare `curr.mtimeMs` and `prev.mtimeMs`.
2880
+ *
2881
+ * When an `fs.watchFile` operation results in an `ENOENT` error, it
2882
+ * will invoke the listener once, with all the fields zeroed (or, for dates, the
2883
+ * Unix Epoch). If the file is created later on, the listener will be called
2884
+ * again, with the latest stat objects. This is a change in functionality since
2885
+ * v0.10.
2886
+ *
2887
+ * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible.
2888
+ *
2889
+ * When a file being watched by `fs.watchFile()` disappears and reappears,
2890
+ * then the contents of `previous` in the second callback event (the file's
2891
+ * reappearance) will be the same as the contents of `previous` in the first
2892
+ * callback event (its disappearance).
2893
+ *
2894
+ * This happens when:
2895
+ *
2896
+ * * the file is deleted, followed by a restore
2897
+ * * the file is renamed and then renamed a second time back to its original name
2898
+ * @since v0.1.31
2899
+ */
2900
+ export function watchFile(
2901
+ filename: PathLike,
2902
+ options:
2903
+ | (WatchFileOptions & {
2904
+ bigint?: false | undefined;
2905
+ })
2906
+ | undefined,
2907
+ listener: (curr: Stats, prev: Stats) => void
2908
+ ): StatWatcher;
2909
+ export function watchFile(
2910
+ filename: PathLike,
2911
+ options:
2912
+ | (WatchFileOptions & {
2913
+ bigint: true;
2914
+ })
2915
+ | undefined,
2916
+ listener: (curr: BigIntStats, prev: BigIntStats) => void
2917
+ ): StatWatcher;
2918
+ /**
2919
+ * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
2920
+ * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
2921
+ */
2922
+ export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): StatWatcher;
2923
+ /**
2924
+ * Stop watching for changes on `filename`. If `listener` is specified, only that
2925
+ * particular listener is removed. Otherwise, _all_ listeners are removed,
2926
+ * effectively stopping watching of `filename`.
2927
+ *
2928
+ * Calling `fs.unwatchFile()` with a filename that is not being watched is a
2929
+ * no-op, not an error.
2930
+ *
2931
+ * Using {@link watch} is more efficient than `fs.watchFile()` and`fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()`and `fs.unwatchFile()` when possible.
2932
+ * @since v0.1.31
2933
+ * @param listener Optional, a listener previously attached using `fs.watchFile()`
2934
+ */
2935
+ export function unwatchFile(filename: PathLike, listener?: (curr: Stats, prev: Stats) => void): void;
2936
+ export interface WatchOptions extends Abortable {
2937
+ encoding?: BufferEncoding | 'buffer' | undefined;
2938
+ persistent?: boolean | undefined;
2939
+ recursive?: boolean | undefined;
2940
+ }
2941
+ export type WatchEventType = 'rename' | 'change';
2942
+ export type WatchListener<T> = (event: WatchEventType, filename: T) => void;
2943
+ /**
2944
+ * Watch for changes on `filename`, where `filename` is either a file or a
2945
+ * directory.
2946
+ *
2947
+ * The second argument is optional. If `options` is provided as a string, it
2948
+ * specifies the `encoding`. Otherwise `options` should be passed as an object.
2949
+ *
2950
+ * The listener callback gets two arguments `(eventType, filename)`. `eventType`is either `'rename'` or `'change'`, and `filename` is the name of the file
2951
+ * which triggered the event.
2952
+ *
2953
+ * On most platforms, `'rename'` is emitted whenever a filename appears or
2954
+ * disappears in the directory.
2955
+ *
2956
+ * The listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but it is not the same thing as the `'change'` value of`eventType`.
2957
+ *
2958
+ * If a `signal` is passed, aborting the corresponding AbortController will close
2959
+ * the returned `fs.FSWatcher`.
2960
+ * @since v0.5.10
2961
+ * @param listener
2962
+ */
2963
+ export function watch(
2964
+ filename: PathLike,
2965
+ options:
2966
+ | (WatchOptions & {
2967
+ encoding: 'buffer';
2968
+ })
2969
+ | 'buffer',
2970
+ listener?: WatchListener<Buffer>
2971
+ ): FSWatcher;
2972
+ /**
2973
+ * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
2974
+ * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
2975
+ * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
2976
+ * If `encoding` is not supplied, the default of `'utf8'` is used.
2977
+ * If `persistent` is not supplied, the default of `true` is used.
2978
+ * If `recursive` is not supplied, the default of `false` is used.
2979
+ */
2980
+ export function watch(filename: PathLike, options?: WatchOptions | BufferEncoding | null, listener?: WatchListener<string>): FSWatcher;
2981
+ /**
2982
+ * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
2983
+ * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
2984
+ * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
2985
+ * If `encoding` is not supplied, the default of `'utf8'` is used.
2986
+ * If `persistent` is not supplied, the default of `true` is used.
2987
+ * If `recursive` is not supplied, the default of `false` is used.
2988
+ */
2989
+ export function watch(filename: PathLike, options: WatchOptions | string, listener?: WatchListener<string | Buffer>): FSWatcher;
2990
+ /**
2991
+ * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
2992
+ * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
2993
+ */
2994
+ export function watch(filename: PathLike, listener?: WatchListener<string>): FSWatcher;
2995
+ /**
2996
+ * Test whether or not the given path exists by checking with the file system.
2997
+ * Then call the `callback` argument with either true or false:
2998
+ *
2999
+ * ```js
3000
+ * import { exists } from 'fs';
3001
+ *
3002
+ * exists('/etc/passwd', (e) => {
3003
+ * console.log(e ? 'it exists' : 'no passwd!');
3004
+ * });
3005
+ * ```
3006
+ *
3007
+ * **The parameters for this callback are not consistent with other Node.js**
3008
+ * **callbacks.** Normally, the first parameter to a Node.js callback is an `err`parameter, optionally followed by other parameters. The `fs.exists()` callback
3009
+ * has only one boolean parameter. This is one reason `fs.access()` is recommended
3010
+ * instead of `fs.exists()`.
3011
+ *
3012
+ * Using `fs.exists()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()` or `fs.writeFile()` is not recommended. Doing
3013
+ * so introduces a race condition, since other processes may change the file's
3014
+ * state between the two calls. Instead, user code should open/read/write the
3015
+ * file directly and handle the error raised if the file does not exist.
3016
+ *
3017
+ * **write (NOT RECOMMENDED)**
3018
+ *
3019
+ * ```js
3020
+ * import { exists, open, close } from 'fs';
3021
+ *
3022
+ * exists('myfile', (e) => {
3023
+ * if (e) {
3024
+ * console.error('myfile already exists');
3025
+ * } else {
3026
+ * open('myfile', 'wx', (err, fd) => {
3027
+ * if (err) throw err;
3028
+ *
3029
+ * try {
3030
+ * writeMyData(fd);
3031
+ * } finally {
3032
+ * close(fd, (err) => {
3033
+ * if (err) throw err;
3034
+ * });
3035
+ * }
3036
+ * });
3037
+ * }
3038
+ * });
3039
+ * ```
3040
+ *
3041
+ * **write (RECOMMENDED)**
3042
+ *
3043
+ * ```js
3044
+ * import { open, close } from 'fs';
3045
+ * open('myfile', 'wx', (err, fd) => {
3046
+ * if (err) {
3047
+ * if (err.code === 'EEXIST') {
3048
+ * console.error('myfile already exists');
3049
+ * return;
3050
+ * }
3051
+ *
3052
+ * throw err;
3053
+ * }
3054
+ *
3055
+ * try {
3056
+ * writeMyData(fd);
3057
+ * } finally {
3058
+ * close(fd, (err) => {
3059
+ * if (err) throw err;
3060
+ * });
3061
+ * }
3062
+ * });
3063
+ * ```
3064
+ *
3065
+ * **read (NOT RECOMMENDED)**
3066
+ *
3067
+ * ```js
3068
+ * import { open, close, exists } from 'fs';
3069
+ *
3070
+ * exists('myfile', (e) => {
3071
+ * if (e) {
3072
+ * open('myfile', 'r', (err, fd) => {
3073
+ * if (err) throw err;
3074
+ *
3075
+ * try {
3076
+ * readMyData(fd);
3077
+ * } finally {
3078
+ * close(fd, (err) => {
3079
+ * if (err) throw err;
3080
+ * });
3081
+ * }
3082
+ * });
3083
+ * } else {
3084
+ * console.error('myfile does not exist');
3085
+ * }
3086
+ * });
3087
+ * ```
3088
+ *
3089
+ * **read (RECOMMENDED)**
3090
+ *
3091
+ * ```js
3092
+ * import { open, close } from 'fs';
3093
+ *
3094
+ * open('myfile', 'r', (err, fd) => {
3095
+ * if (err) {
3096
+ * if (err.code === 'ENOENT') {
3097
+ * console.error('myfile does not exist');
3098
+ * return;
3099
+ * }
3100
+ *
3101
+ * throw err;
3102
+ * }
3103
+ *
3104
+ * try {
3105
+ * readMyData(fd);
3106
+ * } finally {
3107
+ * close(fd, (err) => {
3108
+ * if (err) throw err;
3109
+ * });
3110
+ * }
3111
+ * });
3112
+ * ```
3113
+ *
3114
+ * The "not recommended" examples above check for existence and then use the
3115
+ * file; the "recommended" examples are better because they use the file directly
3116
+ * and handle the error, if any.
3117
+ *
3118
+ * In general, check for the existence of a file only if the file won’t be
3119
+ * used directly, for example when its existence is a signal from another
3120
+ * process.
3121
+ * @since v0.0.2
3122
+ * @deprecated Since v1.0.0 - Use {@link stat} or {@link access} instead.
3123
+ */
3124
+ export function exists(path: PathLike, callback: (exists: boolean) => void): void;
3125
+ /** @deprecated */
3126
+ export namespace exists {
3127
+ /**
3128
+ * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3129
+ * URL support is _experimental_.
3130
+ */
3131
+ function __promisify__(path: PathLike): Promise<boolean>;
3132
+ }
3133
+ /**
3134
+ * Returns `true` if the path exists, `false` otherwise.
3135
+ *
3136
+ * For detailed information, see the documentation of the asynchronous version of
3137
+ * this API: {@link exists}.
3138
+ *
3139
+ * `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback`parameter to `fs.exists()` accepts parameters that are inconsistent with other
3140
+ * Node.js callbacks. `fs.existsSync()` does not use a callback.
3141
+ *
3142
+ * ```js
3143
+ * import { existsSync } from 'fs';
3144
+ *
3145
+ * if (existsSync('/etc/passwd'))
3146
+ * console.log('The path exists.');
3147
+ * ```
3148
+ * @since v0.1.21
3149
+ */
3150
+ export function existsSync(path: PathLike): boolean;
3151
+ export namespace constants {
3152
+ // File Access Constants
3153
+ /** Constant for fs.access(). File is visible to the calling process. */
3154
+ const F_OK: number;
3155
+ /** Constant for fs.access(). File can be read by the calling process. */
3156
+ const R_OK: number;
3157
+ /** Constant for fs.access(). File can be written by the calling process. */
3158
+ const W_OK: number;
3159
+ /** Constant for fs.access(). File can be executed by the calling process. */
3160
+ const X_OK: number;
3161
+ // File Copy Constants
3162
+ /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */
3163
+ const COPYFILE_EXCL: number;
3164
+ /**
3165
+ * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink.
3166
+ * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used.
3167
+ */
3168
+ const COPYFILE_FICLONE: number;
3169
+ /**
3170
+ * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink.
3171
+ * If the underlying platform does not support copy-on-write, then the operation will fail with an error.
3172
+ */
3173
+ const COPYFILE_FICLONE_FORCE: number;
3174
+ // File Open Constants
3175
+ /** Constant for fs.open(). Flag indicating to open a file for read-only access. */
3176
+ const O_RDONLY: number;
3177
+ /** Constant for fs.open(). Flag indicating to open a file for write-only access. */
3178
+ const O_WRONLY: number;
3179
+ /** Constant for fs.open(). Flag indicating to open a file for read-write access. */
3180
+ const O_RDWR: number;
3181
+ /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */
3182
+ const O_CREAT: number;
3183
+ /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */
3184
+ const O_EXCL: number;
3185
+ /**
3186
+ * Constant for fs.open(). Flag indicating that if path identifies a terminal device,
3187
+ * opening the path shall not cause that terminal to become the controlling terminal for the process
3188
+ * (if the process does not already have one).
3189
+ */
3190
+ const O_NOCTTY: number;
3191
+ /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */
3192
+ const O_TRUNC: number;
3193
+ /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */
3194
+ const O_APPEND: number;
3195
+ /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */
3196
+ const O_DIRECTORY: number;
3197
+ /**
3198
+ * constant for fs.open().
3199
+ * Flag indicating reading accesses to the file system will no longer result in
3200
+ * an update to the atime information associated with the file.
3201
+ * This flag is available on Linux operating systems only.
3202
+ */
3203
+ const O_NOATIME: number;
3204
+ /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */
3205
+ const O_NOFOLLOW: number;
3206
+ /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */
3207
+ const O_SYNC: number;
3208
+ /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */
3209
+ const O_DSYNC: number;
3210
+ /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */
3211
+ const O_SYMLINK: number;
3212
+ /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */
3213
+ const O_DIRECT: number;
3214
+ /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */
3215
+ const O_NONBLOCK: number;
3216
+ // File Type Constants
3217
+ /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */
3218
+ const S_IFMT: number;
3219
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */
3220
+ const S_IFREG: number;
3221
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */
3222
+ const S_IFDIR: number;
3223
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */
3224
+ const S_IFCHR: number;
3225
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */
3226
+ const S_IFBLK: number;
3227
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */
3228
+ const S_IFIFO: number;
3229
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */
3230
+ const S_IFLNK: number;
3231
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */
3232
+ const S_IFSOCK: number;
3233
+ // File Mode Constants
3234
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */
3235
+ const S_IRWXU: number;
3236
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */
3237
+ const S_IRUSR: number;
3238
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */
3239
+ const S_IWUSR: number;
3240
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */
3241
+ const S_IXUSR: number;
3242
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */
3243
+ const S_IRWXG: number;
3244
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */
3245
+ const S_IRGRP: number;
3246
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */
3247
+ const S_IWGRP: number;
3248
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */
3249
+ const S_IXGRP: number;
3250
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */
3251
+ const S_IRWXO: number;
3252
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */
3253
+ const S_IROTH: number;
3254
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */
3255
+ const S_IWOTH: number;
3256
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */
3257
+ const S_IXOTH: number;
3258
+ /**
3259
+ * When set, a memory file mapping is used to access the file. This flag
3260
+ * is available on Windows operating systems only. On other operating systems,
3261
+ * this flag is ignored.
3262
+ */
3263
+ const UV_FS_O_FILEMAP: number;
3264
+ }
3265
+ /**
3266
+ * Tests a user's permissions for the file or directory specified by `path`.
3267
+ * The `mode` argument is an optional integer that specifies the accessibility
3268
+ * checks to be performed. Check `File access constants` for possible values
3269
+ * of `mode`. It is possible to create a mask consisting of the bitwise OR of
3270
+ * two or more values (e.g. `fs.constants.W_OK | fs.constants.R_OK`).
3271
+ *
3272
+ * The final argument, `callback`, is a callback function that is invoked with
3273
+ * a possible error argument. If any of the accessibility checks fail, the error
3274
+ * argument will be an `Error` object. The following examples check if`package.json` exists, and if it is readable or writable.
3275
+ *
3276
+ * ```js
3277
+ * import { access, constants } from 'fs';
3278
+ *
3279
+ * const file = 'package.json';
3280
+ *
3281
+ * // Check if the file exists in the current directory.
3282
+ * access(file, constants.F_OK, (err) => {
3283
+ * console.log(`${file} ${err ? 'does not exist' : 'exists'}`);
3284
+ * });
3285
+ *
3286
+ * // Check if the file is readable.
3287
+ * access(file, constants.R_OK, (err) => {
3288
+ * console.log(`${file} ${err ? 'is not readable' : 'is readable'}`);
3289
+ * });
3290
+ *
3291
+ * // Check if the file is writable.
3292
+ * access(file, constants.W_OK, (err) => {
3293
+ * console.log(`${file} ${err ? 'is not writable' : 'is writable'}`);
3294
+ * });
3295
+ *
3296
+ * // Check if the file exists in the current directory, and if it is writable.
3297
+ * access(file, constants.F_OK | constants.W_OK, (err) => {
3298
+ * if (err) {
3299
+ * console.error(
3300
+ * `${file} ${err.code === 'ENOENT' ? 'does not exist' : 'is read-only'}`);
3301
+ * } else {
3302
+ * console.log(`${file} exists, and it is writable`);
3303
+ * }
3304
+ * });
3305
+ * ```
3306
+ *
3307
+ * Do not use `fs.access()` to check for the accessibility of a file before calling`fs.open()`, `fs.readFile()` or `fs.writeFile()`. Doing
3308
+ * so introduces a race condition, since other processes may change the file's
3309
+ * state between the two calls. Instead, user code should open/read/write the
3310
+ * file directly and handle the error raised if the file is not accessible.
3311
+ *
3312
+ * **write (NOT RECOMMENDED)**
3313
+ *
3314
+ * ```js
3315
+ * import { access, open, close } from 'fs';
3316
+ *
3317
+ * access('myfile', (err) => {
3318
+ * if (!err) {
3319
+ * console.error('myfile already exists');
3320
+ * return;
3321
+ * }
3322
+ *
3323
+ * open('myfile', 'wx', (err, fd) => {
3324
+ * if (err) throw err;
3325
+ *
3326
+ * try {
3327
+ * writeMyData(fd);
3328
+ * } finally {
3329
+ * close(fd, (err) => {
3330
+ * if (err) throw err;
3331
+ * });
3332
+ * }
3333
+ * });
3334
+ * });
3335
+ * ```
3336
+ *
3337
+ * **write (RECOMMENDED)**
3338
+ *
3339
+ * ```js
3340
+ * import { open, close } from 'fs';
3341
+ *
3342
+ * open('myfile', 'wx', (err, fd) => {
3343
+ * if (err) {
3344
+ * if (err.code === 'EEXIST') {
3345
+ * console.error('myfile already exists');
3346
+ * return;
3347
+ * }
3348
+ *
3349
+ * throw err;
3350
+ * }
3351
+ *
3352
+ * try {
3353
+ * writeMyData(fd);
3354
+ * } finally {
3355
+ * close(fd, (err) => {
3356
+ * if (err) throw err;
3357
+ * });
3358
+ * }
3359
+ * });
3360
+ * ```
3361
+ *
3362
+ * **read (NOT RECOMMENDED)**
3363
+ *
3364
+ * ```js
3365
+ * import { access, open, close } from 'fs';
3366
+ * access('myfile', (err) => {
3367
+ * if (err) {
3368
+ * if (err.code === 'ENOENT') {
3369
+ * console.error('myfile does not exist');
3370
+ * return;
3371
+ * }
3372
+ *
3373
+ * throw err;
3374
+ * }
3375
+ *
3376
+ * open('myfile', 'r', (err, fd) => {
3377
+ * if (err) throw err;
3378
+ *
3379
+ * try {
3380
+ * readMyData(fd);
3381
+ * } finally {
3382
+ * close(fd, (err) => {
3383
+ * if (err) throw err;
3384
+ * });
3385
+ * }
3386
+ * });
3387
+ * });
3388
+ * ```
3389
+ *
3390
+ * **read (RECOMMENDED)**
3391
+ *
3392
+ * ```js
3393
+ * import { open, close } from 'fs';
3394
+ *
3395
+ * open('myfile', 'r', (err, fd) => {
3396
+ * if (err) {
3397
+ * if (err.code === 'ENOENT') {
3398
+ * console.error('myfile does not exist');
3399
+ * return;
3400
+ * }
3401
+ *
3402
+ * throw err;
3403
+ * }
3404
+ *
3405
+ * try {
3406
+ * readMyData(fd);
3407
+ * } finally {
3408
+ * close(fd, (err) => {
3409
+ * if (err) throw err;
3410
+ * });
3411
+ * }
3412
+ * });
3413
+ * ```
3414
+ *
3415
+ * The "not recommended" examples above check for accessibility and then use the
3416
+ * file; the "recommended" examples are better because they use the file directly
3417
+ * and handle the error, if any.
3418
+ *
3419
+ * In general, check for the accessibility of a file only if the file will not be
3420
+ * used directly, for example when its accessibility is a signal from another
3421
+ * process.
3422
+ *
3423
+ * On Windows, access-control policies (ACLs) on a directory may limit access to
3424
+ * a file or directory. The `fs.access()` function, however, does not check the
3425
+ * ACL and therefore may report that a path is accessible even if the ACL restricts
3426
+ * the user from reading or writing to it.
3427
+ * @since v0.11.15
3428
+ * @param [mode=fs.constants.F_OK]
3429
+ */
3430
+ export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void;
3431
+ /**
3432
+ * Asynchronously tests a user's permissions for the file specified by path.
3433
+ * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3434
+ */
3435
+ export function access(path: PathLike, callback: NoParamCallback): void;
3436
+ export namespace access {
3437
+ /**
3438
+ * Asynchronously tests a user's permissions for the file specified by path.
3439
+ * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3440
+ * URL support is _experimental_.
3441
+ */
3442
+ function __promisify__(path: PathLike, mode?: number): Promise<void>;
3443
+ }
3444
+ /**
3445
+ * Synchronously tests a user's permissions for the file or directory specified
3446
+ * by `path`. The `mode` argument is an optional integer that specifies the
3447
+ * accessibility checks to be performed. Check `File access constants` for
3448
+ * possible values of `mode`. It is possible to create a mask consisting of
3449
+ * the bitwise OR of two or more values
3450
+ * (e.g. `fs.constants.W_OK | fs.constants.R_OK`).
3451
+ *
3452
+ * If any of the accessibility checks fail, an `Error` will be thrown. Otherwise,
3453
+ * the method will return `undefined`.
3454
+ *
3455
+ * ```js
3456
+ * import { accessSync, constants } from 'fs';
3457
+ *
3458
+ * try {
3459
+ * accessSync('etc/passwd', constants.R_OK | constants.W_OK);
3460
+ * console.log('can read/write');
3461
+ * } catch (err) {
3462
+ * console.error('no access!');
3463
+ * }
3464
+ * ```
3465
+ * @since v0.11.15
3466
+ * @param [mode=fs.constants.F_OK]
3467
+ */
3468
+ export function accessSync(path: PathLike, mode?: number): void;
3469
+ interface StreamOptions {
3470
+ flags?: string | undefined;
3471
+ encoding?: BufferEncoding | undefined;
3472
+ fd?: number | promises.FileHandle | undefined;
3473
+ mode?: number | undefined;
3474
+ autoClose?: boolean | undefined;
3475
+ /**
3476
+ * @default false
3477
+ */
3478
+ emitClose?: boolean | undefined;
3479
+ start?: number | undefined;
3480
+ highWaterMark?: number | undefined;
3481
+ }
3482
+ interface ReadStreamOptions extends StreamOptions {
3483
+ end?: number | undefined;
3484
+ }
3485
+ /**
3486
+ * Unlike the 16 kb default `highWaterMark` for a `stream.Readable`, the stream
3487
+ * returned by this method has a default `highWaterMark` of 64 kb.
3488
+ *
3489
+ * `options` can include `start` and `end` values to read a range of bytes from
3490
+ * the file instead of the entire file. Both `start` and `end` are inclusive and
3491
+ * start counting at 0, allowed values are in the
3492
+ * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `fd` is specified and `start` is
3493
+ * omitted or `undefined`, `fs.createReadStream()` reads sequentially from the
3494
+ * current file position. The `encoding` can be any one of those accepted by `Buffer`.
3495
+ *
3496
+ * If `fd` is specified, `ReadStream` will ignore the `path` argument and will use
3497
+ * the specified file descriptor. This means that no `'open'` event will be
3498
+ * emitted. `fd` should be blocking; non-blocking `fd`s should be passed to `net.Socket`.
3499
+ *
3500
+ * If `fd` points to a character device that only supports blocking reads
3501
+ * (such as keyboard or sound card), read operations do not finish until data is
3502
+ * available. This can prevent the process from exiting and the stream from
3503
+ * closing naturally.
3504
+ *
3505
+ * By default, the stream will emit a `'close'` event after it has been
3506
+ * destroyed. Set the `emitClose` option to `false` to change this behavior.
3507
+ *
3508
+ * By providing the `fs` option, it is possible to override the corresponding `fs`implementations for `open`, `read`, and `close`. When providing the `fs` option,
3509
+ * an override for `read` is required. If no `fd` is provided, an override for`open` is also required. If `autoClose` is `true`, an override for `close` is
3510
+ * also required.
3511
+ *
3512
+ * ```js
3513
+ * import { createReadStream } from 'fs';
3514
+ *
3515
+ * // Create a stream from some character device.
3516
+ * const stream = createReadStream('/dev/input/event0');
3517
+ * setTimeout(() => {
3518
+ * stream.close(); // This may not close the stream.
3519
+ * // Artificially marking end-of-stream, as if the underlying resource had
3520
+ * // indicated end-of-file by itself, allows the stream to close.
3521
+ * // This does not cancel pending read operations, and if there is such an
3522
+ * // operation, the process may still not be able to exit successfully
3523
+ * // until it finishes.
3524
+ * stream.push(null);
3525
+ * stream.read(0);
3526
+ * }, 100);
3527
+ * ```
3528
+ *
3529
+ * If `autoClose` is false, then the file descriptor won't be closed, even if
3530
+ * there's an error. It is the application's responsibility to close it and make
3531
+ * sure there's no file descriptor leak. If `autoClose` is set to true (default
3532
+ * behavior), on `'error'` or `'end'` the file descriptor will be closed
3533
+ * automatically.
3534
+ *
3535
+ * `mode` sets the file mode (permission and sticky bits), but only if the
3536
+ * file was created.
3537
+ *
3538
+ * An example to read the last 10 bytes of a file which is 100 bytes long:
3539
+ *
3540
+ * ```js
3541
+ * import { createReadStream } from 'fs';
3542
+ *
3543
+ * createReadStream('sample.txt', { start: 90, end: 99 });
3544
+ * ```
3545
+ *
3546
+ * If `options` is a string, then it specifies the encoding.
3547
+ * @since v0.1.31
3548
+ */
3549
+ export function createReadStream(path: PathLike, options?: BufferEncoding | ReadStreamOptions): ReadStream;
3550
+ /**
3551
+ * `options` may also include a `start` option to allow writing data at some
3552
+ * position past the beginning of the file, allowed values are in the
3553
+ * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than replacing
3554
+ * it may require the `flags` option to be set to `r+` rather than the default `w`.
3555
+ * The `encoding` can be any one of those accepted by `Buffer`.
3556
+ *
3557
+ * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false,
3558
+ * then the file descriptor won't be closed, even if there's an error.
3559
+ * It is the application's responsibility to close it and make sure there's no
3560
+ * file descriptor leak.
3561
+ *
3562
+ * By default, the stream will emit a `'close'` event after it has been
3563
+ * destroyed. Set the `emitClose` option to `false` to change this behavior.
3564
+ *
3565
+ * By providing the `fs` option it is possible to override the corresponding `fs`implementations for `open`, `write`, `writev` and `close`. Overriding `write()`without `writev()` can reduce
3566
+ * performance as some optimizations (`_writev()`)
3567
+ * will be disabled. When providing the `fs` option, overrides for at least one of`write` and `writev` are required. If no `fd` option is supplied, an override
3568
+ * for `open` is also required. If `autoClose` is `true`, an override for `close`is also required.
3569
+ *
3570
+ * Like `fs.ReadStream`, if `fd` is specified, `fs.WriteStream` will ignore the`path` argument and will use the specified file descriptor. This means that no`'open'` event will be
3571
+ * emitted. `fd` should be blocking; non-blocking `fd`s
3572
+ * should be passed to `net.Socket`.
3573
+ *
3574
+ * If `options` is a string, then it specifies the encoding.
3575
+ * @since v0.1.31
3576
+ */
3577
+ export function createWriteStream(path: PathLike, options?: BufferEncoding | StreamOptions): WriteStream;
3578
+ /**
3579
+ * Forces all currently queued I/O operations associated with the file to the
3580
+ * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. No arguments other
3581
+ * than a possible
3582
+ * exception are given to the completion callback.
3583
+ * @since v0.1.96
3584
+ */
3585
+ export function fdatasync(fd: number, callback: NoParamCallback): void;
3586
+ export namespace fdatasync {
3587
+ /**
3588
+ * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
3589
+ * @param fd A file descriptor.
3590
+ */
3591
+ function __promisify__(fd: number): Promise<void>;
3592
+ }
3593
+ /**
3594
+ * Forces all currently queued I/O operations associated with the file to the
3595
+ * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. Returns `undefined`.
3596
+ * @since v0.1.96
3597
+ */
3598
+ export function fdatasyncSync(fd: number): void;
3599
+ /**
3600
+ * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it
3601
+ * already exists. No arguments other than a possible exception are given to the
3602
+ * callback function. Node.js makes no guarantees about the atomicity of the copy
3603
+ * operation. If an error occurs after the destination file has been opened for
3604
+ * writing, Node.js will attempt to remove the destination.
3605
+ *
3606
+ * `mode` is an optional integer that specifies the behavior
3607
+ * of the copy operation. It is possible to create a mask consisting of the bitwise
3608
+ * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`).
3609
+ *
3610
+ * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already
3611
+ * exists.
3612
+ * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a
3613
+ * copy-on-write reflink. If the platform does not support copy-on-write, then a
3614
+ * fallback copy mechanism is used.
3615
+ * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to
3616
+ * create a copy-on-write reflink. If the platform does not support
3617
+ * copy-on-write, then the operation will fail.
3618
+ *
3619
+ * ```js
3620
+ * import { copyFile, constants } from 'fs';
3621
+ *
3622
+ * function callback(err) {
3623
+ * if (err) throw err;
3624
+ * console.log('source.txt was copied to destination.txt');
3625
+ * }
3626
+ *
3627
+ * // destination.txt will be created or overwritten by default.
3628
+ * copyFile('source.txt', 'destination.txt', callback);
3629
+ *
3630
+ * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists.
3631
+ * copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback);
3632
+ * ```
3633
+ * @since v8.5.0
3634
+ * @param src source filename to copy
3635
+ * @param dest destination filename of the copy operation
3636
+ * @param [mode=0] modifiers for copy operation.
3637
+ */
3638
+ export function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void;
3639
+ export function copyFile(src: PathLike, dest: PathLike, mode: number, callback: NoParamCallback): void;
3640
+ export namespace copyFile {
3641
+ function __promisify__(src: PathLike, dst: PathLike, mode?: number): Promise<void>;
3642
+ }
3643
+ /**
3644
+ * Synchronously copies `src` to `dest`. By default, `dest` is overwritten if it
3645
+ * already exists. Returns `undefined`. Node.js makes no guarantees about the
3646
+ * atomicity of the copy operation. If an error occurs after the destination file
3647
+ * has been opened for writing, Node.js will attempt to remove the destination.
3648
+ *
3649
+ * `mode` is an optional integer that specifies the behavior
3650
+ * of the copy operation. It is possible to create a mask consisting of the bitwise
3651
+ * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`).
3652
+ *
3653
+ * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already
3654
+ * exists.
3655
+ * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a
3656
+ * copy-on-write reflink. If the platform does not support copy-on-write, then a
3657
+ * fallback copy mechanism is used.
3658
+ * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to
3659
+ * create a copy-on-write reflink. If the platform does not support
3660
+ * copy-on-write, then the operation will fail.
3661
+ *
3662
+ * ```js
3663
+ * import { copyFileSync, constants } from 'fs';
3664
+ *
3665
+ * // destination.txt will be created or overwritten by default.
3666
+ * copyFileSync('source.txt', 'destination.txt');
3667
+ * console.log('source.txt was copied to destination.txt');
3668
+ *
3669
+ * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists.
3670
+ * copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
3671
+ * ```
3672
+ * @since v8.5.0
3673
+ * @param src source filename to copy
3674
+ * @param dest destination filename of the copy operation
3675
+ * @param [mode=0] modifiers for copy operation.
3676
+ */
3677
+ export function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void;
3678
+ /**
3679
+ * Write an array of `ArrayBufferView`s to the file specified by `fd` using`writev()`.
3680
+ *
3681
+ * `position` is the offset from the beginning of the file where this data
3682
+ * should be written. If `typeof position !== 'number'`, the data will be written
3683
+ * at the current position.
3684
+ *
3685
+ * The callback will be given three arguments: `err`, `bytesWritten`, and`buffers`. `bytesWritten` is how many bytes were written from `buffers`.
3686
+ *
3687
+ * If this method is `util.promisify()` ed, it returns a promise for an`Object` with `bytesWritten` and `buffers` properties.
3688
+ *
3689
+ * It is unsafe to use `fs.writev()` multiple times on the same file without
3690
+ * waiting for the callback. For this scenario, use {@link createWriteStream}.
3691
+ *
3692
+ * On Linux, positional writes don't work when the file is opened in append mode.
3693
+ * The kernel ignores the position argument and always appends the data to
3694
+ * the end of the file.
3695
+ * @since v12.9.0
3696
+ */
3697
+ export function writev(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void): void;
3698
+ export function writev(
3699
+ fd: number,
3700
+ buffers: ReadonlyArray<NodeJS.ArrayBufferView>,
3701
+ position: number,
3702
+ cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void
3703
+ ): void;
3704
+ export interface WriteVResult {
3705
+ bytesWritten: number;
3706
+ buffers: NodeJS.ArrayBufferView[];
3707
+ }
3708
+ export namespace writev {
3709
+ function __promisify__(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<WriteVResult>;
3710
+ }
3711
+ /**
3712
+ * For detailed information, see the documentation of the asynchronous version of
3713
+ * this API: {@link writev}.
3714
+ * @since v12.9.0
3715
+ * @return The number of bytes written.
3716
+ */
3717
+ export function writevSync(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): number;
3718
+ /**
3719
+ * Read from a file specified by `fd` and write to an array of `ArrayBufferView`s
3720
+ * using `readv()`.
3721
+ *
3722
+ * `position` is the offset from the beginning of the file from where data
3723
+ * should be read. If `typeof position !== 'number'`, the data will be read
3724
+ * from the current position.
3725
+ *
3726
+ * The callback will be given three arguments: `err`, `bytesRead`, and`buffers`. `bytesRead` is how many bytes were read from the file.
3727
+ *
3728
+ * If this method is invoked as its `util.promisify()` ed version, it returns
3729
+ * a promise for an `Object` with `bytesRead` and `buffers` properties.
3730
+ * @since v13.13.0, v12.17.0
3731
+ */
3732
+ export function readv(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void): void;
3733
+ export function readv(
3734
+ fd: number,
3735
+ buffers: ReadonlyArray<NodeJS.ArrayBufferView>,
3736
+ position: number,
3737
+ cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void
3738
+ ): void;
3739
+ export interface ReadVResult {
3740
+ bytesRead: number;
3741
+ buffers: NodeJS.ArrayBufferView[];
3742
+ }
3743
+ export namespace readv {
3744
+ function __promisify__(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<ReadVResult>;
3745
+ }
3746
+ /**
3747
+ * For detailed information, see the documentation of the asynchronous version of
3748
+ * this API: {@link readv}.
3749
+ * @since v13.13.0, v12.17.0
3750
+ * @return The number of bytes read.
3751
+ */
3752
+ export function readvSync(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): number;
3753
+ export interface OpenDirOptions {
3754
+ encoding?: BufferEncoding | undefined;
3755
+ /**
3756
+ * Number of directory entries that are buffered
3757
+ * internally when reading from the directory. Higher values lead to better
3758
+ * performance but higher memory usage.
3759
+ * @default 32
3760
+ */
3761
+ bufferSize?: number | undefined;
3762
+ }
3763
+ /**
3764
+ * Synchronously open a directory. See [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html).
3765
+ *
3766
+ * Creates an `fs.Dir`, which contains all further functions for reading from
3767
+ * and cleaning up the directory.
3768
+ *
3769
+ * The `encoding` option sets the encoding for the `path` while opening the
3770
+ * directory and subsequent read operations.
3771
+ * @since v12.12.0
3772
+ */
3773
+ export function opendirSync(path: PathLike, options?: OpenDirOptions): Dir;
3774
+ /**
3775
+ * Asynchronously open a directory. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for
3776
+ * more details.
3777
+ *
3778
+ * Creates an `fs.Dir`, which contains all further functions for reading from
3779
+ * and cleaning up the directory.
3780
+ *
3781
+ * The `encoding` option sets the encoding for the `path` while opening the
3782
+ * directory and subsequent read operations.
3783
+ * @since v12.12.0
3784
+ */
3785
+ export function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
3786
+ export function opendir(path: PathLike, options: OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
3787
+ export namespace opendir {
3788
+ function __promisify__(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
3789
+ }
3790
+ export interface BigIntStats extends StatsBase<bigint> {
3791
+ atimeNs: bigint;
3792
+ mtimeNs: bigint;
3793
+ ctimeNs: bigint;
3794
+ birthtimeNs: bigint;
3795
+ }
3796
+ export interface BigIntOptions {
3797
+ bigint: true;
3798
+ }
3799
+ export interface StatOptions {
3800
+ bigint?: boolean | undefined;
3801
+ }
3802
+ export interface StatSyncOptions extends StatOptions {
3803
+ throwIfNoEntry?: boolean | undefined;
3804
+ }
3805
+ export interface CopyOptions {
3806
+ /**
3807
+ * Dereference symlinks
3808
+ * @default false
3809
+ */
3810
+ dereference?: boolean;
3811
+ /**
3812
+ * When `force` is `false`, and the destination
3813
+ * exists, throw an error.
3814
+ * @default false
3815
+ */
3816
+ errorOnExist?: boolean;
3817
+ /**
3818
+ * Function to filter copied files/directories. Return
3819
+ * `true` to copy the item, `false` to ignore it.
3820
+ */
3821
+ filter?(source: string, destination: string): boolean;
3822
+ /**
3823
+ * Overwrite existing file or directory. _The copy
3824
+ * operation will ignore errors if you set this to false and the destination
3825
+ * exists. Use the `errorOnExist` option to change this behavior.
3826
+ * @default true
3827
+ */
3828
+ force?: boolean;
3829
+ /**
3830
+ * When `true` timestamps from `src` will
3831
+ * be preserved.
3832
+ * @default false
3833
+ */
3834
+ preserveTimestamps?: boolean;
3835
+ /**
3836
+ * Copy directories recursively.
3837
+ * @default false
3838
+ */
3839
+ recursive?: boolean;
3840
+ }
3841
+ /**
3842
+ * Asynchronously copies the entire directory structure from `src` to `dest`,
3843
+ * including subdirectories and files.
3844
+ *
3845
+ * When copying a directory to another directory, globs are not supported and
3846
+ * behavior is similar to `cp dir1/ dir2/`.
3847
+ * @since v16.7.0
3848
+ * @experimental
3849
+ * @param src source path to copy.
3850
+ * @param dest destination path to copy to.
3851
+ */
3852
+ export function cp(source: string, destination: string, callback: (err: NodeJS.ErrnoException | null) => void): void;
3853
+ export function cp(source: string, destination: string, opts: CopyOptions, callback: (err: NodeJS.ErrnoException | null) => void): void;
3854
+ /**
3855
+ * Synchronously copies the entire directory structure from `src` to `dest`,
3856
+ * including subdirectories and files.
3857
+ *
3858
+ * When copying a directory to another directory, globs are not supported and
3859
+ * behavior is similar to `cp dir1/ dir2/`.
3860
+ * @since v16.7.0
3861
+ * @experimental
3862
+ * @param src source path to copy.
3863
+ * @param dest destination path to copy to.
3864
+ */
3865
+ export function cpSync(source: string, destination: string, opts?: CopyOptions): void;
3866
+ }
3867
+ declare module 'node:fs' {
3868
+ export * from 'fs';
3869
+ }