pcp-server-ruby-sdk 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3137) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +41 -0
  3. data/Gemfile +10 -0
  4. data/Gemfile.lock +91 -0
  5. data/LICENSE +21 -0
  6. data/PCP-server-Ruby-SDK.gemspec +42 -0
  7. data/README.md +190 -0
  8. data/Rakefile +18 -0
  9. data/changelog.config.js +80 -0
  10. data/commitlint.config.js +1 -0
  11. data/coverage/.last_run.json +5 -0
  12. data/coverage/.resultset.json +325 -0
  13. data/coverage/.resultset.json.lock +0 -0
  14. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  15. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  16. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  17. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  18. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  19. data/coverage/assets/0.12.3/application.css +1 -0
  20. data/coverage/assets/0.12.3/application.js +7 -0
  21. data/coverage/assets/0.12.3/colorbox/border.png +0 -0
  22. data/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  23. data/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  24. data/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  25. data/coverage/assets/0.12.3/favicon_green.png +0 -0
  26. data/coverage/assets/0.12.3/favicon_red.png +0 -0
  27. data/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  28. data/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  29. data/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  30. data/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  31. data/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  32. data/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  33. data/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  34. data/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  35. data/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  36. data/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  37. data/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  38. data/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  39. data/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  40. data/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  41. data/coverage/assets/0.12.3/loading.gif +0 -0
  42. data/coverage/assets/0.12.3/magnify.png +0 -0
  43. data/coverage/coverage.json +352 -0
  44. data/coverage/index.html +3953 -0
  45. data/docs/APIError.md +28 -0
  46. data/docs/Address.md +30 -0
  47. data/docs/AddressPersonal.md +32 -0
  48. data/docs/AllowedPaymentActions.md +15 -0
  49. data/docs/AmountOfMoney.md +20 -0
  50. data/docs/ApplePaymentDataTokenHeaderInformation.md +20 -0
  51. data/docs/ApplePaymentDataTokenInformation.md +22 -0
  52. data/docs/AuthorizationMode.md +15 -0
  53. data/docs/BankAccountInformation.md +20 -0
  54. data/docs/CancelItem.md +20 -0
  55. data/docs/CancelPaymentRequest.md +18 -0
  56. data/docs/CancelPaymentResponse.md +18 -0
  57. data/docs/CancelRequest.md +22 -0
  58. data/docs/CancelResponse.md +20 -0
  59. data/docs/CancelType.md +15 -0
  60. data/docs/CancellationReason.md +15 -0
  61. data/docs/CaptureOutput.md +24 -0
  62. data/docs/CapturePaymentRequest.md +26 -0
  63. data/docs/CapturePaymentResponse.md +24 -0
  64. data/docs/CardFraudResults.md +18 -0
  65. data/docs/CardInfo.md +18 -0
  66. data/docs/CardPaymentDetails.md +24 -0
  67. data/docs/CardPaymentMethodSpecificInput.md +40 -0
  68. data/docs/CardPaymentMethodSpecificOutput.md +24 -0
  69. data/docs/CardRecurrenceDetails.md +18 -0
  70. data/docs/CartItemInput.md +20 -0
  71. data/docs/CartItemInvoiceData.md +18 -0
  72. data/docs/CartItemOrderStatus.md +20 -0
  73. data/docs/CartItemPatch.md +20 -0
  74. data/docs/CartItemResult.md +20 -0
  75. data/docs/CartItemStatus.md +15 -0
  76. data/docs/CheckoutApi.md +412 -0
  77. data/docs/CheckoutReferences.md +20 -0
  78. data/docs/CheckoutResponse.md +42 -0
  79. data/docs/CheckoutsResponse.md +20 -0
  80. data/docs/CommerceCaseApi.md +294 -0
  81. data/docs/CommerceCaseResponse.md +26 -0
  82. data/docs/CompanyInformation.md +18 -0
  83. data/docs/CompleteFinancingPaymentMethodSpecificInput.md +22 -0
  84. data/docs/CompletePaymentMethodSpecificInput.md +18 -0
  85. data/docs/CompletePaymentRequest.md +22 -0
  86. data/docs/CompletePaymentResponse.md +22 -0
  87. data/docs/ContactDetails.md +20 -0
  88. data/docs/CreateCheckoutRequest.md +30 -0
  89. data/docs/CreateCheckoutResponse.md +40 -0
  90. data/docs/CreateCommerceCaseRequest.md +24 -0
  91. data/docs/CreateCommerceCaseResponse.md +26 -0
  92. data/docs/CreatePaymentResponse.md +24 -0
  93. data/docs/Customer.md +32 -0
  94. data/docs/CustomerDevice.md +20 -0
  95. data/docs/DeliverItem.md +20 -0
  96. data/docs/DeliverRequest.md +24 -0
  97. data/docs/DeliverResponse.md +20 -0
  98. data/docs/DeliverType.md +15 -0
  99. data/docs/DeliveryInformation.md +18 -0
  100. data/docs/ErrorResponse.md +20 -0
  101. data/docs/ExtendedCheckoutStatus.md +15 -0
  102. data/docs/FinancingPaymentMethodSpecificInput.md +22 -0
  103. data/docs/FinancingPaymentMethodSpecificOutput.md +20 -0
  104. data/docs/InstallmentOption.md +34 -0
  105. data/docs/LinkInformation.md +20 -0
  106. data/docs/MandateRecurrenceType.md +15 -0
  107. data/docs/MerchantAction.md +20 -0
  108. data/docs/MobilePaymentMethodSpecificInput.md +28 -0
  109. data/docs/MobilePaymentMethodSpecificOutput.md +26 -0
  110. data/docs/Order.md +26 -0
  111. data/docs/OrderItem.md +20 -0
  112. data/docs/OrderLineDetailsInput.md +34 -0
  113. data/docs/OrderLineDetailsPatch.md +38 -0
  114. data/docs/OrderLineDetailsResult.md +38 -0
  115. data/docs/OrderManagementCheckoutActionsApi.md +295 -0
  116. data/docs/OrderRequest.md +24 -0
  117. data/docs/OrderResponse.md +20 -0
  118. data/docs/OrderType.md +15 -0
  119. data/docs/PatchCheckoutRequest.md +28 -0
  120. data/docs/PatchCommerceCaseRequest.md +18 -0
  121. data/docs/PaymentChannel.md +15 -0
  122. data/docs/PaymentCreationOutput.md +18 -0
  123. data/docs/PaymentEvent.md +26 -0
  124. data/docs/PaymentExecution.md +36 -0
  125. data/docs/PaymentExecutionApi.md +370 -0
  126. data/docs/PaymentExecutionRequest.md +20 -0
  127. data/docs/PaymentExecutionSpecificInput.md +22 -0
  128. data/docs/PaymentInformationApi.md +149 -0
  129. data/docs/PaymentInformationRequest.md +26 -0
  130. data/docs/PaymentInformationResponse.md +38 -0
  131. data/docs/PaymentMethodSpecificInput.md +30 -0
  132. data/docs/PaymentOutput.md +34 -0
  133. data/docs/PaymentProduct320SpecificInput.md +20 -0
  134. data/docs/PaymentProduct3391SpecificInput.md +20 -0
  135. data/docs/PaymentProduct3391SpecificOutput.md +18 -0
  136. data/docs/PaymentProduct3392SpecificInput.md +18 -0
  137. data/docs/PaymentProduct771SpecificOutput.md +18 -0
  138. data/docs/PaymentProduct840CustomerAccount.md +24 -0
  139. data/docs/PaymentProduct840SpecificOutput.md +22 -0
  140. data/docs/PaymentReferences.md +18 -0
  141. data/docs/PaymentResponse.md +24 -0
  142. data/docs/PaymentStatusOutput.md +24 -0
  143. data/docs/PaymentType.md +15 -0
  144. data/docs/PayoutOutput.md +22 -0
  145. data/docs/PayoutResponse.md +24 -0
  146. data/docs/PersonalInformation.md +22 -0
  147. data/docs/PersonalName.md +22 -0
  148. data/docs/PositiveAmountOfMoney.md +20 -0
  149. data/docs/ProcessingMandateInformation.md +26 -0
  150. data/docs/ProductType.md +15 -0
  151. data/docs/RedirectData.md +18 -0
  152. data/docs/RedirectPaymentMethodSpecificInput.md +30 -0
  153. data/docs/RedirectPaymentMethodSpecificOutput.md +24 -0
  154. data/docs/RedirectPaymentProduct840SpecificInput.md +18 -0
  155. data/docs/RedirectionData.md +18 -0
  156. data/docs/References.md +22 -0
  157. data/docs/RefundErrorResponse.md +20 -0
  158. data/docs/RefundOutput.md +24 -0
  159. data/docs/RefundPaymentResponse.md +24 -0
  160. data/docs/RefundRequest.md +22 -0
  161. data/docs/ReturnInformation.md +20 -0
  162. data/docs/ReturnItem.md +20 -0
  163. data/docs/ReturnRequest.md +22 -0
  164. data/docs/ReturnResponse.md +20 -0
  165. data/docs/ReturnType.md +15 -0
  166. data/docs/SepaDirectDebitPaymentMethodSpecificInput.md +20 -0
  167. data/docs/SepaDirectDebitPaymentMethodSpecificOutput.md +20 -0
  168. data/docs/SepaDirectDebitPaymentProduct771SpecificInput.md +20 -0
  169. data/docs/Shipping.md +18 -0
  170. data/docs/ShoppingCartInput.md +18 -0
  171. data/docs/ShoppingCartPatch.md +18 -0
  172. data/docs/ShoppingCartResult.md +18 -0
  173. data/docs/StatusCategoryValue.md +15 -0
  174. data/docs/StatusCheckout.md +15 -0
  175. data/docs/StatusOutput.md +30 -0
  176. data/docs/StatusValue.md +15 -0
  177. data/docs/ThreeDSecureResults.md +22 -0
  178. data/docs/TransactionChannel.md +15 -0
  179. data/docs/UnscheduledCardOnFileRequestor.md +15 -0
  180. data/docs/UnscheduledCardOnFileSequenceIndicator.md +15 -0
  181. data/example-app/commerce_case_api_example.rb +47 -0
  182. data/example-app/example.rb +33 -0
  183. data/lefthook.yml +5 -0
  184. data/lib/PCP-server-Ruby-SDK/api/base_api_client.rb +105 -0
  185. data/lib/PCP-server-Ruby-SDK/api/checkout_api_client.rb +94 -0
  186. data/lib/PCP-server-Ruby-SDK/api/commerce_case_api_client.rb +75 -0
  187. data/lib/PCP-server-Ruby-SDK/api/order_management_checkout_actions_api_client.rb +82 -0
  188. data/lib/PCP-server-Ruby-SDK/api/payment_execution_api_client.rb +104 -0
  189. data/lib/PCP-server-Ruby-SDK/api/payment_information_api_client.rb +50 -0
  190. data/lib/PCP-server-Ruby-SDK/communicator_configuration.rb +9 -0
  191. data/lib/PCP-server-Ruby-SDK/errors/api_error_response_exception.rb +15 -0
  192. data/lib/PCP-server-Ruby-SDK/errors/api_exception.rb +27 -0
  193. data/lib/PCP-server-Ruby-SDK/errors/api_response_retrieval_exception.rb +7 -0
  194. data/lib/PCP-server-Ruby-SDK/models/address.rb +456 -0
  195. data/lib/PCP-server-Ruby-SDK/models/address_personal.rb +443 -0
  196. data/lib/PCP-server-Ruby-SDK/models/allowed_payment_actions.rb +40 -0
  197. data/lib/PCP-server-Ruby-SDK/models/amount_of_money.rb +294 -0
  198. data/lib/PCP-server-Ruby-SDK/models/api_error.rb +271 -0
  199. data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_header_information.rb +224 -0
  200. data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_information.rb +267 -0
  201. data/lib/PCP-server-Ruby-SDK/models/authorization_mode.rb +40 -0
  202. data/lib/PCP-server-Ruby-SDK/models/bank_account_information.rb +276 -0
  203. data/lib/PCP-server-Ruby-SDK/models/cancel_item.rb +265 -0
  204. data/lib/PCP-server-Ruby-SDK/models/cancel_payment_request.rb +234 -0
  205. data/lib/PCP-server-Ruby-SDK/models/cancel_payment_response.rb +212 -0
  206. data/lib/PCP-server-Ruby-SDK/models/cancel_request.rb +255 -0
  207. data/lib/PCP-server-Ruby-SDK/models/cancel_response.rb +221 -0
  208. data/lib/PCP-server-Ruby-SDK/models/cancel_type.rb +40 -0
  209. data/lib/PCP-server-Ruby-SDK/models/cancellation_reason.rb +44 -0
  210. data/lib/PCP-server-Ruby-SDK/models/capture_output.rb +261 -0
  211. data/lib/PCP-server-Ruby-SDK/models/capture_payment_request.rb +303 -0
  212. data/lib/PCP-server-Ruby-SDK/models/capture_payment_response.rb +262 -0
  213. data/lib/PCP-server-Ruby-SDK/models/card_fraud_results.rb +214 -0
  214. data/lib/PCP-server-Ruby-SDK/models/card_info.rb +214 -0
  215. data/lib/PCP-server-Ruby-SDK/models/card_payment_details.rb +320 -0
  216. data/lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_input.rb +467 -0
  217. data/lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_output.rb +270 -0
  218. data/lib/PCP-server-Ruby-SDK/models/card_recurrence_details.rb +214 -0
  219. data/lib/PCP-server-Ruby-SDK/models/cart_item_input.rb +222 -0
  220. data/lib/PCP-server-Ruby-SDK/models/cart_item_invoice_data.rb +214 -0
  221. data/lib/PCP-server-Ruby-SDK/models/cart_item_order_status.rb +273 -0
  222. data/lib/PCP-server-Ruby-SDK/models/cart_item_patch.rb +222 -0
  223. data/lib/PCP-server-Ruby-SDK/models/cart_item_result.rb +222 -0
  224. data/lib/PCP-server-Ruby-SDK/models/cart_item_status.rb +43 -0
  225. data/lib/PCP-server-Ruby-SDK/models/checkout_references.rb +262 -0
  226. data/lib/PCP-server-Ruby-SDK/models/checkout_response.rb +372 -0
  227. data/lib/PCP-server-Ruby-SDK/models/checkouts_response.rb +245 -0
  228. data/lib/PCP-server-Ruby-SDK/models/commerce_case_response.rb +272 -0
  229. data/lib/PCP-server-Ruby-SDK/models/company_information.rb +214 -0
  230. data/lib/PCP-server-Ruby-SDK/models/complete_financing_payment_method_specific_input.rb +261 -0
  231. data/lib/PCP-server-Ruby-SDK/models/complete_payment_method_specific_input.rb +213 -0
  232. data/lib/PCP-server-Ruby-SDK/models/complete_payment_request.rb +231 -0
  233. data/lib/PCP-server-Ruby-SDK/models/complete_payment_response.rb +230 -0
  234. data/lib/PCP-server-Ruby-SDK/models/contact_details.rb +224 -0
  235. data/lib/PCP-server-Ruby-SDK/models/create_checkout_request.rb +271 -0
  236. data/lib/PCP-server-Ruby-SDK/models/create_checkout_response.rb +338 -0
  237. data/lib/PCP-server-Ruby-SDK/models/create_commerce_case_request.rb +260 -0
  238. data/lib/PCP-server-Ruby-SDK/models/create_commerce_case_response.rb +271 -0
  239. data/lib/PCP-server-Ruby-SDK/models/create_payment_response.rb +241 -0
  240. data/lib/PCP-server-Ruby-SDK/models/customer.rb +337 -0
  241. data/lib/PCP-server-Ruby-SDK/models/customer_device.rb +262 -0
  242. data/lib/PCP-server-Ruby-SDK/models/deliver_item.rb +265 -0
  243. data/lib/PCP-server-Ruby-SDK/models/deliver_request.rb +267 -0
  244. data/lib/PCP-server-Ruby-SDK/models/deliver_response.rb +221 -0
  245. data/lib/PCP-server-Ruby-SDK/models/deliver_type.rb +40 -0
  246. data/lib/PCP-server-Ruby-SDK/models/delivery_information.rb +216 -0
  247. data/lib/PCP-server-Ruby-SDK/models/error_response.rb +224 -0
  248. data/lib/PCP-server-Ruby-SDK/models/extended_checkout_status.rb +47 -0
  249. data/lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_input.rb +261 -0
  250. data/lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_output.rb +251 -0
  251. data/lib/PCP-server-Ruby-SDK/models/installment_option.rb +386 -0
  252. data/lib/PCP-server-Ruby-SDK/models/link_information.rb +238 -0
  253. data/lib/PCP-server-Ruby-SDK/models/mandate_recurrence_type.rb +40 -0
  254. data/lib/PCP-server-Ruby-SDK/models/merchant_action.rb +223 -0
  255. data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_input.rb +312 -0
  256. data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_output.rb +280 -0
  257. data/lib/PCP-server-Ruby-SDK/models/order.rb +256 -0
  258. data/lib/PCP-server-Ruby-SDK/models/order_item.rb +266 -0
  259. data/lib/PCP-server-Ruby-SDK/models/order_line_details_input.rb +470 -0
  260. data/lib/PCP-server-Ruby-SDK/models/order_line_details_patch.rb +498 -0
  261. data/lib/PCP-server-Ruby-SDK/models/order_line_details_result.rb +498 -0
  262. data/lib/PCP-server-Ruby-SDK/models/order_request.rb +264 -0
  263. data/lib/PCP-server-Ruby-SDK/models/order_response.rb +222 -0
  264. data/lib/PCP-server-Ruby-SDK/models/order_type.rb +40 -0
  265. data/lib/PCP-server-Ruby-SDK/models/patch_checkout_request.rb +258 -0
  266. data/lib/PCP-server-Ruby-SDK/models/patch_commerce_case_request.rb +213 -0
  267. data/lib/PCP-server-Ruby-SDK/models/payment_channel.rb +40 -0
  268. data/lib/PCP-server-Ruby-SDK/models/payment_creation_output.rb +214 -0
  269. data/lib/PCP-server-Ruby-SDK/models/payment_event.rb +291 -0
  270. data/lib/PCP-server-Ruby-SDK/models/payment_execution.rb +320 -0
  271. data/lib/PCP-server-Ruby-SDK/models/payment_execution_request.rb +222 -0
  272. data/lib/PCP-server-Ruby-SDK/models/payment_execution_specific_input.rb +238 -0
  273. data/lib/PCP-server-Ruby-SDK/models/payment_information_request.rb +347 -0
  274. data/lib/PCP-server-Ruby-SDK/models/payment_information_response.rb +448 -0
  275. data/lib/PCP-server-Ruby-SDK/models/payment_method_specific_input.rb +289 -0
  276. data/lib/PCP-server-Ruby-SDK/models/payment_output.rb +306 -0
  277. data/lib/PCP-server-Ruby-SDK/models/payment_product320_specific_input.rb +256 -0
  278. data/lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_input.rb +237 -0
  279. data/lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_output.rb +216 -0
  280. data/lib/PCP-server-Ruby-SDK/models/payment_product3392_specific_input.rb +220 -0
  281. data/lib/PCP-server-Ruby-SDK/models/payment_product771_specific_output.rb +214 -0
  282. data/lib/PCP-server-Ruby-SDK/models/payment_product840_customer_account.rb +244 -0
  283. data/lib/PCP-server-Ruby-SDK/models/payment_product840_specific_output.rb +231 -0
  284. data/lib/PCP-server-Ruby-SDK/models/payment_references.rb +233 -0
  285. data/lib/PCP-server-Ruby-SDK/models/payment_response.rb +263 -0
  286. data/lib/PCP-server-Ruby-SDK/models/payment_status_output.rb +265 -0
  287. data/lib/PCP-server-Ruby-SDK/models/payment_type.rb +46 -0
  288. data/lib/PCP-server-Ruby-SDK/models/payout_output.rb +232 -0
  289. data/lib/PCP-server-Ruby-SDK/models/payout_response.rb +263 -0
  290. data/lib/PCP-server-Ruby-SDK/models/personal_information.rb +297 -0
  291. data/lib/PCP-server-Ruby-SDK/models/personal_name.rb +234 -0
  292. data/lib/PCP-server-Ruby-SDK/models/positive_amount_of_money.rb +294 -0
  293. data/lib/PCP-server-Ruby-SDK/models/processing_mandate_information.rb +399 -0
  294. data/lib/PCP-server-Ruby-SDK/models/product_type.rb +42 -0
  295. data/lib/PCP-server-Ruby-SDK/models/redirect_data.rb +214 -0
  296. data/lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_input.rb +338 -0
  297. data/lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_output.rb +309 -0
  298. data/lib/PCP-server-Ruby-SDK/models/redirect_payment_product840_specific_input.rb +214 -0
  299. data/lib/PCP-server-Ruby-SDK/models/redirection_data.rb +240 -0
  300. data/lib/PCP-server-Ruby-SDK/models/references.rb +298 -0
  301. data/lib/PCP-server-Ruby-SDK/models/refund_error_response.rb +224 -0
  302. data/lib/PCP-server-Ruby-SDK/models/refund_output.rb +261 -0
  303. data/lib/PCP-server-Ruby-SDK/models/refund_payment_response.rb +263 -0
  304. data/lib/PCP-server-Ruby-SDK/models/refund_request.rb +231 -0
  305. data/lib/PCP-server-Ruby-SDK/models/return_information.rb +245 -0
  306. data/lib/PCP-server-Ruby-SDK/models/return_item.rb +265 -0
  307. data/lib/PCP-server-Ruby-SDK/models/return_request.rb +275 -0
  308. data/lib/PCP-server-Ruby-SDK/models/return_response.rb +221 -0
  309. data/lib/PCP-server-Ruby-SDK/models/return_type.rb +40 -0
  310. data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_input.rb +251 -0
  311. data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_output.rb +251 -0
  312. data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_product771_specific_input.rb +223 -0
  313. data/lib/PCP-server-Ruby-SDK/models/shipping.rb +213 -0
  314. data/lib/PCP-server-Ruby-SDK/models/shopping_cart_input.rb +215 -0
  315. data/lib/PCP-server-Ruby-SDK/models/shopping_cart_patch.rb +215 -0
  316. data/lib/PCP-server-Ruby-SDK/models/shopping_cart_result.rb +215 -0
  317. data/lib/PCP-server-Ruby-SDK/models/status_category_value.rb +46 -0
  318. data/lib/PCP-server-Ruby-SDK/models/status_checkout.rb +44 -0
  319. data/lib/PCP-server-Ruby-SDK/models/status_output.rb +448 -0
  320. data/lib/PCP-server-Ruby-SDK/models/status_value.rb +61 -0
  321. data/lib/PCP-server-Ruby-SDK/models/three_d_secure_results.rb +287 -0
  322. data/lib/PCP-server-Ruby-SDK/models/transaction_channel.rb +40 -0
  323. data/lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_requestor.rb +40 -0
  324. data/lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_sequence_indicator.rb +40 -0
  325. data/lib/PCP-server-Ruby-SDK/queries/get_checkouts_query.rb +61 -0
  326. data/lib/PCP-server-Ruby-SDK/queries/get_commerce_cases_query.rb +71 -0
  327. data/lib/PCP-server-Ruby-SDK/request_header_generator.rb +74 -0
  328. data/lib/PCP-server-Ruby-SDK/utils/server_meta_info.rb +22 -0
  329. data/lib/PCP-server-Ruby-SDK/version.rb +15 -0
  330. data/lib/PCP-server-Ruby-SDK.rb +175 -0
  331. data/node_modules/.bin/JSONStream +1 -0
  332. data/node_modules/.bin/commitlint +1 -0
  333. data/node_modules/.bin/conventional-changelog +1 -0
  334. data/node_modules/.bin/conventional-changelog-writer +1 -0
  335. data/node_modules/.bin/conventional-commits-parser +1 -0
  336. data/node_modules/.bin/git-raw-commits +1 -0
  337. data/node_modules/.bin/git-semver-tags +1 -0
  338. data/node_modules/.bin/handlebars +1 -0
  339. data/node_modules/.bin/jiti +1 -0
  340. data/node_modules/.bin/js-yaml +1 -0
  341. data/node_modules/.bin/lefthook +1 -0
  342. data/node_modules/.bin/node-which +1 -0
  343. data/node_modules/.bin/semver +1 -0
  344. data/node_modules/.bin/uglifyjs +1 -0
  345. data/node_modules/.package-lock.json +2010 -0
  346. data/node_modules/@babel/code-frame/LICENSE +22 -0
  347. data/node_modules/@babel/code-frame/README.md +19 -0
  348. data/node_modules/@babel/code-frame/lib/index.js +156 -0
  349. data/node_modules/@babel/code-frame/lib/index.js.map +1 -0
  350. data/node_modules/@babel/code-frame/package.json +30 -0
  351. data/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  352. data/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  353. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  354. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  355. data/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  356. data/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  357. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  358. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  359. data/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  360. data/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +73 -0
  361. data/node_modules/@babel/highlight/LICENSE +22 -0
  362. data/node_modules/@babel/highlight/README.md +19 -0
  363. data/node_modules/@babel/highlight/lib/index.js +119 -0
  364. data/node_modules/@babel/highlight/lib/index.js.map +1 -0
  365. data/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +165 -0
  366. data/node_modules/@babel/highlight/node_modules/ansi-styles/license +9 -0
  367. data/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +56 -0
  368. data/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +147 -0
  369. data/node_modules/@babel/highlight/node_modules/chalk/index.js +228 -0
  370. data/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +93 -0
  371. data/node_modules/@babel/highlight/node_modules/chalk/license +9 -0
  372. data/node_modules/@babel/highlight/node_modules/chalk/package.json +71 -0
  373. data/node_modules/@babel/highlight/node_modules/chalk/readme.md +314 -0
  374. data/node_modules/@babel/highlight/node_modules/chalk/templates.js +128 -0
  375. data/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +97 -0
  376. data/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +54 -0
  377. data/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +21 -0
  378. data/node_modules/@babel/highlight/node_modules/color-convert/README.md +68 -0
  379. data/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +868 -0
  380. data/node_modules/@babel/highlight/node_modules/color-convert/index.js +78 -0
  381. data/node_modules/@babel/highlight/node_modules/color-convert/package.json +46 -0
  382. data/node_modules/@babel/highlight/node_modules/color-convert/route.js +97 -0
  383. data/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +43 -0
  384. data/node_modules/@babel/highlight/node_modules/color-name/.npmignore +107 -0
  385. data/node_modules/@babel/highlight/node_modules/color-name/LICENSE +8 -0
  386. data/node_modules/@babel/highlight/node_modules/color-name/README.md +11 -0
  387. data/node_modules/@babel/highlight/node_modules/color-name/index.js +152 -0
  388. data/node_modules/@babel/highlight/node_modules/color-name/package.json +25 -0
  389. data/node_modules/@babel/highlight/node_modules/color-name/test.js +7 -0
  390. data/node_modules/@babel/highlight/package.json +30 -0
  391. data/node_modules/@commitlint/cli/README.md +11 -0
  392. data/node_modules/@commitlint/cli/cli.js +2 -0
  393. data/node_modules/@commitlint/cli/index.cjs +3 -0
  394. data/node_modules/@commitlint/cli/lib/cli-error.d.ts +7 -0
  395. data/node_modules/@commitlint/cli/lib/cli-error.d.ts.map +1 -0
  396. data/node_modules/@commitlint/cli/lib/cli-error.js +12 -0
  397. data/node_modules/@commitlint/cli/lib/cli-error.js.map +1 -0
  398. data/node_modules/@commitlint/cli/lib/cli.d.ts +2 -0
  399. data/node_modules/@commitlint/cli/lib/cli.d.ts.map +1 -0
  400. data/node_modules/@commitlint/cli/lib/cli.js +386 -0
  401. data/node_modules/@commitlint/cli/lib/cli.js.map +1 -0
  402. data/node_modules/@commitlint/cli/lib/types.d.ts +26 -0
  403. data/node_modules/@commitlint/cli/lib/types.d.ts.map +1 -0
  404. data/node_modules/@commitlint/cli/lib/types.js +2 -0
  405. data/node_modules/@commitlint/cli/lib/types.js.map +1 -0
  406. data/node_modules/@commitlint/cli/license.md +21 -0
  407. data/node_modules/@commitlint/cli/package.json +60 -0
  408. data/node_modules/@commitlint/config-conventional/README.md +209 -0
  409. data/node_modules/@commitlint/config-conventional/lib/index.d.ts +111 -0
  410. data/node_modules/@commitlint/config-conventional/lib/index.d.ts.map +1 -0
  411. data/node_modules/@commitlint/config-conventional/lib/index.js +134 -0
  412. data/node_modules/@commitlint/config-conventional/lib/index.js.map +1 -0
  413. data/node_modules/@commitlint/config-conventional/license.md +21 -0
  414. data/node_modules/@commitlint/config-conventional/package.json +46 -0
  415. data/node_modules/@commitlint/config-validator/lib/commitlint.schema.json +105 -0
  416. data/node_modules/@commitlint/config-validator/lib/formatErrors.d.ts +9 -0
  417. data/node_modules/@commitlint/config-validator/lib/formatErrors.d.ts.map +1 -0
  418. data/node_modules/@commitlint/config-validator/lib/formatErrors.js +35 -0
  419. data/node_modules/@commitlint/config-validator/lib/formatErrors.js.map +1 -0
  420. data/node_modules/@commitlint/config-validator/lib/validate.d.ts +3 -0
  421. data/node_modules/@commitlint/config-validator/lib/validate.d.ts.map +1 -0
  422. data/node_modules/@commitlint/config-validator/lib/validate.js +39 -0
  423. data/node_modules/@commitlint/config-validator/lib/validate.js.map +1 -0
  424. data/node_modules/@commitlint/config-validator/license.md +21 -0
  425. data/node_modules/@commitlint/config-validator/package.json +46 -0
  426. data/node_modules/@commitlint/ensure/lib/case.d.ts +4 -0
  427. data/node_modules/@commitlint/ensure/lib/case.d.ts.map +1 -0
  428. data/node_modules/@commitlint/ensure/lib/case.js +15 -0
  429. data/node_modules/@commitlint/ensure/lib/case.js.map +1 -0
  430. data/node_modules/@commitlint/ensure/lib/enum.d.ts +3 -0
  431. data/node_modules/@commitlint/ensure/lib/enum.d.ts.map +1 -0
  432. data/node_modules/@commitlint/ensure/lib/enum.js +10 -0
  433. data/node_modules/@commitlint/ensure/lib/enum.js.map +1 -0
  434. data/node_modules/@commitlint/ensure/lib/index.d.ts +11 -0
  435. data/node_modules/@commitlint/ensure/lib/index.d.ts.map +1 -0
  436. data/node_modules/@commitlint/ensure/lib/index.js +11 -0
  437. data/node_modules/@commitlint/ensure/lib/index.js.map +1 -0
  438. data/node_modules/@commitlint/ensure/lib/max-length.d.ts +3 -0
  439. data/node_modules/@commitlint/ensure/lib/max-length.d.ts.map +1 -0
  440. data/node_modules/@commitlint/ensure/lib/max-length.js +2 -0
  441. data/node_modules/@commitlint/ensure/lib/max-length.js.map +1 -0
  442. data/node_modules/@commitlint/ensure/lib/max-line-length.d.ts +3 -0
  443. data/node_modules/@commitlint/ensure/lib/max-line-length.d.ts.map +1 -0
  444. data/node_modules/@commitlint/ensure/lib/max-line-length.js +4 -0
  445. data/node_modules/@commitlint/ensure/lib/max-line-length.js.map +1 -0
  446. data/node_modules/@commitlint/ensure/lib/min-length.d.ts +3 -0
  447. data/node_modules/@commitlint/ensure/lib/min-length.d.ts.map +1 -0
  448. data/node_modules/@commitlint/ensure/lib/min-length.js +2 -0
  449. data/node_modules/@commitlint/ensure/lib/min-length.js.map +1 -0
  450. data/node_modules/@commitlint/ensure/lib/not-empty.d.ts +3 -0
  451. data/node_modules/@commitlint/ensure/lib/not-empty.d.ts.map +1 -0
  452. data/node_modules/@commitlint/ensure/lib/not-empty.js +2 -0
  453. data/node_modules/@commitlint/ensure/lib/not-empty.js.map +1 -0
  454. data/node_modules/@commitlint/ensure/lib/to-case.d.ts +3 -0
  455. data/node_modules/@commitlint/ensure/lib/to-case.d.ts.map +1 -0
  456. data/node_modules/@commitlint/ensure/lib/to-case.js +32 -0
  457. data/node_modules/@commitlint/ensure/lib/to-case.js.map +1 -0
  458. data/node_modules/@commitlint/ensure/license.md +21 -0
  459. data/node_modules/@commitlint/ensure/package.json +56 -0
  460. data/node_modules/@commitlint/execute-rule/lib/index.d.ts +7 -0
  461. data/node_modules/@commitlint/execute-rule/lib/index.d.ts.map +1 -0
  462. data/node_modules/@commitlint/execute-rule/lib/index.js +13 -0
  463. data/node_modules/@commitlint/execute-rule/lib/index.js.map +1 -0
  464. data/node_modules/@commitlint/execute-rule/license.md +21 -0
  465. data/node_modules/@commitlint/execute-rule/package.json +42 -0
  466. data/node_modules/@commitlint/format/README.md +15 -0
  467. data/node_modules/@commitlint/format/lib/format.d.ts +5 -0
  468. data/node_modules/@commitlint/format/lib/format.d.ts.map +1 -0
  469. data/node_modules/@commitlint/format/lib/format.js +74 -0
  470. data/node_modules/@commitlint/format/lib/format.js.map +1 -0
  471. data/node_modules/@commitlint/format/lib/index.d.ts +3 -0
  472. data/node_modules/@commitlint/format/lib/index.d.ts.map +1 -0
  473. data/node_modules/@commitlint/format/lib/index.js +3 -0
  474. data/node_modules/@commitlint/format/lib/index.js.map +1 -0
  475. data/node_modules/@commitlint/format/license.md +21 -0
  476. data/node_modules/@commitlint/format/package.json +46 -0
  477. data/node_modules/@commitlint/is-ignored/lib/defaults.d.ts +3 -0
  478. data/node_modules/@commitlint/is-ignored/lib/defaults.d.ts.map +1 -0
  479. data/node_modules/@commitlint/is-ignored/lib/defaults.js +22 -0
  480. data/node_modules/@commitlint/is-ignored/lib/defaults.js.map +1 -0
  481. data/node_modules/@commitlint/is-ignored/lib/index.d.ts +3 -0
  482. data/node_modules/@commitlint/is-ignored/lib/index.d.ts.map +1 -0
  483. data/node_modules/@commitlint/is-ignored/lib/index.js +3 -0
  484. data/node_modules/@commitlint/is-ignored/lib/index.js.map +1 -0
  485. data/node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts +3 -0
  486. data/node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts.map +1 -0
  487. data/node_modules/@commitlint/is-ignored/lib/is-ignored.js +16 -0
  488. data/node_modules/@commitlint/is-ignored/lib/is-ignored.js.map +1 -0
  489. data/node_modules/@commitlint/is-ignored/license.md +21 -0
  490. data/node_modules/@commitlint/is-ignored/package.json +49 -0
  491. data/node_modules/@commitlint/lint/README.md +15 -0
  492. data/node_modules/@commitlint/lint/lib/commit-message.d.ts +7 -0
  493. data/node_modules/@commitlint/lint/lib/commit-message.d.ts.map +1 -0
  494. data/node_modules/@commitlint/lint/lib/commit-message.js +7 -0
  495. data/node_modules/@commitlint/lint/lib/commit-message.js.map +1 -0
  496. data/node_modules/@commitlint/lint/lib/lint.d.ts +3 -0
  497. data/node_modules/@commitlint/lint/lib/lint.d.ts.map +1 -0
  498. data/node_modules/@commitlint/lint/lib/lint.js +115 -0
  499. data/node_modules/@commitlint/lint/lib/lint.js.map +1 -0
  500. data/node_modules/@commitlint/lint/license.md +21 -0
  501. data/node_modules/@commitlint/lint/package.json +49 -0
  502. data/node_modules/@commitlint/load/README.md +15 -0
  503. data/node_modules/@commitlint/load/lib/load.d.ts +5 -0
  504. data/node_modules/@commitlint/load/lib/load.d.ts.map +1 -0
  505. data/node_modules/@commitlint/load/lib/load.js +97 -0
  506. data/node_modules/@commitlint/load/lib/load.js.map +1 -0
  507. data/node_modules/@commitlint/load/lib/utils/load-config.d.ts +9 -0
  508. data/node_modules/@commitlint/load/lib/utils/load-config.d.ts.map +1 -0
  509. data/node_modules/@commitlint/load/lib/utils/load-config.js +78 -0
  510. data/node_modules/@commitlint/load/lib/utils/load-config.js.map +1 -0
  511. data/node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts +5 -0
  512. data/node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts.map +1 -0
  513. data/node_modules/@commitlint/load/lib/utils/load-parser-opts.js +56 -0
  514. data/node_modules/@commitlint/load/lib/utils/load-parser-opts.js.map +1 -0
  515. data/node_modules/@commitlint/load/lib/utils/load-plugin.d.ts +3 -0
  516. data/node_modules/@commitlint/load/lib/utils/load-plugin.d.ts.map +1 -0
  517. data/node_modules/@commitlint/load/lib/utils/load-plugin.js +63 -0
  518. data/node_modules/@commitlint/load/lib/utils/load-plugin.js.map +1 -0
  519. data/node_modules/@commitlint/load/lib/utils/plugin-errors.d.ts +13 -0
  520. data/node_modules/@commitlint/load/lib/utils/plugin-errors.d.ts.map +1 -0
  521. data/node_modules/@commitlint/load/lib/utils/plugin-errors.js +21 -0
  522. data/node_modules/@commitlint/load/lib/utils/plugin-errors.js.map +1 -0
  523. data/node_modules/@commitlint/load/lib/utils/plugin-naming.d.ts +20 -0
  524. data/node_modules/@commitlint/load/lib/utils/plugin-naming.d.ts.map +1 -0
  525. data/node_modules/@commitlint/load/lib/utils/plugin-naming.js +80 -0
  526. data/node_modules/@commitlint/load/lib/utils/plugin-naming.js.map +1 -0
  527. data/node_modules/@commitlint/load/license.md +21 -0
  528. data/node_modules/@commitlint/load/package.json +60 -0
  529. data/node_modules/@commitlint/message/lib/index.d.ts +2 -0
  530. data/node_modules/@commitlint/message/lib/index.d.ts.map +1 -0
  531. data/node_modules/@commitlint/message/lib/index.js +4 -0
  532. data/node_modules/@commitlint/message/lib/index.js.map +1 -0
  533. data/node_modules/@commitlint/message/license.md +21 -0
  534. data/node_modules/@commitlint/message/package.json +43 -0
  535. data/node_modules/@commitlint/parse/README.md +29 -0
  536. data/node_modules/@commitlint/parse/lib/index.d.ts +5 -0
  537. data/node_modules/@commitlint/parse/lib/index.d.ts.map +1 -0
  538. data/node_modules/@commitlint/parse/lib/index.js +13 -0
  539. data/node_modules/@commitlint/parse/lib/index.js.map +1 -0
  540. data/node_modules/@commitlint/parse/license.md +21 -0
  541. data/node_modules/@commitlint/parse/package.json +49 -0
  542. data/node_modules/@commitlint/read/README.md +15 -0
  543. data/node_modules/@commitlint/read/lib/get-edit-commit.d.ts +2 -0
  544. data/node_modules/@commitlint/read/lib/get-edit-commit.d.ts.map +1 -0
  545. data/node_modules/@commitlint/read/lib/get-edit-commit.js +14 -0
  546. data/node_modules/@commitlint/read/lib/get-edit-commit.js.map +1 -0
  547. data/node_modules/@commitlint/read/lib/get-edit-file-path.d.ts +2 -0
  548. data/node_modules/@commitlint/read/lib/get-edit-file-path.d.ts.map +1 -0
  549. data/node_modules/@commitlint/read/lib/get-edit-file-path.js +19 -0
  550. data/node_modules/@commitlint/read/lib/get-edit-file-path.js.map +1 -0
  551. data/node_modules/@commitlint/read/lib/get-history-commits.d.ts +5 -0
  552. data/node_modules/@commitlint/read/lib/get-history-commits.d.ts.map +1 -0
  553. data/node_modules/@commitlint/read/lib/get-history-commits.js +7 -0
  554. data/node_modules/@commitlint/read/lib/get-history-commits.js.map +1 -0
  555. data/node_modules/@commitlint/read/lib/read.d.ts +12 -0
  556. data/node_modules/@commitlint/read/lib/read.d.ts.map +1 -0
  557. data/node_modules/@commitlint/read/lib/read.js +52 -0
  558. data/node_modules/@commitlint/read/lib/read.js.map +1 -0
  559. data/node_modules/@commitlint/read/lib/stream-to-promise.d.ts +3 -0
  560. data/node_modules/@commitlint/read/lib/stream-to-promise.d.ts.map +1 -0
  561. data/node_modules/@commitlint/read/lib/stream-to-promise.js +8 -0
  562. data/node_modules/@commitlint/read/lib/stream-to-promise.js.map +1 -0
  563. data/node_modules/@commitlint/read/license.md +21 -0
  564. data/node_modules/@commitlint/read/package.json +52 -0
  565. data/node_modules/@commitlint/resolve-extends/lib/index.d.ts +29 -0
  566. data/node_modules/@commitlint/resolve-extends/lib/index.d.ts.map +1 -0
  567. data/node_modules/@commitlint/resolve-extends/lib/index.js +182 -0
  568. data/node_modules/@commitlint/resolve-extends/lib/index.js.map +1 -0
  569. data/node_modules/@commitlint/resolve-extends/license.md +21 -0
  570. data/node_modules/@commitlint/resolve-extends/package.json +51 -0
  571. data/node_modules/@commitlint/rules/lib/body-case.d.ts +3 -0
  572. data/node_modules/@commitlint/rules/lib/body-case.d.ts.map +1 -0
  573. data/node_modules/@commitlint/rules/lib/body-case.js +28 -0
  574. data/node_modules/@commitlint/rules/lib/body-case.js.map +1 -0
  575. data/node_modules/@commitlint/rules/lib/body-empty.d.ts +3 -0
  576. data/node_modules/@commitlint/rules/lib/body-empty.d.ts.map +1 -0
  577. data/node_modules/@commitlint/rules/lib/body-empty.js +11 -0
  578. data/node_modules/@commitlint/rules/lib/body-empty.js.map +1 -0
  579. data/node_modules/@commitlint/rules/lib/body-full-stop.d.ts +3 -0
  580. data/node_modules/@commitlint/rules/lib/body-full-stop.d.ts.map +1 -0
  581. data/node_modules/@commitlint/rules/lib/body-full-stop.js +14 -0
  582. data/node_modules/@commitlint/rules/lib/body-full-stop.js.map +1 -0
  583. data/node_modules/@commitlint/rules/lib/body-leading-blank.d.ts +3 -0
  584. data/node_modules/@commitlint/rules/lib/body-leading-blank.d.ts.map +1 -0
  585. data/node_modules/@commitlint/rules/lib/body-leading-blank.js +17 -0
  586. data/node_modules/@commitlint/rules/lib/body-leading-blank.js.map +1 -0
  587. data/node_modules/@commitlint/rules/lib/body-max-length.d.ts +3 -0
  588. data/node_modules/@commitlint/rules/lib/body-max-length.d.ts.map +1 -0
  589. data/node_modules/@commitlint/rules/lib/body-max-length.js +12 -0
  590. data/node_modules/@commitlint/rules/lib/body-max-length.js.map +1 -0
  591. data/node_modules/@commitlint/rules/lib/body-max-line-length.d.ts +3 -0
  592. data/node_modules/@commitlint/rules/lib/body-max-line-length.d.ts.map +1 -0
  593. data/node_modules/@commitlint/rules/lib/body-max-line-length.js +12 -0
  594. data/node_modules/@commitlint/rules/lib/body-max-line-length.js.map +1 -0
  595. data/node_modules/@commitlint/rules/lib/body-min-length.d.ts +3 -0
  596. data/node_modules/@commitlint/rules/lib/body-min-length.d.ts.map +1 -0
  597. data/node_modules/@commitlint/rules/lib/body-min-length.js +11 -0
  598. data/node_modules/@commitlint/rules/lib/body-min-length.js.map +1 -0
  599. data/node_modules/@commitlint/rules/lib/footer-empty.d.ts +3 -0
  600. data/node_modules/@commitlint/rules/lib/footer-empty.d.ts.map +1 -0
  601. data/node_modules/@commitlint/rules/lib/footer-empty.js +11 -0
  602. data/node_modules/@commitlint/rules/lib/footer-empty.js.map +1 -0
  603. data/node_modules/@commitlint/rules/lib/footer-leading-blank.d.ts +3 -0
  604. data/node_modules/@commitlint/rules/lib/footer-leading-blank.d.ts.map +1 -0
  605. data/node_modules/@commitlint/rules/lib/footer-leading-blank.js +24 -0
  606. data/node_modules/@commitlint/rules/lib/footer-leading-blank.js.map +1 -0
  607. data/node_modules/@commitlint/rules/lib/footer-max-length.d.ts +3 -0
  608. data/node_modules/@commitlint/rules/lib/footer-max-length.d.ts.map +1 -0
  609. data/node_modules/@commitlint/rules/lib/footer-max-length.js +12 -0
  610. data/node_modules/@commitlint/rules/lib/footer-max-length.js.map +1 -0
  611. data/node_modules/@commitlint/rules/lib/footer-max-line-length.d.ts +3 -0
  612. data/node_modules/@commitlint/rules/lib/footer-max-line-length.d.ts.map +1 -0
  613. data/node_modules/@commitlint/rules/lib/footer-max-line-length.js +12 -0
  614. data/node_modules/@commitlint/rules/lib/footer-max-line-length.js.map +1 -0
  615. data/node_modules/@commitlint/rules/lib/footer-min-length.d.ts +3 -0
  616. data/node_modules/@commitlint/rules/lib/footer-min-length.d.ts.map +1 -0
  617. data/node_modules/@commitlint/rules/lib/footer-min-length.js +11 -0
  618. data/node_modules/@commitlint/rules/lib/footer-min-length.js.map +1 -0
  619. data/node_modules/@commitlint/rules/lib/header-case.d.ts +3 -0
  620. data/node_modules/@commitlint/rules/lib/header-case.d.ts.map +1 -0
  621. data/node_modules/@commitlint/rules/lib/header-case.js +28 -0
  622. data/node_modules/@commitlint/rules/lib/header-case.js.map +1 -0
  623. data/node_modules/@commitlint/rules/lib/header-full-stop.d.ts +3 -0
  624. data/node_modules/@commitlint/rules/lib/header-full-stop.d.ts.map +1 -0
  625. data/node_modules/@commitlint/rules/lib/header-full-stop.js +11 -0
  626. data/node_modules/@commitlint/rules/lib/header-full-stop.js.map +1 -0
  627. data/node_modules/@commitlint/rules/lib/header-max-length.d.ts +3 -0
  628. data/node_modules/@commitlint/rules/lib/header-max-length.d.ts.map +1 -0
  629. data/node_modules/@commitlint/rules/lib/header-max-length.js +8 -0
  630. data/node_modules/@commitlint/rules/lib/header-max-length.js.map +1 -0
  631. data/node_modules/@commitlint/rules/lib/header-min-length.d.ts +3 -0
  632. data/node_modules/@commitlint/rules/lib/header-min-length.d.ts.map +1 -0
  633. data/node_modules/@commitlint/rules/lib/header-min-length.js +8 -0
  634. data/node_modules/@commitlint/rules/lib/header-min-length.js.map +1 -0
  635. data/node_modules/@commitlint/rules/lib/header-trim.d.ts +3 -0
  636. data/node_modules/@commitlint/rules/lib/header-trim.d.ts.map +1 -0
  637. data/node_modules/@commitlint/rules/lib/header-trim.js +23 -0
  638. data/node_modules/@commitlint/rules/lib/header-trim.js.map +1 -0
  639. data/node_modules/@commitlint/rules/lib/index.d.ts +40 -0
  640. data/node_modules/@commitlint/rules/lib/index.d.ts.map +1 -0
  641. data/node_modules/@commitlint/rules/lib/index.js +75 -0
  642. data/node_modules/@commitlint/rules/lib/index.js.map +1 -0
  643. data/node_modules/@commitlint/rules/lib/references-empty.d.ts +3 -0
  644. data/node_modules/@commitlint/rules/lib/references-empty.d.ts.map +1 -0
  645. data/node_modules/@commitlint/rules/lib/references-empty.js +10 -0
  646. data/node_modules/@commitlint/rules/lib/references-empty.js.map +1 -0
  647. data/node_modules/@commitlint/rules/lib/scope-case.d.ts +3 -0
  648. data/node_modules/@commitlint/rules/lib/scope-case.d.ts.map +1 -0
  649. data/node_modules/@commitlint/rules/lib/scope-case.js +32 -0
  650. data/node_modules/@commitlint/rules/lib/scope-case.js.map +1 -0
  651. data/node_modules/@commitlint/rules/lib/scope-empty.d.ts +3 -0
  652. data/node_modules/@commitlint/rules/lib/scope-empty.d.ts.map +1 -0
  653. data/node_modules/@commitlint/rules/lib/scope-empty.js +11 -0
  654. data/node_modules/@commitlint/rules/lib/scope-empty.js.map +1 -0
  655. data/node_modules/@commitlint/rules/lib/scope-enum.d.ts +3 -0
  656. data/node_modules/@commitlint/rules/lib/scope-enum.d.ts.map +1 -0
  657. data/node_modules/@commitlint/rules/lib/scope-enum.js +23 -0
  658. data/node_modules/@commitlint/rules/lib/scope-enum.js.map +1 -0
  659. data/node_modules/@commitlint/rules/lib/scope-max-length.d.ts +3 -0
  660. data/node_modules/@commitlint/rules/lib/scope-max-length.d.ts.map +1 -0
  661. data/node_modules/@commitlint/rules/lib/scope-max-length.js +12 -0
  662. data/node_modules/@commitlint/rules/lib/scope-max-length.js.map +1 -0
  663. data/node_modules/@commitlint/rules/lib/scope-min-length.d.ts +3 -0
  664. data/node_modules/@commitlint/rules/lib/scope-min-length.d.ts.map +1 -0
  665. data/node_modules/@commitlint/rules/lib/scope-min-length.js +12 -0
  666. data/node_modules/@commitlint/rules/lib/scope-min-length.js.map +1 -0
  667. data/node_modules/@commitlint/rules/lib/signed-off-by.d.ts +3 -0
  668. data/node_modules/@commitlint/rules/lib/signed-off-by.d.ts.map +1 -0
  669. data/node_modules/@commitlint/rules/lib/signed-off-by.js +19 -0
  670. data/node_modules/@commitlint/rules/lib/signed-off-by.js.map +1 -0
  671. data/node_modules/@commitlint/rules/lib/subject-case.d.ts +3 -0
  672. data/node_modules/@commitlint/rules/lib/subject-case.d.ts.map +1 -0
  673. data/node_modules/@commitlint/rules/lib/subject-case.js +44 -0
  674. data/node_modules/@commitlint/rules/lib/subject-case.js.map +1 -0
  675. data/node_modules/@commitlint/rules/lib/subject-empty.d.ts +3 -0
  676. data/node_modules/@commitlint/rules/lib/subject-empty.d.ts.map +1 -0
  677. data/node_modules/@commitlint/rules/lib/subject-empty.js +11 -0
  678. data/node_modules/@commitlint/rules/lib/subject-empty.js.map +1 -0
  679. data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.d.ts +3 -0
  680. data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.d.ts.map +1 -0
  681. data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.js +18 -0
  682. data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.js.map +1 -0
  683. data/node_modules/@commitlint/rules/lib/subject-full-stop.d.ts +3 -0
  684. data/node_modules/@commitlint/rules/lib/subject-full-stop.d.ts.map +1 -0
  685. data/node_modules/@commitlint/rules/lib/subject-full-stop.js +18 -0
  686. data/node_modules/@commitlint/rules/lib/subject-full-stop.js.map +1 -0
  687. data/node_modules/@commitlint/rules/lib/subject-max-length.d.ts +3 -0
  688. data/node_modules/@commitlint/rules/lib/subject-max-length.d.ts.map +1 -0
  689. data/node_modules/@commitlint/rules/lib/subject-max-length.js +12 -0
  690. data/node_modules/@commitlint/rules/lib/subject-max-length.js.map +1 -0
  691. data/node_modules/@commitlint/rules/lib/subject-min-length.d.ts +3 -0
  692. data/node_modules/@commitlint/rules/lib/subject-min-length.d.ts.map +1 -0
  693. data/node_modules/@commitlint/rules/lib/subject-min-length.js +12 -0
  694. data/node_modules/@commitlint/rules/lib/subject-min-length.js.map +1 -0
  695. data/node_modules/@commitlint/rules/lib/trailer-exists.d.ts +3 -0
  696. data/node_modules/@commitlint/rules/lib/trailer-exists.d.ts.map +1 -0
  697. data/node_modules/@commitlint/rules/lib/trailer-exists.js +20 -0
  698. data/node_modules/@commitlint/rules/lib/trailer-exists.js.map +1 -0
  699. data/node_modules/@commitlint/rules/lib/type-case.d.ts +3 -0
  700. data/node_modules/@commitlint/rules/lib/type-case.d.ts.map +1 -0
  701. data/node_modules/@commitlint/rules/lib/type-case.js +28 -0
  702. data/node_modules/@commitlint/rules/lib/type-case.js.map +1 -0
  703. data/node_modules/@commitlint/rules/lib/type-empty.d.ts +3 -0
  704. data/node_modules/@commitlint/rules/lib/type-empty.d.ts.map +1 -0
  705. data/node_modules/@commitlint/rules/lib/type-empty.js +11 -0
  706. data/node_modules/@commitlint/rules/lib/type-empty.js.map +1 -0
  707. data/node_modules/@commitlint/rules/lib/type-enum.d.ts +3 -0
  708. data/node_modules/@commitlint/rules/lib/type-enum.d.ts.map +1 -0
  709. data/node_modules/@commitlint/rules/lib/type-enum.js +19 -0
  710. data/node_modules/@commitlint/rules/lib/type-enum.js.map +1 -0
  711. data/node_modules/@commitlint/rules/lib/type-max-length.d.ts +3 -0
  712. data/node_modules/@commitlint/rules/lib/type-max-length.d.ts.map +1 -0
  713. data/node_modules/@commitlint/rules/lib/type-max-length.js +12 -0
  714. data/node_modules/@commitlint/rules/lib/type-max-length.js.map +1 -0
  715. data/node_modules/@commitlint/rules/lib/type-min-length.d.ts +3 -0
  716. data/node_modules/@commitlint/rules/lib/type-min-length.d.ts.map +1 -0
  717. data/node_modules/@commitlint/rules/lib/type-min-length.js +12 -0
  718. data/node_modules/@commitlint/rules/lib/type-min-length.js.map +1 -0
  719. data/node_modules/@commitlint/rules/license.md +21 -0
  720. data/node_modules/@commitlint/rules/package.json +53 -0
  721. data/node_modules/@commitlint/to-lines/lib/index.d.ts +2 -0
  722. data/node_modules/@commitlint/to-lines/lib/index.d.ts.map +1 -0
  723. data/node_modules/@commitlint/to-lines/lib/index.js +7 -0
  724. data/node_modules/@commitlint/to-lines/lib/index.js.map +1 -0
  725. data/node_modules/@commitlint/to-lines/license.md +21 -0
  726. data/node_modules/@commitlint/to-lines/package.json +42 -0
  727. data/node_modules/@commitlint/top-level/lib/index.d.ts +6 -0
  728. data/node_modules/@commitlint/top-level/lib/index.d.ts.map +1 -0
  729. data/node_modules/@commitlint/top-level/lib/index.js +22 -0
  730. data/node_modules/@commitlint/top-level/lib/index.js.map +1 -0
  731. data/node_modules/@commitlint/top-level/license.md +21 -0
  732. data/node_modules/@commitlint/top-level/package.json +45 -0
  733. data/node_modules/@commitlint/types/lib/ensure.d.ts +2 -0
  734. data/node_modules/@commitlint/types/lib/ensure.d.ts.map +1 -0
  735. data/node_modules/@commitlint/types/lib/ensure.js +2 -0
  736. data/node_modules/@commitlint/types/lib/ensure.js.map +1 -0
  737. data/node_modules/@commitlint/types/lib/format.d.ts +28 -0
  738. data/node_modules/@commitlint/types/lib/format.d.ts.map +1 -0
  739. data/node_modules/@commitlint/types/lib/format.js +2 -0
  740. data/node_modules/@commitlint/types/lib/format.js.map +1 -0
  741. data/node_modules/@commitlint/types/lib/index.d.ts +9 -0
  742. data/node_modules/@commitlint/types/lib/index.d.ts.map +1 -0
  743. data/node_modules/@commitlint/types/lib/index.js +9 -0
  744. data/node_modules/@commitlint/types/lib/index.js.map +1 -0
  745. data/node_modules/@commitlint/types/lib/is-ignored.d.ts +6 -0
  746. data/node_modules/@commitlint/types/lib/is-ignored.d.ts.map +1 -0
  747. data/node_modules/@commitlint/types/lib/is-ignored.js +2 -0
  748. data/node_modules/@commitlint/types/lib/is-ignored.js.map +1 -0
  749. data/node_modules/@commitlint/types/lib/lint.d.ts +36 -0
  750. data/node_modules/@commitlint/types/lib/lint.d.ts.map +1 -0
  751. data/node_modules/@commitlint/types/lib/lint.js +2 -0
  752. data/node_modules/@commitlint/types/lib/lint.js.map +1 -0
  753. data/node_modules/@commitlint/types/lib/load.d.ts +42 -0
  754. data/node_modules/@commitlint/types/lib/load.d.ts.map +1 -0
  755. data/node_modules/@commitlint/types/lib/load.js +2 -0
  756. data/node_modules/@commitlint/types/lib/load.js.map +1 -0
  757. data/node_modules/@commitlint/types/lib/parse.d.ts +3 -0
  758. data/node_modules/@commitlint/types/lib/parse.d.ts.map +1 -0
  759. data/node_modules/@commitlint/types/lib/parse.js +2 -0
  760. data/node_modules/@commitlint/types/lib/parse.js.map +1 -0
  761. data/node_modules/@commitlint/types/lib/prompt.d.ts +39 -0
  762. data/node_modules/@commitlint/types/lib/prompt.d.ts.map +1 -0
  763. data/node_modules/@commitlint/types/lib/prompt.js +2 -0
  764. data/node_modules/@commitlint/types/lib/prompt.js.map +1 -0
  765. data/node_modules/@commitlint/types/lib/rules.d.ts +85 -0
  766. data/node_modules/@commitlint/types/lib/rules.d.ts.map +1 -0
  767. data/node_modules/@commitlint/types/lib/rules.js +19 -0
  768. data/node_modules/@commitlint/types/lib/rules.js.map +1 -0
  769. data/node_modules/@commitlint/types/license.md +21 -0
  770. data/node_modules/@commitlint/types/package.json +39 -0
  771. data/node_modules/@hutson/parse-repository-url/license.md +202 -0
  772. data/node_modules/@hutson/parse-repository-url/package.json +62 -0
  773. data/node_modules/@hutson/parse-repository-url/readme.md +130 -0
  774. data/node_modules/@hutson/parse-repository-url/src/index.js +62 -0
  775. data/node_modules/@types/conventional-commits-parser/LICENSE +21 -0
  776. data/node_modules/@types/conventional-commits-parser/README.md +15 -0
  777. data/node_modules/@types/conventional-commits-parser/index.d.ts +305 -0
  778. data/node_modules/@types/conventional-commits-parser/package.json +34 -0
  779. data/node_modules/@types/conventional-commits-parser/ts4.9/index.d.ts +305 -0
  780. data/node_modules/@types/node/LICENSE +21 -0
  781. data/node_modules/@types/node/README.md +15 -0
  782. data/node_modules/@types/node/assert/strict.d.ts +8 -0
  783. data/node_modules/@types/node/assert.d.ts +1040 -0
  784. data/node_modules/@types/node/async_hooks.d.ts +541 -0
  785. data/node_modules/@types/node/buffer.d.ts +2293 -0
  786. data/node_modules/@types/node/child_process.d.ts +1544 -0
  787. data/node_modules/@types/node/cluster.d.ts +578 -0
  788. data/node_modules/@types/node/console.d.ts +452 -0
  789. data/node_modules/@types/node/constants.d.ts +19 -0
  790. data/node_modules/@types/node/crypto.d.ts +4451 -0
  791. data/node_modules/@types/node/dgram.d.ts +596 -0
  792. data/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
  793. data/node_modules/@types/node/dns/promises.d.ts +476 -0
  794. data/node_modules/@types/node/dns.d.ts +865 -0
  795. data/node_modules/@types/node/dom-events.d.ts +124 -0
  796. data/node_modules/@types/node/domain.d.ts +170 -0
  797. data/node_modules/@types/node/events.d.ts +931 -0
  798. data/node_modules/@types/node/fs/promises.d.ts +1264 -0
  799. data/node_modules/@types/node/fs.d.ts +4390 -0
  800. data/node_modules/@types/node/globals.d.ts +510 -0
  801. data/node_modules/@types/node/globals.global.d.ts +1 -0
  802. data/node_modules/@types/node/http.d.ts +1921 -0
  803. data/node_modules/@types/node/http2.d.ts +2418 -0
  804. data/node_modules/@types/node/https.d.ts +550 -0
  805. data/node_modules/@types/node/index.d.ts +90 -0
  806. data/node_modules/@types/node/inspector.d.ts +3696 -0
  807. data/node_modules/@types/node/module.d.ts +301 -0
  808. data/node_modules/@types/node/net.d.ts +999 -0
  809. data/node_modules/@types/node/os.d.ts +495 -0
  810. data/node_modules/@types/node/package.json +217 -0
  811. data/node_modules/@types/node/path.d.ts +200 -0
  812. data/node_modules/@types/node/perf_hooks.d.ts +941 -0
  813. data/node_modules/@types/node/process.d.ts +1912 -0
  814. data/node_modules/@types/node/punycode.d.ts +117 -0
  815. data/node_modules/@types/node/querystring.d.ts +153 -0
  816. data/node_modules/@types/node/readline/promises.d.ts +150 -0
  817. data/node_modules/@types/node/readline.d.ts +540 -0
  818. data/node_modules/@types/node/repl.d.ts +430 -0
  819. data/node_modules/@types/node/sea.d.ts +153 -0
  820. data/node_modules/@types/node/sqlite.d.ts +213 -0
  821. data/node_modules/@types/node/stream/consumers.d.ts +12 -0
  822. data/node_modules/@types/node/stream/promises.d.ts +83 -0
  823. data/node_modules/@types/node/stream/web.d.ts +367 -0
  824. data/node_modules/@types/node/stream.d.ts +1707 -0
  825. data/node_modules/@types/node/string_decoder.d.ts +67 -0
  826. data/node_modules/@types/node/test.d.ts +2006 -0
  827. data/node_modules/@types/node/timers/promises.d.ts +97 -0
  828. data/node_modules/@types/node/timers.d.ts +240 -0
  829. data/node_modules/@types/node/tls.d.ts +1220 -0
  830. data/node_modules/@types/node/trace_events.d.ts +197 -0
  831. data/node_modules/@types/node/tty.d.ts +208 -0
  832. data/node_modules/@types/node/url.d.ts +969 -0
  833. data/node_modules/@types/node/util.d.ts +2298 -0
  834. data/node_modules/@types/node/v8.d.ts +808 -0
  835. data/node_modules/@types/node/vm.d.ts +922 -0
  836. data/node_modules/@types/node/wasi.d.ts +181 -0
  837. data/node_modules/@types/node/worker_threads.d.ts +712 -0
  838. data/node_modules/@types/node/zlib.d.ts +539 -0
  839. data/node_modules/@types/normalize-package-data/LICENSE +21 -0
  840. data/node_modules/@types/normalize-package-data/README.md +62 -0
  841. data/node_modules/@types/normalize-package-data/index.d.ts +43 -0
  842. data/node_modules/@types/normalize-package-data/package.json +25 -0
  843. data/node_modules/@types/semver/LICENSE +21 -0
  844. data/node_modules/@types/semver/README.md +15 -0
  845. data/node_modules/@types/semver/classes/comparator.d.ts +17 -0
  846. data/node_modules/@types/semver/classes/range.d.ts +21 -0
  847. data/node_modules/@types/semver/classes/semver.d.ts +64 -0
  848. data/node_modules/@types/semver/functions/clean.d.ts +8 -0
  849. data/node_modules/@types/semver/functions/cmp.d.ts +16 -0
  850. data/node_modules/@types/semver/functions/coerce.d.ts +12 -0
  851. data/node_modules/@types/semver/functions/compare-build.d.ts +21 -0
  852. data/node_modules/@types/semver/functions/compare-loose.d.ts +5 -0
  853. data/node_modules/@types/semver/functions/compare.d.ts +20 -0
  854. data/node_modules/@types/semver/functions/diff.d.ts +9 -0
  855. data/node_modules/@types/semver/functions/eq.d.ts +9 -0
  856. data/node_modules/@types/semver/functions/gt.d.ts +9 -0
  857. data/node_modules/@types/semver/functions/gte.d.ts +9 -0
  858. data/node_modules/@types/semver/functions/inc.d.ts +25 -0
  859. data/node_modules/@types/semver/functions/lt.d.ts +9 -0
  860. data/node_modules/@types/semver/functions/lte.d.ts +8 -0
  861. data/node_modules/@types/semver/functions/major.d.ts +9 -0
  862. data/node_modules/@types/semver/functions/minor.d.ts +9 -0
  863. data/node_modules/@types/semver/functions/neq.d.ts +9 -0
  864. data/node_modules/@types/semver/functions/parse.d.ts +12 -0
  865. data/node_modules/@types/semver/functions/patch.d.ts +9 -0
  866. data/node_modules/@types/semver/functions/prerelease.d.ts +12 -0
  867. data/node_modules/@types/semver/functions/rcompare.d.ts +15 -0
  868. data/node_modules/@types/semver/functions/rsort.d.ts +9 -0
  869. data/node_modules/@types/semver/functions/satisfies.d.ts +14 -0
  870. data/node_modules/@types/semver/functions/sort.d.ts +9 -0
  871. data/node_modules/@types/semver/functions/valid.d.ts +11 -0
  872. data/node_modules/@types/semver/index.d.ts +129 -0
  873. data/node_modules/@types/semver/internals/identifiers.d.ts +13 -0
  874. data/node_modules/@types/semver/package.json +50 -0
  875. data/node_modules/@types/semver/preload.d.ts +2 -0
  876. data/node_modules/@types/semver/ranges/gtr.d.ts +14 -0
  877. data/node_modules/@types/semver/ranges/intersects.d.ts +13 -0
  878. data/node_modules/@types/semver/ranges/ltr.d.ts +14 -0
  879. data/node_modules/@types/semver/ranges/max-satisfying.d.ts +14 -0
  880. data/node_modules/@types/semver/ranges/min-satisfying.d.ts +14 -0
  881. data/node_modules/@types/semver/ranges/min-version.d.ts +10 -0
  882. data/node_modules/@types/semver/ranges/outside.d.ts +15 -0
  883. data/node_modules/@types/semver/ranges/simplify.d.ts +14 -0
  884. data/node_modules/@types/semver/ranges/subset.d.ts +9 -0
  885. data/node_modules/@types/semver/ranges/to-comparators.d.ts +9 -0
  886. data/node_modules/@types/semver/ranges/valid.d.ts +12 -0
  887. data/node_modules/JSONStream/.travis.yml +8 -0
  888. data/node_modules/JSONStream/LICENSE.APACHE2 +15 -0
  889. data/node_modules/JSONStream/LICENSE.MIT +24 -0
  890. data/node_modules/JSONStream/bin.js +12 -0
  891. data/node_modules/JSONStream/examples/all_docs.js +13 -0
  892. data/node_modules/JSONStream/index.js +247 -0
  893. data/node_modules/JSONStream/package.json +40 -0
  894. data/node_modules/JSONStream/readme.markdown +207 -0
  895. data/node_modules/JSONStream/test/bool.js +41 -0
  896. data/node_modules/JSONStream/test/browser.js +18 -0
  897. data/node_modules/JSONStream/test/destroy_missing.js +27 -0
  898. data/node_modules/JSONStream/test/doubledot1.js +29 -0
  899. data/node_modules/JSONStream/test/doubledot2.js +30 -0
  900. data/node_modules/JSONStream/test/empty.js +44 -0
  901. data/node_modules/JSONStream/test/error_contents.js +45 -0
  902. data/node_modules/JSONStream/test/fixtures/all_npm.json +4030 -0
  903. data/node_modules/JSONStream/test/fixtures/couch_sample.json +18 -0
  904. data/node_modules/JSONStream/test/fixtures/depth.json +15 -0
  905. data/node_modules/JSONStream/test/fixtures/error.json +1 -0
  906. data/node_modules/JSONStream/test/fixtures/header_footer.json +19 -0
  907. data/node_modules/JSONStream/test/fn.js +39 -0
  908. data/node_modules/JSONStream/test/gen.js +135 -0
  909. data/node_modules/JSONStream/test/header_footer.js +55 -0
  910. data/node_modules/JSONStream/test/issues.js +34 -0
  911. data/node_modules/JSONStream/test/keys.js +105 -0
  912. data/node_modules/JSONStream/test/map.js +40 -0
  913. data/node_modules/JSONStream/test/multiple_objects.js +36 -0
  914. data/node_modules/JSONStream/test/multiple_objects_error.js +29 -0
  915. data/node_modules/JSONStream/test/null.js +28 -0
  916. data/node_modules/JSONStream/test/parsejson.js +29 -0
  917. data/node_modules/JSONStream/test/run.js +13 -0
  918. data/node_modules/JSONStream/test/stringify.js +41 -0
  919. data/node_modules/JSONStream/test/stringify_object.js +47 -0
  920. data/node_modules/JSONStream/test/test.js +35 -0
  921. data/node_modules/JSONStream/test/test2.js +29 -0
  922. data/node_modules/JSONStream/test/two-ways.js +41 -0
  923. data/node_modules/add-stream/.jshintrc +25 -0
  924. data/node_modules/add-stream/.npmignore +7 -0
  925. data/node_modules/add-stream/.travis.yml +4 -0
  926. data/node_modules/add-stream/README.md +38 -0
  927. data/node_modules/add-stream/index.js +56 -0
  928. data/node_modules/add-stream/package.json +34 -0
  929. data/node_modules/add-stream/test/spec.js +64 -0
  930. data/node_modules/ajv/.runkit_example.js +23 -0
  931. data/node_modules/ajv/LICENSE +22 -0
  932. data/node_modules/ajv/README.md +207 -0
  933. data/node_modules/ajv/dist/2019.d.ts +19 -0
  934. data/node_modules/ajv/dist/2019.js +61 -0
  935. data/node_modules/ajv/dist/2019.js.map +1 -0
  936. data/node_modules/ajv/dist/2020.d.ts +19 -0
  937. data/node_modules/ajv/dist/2020.js +55 -0
  938. data/node_modules/ajv/dist/2020.js.map +1 -0
  939. data/node_modules/ajv/dist/ajv.d.ts +18 -0
  940. data/node_modules/ajv/dist/ajv.js +50 -0
  941. data/node_modules/ajv/dist/ajv.js.map +1 -0
  942. data/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  943. data/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  944. data/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  945. data/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  946. data/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  947. data/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  948. data/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  949. data/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  950. data/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  951. data/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  952. data/node_modules/ajv/dist/compile/errors.js +123 -0
  953. data/node_modules/ajv/dist/compile/errors.js.map +1 -0
  954. data/node_modules/ajv/dist/compile/index.d.ts +80 -0
  955. data/node_modules/ajv/dist/compile/index.js +242 -0
  956. data/node_modules/ajv/dist/compile/index.js.map +1 -0
  957. data/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  958. data/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  959. data/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  960. data/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  961. data/node_modules/ajv/dist/compile/jtd/serialize.js +229 -0
  962. data/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  963. data/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  964. data/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  965. data/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  966. data/node_modules/ajv/dist/compile/names.d.ts +20 -0
  967. data/node_modules/ajv/dist/compile/names.js +28 -0
  968. data/node_modules/ajv/dist/compile/names.js.map +1 -0
  969. data/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  970. data/node_modules/ajv/dist/compile/ref_error.js +12 -0
  971. data/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  972. data/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  973. data/node_modules/ajv/dist/compile/resolve.js +155 -0
  974. data/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  975. data/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  976. data/node_modules/ajv/dist/compile/rules.js +26 -0
  977. data/node_modules/ajv/dist/compile/rules.js.map +1 -0
  978. data/node_modules/ajv/dist/compile/util.d.ts +40 -0
  979. data/node_modules/ajv/dist/compile/util.js +178 -0
  980. data/node_modules/ajv/dist/compile/util.js.map +1 -0
  981. data/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  982. data/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  983. data/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  984. data/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  985. data/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  986. data/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  987. data/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  988. data/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  989. data/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  990. data/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  991. data/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  992. data/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  993. data/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  994. data/node_modules/ajv/dist/compile/validate/index.js +520 -0
  995. data/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  996. data/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  997. data/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  998. data/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  999. data/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  1000. data/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  1001. data/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  1002. data/node_modules/ajv/dist/core.d.ts +173 -0
  1003. data/node_modules/ajv/dist/core.js +618 -0
  1004. data/node_modules/ajv/dist/core.js.map +1 -0
  1005. data/node_modules/ajv/dist/jtd.d.ts +47 -0
  1006. data/node_modules/ajv/dist/jtd.js +72 -0
  1007. data/node_modules/ajv/dist/jtd.js.map +1 -0
  1008. data/node_modules/ajv/dist/refs/data.json +13 -0
  1009. data/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  1010. data/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  1011. data/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  1012. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  1013. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  1014. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  1015. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  1016. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  1017. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  1018. data/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  1019. data/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  1020. data/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  1021. data/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  1022. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  1023. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  1024. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  1025. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  1026. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  1027. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  1028. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  1029. data/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  1030. data/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  1031. data/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  1032. data/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  1033. data/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  1034. data/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  1035. data/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  1036. data/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  1037. data/node_modules/ajv/dist/runtime/equal.js +7 -0
  1038. data/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  1039. data/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  1040. data/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  1041. data/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  1042. data/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  1043. data/node_modules/ajv/dist/runtime/quote.js +30 -0
  1044. data/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  1045. data/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  1046. data/node_modules/ajv/dist/runtime/re2.js +6 -0
  1047. data/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  1048. data/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  1049. data/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  1050. data/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  1051. data/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  1052. data/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  1053. data/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  1054. data/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  1055. data/node_modules/ajv/dist/runtime/uri.js +6 -0
  1056. data/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  1057. data/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  1058. data/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  1059. data/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  1060. data/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  1061. data/node_modules/ajv/dist/standalone/index.js +90 -0
  1062. data/node_modules/ajv/dist/standalone/index.js.map +1 -0
  1063. data/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  1064. data/node_modules/ajv/dist/standalone/instance.js +35 -0
  1065. data/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  1066. data/node_modules/ajv/dist/types/index.d.ts +183 -0
  1067. data/node_modules/ajv/dist/types/index.js +3 -0
  1068. data/node_modules/ajv/dist/types/index.js.map +1 -0
  1069. data/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
  1070. data/node_modules/ajv/dist/types/json-schema.js +3 -0
  1071. data/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  1072. data/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
  1073. data/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  1074. data/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  1075. data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  1076. data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  1077. data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  1078. data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  1079. data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  1080. data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  1081. data/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  1082. data/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  1083. data/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  1084. data/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  1085. data/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  1086. data/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  1087. data/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  1088. data/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  1089. data/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  1090. data/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  1091. data/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  1092. data/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  1093. data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  1094. data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  1095. data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  1096. data/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  1097. data/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  1098. data/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  1099. data/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  1100. data/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  1101. data/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  1102. data/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  1103. data/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  1104. data/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  1105. data/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  1106. data/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  1107. data/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  1108. data/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  1109. data/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  1110. data/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  1111. data/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  1112. data/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  1113. data/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  1114. data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  1115. data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  1116. data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  1117. data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  1118. data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  1119. data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  1120. data/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  1121. data/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  1122. data/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  1123. data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  1124. data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  1125. data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  1126. data/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  1127. data/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  1128. data/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  1129. data/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  1130. data/node_modules/ajv/dist/vocabularies/code.js +131 -0
  1131. data/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  1132. data/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  1133. data/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  1134. data/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  1135. data/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  1136. data/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  1137. data/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  1138. data/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  1139. data/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  1140. data/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  1141. data/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  1142. data/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  1143. data/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  1144. data/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  1145. data/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  1146. data/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  1147. data/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  1148. data/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  1149. data/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  1150. data/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  1151. data/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  1152. data/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  1153. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  1154. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  1155. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  1156. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  1157. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  1158. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  1159. data/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  1160. data/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  1161. data/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  1162. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  1163. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  1164. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  1165. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  1166. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  1167. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  1168. data/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  1169. data/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  1170. data/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  1171. data/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  1172. data/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  1173. data/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  1174. data/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  1175. data/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  1176. data/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  1177. data/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  1178. data/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  1179. data/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  1180. data/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  1181. data/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  1182. data/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  1183. data/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  1184. data/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  1185. data/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  1186. data/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  1187. data/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  1188. data/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  1189. data/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  1190. data/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  1191. data/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  1192. data/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  1193. data/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  1194. data/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  1195. data/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  1196. data/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  1197. data/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  1198. data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  1199. data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  1200. data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  1201. data/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  1202. data/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  1203. data/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  1204. data/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  1205. data/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  1206. data/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  1207. data/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  1208. data/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  1209. data/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  1210. data/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  1211. data/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  1212. data/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  1213. data/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  1214. data/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  1215. data/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  1216. data/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  1217. data/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  1218. data/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  1219. data/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  1220. data/node_modules/ajv/dist/vocabularies/next.js +8 -0
  1221. data/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  1222. data/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  1223. data/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  1224. data/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  1225. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  1226. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  1227. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  1228. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  1229. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  1230. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  1231. data/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  1232. data/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  1233. data/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  1234. data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  1235. data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  1236. data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  1237. data/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  1238. data/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  1239. data/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  1240. data/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  1241. data/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  1242. data/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  1243. data/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  1244. data/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  1245. data/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  1246. data/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  1247. data/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  1248. data/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  1249. data/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  1250. data/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  1251. data/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  1252. data/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  1253. data/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  1254. data/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  1255. data/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  1256. data/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  1257. data/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  1258. data/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  1259. data/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  1260. data/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  1261. data/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  1262. data/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
  1263. data/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  1264. data/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  1265. data/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  1266. data/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  1267. data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  1268. data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  1269. data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  1270. data/node_modules/ajv/lib/2019.ts +81 -0
  1271. data/node_modules/ajv/lib/2020.ts +75 -0
  1272. data/node_modules/ajv/lib/ajv.ts +70 -0
  1273. data/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  1274. data/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  1275. data/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  1276. data/node_modules/ajv/lib/compile/errors.ts +184 -0
  1277. data/node_modules/ajv/lib/compile/index.ts +324 -0
  1278. data/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  1279. data/node_modules/ajv/lib/compile/jtd/serialize.ts +266 -0
  1280. data/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  1281. data/node_modules/ajv/lib/compile/names.ts +27 -0
  1282. data/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  1283. data/node_modules/ajv/lib/compile/resolve.ts +149 -0
  1284. data/node_modules/ajv/lib/compile/rules.ts +50 -0
  1285. data/node_modules/ajv/lib/compile/util.ts +213 -0
  1286. data/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  1287. data/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  1288. data/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  1289. data/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  1290. data/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  1291. data/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  1292. data/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  1293. data/node_modules/ajv/lib/core.ts +891 -0
  1294. data/node_modules/ajv/lib/jtd.ts +132 -0
  1295. data/node_modules/ajv/lib/refs/data.json +13 -0
  1296. data/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  1297. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  1298. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  1299. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  1300. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  1301. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  1302. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  1303. data/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  1304. data/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  1305. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  1306. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  1307. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  1308. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  1309. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  1310. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  1311. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  1312. data/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  1313. data/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  1314. data/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  1315. data/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  1316. data/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  1317. data/node_modules/ajv/lib/runtime/equal.ts +7 -0
  1318. data/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  1319. data/node_modules/ajv/lib/runtime/quote.ts +31 -0
  1320. data/node_modules/ajv/lib/runtime/re2.ts +6 -0
  1321. data/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  1322. data/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  1323. data/node_modules/ajv/lib/runtime/uri.ts +6 -0
  1324. data/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  1325. data/node_modules/ajv/lib/standalone/index.ts +100 -0
  1326. data/node_modules/ajv/lib/standalone/instance.ts +36 -0
  1327. data/node_modules/ajv/lib/types/index.ts +244 -0
  1328. data/node_modules/ajv/lib/types/json-schema.ts +187 -0
  1329. data/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  1330. data/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  1331. data/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  1332. data/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  1333. data/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  1334. data/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  1335. data/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  1336. data/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  1337. data/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  1338. data/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  1339. data/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  1340. data/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  1341. data/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  1342. data/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  1343. data/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  1344. data/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  1345. data/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  1346. data/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  1347. data/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  1348. data/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  1349. data/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  1350. data/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  1351. data/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  1352. data/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  1353. data/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  1354. data/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  1355. data/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  1356. data/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  1357. data/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  1358. data/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  1359. data/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  1360. data/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  1361. data/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  1362. data/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  1363. data/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  1364. data/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  1365. data/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  1366. data/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  1367. data/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  1368. data/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  1369. data/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  1370. data/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  1371. data/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  1372. data/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  1373. data/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  1374. data/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  1375. data/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  1376. data/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  1377. data/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  1378. data/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  1379. data/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  1380. data/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  1381. data/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  1382. data/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  1383. data/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  1384. data/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  1385. data/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  1386. data/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  1387. data/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  1388. data/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  1389. data/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  1390. data/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  1391. data/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  1392. data/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
  1393. data/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  1394. data/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  1395. data/node_modules/ajv/package.json +126 -0
  1396. data/node_modules/ansi-regex/index.d.ts +37 -0
  1397. data/node_modules/ansi-regex/index.js +10 -0
  1398. data/node_modules/ansi-regex/license +9 -0
  1399. data/node_modules/ansi-regex/package.json +55 -0
  1400. data/node_modules/ansi-regex/readme.md +78 -0
  1401. data/node_modules/ansi-styles/index.d.ts +345 -0
  1402. data/node_modules/ansi-styles/index.js +163 -0
  1403. data/node_modules/ansi-styles/license +9 -0
  1404. data/node_modules/ansi-styles/package.json +56 -0
  1405. data/node_modules/ansi-styles/readme.md +152 -0
  1406. data/node_modules/argparse/CHANGELOG.md +216 -0
  1407. data/node_modules/argparse/LICENSE +254 -0
  1408. data/node_modules/argparse/README.md +84 -0
  1409. data/node_modules/argparse/argparse.js +3707 -0
  1410. data/node_modules/argparse/lib/sub.js +67 -0
  1411. data/node_modules/argparse/lib/textwrap.js +440 -0
  1412. data/node_modules/argparse/package.json +31 -0
  1413. data/node_modules/array-ify/README.md +51 -0
  1414. data/node_modules/array-ify/index.js +4 -0
  1415. data/node_modules/array-ify/package.json +37 -0
  1416. data/node_modules/callsites/index.d.ts +96 -0
  1417. data/node_modules/callsites/index.js +13 -0
  1418. data/node_modules/callsites/license +9 -0
  1419. data/node_modules/callsites/package.json +39 -0
  1420. data/node_modules/callsites/readme.md +48 -0
  1421. data/node_modules/chalk/license +9 -0
  1422. data/node_modules/chalk/package.json +83 -0
  1423. data/node_modules/chalk/readme.md +325 -0
  1424. data/node_modules/chalk/source/index.d.ts +320 -0
  1425. data/node_modules/chalk/source/index.js +225 -0
  1426. data/node_modules/chalk/source/utilities.js +33 -0
  1427. data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  1428. data/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  1429. data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  1430. data/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  1431. data/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  1432. data/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  1433. data/node_modules/cliui/CHANGELOG.md +139 -0
  1434. data/node_modules/cliui/LICENSE.txt +14 -0
  1435. data/node_modules/cliui/README.md +141 -0
  1436. data/node_modules/cliui/build/index.cjs +302 -0
  1437. data/node_modules/cliui/build/index.d.cts +43 -0
  1438. data/node_modules/cliui/build/lib/index.js +287 -0
  1439. data/node_modules/cliui/build/lib/string-utils.js +27 -0
  1440. data/node_modules/cliui/index.mjs +13 -0
  1441. data/node_modules/cliui/package.json +83 -0
  1442. data/node_modules/color-convert/CHANGELOG.md +54 -0
  1443. data/node_modules/color-convert/LICENSE +21 -0
  1444. data/node_modules/color-convert/README.md +68 -0
  1445. data/node_modules/color-convert/conversions.js +839 -0
  1446. data/node_modules/color-convert/index.js +81 -0
  1447. data/node_modules/color-convert/package.json +48 -0
  1448. data/node_modules/color-convert/route.js +97 -0
  1449. data/node_modules/color-name/LICENSE +8 -0
  1450. data/node_modules/color-name/README.md +11 -0
  1451. data/node_modules/color-name/index.js +152 -0
  1452. data/node_modules/color-name/package.json +28 -0
  1453. data/node_modules/compare-func/LICENSE +21 -0
  1454. data/node_modules/compare-func/README.md +70 -0
  1455. data/node_modules/compare-func/index.js +42 -0
  1456. data/node_modules/compare-func/package.json +47 -0
  1457. data/node_modules/conventional-changelog/LICENSE.md +21 -0
  1458. data/node_modules/conventional-changelog/README.md +66 -0
  1459. data/node_modules/conventional-changelog/index.js +22 -0
  1460. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/LICENSE.md +15 -0
  1461. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/README.md +134 -0
  1462. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/package.json +32 -0
  1463. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/index.js +11 -0
  1464. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/parser.js +13 -0
  1465. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/commit.hbs +61 -0
  1466. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/footer.hbs +11 -0
  1467. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/header.hbs +25 -0
  1468. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/template.hbs +16 -0
  1469. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/whatBump.js +24 -0
  1470. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/writer.js +114 -0
  1471. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/LICENSE.md +15 -0
  1472. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/README.md +80 -0
  1473. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/package.json +32 -0
  1474. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/constants.js +14 -0
  1475. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/index.js +18 -0
  1476. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/parser.js +17 -0
  1477. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/commit.hbs +30 -0
  1478. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/footer.hbs +0 -0
  1479. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/header.hbs +9 -0
  1480. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/template.hbs +21 -0
  1481. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/utils.js +18 -0
  1482. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/whatBump.js +36 -0
  1483. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/writer.js +195 -0
  1484. data/node_modules/conventional-changelog/package.json +54 -0
  1485. data/node_modules/conventional-changelog-angular/LICENSE.md +15 -0
  1486. data/node_modules/conventional-changelog-angular/README.md +126 -0
  1487. data/node_modules/conventional-changelog-angular/conventionalChangelog.js +10 -0
  1488. data/node_modules/conventional-changelog-angular/conventionalRecommendedBump.js +34 -0
  1489. data/node_modules/conventional-changelog-angular/index.js +22 -0
  1490. data/node_modules/conventional-changelog-angular/package.json +35 -0
  1491. data/node_modules/conventional-changelog-angular/parserOpts.js +17 -0
  1492. data/node_modules/conventional-changelog-angular/templates/commit.hbs +61 -0
  1493. data/node_modules/conventional-changelog-angular/templates/footer.hbs +11 -0
  1494. data/node_modules/conventional-changelog-angular/templates/header.hbs +25 -0
  1495. data/node_modules/conventional-changelog-angular/templates/template.hbs +16 -0
  1496. data/node_modules/conventional-changelog-angular/writerOpts.js +110 -0
  1497. data/node_modules/conventional-changelog-atom/LICENSE.md +15 -0
  1498. data/node_modules/conventional-changelog-atom/README.md +72 -0
  1499. data/node_modules/conventional-changelog-atom/package.json +29 -0
  1500. data/node_modules/conventional-changelog-atom/src/index.js +11 -0
  1501. data/node_modules/conventional-changelog-atom/src/parser.js +9 -0
  1502. data/node_modules/conventional-changelog-atom/src/templates/commit.hbs +5 -0
  1503. data/node_modules/conventional-changelog-atom/src/templates/header.hbs +1 -0
  1504. data/node_modules/conventional-changelog-atom/src/templates/template.hbs +15 -0
  1505. data/node_modules/conventional-changelog-atom/src/whatBump.js +22 -0
  1506. data/node_modules/conventional-changelog-atom/src/writer.js +48 -0
  1507. data/node_modules/conventional-changelog-cli/LICENSE +21 -0
  1508. data/node_modules/conventional-changelog-cli/README.md +128 -0
  1509. data/node_modules/conventional-changelog-cli/cli.js +279 -0
  1510. data/node_modules/conventional-changelog-cli/package.json +44 -0
  1511. data/node_modules/conventional-changelog-codemirror/LICENSE.md +15 -0
  1512. data/node_modules/conventional-changelog-codemirror/README.md +45 -0
  1513. data/node_modules/conventional-changelog-codemirror/package.json +29 -0
  1514. data/node_modules/conventional-changelog-codemirror/src/index.js +11 -0
  1515. data/node_modules/conventional-changelog-codemirror/src/parser.js +10 -0
  1516. data/node_modules/conventional-changelog-codemirror/src/templates/commit.hbs +5 -0
  1517. data/node_modules/conventional-changelog-codemirror/src/templates/header.hbs +1 -0
  1518. data/node_modules/conventional-changelog-codemirror/src/templates/template.hbs +15 -0
  1519. data/node_modules/conventional-changelog-codemirror/src/whatBump.js +22 -0
  1520. data/node_modules/conventional-changelog-codemirror/src/writer.js +41 -0
  1521. data/node_modules/conventional-changelog-conventionalcommits/LICENSE.md +15 -0
  1522. data/node_modules/conventional-changelog-conventionalcommits/README.md +72 -0
  1523. data/node_modules/conventional-changelog-conventionalcommits/constants.js +18 -0
  1524. data/node_modules/conventional-changelog-conventionalcommits/conventionalChangelog.js +10 -0
  1525. data/node_modules/conventional-changelog-conventionalcommits/conventionalRecommendedBump.js +44 -0
  1526. data/node_modules/conventional-changelog-conventionalcommits/index.js +29 -0
  1527. data/node_modules/conventional-changelog-conventionalcommits/package.json +37 -0
  1528. data/node_modules/conventional-changelog-conventionalcommits/parserOpts.js +21 -0
  1529. data/node_modules/conventional-changelog-conventionalcommits/templates/commit.hbs +30 -0
  1530. data/node_modules/conventional-changelog-conventionalcommits/templates/footer.hbs +0 -0
  1531. data/node_modules/conventional-changelog-conventionalcommits/templates/header.hbs +9 -0
  1532. data/node_modules/conventional-changelog-conventionalcommits/templates/template.hbs +23 -0
  1533. data/node_modules/conventional-changelog-conventionalcommits/utils.js +15 -0
  1534. data/node_modules/conventional-changelog-conventionalcommits/writerOpts.js +192 -0
  1535. data/node_modules/conventional-changelog-core/LICENSE.md +21 -0
  1536. data/node_modules/conventional-changelog-core/README.md +255 -0
  1537. data/node_modules/conventional-changelog-core/hosts/bitbucket.json +21 -0
  1538. data/node_modules/conventional-changelog-core/hosts/github.json +19 -0
  1539. data/node_modules/conventional-changelog-core/hosts/gitlab.json +17 -0
  1540. data/node_modules/conventional-changelog-core/index.js +156 -0
  1541. data/node_modules/conventional-changelog-core/lib/merge-config.js +372 -0
  1542. data/node_modules/conventional-changelog-core/node_modules/.bin/conventional-commits-parser +1 -0
  1543. data/node_modules/conventional-changelog-core/node_modules/.bin/git-raw-commits +1 -0
  1544. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/LICENSE.md +21 -0
  1545. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/README.md +134 -0
  1546. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts +49 -0
  1547. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts.map +1 -0
  1548. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js +124 -0
  1549. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts +75 -0
  1550. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts.map +1 -0
  1551. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.js +160 -0
  1552. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.d.ts +4 -0
  1553. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.d.ts.map +1 -0
  1554. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.js +4 -0
  1555. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.d.ts +58 -0
  1556. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.d.ts.map +1 -0
  1557. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.js +2 -0
  1558. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.d.ts +34 -0
  1559. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.d.ts.map +1 -0
  1560. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.js +141 -0
  1561. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/package.json +53 -0
  1562. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/LICENSE.md +21 -0
  1563. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/README.md +437 -0
  1564. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.d.ts +40 -0
  1565. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.d.ts.map +1 -0
  1566. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.js +317 -0
  1567. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.d.ts +3 -0
  1568. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.d.ts.map +1 -0
  1569. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.js +103 -0
  1570. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.d.ts +3 -0
  1571. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.d.ts.map +1 -0
  1572. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.js +40 -0
  1573. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.d.ts +8 -0
  1574. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.d.ts.map +1 -0
  1575. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.js +64 -0
  1576. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.d.ts +4 -0
  1577. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.d.ts.map +1 -0
  1578. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.js +4 -0
  1579. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.d.ts +3 -0
  1580. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.d.ts.map +1 -0
  1581. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.js +25 -0
  1582. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.d.ts +8 -0
  1583. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.d.ts.map +1 -0
  1584. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.js +49 -0
  1585. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.d.ts +16 -0
  1586. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.d.ts.map +1 -0
  1587. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.js +38 -0
  1588. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.d.ts +98 -0
  1589. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.d.ts.map +1 -0
  1590. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.js +2 -0
  1591. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.d.ts +32 -0
  1592. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.d.ts.map +1 -0
  1593. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.js +59 -0
  1594. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/package.json +45 -0
  1595. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/LICENSE.md +21 -0
  1596. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/README.md +60 -0
  1597. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/package.json +44 -0
  1598. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/src/cli.js +37 -0
  1599. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/src/index.js +59 -0
  1600. data/node_modules/conventional-changelog-core/package.json +44 -0
  1601. data/node_modules/conventional-changelog-ember/LICENSE.md +15 -0
  1602. data/node_modules/conventional-changelog-ember/README.md +94 -0
  1603. data/node_modules/conventional-changelog-ember/package.json +29 -0
  1604. data/node_modules/conventional-changelog-ember/src/index.js +14 -0
  1605. data/node_modules/conventional-changelog-ember/src/parser.js +12 -0
  1606. data/node_modules/conventional-changelog-ember/src/templates/commit.hbs +3 -0
  1607. data/node_modules/conventional-changelog-ember/src/templates/header.hbs +1 -0
  1608. data/node_modules/conventional-changelog-ember/src/templates/template.hbs +15 -0
  1609. data/node_modules/conventional-changelog-ember/src/whatBump.js +22 -0
  1610. data/node_modules/conventional-changelog-ember/src/writer.js +58 -0
  1611. data/node_modules/conventional-changelog-eslint/LICENSE.md +15 -0
  1612. data/node_modules/conventional-changelog-eslint/README.md +84 -0
  1613. data/node_modules/conventional-changelog-eslint/package.json +29 -0
  1614. data/node_modules/conventional-changelog-eslint/src/index.js +11 -0
  1615. data/node_modules/conventional-changelog-eslint/src/parser.js +9 -0
  1616. data/node_modules/conventional-changelog-eslint/src/templates/commit.hbs +5 -0
  1617. data/node_modules/conventional-changelog-eslint/src/templates/header.hbs +1 -0
  1618. data/node_modules/conventional-changelog-eslint/src/templates/template.hbs +15 -0
  1619. data/node_modules/conventional-changelog-eslint/src/whatBump.js +24 -0
  1620. data/node_modules/conventional-changelog-eslint/src/writer.js +39 -0
  1621. data/node_modules/conventional-changelog-express/LICENSE.md +15 -0
  1622. data/node_modules/conventional-changelog-express/README.md +45 -0
  1623. data/node_modules/conventional-changelog-express/package.json +29 -0
  1624. data/node_modules/conventional-changelog-express/src/index.js +11 -0
  1625. data/node_modules/conventional-changelog-express/src/parser.js +9 -0
  1626. data/node_modules/conventional-changelog-express/src/templates/commit.hbs +9 -0
  1627. data/node_modules/conventional-changelog-express/src/templates/header.hbs +2 -0
  1628. data/node_modules/conventional-changelog-express/src/templates/template.hbs +14 -0
  1629. data/node_modules/conventional-changelog-express/src/whatBump.js +22 -0
  1630. data/node_modules/conventional-changelog-express/src/writer.js +43 -0
  1631. data/node_modules/conventional-changelog-jquery/LICENSE.md +15 -0
  1632. data/node_modules/conventional-changelog-jquery/README.md +83 -0
  1633. data/node_modules/conventional-changelog-jquery/package.json +29 -0
  1634. data/node_modules/conventional-changelog-jquery/src/index.js +11 -0
  1635. data/node_modules/conventional-changelog-jquery/src/parser.js +9 -0
  1636. data/node_modules/conventional-changelog-jquery/src/templates/commit.hbs +56 -0
  1637. data/node_modules/conventional-changelog-jquery/src/templates/header.hbs +17 -0
  1638. data/node_modules/conventional-changelog-jquery/src/templates/template.hbs +16 -0
  1639. data/node_modules/conventional-changelog-jquery/src/whatBump.js +22 -0
  1640. data/node_modules/conventional-changelog-jquery/src/writer.js +50 -0
  1641. data/node_modules/conventional-changelog-jshint/LICENSE.md +15 -0
  1642. data/node_modules/conventional-changelog-jshint/README.md +121 -0
  1643. data/node_modules/conventional-changelog-jshint/package.json +32 -0
  1644. data/node_modules/conventional-changelog-jshint/src/index.js +11 -0
  1645. data/node_modules/conventional-changelog-jshint/src/parser.js +10 -0
  1646. data/node_modules/conventional-changelog-jshint/src/templates/commit.hbs +5 -0
  1647. data/node_modules/conventional-changelog-jshint/src/templates/footer.hbs +11 -0
  1648. data/node_modules/conventional-changelog-jshint/src/templates/header.hbs +1 -0
  1649. data/node_modules/conventional-changelog-jshint/src/templates/template.hbs +16 -0
  1650. data/node_modules/conventional-changelog-jshint/src/whatBump.js +22 -0
  1651. data/node_modules/conventional-changelog-jshint/src/writer.js +62 -0
  1652. data/node_modules/conventional-changelog-preset-loader/LICENSE.md +21 -0
  1653. data/node_modules/conventional-changelog-preset-loader/README.md +121 -0
  1654. data/node_modules/conventional-changelog-preset-loader/dist/index.d.ts +3 -0
  1655. data/node_modules/conventional-changelog-preset-loader/dist/index.d.ts.map +1 -0
  1656. data/node_modules/conventional-changelog-preset-loader/dist/index.js +3 -0
  1657. data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.d.ts +12 -0
  1658. data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.d.ts.map +1 -0
  1659. data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.js +102 -0
  1660. data/node_modules/conventional-changelog-preset-loader/dist/types.d.ts +15 -0
  1661. data/node_modules/conventional-changelog-preset-loader/dist/types.d.ts.map +1 -0
  1662. data/node_modules/conventional-changelog-preset-loader/dist/types.js +3 -0
  1663. data/node_modules/conventional-changelog-preset-loader/package.json +32 -0
  1664. data/node_modules/conventional-changelog-writer/LICENSE.md +21 -0
  1665. data/node_modules/conventional-changelog-writer/README.md +383 -0
  1666. data/node_modules/conventional-changelog-writer/dist/cli/index.d.ts +3 -0
  1667. data/node_modules/conventional-changelog-writer/dist/cli/index.d.ts.map +1 -0
  1668. data/node_modules/conventional-changelog-writer/dist/cli/index.js +70 -0
  1669. data/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts +7 -0
  1670. data/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts.map +1 -0
  1671. data/node_modules/conventional-changelog-writer/dist/cli/utils.js +64 -0
  1672. data/node_modules/conventional-changelog-writer/dist/commit.d.ts +11 -0
  1673. data/node_modules/conventional-changelog-writer/dist/commit.d.ts.map +1 -0
  1674. data/node_modules/conventional-changelog-writer/dist/commit.js +40 -0
  1675. data/node_modules/conventional-changelog-writer/dist/context.d.ts +26 -0
  1676. data/node_modules/conventional-changelog-writer/dist/context.d.ts.map +1 -0
  1677. data/node_modules/conventional-changelog-writer/dist/context.js +114 -0
  1678. data/node_modules/conventional-changelog-writer/dist/index.d.ts +4 -0
  1679. data/node_modules/conventional-changelog-writer/dist/index.d.ts.map +1 -0
  1680. data/node_modules/conventional-changelog-writer/dist/index.js +4 -0
  1681. data/node_modules/conventional-changelog-writer/dist/options.d.ts +25 -0
  1682. data/node_modules/conventional-changelog-writer/dist/options.d.ts.map +1 -0
  1683. data/node_modules/conventional-changelog-writer/dist/options.js +75 -0
  1684. data/node_modules/conventional-changelog-writer/dist/template.d.ts +21 -0
  1685. data/node_modules/conventional-changelog-writer/dist/template.d.ts.map +1 -0
  1686. data/node_modules/conventional-changelog-writer/dist/template.js +77 -0
  1687. data/node_modules/conventional-changelog-writer/dist/types/commit.d.ts +26 -0
  1688. data/node_modules/conventional-changelog-writer/dist/types/commit.d.ts.map +1 -0
  1689. data/node_modules/conventional-changelog-writer/dist/types/commit.js +2 -0
  1690. data/node_modules/conventional-changelog-writer/dist/types/context.d.ts +69 -0
  1691. data/node_modules/conventional-changelog-writer/dist/types/context.d.ts.map +1 -0
  1692. data/node_modules/conventional-changelog-writer/dist/types/context.js +2 -0
  1693. data/node_modules/conventional-changelog-writer/dist/types/index.d.ts +10 -0
  1694. data/node_modules/conventional-changelog-writer/dist/types/index.d.ts.map +1 -0
  1695. data/node_modules/conventional-changelog-writer/dist/types/index.js +5 -0
  1696. data/node_modules/conventional-changelog-writer/dist/types/options.d.ts +108 -0
  1697. data/node_modules/conventional-changelog-writer/dist/types/options.d.ts.map +1 -0
  1698. data/node_modules/conventional-changelog-writer/dist/types/options.js +2 -0
  1699. data/node_modules/conventional-changelog-writer/dist/types/utils.d.ts +10 -0
  1700. data/node_modules/conventional-changelog-writer/dist/types/utils.d.ts.map +1 -0
  1701. data/node_modules/conventional-changelog-writer/dist/types/utils.js +2 -0
  1702. data/node_modules/conventional-changelog-writer/dist/utils.d.ts +20 -0
  1703. data/node_modules/conventional-changelog-writer/dist/utils.d.ts.map +1 -0
  1704. data/node_modules/conventional-changelog-writer/dist/utils.js +70 -0
  1705. data/node_modules/conventional-changelog-writer/dist/writers.d.ts +29 -0
  1706. data/node_modules/conventional-changelog-writer/dist/writers.d.ts.map +1 -0
  1707. data/node_modules/conventional-changelog-writer/dist/writers.js +102 -0
  1708. data/node_modules/conventional-changelog-writer/package.json +52 -0
  1709. data/node_modules/conventional-changelog-writer/templates/commit.hbs +54 -0
  1710. data/node_modules/conventional-changelog-writer/templates/footer.hbs +10 -0
  1711. data/node_modules/conventional-changelog-writer/templates/header.hbs +9 -0
  1712. data/node_modules/conventional-changelog-writer/templates/template.hbs +11 -0
  1713. data/node_modules/conventional-commits-filter/LICENSE +21 -0
  1714. data/node_modules/conventional-commits-filter/README.md +235 -0
  1715. data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts +17 -0
  1716. data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts.map +1 -0
  1717. data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.js +46 -0
  1718. data/node_modules/conventional-commits-filter/dist/filters.d.ts +20 -0
  1719. data/node_modules/conventional-commits-filter/dist/filters.d.ts.map +1 -0
  1720. data/node_modules/conventional-commits-filter/dist/filters.js +34 -0
  1721. data/node_modules/conventional-commits-filter/dist/index.d.ts +4 -0
  1722. data/node_modules/conventional-commits-filter/dist/index.d.ts.map +1 -0
  1723. data/node_modules/conventional-commits-filter/dist/index.js +3 -0
  1724. data/node_modules/conventional-commits-filter/dist/types.d.ts +6 -0
  1725. data/node_modules/conventional-commits-filter/dist/types.d.ts.map +1 -0
  1726. data/node_modules/conventional-commits-filter/dist/types.js +2 -0
  1727. data/node_modules/conventional-commits-filter/dist/utils.d.ts +16 -0
  1728. data/node_modules/conventional-commits-filter/dist/utils.d.ts.map +1 -0
  1729. data/node_modules/conventional-commits-filter/dist/utils.js +43 -0
  1730. data/node_modules/conventional-commits-filter/package.json +37 -0
  1731. data/node_modules/conventional-commits-parser/LICENSE.md +21 -0
  1732. data/node_modules/conventional-commits-parser/README.md +383 -0
  1733. data/node_modules/conventional-commits-parser/cli.mjs +170 -0
  1734. data/node_modules/conventional-commits-parser/index.js +105 -0
  1735. data/node_modules/conventional-commits-parser/lib/parser.js +316 -0
  1736. data/node_modules/conventional-commits-parser/lib/regex.js +61 -0
  1737. data/node_modules/conventional-commits-parser/node_modules/meow/build/dependencies.js +11036 -0
  1738. data/node_modules/conventional-commits-parser/node_modules/meow/build/index.d.ts +1416 -0
  1739. data/node_modules/conventional-commits-parser/node_modules/meow/build/index.js +100 -0
  1740. data/node_modules/conventional-commits-parser/node_modules/meow/build/licenses.md +1767 -0
  1741. data/node_modules/conventional-commits-parser/node_modules/meow/build/options.js +92 -0
  1742. data/node_modules/conventional-commits-parser/node_modules/meow/build/parser.js +84 -0
  1743. data/node_modules/conventional-commits-parser/node_modules/meow/build/utils.js +7 -0
  1744. data/node_modules/conventional-commits-parser/node_modules/meow/build/validate.js +122 -0
  1745. data/node_modules/conventional-commits-parser/node_modules/meow/license +9 -0
  1746. data/node_modules/conventional-commits-parser/node_modules/meow/package.json +107 -0
  1747. data/node_modules/conventional-commits-parser/node_modules/meow/readme.md +314 -0
  1748. data/node_modules/conventional-commits-parser/package.json +47 -0
  1749. data/node_modules/cosmiconfig/LICENSE +22 -0
  1750. data/node_modules/cosmiconfig/README.md +782 -0
  1751. data/node_modules/cosmiconfig/dist/Explorer.d.ts +2 -0
  1752. data/node_modules/cosmiconfig/dist/Explorer.d.ts.map +1 -0
  1753. data/node_modules/cosmiconfig/dist/Explorer.js +170 -0
  1754. data/node_modules/cosmiconfig/dist/Explorer.js.map +1 -0
  1755. data/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +2 -0
  1756. data/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map +1 -0
  1757. data/node_modules/cosmiconfig/dist/ExplorerBase.js +126 -0
  1758. data/node_modules/cosmiconfig/dist/ExplorerBase.js.map +1 -0
  1759. data/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +2 -0
  1760. data/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map +1 -0
  1761. data/node_modules/cosmiconfig/dist/ExplorerSync.js +184 -0
  1762. data/node_modules/cosmiconfig/dist/ExplorerSync.js.map +1 -0
  1763. data/node_modules/cosmiconfig/dist/cacheWrapper.d.ts +5 -0
  1764. data/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map +1 -0
  1765. data/node_modules/cosmiconfig/dist/cacheWrapper.js +32 -0
  1766. data/node_modules/cosmiconfig/dist/cacheWrapper.js.map +1 -0
  1767. data/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts +3 -0
  1768. data/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map +1 -0
  1769. data/node_modules/cosmiconfig/dist/canUseDynamicImport.js +23 -0
  1770. data/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map +1 -0
  1771. data/node_modules/cosmiconfig/dist/defaults.d.ts +25 -0
  1772. data/node_modules/cosmiconfig/dist/defaults.d.ts.map +1 -0
  1773. data/node_modules/cosmiconfig/dist/defaults.js +105 -0
  1774. data/node_modules/cosmiconfig/dist/defaults.js.map +1 -0
  1775. data/node_modules/cosmiconfig/dist/getDirectory.d.ts +4 -0
  1776. data/node_modules/cosmiconfig/dist/getDirectory.d.ts.map +1 -0
  1777. data/node_modules/cosmiconfig/dist/getDirectory.js +38 -0
  1778. data/node_modules/cosmiconfig/dist/getDirectory.js.map +1 -0
  1779. data/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts +5 -0
  1780. data/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map +1 -0
  1781. data/node_modules/cosmiconfig/dist/getPropertyByPath.js +28 -0
  1782. data/node_modules/cosmiconfig/dist/getPropertyByPath.js.map +1 -0
  1783. data/node_modules/cosmiconfig/dist/index.d.ts +6 -0
  1784. data/node_modules/cosmiconfig/dist/index.d.ts.map +1 -0
  1785. data/node_modules/cosmiconfig/dist/index.js +148 -0
  1786. data/node_modules/cosmiconfig/dist/index.js.map +1 -0
  1787. data/node_modules/cosmiconfig/dist/loaders.d.ts +8 -0
  1788. data/node_modules/cosmiconfig/dist/loaders.d.ts.map +1 -0
  1789. data/node_modules/cosmiconfig/dist/loaders.js +148 -0
  1790. data/node_modules/cosmiconfig/dist/loaders.js.map +1 -0
  1791. data/node_modules/cosmiconfig/dist/merge.d.ts +9 -0
  1792. data/node_modules/cosmiconfig/dist/merge.d.ts.map +1 -0
  1793. data/node_modules/cosmiconfig/dist/merge.js +40 -0
  1794. data/node_modules/cosmiconfig/dist/merge.js.map +1 -0
  1795. data/node_modules/cosmiconfig/dist/readFile.d.ts +7 -0
  1796. data/node_modules/cosmiconfig/dist/readFile.d.ts.map +1 -0
  1797. data/node_modules/cosmiconfig/dist/readFile.js +56 -0
  1798. data/node_modules/cosmiconfig/dist/readFile.js.map +1 -0
  1799. data/node_modules/cosmiconfig/dist/types.d.ts +98 -0
  1800. data/node_modules/cosmiconfig/dist/types.d.ts.map +1 -0
  1801. data/node_modules/cosmiconfig/dist/types.js +3 -0
  1802. data/node_modules/cosmiconfig/dist/types.js.map +1 -0
  1803. data/node_modules/cosmiconfig/dist/util.d.ts +2 -0
  1804. data/node_modules/cosmiconfig/dist/util.d.ts.map +1 -0
  1805. data/node_modules/cosmiconfig/dist/util.js +99 -0
  1806. data/node_modules/cosmiconfig/dist/util.js.map +1 -0
  1807. data/node_modules/cosmiconfig/package.json +102 -0
  1808. data/node_modules/cosmiconfig-typescript-loader/LICENCE +21 -0
  1809. data/node_modules/cosmiconfig-typescript-loader/README.md +64 -0
  1810. data/node_modules/cosmiconfig-typescript-loader/dist/cjs/index.cjs +30 -0
  1811. data/node_modules/cosmiconfig-typescript-loader/dist/cjs/loader.cjs +55 -0
  1812. data/node_modules/cosmiconfig-typescript-loader/dist/cjs/typescript-compile-error.cjs +43 -0
  1813. data/node_modules/cosmiconfig-typescript-loader/dist/esm/index.mjs +5 -0
  1814. data/node_modules/cosmiconfig-typescript-loader/dist/esm/loader.mjs +20 -0
  1815. data/node_modules/cosmiconfig-typescript-loader/dist/esm/typescript-compile-error.mjs +18 -0
  1816. data/node_modules/cosmiconfig-typescript-loader/dist/types/index.d.ts +2 -0
  1817. data/node_modules/cosmiconfig-typescript-loader/dist/types/loader.d.ts +3 -0
  1818. data/node_modules/cosmiconfig-typescript-loader/dist/types/typescript-compile-error.d.ts +4 -0
  1819. data/node_modules/cosmiconfig-typescript-loader/package.json +79 -0
  1820. data/node_modules/cross-spawn/CHANGELOG.md +130 -0
  1821. data/node_modules/cross-spawn/LICENSE +21 -0
  1822. data/node_modules/cross-spawn/README.md +96 -0
  1823. data/node_modules/cross-spawn/index.js +39 -0
  1824. data/node_modules/cross-spawn/lib/enoent.js +59 -0
  1825. data/node_modules/cross-spawn/lib/parse.js +91 -0
  1826. data/node_modules/cross-spawn/lib/util/escape.js +45 -0
  1827. data/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  1828. data/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  1829. data/node_modules/cross-spawn/package.json +73 -0
  1830. data/node_modules/dargs/index.d.ts +159 -0
  1831. data/node_modules/dargs/index.js +116 -0
  1832. data/node_modules/dargs/license +9 -0
  1833. data/node_modules/dargs/package.json +51 -0
  1834. data/node_modules/dargs/readme.md +195 -0
  1835. data/node_modules/dot-prop/index.d.ts +101 -0
  1836. data/node_modules/dot-prop/index.js +142 -0
  1837. data/node_modules/dot-prop/license +9 -0
  1838. data/node_modules/dot-prop/package.json +45 -0
  1839. data/node_modules/dot-prop/readme.md +117 -0
  1840. data/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  1841. data/node_modules/emoji-regex/README.md +73 -0
  1842. data/node_modules/emoji-regex/es2015/index.js +6 -0
  1843. data/node_modules/emoji-regex/es2015/text.js +6 -0
  1844. data/node_modules/emoji-regex/index.d.ts +23 -0
  1845. data/node_modules/emoji-regex/index.js +6 -0
  1846. data/node_modules/emoji-regex/package.json +50 -0
  1847. data/node_modules/emoji-regex/text.js +6 -0
  1848. data/node_modules/env-paths/index.d.ts +101 -0
  1849. data/node_modules/env-paths/index.js +74 -0
  1850. data/node_modules/env-paths/license +9 -0
  1851. data/node_modules/env-paths/package.json +45 -0
  1852. data/node_modules/env-paths/readme.md +115 -0
  1853. data/node_modules/error-ex/LICENSE +21 -0
  1854. data/node_modules/error-ex/README.md +144 -0
  1855. data/node_modules/error-ex/index.js +141 -0
  1856. data/node_modules/error-ex/package.json +46 -0
  1857. data/node_modules/escalade/dist/index.js +22 -0
  1858. data/node_modules/escalade/dist/index.mjs +22 -0
  1859. data/node_modules/escalade/index.d.ts +3 -0
  1860. data/node_modules/escalade/license +9 -0
  1861. data/node_modules/escalade/package.json +63 -0
  1862. data/node_modules/escalade/readme.md +211 -0
  1863. data/node_modules/escalade/sync/index.d.ts +2 -0
  1864. data/node_modules/escalade/sync/index.js +18 -0
  1865. data/node_modules/escalade/sync/index.mjs +18 -0
  1866. data/node_modules/escape-string-regexp/index.js +11 -0
  1867. data/node_modules/escape-string-regexp/license +21 -0
  1868. data/node_modules/escape-string-regexp/package.json +41 -0
  1869. data/node_modules/escape-string-regexp/readme.md +27 -0
  1870. data/node_modules/execa/index.d.ts +955 -0
  1871. data/node_modules/execa/index.js +309 -0
  1872. data/node_modules/execa/lib/command.js +119 -0
  1873. data/node_modules/execa/lib/error.js +87 -0
  1874. data/node_modules/execa/lib/kill.js +102 -0
  1875. data/node_modules/execa/lib/pipe.js +42 -0
  1876. data/node_modules/execa/lib/promise.js +36 -0
  1877. data/node_modules/execa/lib/stdio.js +49 -0
  1878. data/node_modules/execa/lib/stream.js +133 -0
  1879. data/node_modules/execa/lib/verbose.js +19 -0
  1880. data/node_modules/execa/license +9 -0
  1881. data/node_modules/execa/package.json +90 -0
  1882. data/node_modules/execa/readme.md +822 -0
  1883. data/node_modules/fast-deep-equal/LICENSE +21 -0
  1884. data/node_modules/fast-deep-equal/README.md +96 -0
  1885. data/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  1886. data/node_modules/fast-deep-equal/es6/index.js +72 -0
  1887. data/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  1888. data/node_modules/fast-deep-equal/es6/react.js +79 -0
  1889. data/node_modules/fast-deep-equal/index.d.ts +4 -0
  1890. data/node_modules/fast-deep-equal/index.js +46 -0
  1891. data/node_modules/fast-deep-equal/package.json +61 -0
  1892. data/node_modules/fast-deep-equal/react.d.ts +2 -0
  1893. data/node_modules/fast-deep-equal/react.js +53 -0
  1894. data/node_modules/fast-uri/.gitattributes +2 -0
  1895. data/node_modules/fast-uri/.github/.stale.yml +21 -0
  1896. data/node_modules/fast-uri/.github/dependabot.yml +13 -0
  1897. data/node_modules/fast-uri/.github/tests_checker.yml +8 -0
  1898. data/node_modules/fast-uri/.github/workflows/ci.yml +23 -0
  1899. data/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +20 -0
  1900. data/node_modules/fast-uri/.taprc +3 -0
  1901. data/node_modules/fast-uri/LICENSE +30 -0
  1902. data/node_modules/fast-uri/README.md +125 -0
  1903. data/node_modules/fast-uri/benchmark.js +105 -0
  1904. data/node_modules/fast-uri/index.js +309 -0
  1905. data/node_modules/fast-uri/lib/schemes.js +188 -0
  1906. data/node_modules/fast-uri/lib/scopedChars.js +30 -0
  1907. data/node_modules/fast-uri/lib/utils.js +242 -0
  1908. data/node_modules/fast-uri/package.json +39 -0
  1909. data/node_modules/fast-uri/test/.gitkeep +0 -0
  1910. data/node_modules/fast-uri/test/ajv.test.js +39 -0
  1911. data/node_modules/fast-uri/test/compatibility.test.js +130 -0
  1912. data/node_modules/fast-uri/test/equal.test.js +104 -0
  1913. data/node_modules/fast-uri/test/parse.test.js +319 -0
  1914. data/node_modules/fast-uri/test/resolve.test.js +76 -0
  1915. data/node_modules/fast-uri/test/serialize.test.js +144 -0
  1916. data/node_modules/fast-uri/test/uri-js.test.js +940 -0
  1917. data/node_modules/fast-uri/test/util.test.js +24 -0
  1918. data/node_modules/fast-uri/types/index.d.ts +53 -0
  1919. data/node_modules/fast-uri/types/index.test-d.ts +17 -0
  1920. data/node_modules/find-up/index.d.ts +247 -0
  1921. data/node_modules/find-up/index.js +107 -0
  1922. data/node_modules/find-up/license +9 -0
  1923. data/node_modules/find-up/package.json +61 -0
  1924. data/node_modules/find-up/readme.md +160 -0
  1925. data/node_modules/find-up-simple/index.d.ts +74 -0
  1926. data/node_modules/find-up-simple/index.js +53 -0
  1927. data/node_modules/find-up-simple/license +9 -0
  1928. data/node_modules/find-up-simple/package.json +53 -0
  1929. data/node_modules/find-up-simple/readme.md +93 -0
  1930. data/node_modules/get-caller-file/LICENSE.md +6 -0
  1931. data/node_modules/get-caller-file/README.md +41 -0
  1932. data/node_modules/get-caller-file/index.d.ts +2 -0
  1933. data/node_modules/get-caller-file/index.js +22 -0
  1934. data/node_modules/get-caller-file/index.js.map +1 -0
  1935. data/node_modules/get-caller-file/package.json +42 -0
  1936. data/node_modules/get-stream/license +9 -0
  1937. data/node_modules/get-stream/package.json +53 -0
  1938. data/node_modules/get-stream/readme.md +291 -0
  1939. data/node_modules/get-stream/source/array-buffer.js +84 -0
  1940. data/node_modules/get-stream/source/array.js +32 -0
  1941. data/node_modules/get-stream/source/buffer.js +20 -0
  1942. data/node_modules/get-stream/source/contents.js +101 -0
  1943. data/node_modules/get-stream/source/index.d.ts +119 -0
  1944. data/node_modules/get-stream/source/index.js +5 -0
  1945. data/node_modules/get-stream/source/string.js +36 -0
  1946. data/node_modules/get-stream/source/utils.js +11 -0
  1947. data/node_modules/git-raw-commits/LICENSE.md +21 -0
  1948. data/node_modules/git-raw-commits/README.md +101 -0
  1949. data/node_modules/git-raw-commits/cli.mjs +20 -0
  1950. data/node_modules/git-raw-commits/index.js +110 -0
  1951. data/node_modules/git-raw-commits/node_modules/meow/build/dependencies.js +11036 -0
  1952. data/node_modules/git-raw-commits/node_modules/meow/build/index.d.ts +1416 -0
  1953. data/node_modules/git-raw-commits/node_modules/meow/build/index.js +100 -0
  1954. data/node_modules/git-raw-commits/node_modules/meow/build/licenses.md +1767 -0
  1955. data/node_modules/git-raw-commits/node_modules/meow/build/options.js +92 -0
  1956. data/node_modules/git-raw-commits/node_modules/meow/build/parser.js +84 -0
  1957. data/node_modules/git-raw-commits/node_modules/meow/build/utils.js +7 -0
  1958. data/node_modules/git-raw-commits/node_modules/meow/build/validate.js +122 -0
  1959. data/node_modules/git-raw-commits/node_modules/meow/license +9 -0
  1960. data/node_modules/git-raw-commits/node_modules/meow/package.json +107 -0
  1961. data/node_modules/git-raw-commits/node_modules/meow/readme.md +314 -0
  1962. data/node_modules/git-raw-commits/package.json +43 -0
  1963. data/node_modules/git-semver-tags/LICENSE.md +21 -0
  1964. data/node_modules/git-semver-tags/README.md +65 -0
  1965. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/LICENSE.md +21 -0
  1966. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/README.md +134 -0
  1967. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts +49 -0
  1968. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts.map +1 -0
  1969. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js +124 -0
  1970. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts +75 -0
  1971. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts.map +1 -0
  1972. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.js +160 -0
  1973. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.d.ts +4 -0
  1974. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.d.ts.map +1 -0
  1975. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.js +4 -0
  1976. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.d.ts +58 -0
  1977. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.d.ts.map +1 -0
  1978. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.js +2 -0
  1979. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.d.ts +34 -0
  1980. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.d.ts.map +1 -0
  1981. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.js +141 -0
  1982. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/package.json +53 -0
  1983. data/node_modules/git-semver-tags/package.json +43 -0
  1984. data/node_modules/git-semver-tags/src/cli.js +43 -0
  1985. data/node_modules/git-semver-tags/src/index.js +42 -0
  1986. data/node_modules/global-directory/index.d.ts +58 -0
  1987. data/node_modules/global-directory/index.js +121 -0
  1988. data/node_modules/global-directory/license +9 -0
  1989. data/node_modules/global-directory/package.json +61 -0
  1990. data/node_modules/global-directory/readme.md +60 -0
  1991. data/node_modules/handlebars/LICENSE +19 -0
  1992. data/node_modules/handlebars/README.markdown +169 -0
  1993. data/node_modules/handlebars/bin/.eslintrc.js +6 -0
  1994. data/node_modules/handlebars/bin/handlebars +176 -0
  1995. data/node_modules/handlebars/dist/amd/handlebars/base.js +106 -0
  1996. data/node_modules/handlebars/dist/amd/handlebars/compiler/ast.js +31 -0
  1997. data/node_modules/handlebars/dist/amd/handlebars/compiler/base.js +45 -0
  1998. data/node_modules/handlebars/dist/amd/handlebars/compiler/code-gen.js +165 -0
  1999. data/node_modules/handlebars/dist/amd/handlebars/compiler/compiler.js +562 -0
  2000. data/node_modules/handlebars/dist/amd/handlebars/compiler/helpers.js +228 -0
  2001. data/node_modules/handlebars/dist/amd/handlebars/compiler/javascript-compiler.js +1150 -0
  2002. data/node_modules/handlebars/dist/amd/handlebars/compiler/parser.js +737 -0
  2003. data/node_modules/handlebars/dist/amd/handlebars/compiler/printer.js +186 -0
  2004. data/node_modules/handlebars/dist/amd/handlebars/compiler/visitor.js +138 -0
  2005. data/node_modules/handlebars/dist/amd/handlebars/compiler/whitespace-control.js +219 -0
  2006. data/node_modules/handlebars/dist/amd/handlebars/decorators/inline.js +25 -0
  2007. data/node_modules/handlebars/dist/amd/handlebars/decorators.js +16 -0
  2008. data/node_modules/handlebars/dist/amd/handlebars/exception.js +64 -0
  2009. data/node_modules/handlebars/dist/amd/handlebars/helpers/block-helper-missing.js +35 -0
  2010. data/node_modules/handlebars/dist/amd/handlebars/helpers/each.js +99 -0
  2011. data/node_modules/handlebars/dist/amd/handlebars/helpers/helper-missing.js +22 -0
  2012. data/node_modules/handlebars/dist/amd/handlebars/helpers/if.js +41 -0
  2013. data/node_modules/handlebars/dist/amd/handlebars/helpers/log.js +24 -0
  2014. data/node_modules/handlebars/dist/amd/handlebars/helpers/lookup.js +14 -0
  2015. data/node_modules/handlebars/dist/amd/handlebars/helpers/with.js +38 -0
  2016. data/node_modules/handlebars/dist/amd/handlebars/helpers.js +44 -0
  2017. data/node_modules/handlebars/dist/amd/handlebars/internal/create-new-lookup-object.js +22 -0
  2018. data/node_modules/handlebars/dist/amd/handlebars/internal/proto-access.js +71 -0
  2019. data/node_modules/handlebars/dist/amd/handlebars/internal/wrapHelper.js +21 -0
  2020. data/node_modules/handlebars/dist/amd/handlebars/logger.js +44 -0
  2021. data/node_modules/handlebars/dist/amd/handlebars/no-conflict.js +28 -0
  2022. data/node_modules/handlebars/dist/amd/handlebars/runtime.js +356 -0
  2023. data/node_modules/handlebars/dist/amd/handlebars/safe-string.js +15 -0
  2024. data/node_modules/handlebars/dist/amd/handlebars/utils.js +126 -0
  2025. data/node_modules/handlebars/dist/amd/handlebars.js +52 -0
  2026. data/node_modules/handlebars/dist/amd/handlebars.runtime.js +44 -0
  2027. data/node_modules/handlebars/dist/amd/precompiler.js +314 -0
  2028. data/node_modules/handlebars/dist/cjs/handlebars/base.js +116 -0
  2029. data/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +31 -0
  2030. data/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +57 -0
  2031. data/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +168 -0
  2032. data/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +566 -0
  2033. data/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +228 -0
  2034. data/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +1158 -0
  2035. data/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +737 -0
  2036. data/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +186 -0
  2037. data/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +140 -0
  2038. data/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +221 -0
  2039. data/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +29 -0
  2040. data/node_modules/handlebars/dist/cjs/handlebars/decorators.js +16 -0
  2041. data/node_modules/handlebars/dist/cjs/handlebars/exception.js +64 -0
  2042. data/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +39 -0
  2043. data/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +104 -0
  2044. data/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +25 -0
  2045. data/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +46 -0
  2046. data/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +26 -0
  2047. data/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +16 -0
  2048. data/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +43 -0
  2049. data/node_modules/handlebars/dist/cjs/handlebars/helpers.js +56 -0
  2050. data/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js +22 -0
  2051. data/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +73 -0
  2052. data/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +19 -0
  2053. data/node_modules/handlebars/dist/cjs/handlebars/logger.js +47 -0
  2054. data/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +30 -0
  2055. data/node_modules/handlebars/dist/cjs/handlebars/runtime.js +372 -0
  2056. data/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +15 -0
  2057. data/node_modules/handlebars/dist/cjs/handlebars/utils.js +124 -0
  2058. data/node_modules/handlebars/dist/cjs/handlebars.js +66 -0
  2059. data/node_modules/handlebars/dist/cjs/handlebars.runtime.js +66 -0
  2060. data/node_modules/handlebars/dist/cjs/precompiler.js +328 -0
  2061. data/node_modules/handlebars/dist/handlebars.amd.js +4639 -0
  2062. data/node_modules/handlebars/dist/handlebars.amd.min.js +29 -0
  2063. data/node_modules/handlebars/dist/handlebars.js +5972 -0
  2064. data/node_modules/handlebars/dist/handlebars.min.js +29 -0
  2065. data/node_modules/handlebars/dist/handlebars.runtime.amd.js +1302 -0
  2066. data/node_modules/handlebars/dist/handlebars.runtime.amd.min.js +27 -0
  2067. data/node_modules/handlebars/dist/handlebars.runtime.js +2563 -0
  2068. data/node_modules/handlebars/dist/handlebars.runtime.min.js +27 -0
  2069. data/node_modules/handlebars/lib/.eslintrc.js +8 -0
  2070. data/node_modules/handlebars/lib/handlebars/base.js +94 -0
  2071. data/node_modules/handlebars/lib/handlebars/compiler/ast.js +32 -0
  2072. data/node_modules/handlebars/lib/handlebars/compiler/base.js +34 -0
  2073. data/node_modules/handlebars/lib/handlebars/compiler/code-gen.js +171 -0
  2074. data/node_modules/handlebars/lib/handlebars/compiler/compiler.js +594 -0
  2075. data/node_modules/handlebars/lib/handlebars/compiler/helpers.js +219 -0
  2076. data/node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js +1293 -0
  2077. data/node_modules/handlebars/lib/handlebars/compiler/parser.js +622 -0
  2078. data/node_modules/handlebars/lib/handlebars/compiler/printer.js +178 -0
  2079. data/node_modules/handlebars/lib/handlebars/compiler/visitor.js +136 -0
  2080. data/node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js +234 -0
  2081. data/node_modules/handlebars/lib/handlebars/decorators/inline.js +22 -0
  2082. data/node_modules/handlebars/lib/handlebars/decorators.js +5 -0
  2083. data/node_modules/handlebars/lib/handlebars/exception.js +68 -0
  2084. data/node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js +35 -0
  2085. data/node_modules/handlebars/lib/handlebars/helpers/each.js +101 -0
  2086. data/node_modules/handlebars/lib/handlebars/helpers/helper-missing.js +15 -0
  2087. data/node_modules/handlebars/lib/handlebars/helpers/if.js +33 -0
  2088. data/node_modules/handlebars/lib/handlebars/helpers/log.js +19 -0
  2089. data/node_modules/handlebars/lib/handlebars/helpers/lookup.js +9 -0
  2090. data/node_modules/handlebars/lib/handlebars/helpers/with.js +39 -0
  2091. data/node_modules/handlebars/lib/handlebars/helpers.js +26 -0
  2092. data/node_modules/handlebars/lib/handlebars/internal/create-new-lookup-object.js +11 -0
  2093. data/node_modules/handlebars/lib/handlebars/internal/proto-access.js +70 -0
  2094. data/node_modules/handlebars/lib/handlebars/internal/wrapHelper.js +13 -0
  2095. data/node_modules/handlebars/lib/handlebars/logger.js +39 -0
  2096. data/node_modules/handlebars/lib/handlebars/no-conflict.js +23 -0
  2097. data/node_modules/handlebars/lib/handlebars/runtime.js +450 -0
  2098. data/node_modules/handlebars/lib/handlebars/safe-string.js +10 -0
  2099. data/node_modules/handlebars/lib/handlebars/utils.js +116 -0
  2100. data/node_modules/handlebars/lib/handlebars.js +46 -0
  2101. data/node_modules/handlebars/lib/handlebars.runtime.js +37 -0
  2102. data/node_modules/handlebars/lib/index.js +26 -0
  2103. data/node_modules/handlebars/lib/precompiler.js +341 -0
  2104. data/node_modules/handlebars/package.json +135 -0
  2105. data/node_modules/handlebars/release-notes.md +1102 -0
  2106. data/node_modules/handlebars/runtime.d.ts +5 -0
  2107. data/node_modules/handlebars/runtime.js +3 -0
  2108. data/node_modules/handlebars/types/index.d.ts +422 -0
  2109. data/node_modules/has-flag/index.js +8 -0
  2110. data/node_modules/has-flag/license +9 -0
  2111. data/node_modules/has-flag/package.json +44 -0
  2112. data/node_modules/has-flag/readme.md +70 -0
  2113. data/node_modules/hosted-git-info/LICENSE +13 -0
  2114. data/node_modules/hosted-git-info/README.md +133 -0
  2115. data/node_modules/hosted-git-info/lib/from-url.js +122 -0
  2116. data/node_modules/hosted-git-info/lib/hosts.js +227 -0
  2117. data/node_modules/hosted-git-info/lib/index.js +179 -0
  2118. data/node_modules/hosted-git-info/lib/parse-url.js +78 -0
  2119. data/node_modules/hosted-git-info/package.json +60 -0
  2120. data/node_modules/human-signals/LICENSE +201 -0
  2121. data/node_modules/human-signals/README.md +168 -0
  2122. data/node_modules/human-signals/build/src/core.js +273 -0
  2123. data/node_modules/human-signals/build/src/main.d.ts +73 -0
  2124. data/node_modules/human-signals/build/src/main.js +70 -0
  2125. data/node_modules/human-signals/build/src/realtime.js +16 -0
  2126. data/node_modules/human-signals/build/src/signals.js +34 -0
  2127. data/node_modules/human-signals/package.json +61 -0
  2128. data/node_modules/import-fresh/index.d.ts +30 -0
  2129. data/node_modules/import-fresh/index.js +33 -0
  2130. data/node_modules/import-fresh/license +9 -0
  2131. data/node_modules/import-fresh/node_modules/resolve-from/index.js +47 -0
  2132. data/node_modules/import-fresh/node_modules/resolve-from/license +9 -0
  2133. data/node_modules/import-fresh/node_modules/resolve-from/package.json +34 -0
  2134. data/node_modules/import-fresh/node_modules/resolve-from/readme.md +72 -0
  2135. data/node_modules/import-fresh/package.json +43 -0
  2136. data/node_modules/import-fresh/readme.md +48 -0
  2137. data/node_modules/import-meta-resolve/index.d.ts +18 -0
  2138. data/node_modules/import-meta-resolve/index.js +47 -0
  2139. data/node_modules/import-meta-resolve/lib/errors.d.ts +23 -0
  2140. data/node_modules/import-meta-resolve/lib/errors.js +507 -0
  2141. data/node_modules/import-meta-resolve/lib/get-format.d.ts +12 -0
  2142. data/node_modules/import-meta-resolve/lib/get-format.js +159 -0
  2143. data/node_modules/import-meta-resolve/lib/package-json-reader.d.ts +31 -0
  2144. data/node_modules/import-meta-resolve/lib/package-json-reader.js +177 -0
  2145. data/node_modules/import-meta-resolve/lib/resolve.d.ts +33 -0
  2146. data/node_modules/import-meta-resolve/lib/resolve.js +1297 -0
  2147. data/node_modules/import-meta-resolve/lib/utils.d.ts +5 -0
  2148. data/node_modules/import-meta-resolve/lib/utils.js +47 -0
  2149. data/node_modules/import-meta-resolve/license +74 -0
  2150. data/node_modules/import-meta-resolve/package.json +95 -0
  2151. data/node_modules/import-meta-resolve/readme.md +252 -0
  2152. data/node_modules/index-to-position/index.d.ts +21 -0
  2153. data/node_modules/index-to-position/index.js +29 -0
  2154. data/node_modules/index-to-position/license +9 -0
  2155. data/node_modules/index-to-position/package.json +47 -0
  2156. data/node_modules/index-to-position/readme.md +45 -0
  2157. data/node_modules/ini/LICENSE +15 -0
  2158. data/node_modules/ini/README.md +125 -0
  2159. data/node_modules/ini/lib/ini.js +278 -0
  2160. data/node_modules/ini/package.json +45 -0
  2161. data/node_modules/is-arrayish/.editorconfig +18 -0
  2162. data/node_modules/is-arrayish/.istanbul.yml +4 -0
  2163. data/node_modules/is-arrayish/.npmignore +5 -0
  2164. data/node_modules/is-arrayish/.travis.yml +17 -0
  2165. data/node_modules/is-arrayish/LICENSE +21 -0
  2166. data/node_modules/is-arrayish/README.md +16 -0
  2167. data/node_modules/is-arrayish/index.js +10 -0
  2168. data/node_modules/is-arrayish/package.json +34 -0
  2169. data/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  2170. data/node_modules/is-fullwidth-code-point/index.js +50 -0
  2171. data/node_modules/is-fullwidth-code-point/license +9 -0
  2172. data/node_modules/is-fullwidth-code-point/package.json +42 -0
  2173. data/node_modules/is-fullwidth-code-point/readme.md +39 -0
  2174. data/node_modules/is-obj/index.d.ts +22 -0
  2175. data/node_modules/is-obj/index.js +6 -0
  2176. data/node_modules/is-obj/license +9 -0
  2177. data/node_modules/is-obj/package.json +34 -0
  2178. data/node_modules/is-obj/readme.md +39 -0
  2179. data/node_modules/is-stream/index.d.ts +81 -0
  2180. data/node_modules/is-stream/index.js +29 -0
  2181. data/node_modules/is-stream/license +9 -0
  2182. data/node_modules/is-stream/package.json +44 -0
  2183. data/node_modules/is-stream/readme.md +60 -0
  2184. data/node_modules/is-text-path/index.d.ts +17 -0
  2185. data/node_modules/is-text-path/index.js +7 -0
  2186. data/node_modules/is-text-path/license +9 -0
  2187. data/node_modules/is-text-path/package.json +40 -0
  2188. data/node_modules/is-text-path/readme.md +34 -0
  2189. data/node_modules/isexe/.npmignore +2 -0
  2190. data/node_modules/isexe/LICENSE +15 -0
  2191. data/node_modules/isexe/README.md +51 -0
  2192. data/node_modules/isexe/index.js +57 -0
  2193. data/node_modules/isexe/mode.js +41 -0
  2194. data/node_modules/isexe/package.json +31 -0
  2195. data/node_modules/isexe/test/basic.js +221 -0
  2196. data/node_modules/isexe/windows.js +42 -0
  2197. data/node_modules/jiti/LICENSE +21 -0
  2198. data/node_modules/jiti/README.md +164 -0
  2199. data/node_modules/jiti/bin/jiti.js +16 -0
  2200. data/node_modules/jiti/dist/babel.d.ts +2 -0
  2201. data/node_modules/jiti/dist/babel.js +202 -0
  2202. data/node_modules/jiti/dist/jiti.d.ts +22 -0
  2203. data/node_modules/jiti/dist/jiti.js +1 -0
  2204. data/node_modules/jiti/dist/plugins/babel-plugin-transform-import-meta.d.ts +4 -0
  2205. data/node_modules/jiti/dist/plugins/import-meta-env.d.ts +5 -0
  2206. data/node_modules/jiti/dist/types.d.ts +35 -0
  2207. data/node_modules/jiti/dist/utils.d.ts +8 -0
  2208. data/node_modules/jiti/lib/index.js +15 -0
  2209. data/node_modules/jiti/package.json +81 -0
  2210. data/node_modules/jiti/register.js +3 -0
  2211. data/node_modules/js-tokens/CHANGELOG.md +151 -0
  2212. data/node_modules/js-tokens/LICENSE +21 -0
  2213. data/node_modules/js-tokens/README.md +240 -0
  2214. data/node_modules/js-tokens/index.js +23 -0
  2215. data/node_modules/js-tokens/package.json +30 -0
  2216. data/node_modules/js-yaml/CHANGELOG.md +616 -0
  2217. data/node_modules/js-yaml/LICENSE +21 -0
  2218. data/node_modules/js-yaml/README.md +246 -0
  2219. data/node_modules/js-yaml/bin/js-yaml.js +126 -0
  2220. data/node_modules/js-yaml/dist/js-yaml.js +3874 -0
  2221. data/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
  2222. data/node_modules/js-yaml/dist/js-yaml.mjs +3851 -0
  2223. data/node_modules/js-yaml/index.js +47 -0
  2224. data/node_modules/js-yaml/lib/common.js +59 -0
  2225. data/node_modules/js-yaml/lib/dumper.js +965 -0
  2226. data/node_modules/js-yaml/lib/exception.js +55 -0
  2227. data/node_modules/js-yaml/lib/loader.js +1727 -0
  2228. data/node_modules/js-yaml/lib/schema/core.js +11 -0
  2229. data/node_modules/js-yaml/lib/schema/default.js +22 -0
  2230. data/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
  2231. data/node_modules/js-yaml/lib/schema/json.js +19 -0
  2232. data/node_modules/js-yaml/lib/schema.js +121 -0
  2233. data/node_modules/js-yaml/lib/snippet.js +101 -0
  2234. data/node_modules/js-yaml/lib/type/binary.js +125 -0
  2235. data/node_modules/js-yaml/lib/type/bool.js +35 -0
  2236. data/node_modules/js-yaml/lib/type/float.js +97 -0
  2237. data/node_modules/js-yaml/lib/type/int.js +156 -0
  2238. data/node_modules/js-yaml/lib/type/map.js +8 -0
  2239. data/node_modules/js-yaml/lib/type/merge.js +12 -0
  2240. data/node_modules/js-yaml/lib/type/null.js +35 -0
  2241. data/node_modules/js-yaml/lib/type/omap.js +44 -0
  2242. data/node_modules/js-yaml/lib/type/pairs.js +53 -0
  2243. data/node_modules/js-yaml/lib/type/seq.js +8 -0
  2244. data/node_modules/js-yaml/lib/type/set.js +29 -0
  2245. data/node_modules/js-yaml/lib/type/str.js +8 -0
  2246. data/node_modules/js-yaml/lib/type/timestamp.js +88 -0
  2247. data/node_modules/js-yaml/lib/type.js +66 -0
  2248. data/node_modules/js-yaml/package.json +66 -0
  2249. data/node_modules/json-parse-even-better-errors/CHANGELOG.md +50 -0
  2250. data/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
  2251. data/node_modules/json-parse-even-better-errors/README.md +96 -0
  2252. data/node_modules/json-parse-even-better-errors/index.js +121 -0
  2253. data/node_modules/json-parse-even-better-errors/package.json +33 -0
  2254. data/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  2255. data/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  2256. data/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  2257. data/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  2258. data/node_modules/json-schema-traverse/LICENSE +21 -0
  2259. data/node_modules/json-schema-traverse/README.md +95 -0
  2260. data/node_modules/json-schema-traverse/index.d.ts +40 -0
  2261. data/node_modules/json-schema-traverse/index.js +93 -0
  2262. data/node_modules/json-schema-traverse/package.json +43 -0
  2263. data/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  2264. data/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  2265. data/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  2266. data/node_modules/jsonparse/.npmignore +1 -0
  2267. data/node_modules/jsonparse/LICENSE +24 -0
  2268. data/node_modules/jsonparse/README.markdown +11 -0
  2269. data/node_modules/jsonparse/bench.js +26 -0
  2270. data/node_modules/jsonparse/examples/twitterfeed.js +30 -0
  2271. data/node_modules/jsonparse/jsonparse.js +413 -0
  2272. data/node_modules/jsonparse/package.json +22 -0
  2273. data/node_modules/jsonparse/samplejson/basic.json +167 -0
  2274. data/node_modules/jsonparse/samplejson/basic2.json +180 -0
  2275. data/node_modules/jsonparse/test/big-token.js +24 -0
  2276. data/node_modules/jsonparse/test/boundary.js +110 -0
  2277. data/node_modules/jsonparse/test/offset.js +67 -0
  2278. data/node_modules/jsonparse/test/primitives.js +57 -0
  2279. data/node_modules/jsonparse/test/surrogate.js +26 -0
  2280. data/node_modules/jsonparse/test/unvalid.js +15 -0
  2281. data/node_modules/jsonparse/test/utf8.js +38 -0
  2282. data/node_modules/lefthook/README.md +243 -0
  2283. data/node_modules/lefthook/bin/index.js +17 -0
  2284. data/node_modules/lefthook/get-exe.js +20 -0
  2285. data/node_modules/lefthook/package.json +40 -0
  2286. data/node_modules/lefthook/postinstall.js +21 -0
  2287. data/node_modules/lefthook-darwin-arm64/README.md +243 -0
  2288. data/node_modules/lefthook-darwin-arm64/bin/lefthook +0 -0
  2289. data/node_modules/lefthook-darwin-arm64/package.json +22 -0
  2290. data/node_modules/lines-and-columns/LICENSE +21 -0
  2291. data/node_modules/lines-and-columns/README.md +33 -0
  2292. data/node_modules/lines-and-columns/build/index.d.ts +13 -0
  2293. data/node_modules/lines-and-columns/build/index.js +62 -0
  2294. data/node_modules/lines-and-columns/package.json +49 -0
  2295. data/node_modules/locate-path/index.d.ts +92 -0
  2296. data/node_modules/locate-path/index.js +77 -0
  2297. data/node_modules/locate-path/license +9 -0
  2298. data/node_modules/locate-path/package.json +48 -0
  2299. data/node_modules/locate-path/readme.md +123 -0
  2300. data/node_modules/lodash.camelcase/LICENSE +47 -0
  2301. data/node_modules/lodash.camelcase/README.md +18 -0
  2302. data/node_modules/lodash.camelcase/index.js +599 -0
  2303. data/node_modules/lodash.camelcase/package.json +17 -0
  2304. data/node_modules/lodash.isplainobject/LICENSE +47 -0
  2305. data/node_modules/lodash.isplainobject/README.md +18 -0
  2306. data/node_modules/lodash.isplainobject/index.js +139 -0
  2307. data/node_modules/lodash.isplainobject/package.json +17 -0
  2308. data/node_modules/lodash.kebabcase/LICENSE +47 -0
  2309. data/node_modules/lodash.kebabcase/README.md +18 -0
  2310. data/node_modules/lodash.kebabcase/index.js +435 -0
  2311. data/node_modules/lodash.kebabcase/package.json +17 -0
  2312. data/node_modules/lodash.merge/LICENSE +47 -0
  2313. data/node_modules/lodash.merge/README.md +18 -0
  2314. data/node_modules/lodash.merge/index.js +1977 -0
  2315. data/node_modules/lodash.merge/package.json +16 -0
  2316. data/node_modules/lodash.mergewith/LICENSE +47 -0
  2317. data/node_modules/lodash.mergewith/README.md +18 -0
  2318. data/node_modules/lodash.mergewith/index.js +1977 -0
  2319. data/node_modules/lodash.mergewith/package.json +16 -0
  2320. data/node_modules/lodash.snakecase/LICENSE +47 -0
  2321. data/node_modules/lodash.snakecase/README.md +18 -0
  2322. data/node_modules/lodash.snakecase/index.js +435 -0
  2323. data/node_modules/lodash.snakecase/package.json +17 -0
  2324. data/node_modules/lodash.startcase/LICENSE +47 -0
  2325. data/node_modules/lodash.startcase/README.md +18 -0
  2326. data/node_modules/lodash.startcase/index.js +580 -0
  2327. data/node_modules/lodash.startcase/package.json +17 -0
  2328. data/node_modules/lodash.uniq/LICENSE +47 -0
  2329. data/node_modules/lodash.uniq/README.md +18 -0
  2330. data/node_modules/lodash.uniq/index.js +896 -0
  2331. data/node_modules/lodash.uniq/package.json +17 -0
  2332. data/node_modules/lodash.upperfirst/LICENSE +47 -0
  2333. data/node_modules/lodash.upperfirst/README.md +18 -0
  2334. data/node_modules/lodash.upperfirst/index.js +303 -0
  2335. data/node_modules/lodash.upperfirst/package.json +17 -0
  2336. data/node_modules/lru-cache/LICENSE +15 -0
  2337. data/node_modules/lru-cache/README.md +331 -0
  2338. data/node_modules/lru-cache/dist/commonjs/index.d.ts +1277 -0
  2339. data/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
  2340. data/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
  2341. data/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
  2342. data/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  2343. data/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  2344. data/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  2345. data/node_modules/lru-cache/dist/esm/index.d.ts +1277 -0
  2346. data/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
  2347. data/node_modules/lru-cache/dist/esm/index.js +1542 -0
  2348. data/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  2349. data/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  2350. data/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  2351. data/node_modules/lru-cache/dist/esm/package.json +3 -0
  2352. data/node_modules/lru-cache/package.json +116 -0
  2353. data/node_modules/meow/build/dependencies.js +8828 -0
  2354. data/node_modules/meow/build/index.d.ts +1425 -0
  2355. data/node_modules/meow/build/index.js +95 -0
  2356. data/node_modules/meow/build/licenses.md +1620 -0
  2357. data/node_modules/meow/build/options.js +92 -0
  2358. data/node_modules/meow/build/parser.js +84 -0
  2359. data/node_modules/meow/build/utils.js +7 -0
  2360. data/node_modules/meow/build/validate.js +122 -0
  2361. data/node_modules/meow/license +9 -0
  2362. data/node_modules/meow/package.json +105 -0
  2363. data/node_modules/meow/readme.md +314 -0
  2364. data/node_modules/merge-stream/LICENSE +21 -0
  2365. data/node_modules/merge-stream/README.md +78 -0
  2366. data/node_modules/merge-stream/index.js +41 -0
  2367. data/node_modules/merge-stream/package.json +19 -0
  2368. data/node_modules/mimic-fn/index.d.ts +52 -0
  2369. data/node_modules/mimic-fn/index.js +71 -0
  2370. data/node_modules/mimic-fn/license +9 -0
  2371. data/node_modules/mimic-fn/package.json +45 -0
  2372. data/node_modules/mimic-fn/readme.md +90 -0
  2373. data/node_modules/minimist/.eslintrc +29 -0
  2374. data/node_modules/minimist/.github/FUNDING.yml +12 -0
  2375. data/node_modules/minimist/.nycrc +14 -0
  2376. data/node_modules/minimist/CHANGELOG.md +298 -0
  2377. data/node_modules/minimist/LICENSE +18 -0
  2378. data/node_modules/minimist/README.md +121 -0
  2379. data/node_modules/minimist/example/parse.js +4 -0
  2380. data/node_modules/minimist/index.js +263 -0
  2381. data/node_modules/minimist/package.json +75 -0
  2382. data/node_modules/minimist/test/all_bool.js +34 -0
  2383. data/node_modules/minimist/test/bool.js +177 -0
  2384. data/node_modules/minimist/test/dash.js +43 -0
  2385. data/node_modules/minimist/test/default_bool.js +37 -0
  2386. data/node_modules/minimist/test/dotted.js +24 -0
  2387. data/node_modules/minimist/test/kv_short.js +32 -0
  2388. data/node_modules/minimist/test/long.js +33 -0
  2389. data/node_modules/minimist/test/num.js +38 -0
  2390. data/node_modules/minimist/test/parse.js +209 -0
  2391. data/node_modules/minimist/test/parse_modified.js +11 -0
  2392. data/node_modules/minimist/test/proto.js +64 -0
  2393. data/node_modules/minimist/test/short.js +69 -0
  2394. data/node_modules/minimist/test/stop_early.js +17 -0
  2395. data/node_modules/minimist/test/unknown.js +104 -0
  2396. data/node_modules/minimist/test/whitespace.js +10 -0
  2397. data/node_modules/neo-async/LICENSE +22 -0
  2398. data/node_modules/neo-async/README.md +273 -0
  2399. data/node_modules/neo-async/all.js +3 -0
  2400. data/node_modules/neo-async/allLimit.js +3 -0
  2401. data/node_modules/neo-async/allSeries.js +3 -0
  2402. data/node_modules/neo-async/angelFall.js +3 -0
  2403. data/node_modules/neo-async/any.js +3 -0
  2404. data/node_modules/neo-async/anyLimit.js +3 -0
  2405. data/node_modules/neo-async/anySeries.js +3 -0
  2406. data/node_modules/neo-async/apply.js +3 -0
  2407. data/node_modules/neo-async/applyEach.js +3 -0
  2408. data/node_modules/neo-async/applyEachSeries.js +3 -0
  2409. data/node_modules/neo-async/async.js +9184 -0
  2410. data/node_modules/neo-async/async.min.js +80 -0
  2411. data/node_modules/neo-async/asyncify.js +3 -0
  2412. data/node_modules/neo-async/auto.js +3 -0
  2413. data/node_modules/neo-async/autoInject.js +3 -0
  2414. data/node_modules/neo-async/cargo.js +3 -0
  2415. data/node_modules/neo-async/compose.js +3 -0
  2416. data/node_modules/neo-async/concat.js +3 -0
  2417. data/node_modules/neo-async/concatLimit.js +3 -0
  2418. data/node_modules/neo-async/concatSeries.js +3 -0
  2419. data/node_modules/neo-async/constant.js +3 -0
  2420. data/node_modules/neo-async/createLogger.js +3 -0
  2421. data/node_modules/neo-async/detect.js +3 -0
  2422. data/node_modules/neo-async/detectLimit.js +3 -0
  2423. data/node_modules/neo-async/detectSeries.js +3 -0
  2424. data/node_modules/neo-async/dir.js +3 -0
  2425. data/node_modules/neo-async/doDuring.js +3 -0
  2426. data/node_modules/neo-async/doUntil.js +3 -0
  2427. data/node_modules/neo-async/doWhilst.js +3 -0
  2428. data/node_modules/neo-async/during.js +3 -0
  2429. data/node_modules/neo-async/each.js +3 -0
  2430. data/node_modules/neo-async/eachLimit.js +3 -0
  2431. data/node_modules/neo-async/eachOf.js +3 -0
  2432. data/node_modules/neo-async/eachOfLimit.js +3 -0
  2433. data/node_modules/neo-async/eachOfSeries.js +3 -0
  2434. data/node_modules/neo-async/eachSeries.js +3 -0
  2435. data/node_modules/neo-async/ensureAsync.js +3 -0
  2436. data/node_modules/neo-async/every.js +3 -0
  2437. data/node_modules/neo-async/everyLimit.js +3 -0
  2438. data/node_modules/neo-async/everySeries.js +3 -0
  2439. data/node_modules/neo-async/fast.js +3 -0
  2440. data/node_modules/neo-async/filter.js +3 -0
  2441. data/node_modules/neo-async/filterLimit.js +3 -0
  2442. data/node_modules/neo-async/filterSeries.js +3 -0
  2443. data/node_modules/neo-async/find.js +3 -0
  2444. data/node_modules/neo-async/findLimit.js +3 -0
  2445. data/node_modules/neo-async/findSeries.js +3 -0
  2446. data/node_modules/neo-async/foldl.js +3 -0
  2447. data/node_modules/neo-async/foldr.js +3 -0
  2448. data/node_modules/neo-async/forEach.js +3 -0
  2449. data/node_modules/neo-async/forEachLimit.js +3 -0
  2450. data/node_modules/neo-async/forEachOf.js +3 -0
  2451. data/node_modules/neo-async/forEachOfLimit.js +3 -0
  2452. data/node_modules/neo-async/forEachOfSeries.js +3 -0
  2453. data/node_modules/neo-async/forEachSeries.js +3 -0
  2454. data/node_modules/neo-async/forever.js +3 -0
  2455. data/node_modules/neo-async/groupBy.js +3 -0
  2456. data/node_modules/neo-async/groupByLimit.js +3 -0
  2457. data/node_modules/neo-async/groupBySeries.js +3 -0
  2458. data/node_modules/neo-async/inject.js +3 -0
  2459. data/node_modules/neo-async/iterator.js +3 -0
  2460. data/node_modules/neo-async/log.js +3 -0
  2461. data/node_modules/neo-async/map.js +3 -0
  2462. data/node_modules/neo-async/mapLimit.js +3 -0
  2463. data/node_modules/neo-async/mapSeries.js +3 -0
  2464. data/node_modules/neo-async/mapValues.js +3 -0
  2465. data/node_modules/neo-async/mapValuesLimit.js +3 -0
  2466. data/node_modules/neo-async/mapValuesSeries.js +3 -0
  2467. data/node_modules/neo-async/memoize.js +3 -0
  2468. data/node_modules/neo-async/nextTick.js +3 -0
  2469. data/node_modules/neo-async/omit.js +3 -0
  2470. data/node_modules/neo-async/omitLimit.js +3 -0
  2471. data/node_modules/neo-async/omitSeries.js +3 -0
  2472. data/node_modules/neo-async/package.json +57 -0
  2473. data/node_modules/neo-async/parallel.js +3 -0
  2474. data/node_modules/neo-async/parallelLimit.js +3 -0
  2475. data/node_modules/neo-async/pick.js +3 -0
  2476. data/node_modules/neo-async/pickLimit.js +3 -0
  2477. data/node_modules/neo-async/pickSeries.js +3 -0
  2478. data/node_modules/neo-async/priorityQueue.js +3 -0
  2479. data/node_modules/neo-async/queue.js +3 -0
  2480. data/node_modules/neo-async/race.js +3 -0
  2481. data/node_modules/neo-async/reduce.js +3 -0
  2482. data/node_modules/neo-async/reduceRight.js +3 -0
  2483. data/node_modules/neo-async/reflect.js +3 -0
  2484. data/node_modules/neo-async/reflectAll.js +3 -0
  2485. data/node_modules/neo-async/reject.js +3 -0
  2486. data/node_modules/neo-async/rejectLimit.js +3 -0
  2487. data/node_modules/neo-async/rejectSeries.js +3 -0
  2488. data/node_modules/neo-async/retry.js +3 -0
  2489. data/node_modules/neo-async/retryable.js +3 -0
  2490. data/node_modules/neo-async/safe.js +3 -0
  2491. data/node_modules/neo-async/select.js +3 -0
  2492. data/node_modules/neo-async/selectLimit.js +3 -0
  2493. data/node_modules/neo-async/selectSeries.js +3 -0
  2494. data/node_modules/neo-async/seq.js +3 -0
  2495. data/node_modules/neo-async/series.js +3 -0
  2496. data/node_modules/neo-async/setImmediate.js +3 -0
  2497. data/node_modules/neo-async/some.js +3 -0
  2498. data/node_modules/neo-async/someLimit.js +3 -0
  2499. data/node_modules/neo-async/someSeries.js +3 -0
  2500. data/node_modules/neo-async/sortBy.js +3 -0
  2501. data/node_modules/neo-async/sortByLimit.js +3 -0
  2502. data/node_modules/neo-async/sortBySeries.js +3 -0
  2503. data/node_modules/neo-async/timeout.js +3 -0
  2504. data/node_modules/neo-async/times.js +3 -0
  2505. data/node_modules/neo-async/timesLimit.js +3 -0
  2506. data/node_modules/neo-async/timesSeries.js +3 -0
  2507. data/node_modules/neo-async/transform.js +3 -0
  2508. data/node_modules/neo-async/transformLimit.js +3 -0
  2509. data/node_modules/neo-async/transformSeries.js +3 -0
  2510. data/node_modules/neo-async/tryEach.js +3 -0
  2511. data/node_modules/neo-async/unmemoize.js +3 -0
  2512. data/node_modules/neo-async/until.js +3 -0
  2513. data/node_modules/neo-async/waterfall.js +3 -0
  2514. data/node_modules/neo-async/whilst.js +3 -0
  2515. data/node_modules/neo-async/wrapSync.js +3 -0
  2516. data/node_modules/normalize-package-data/LICENSE +15 -0
  2517. data/node_modules/normalize-package-data/README.md +108 -0
  2518. data/node_modules/normalize-package-data/lib/extract_description.js +24 -0
  2519. data/node_modules/normalize-package-data/lib/fixer.js +475 -0
  2520. data/node_modules/normalize-package-data/lib/make_warning.js +22 -0
  2521. data/node_modules/normalize-package-data/lib/normalize.js +48 -0
  2522. data/node_modules/normalize-package-data/lib/safe_format.js +11 -0
  2523. data/node_modules/normalize-package-data/lib/typos.json +25 -0
  2524. data/node_modules/normalize-package-data/lib/warning_messages.json +30 -0
  2525. data/node_modules/normalize-package-data/package.json +55 -0
  2526. data/node_modules/npm-run-path/index.d.ts +90 -0
  2527. data/node_modules/npm-run-path/index.js +52 -0
  2528. data/node_modules/npm-run-path/license +9 -0
  2529. data/node_modules/npm-run-path/node_modules/path-key/index.d.ts +31 -0
  2530. data/node_modules/npm-run-path/node_modules/path-key/index.js +12 -0
  2531. data/node_modules/npm-run-path/node_modules/path-key/license +9 -0
  2532. data/node_modules/npm-run-path/node_modules/path-key/package.json +41 -0
  2533. data/node_modules/npm-run-path/node_modules/path-key/readme.md +57 -0
  2534. data/node_modules/npm-run-path/package.json +49 -0
  2535. data/node_modules/npm-run-path/readme.md +104 -0
  2536. data/node_modules/onetime/index.d.ts +59 -0
  2537. data/node_modules/onetime/index.js +41 -0
  2538. data/node_modules/onetime/license +9 -0
  2539. data/node_modules/onetime/package.json +45 -0
  2540. data/node_modules/onetime/readme.md +94 -0
  2541. data/node_modules/p-limit/index.d.ts +40 -0
  2542. data/node_modules/p-limit/index.js +68 -0
  2543. data/node_modules/p-limit/license +9 -0
  2544. data/node_modules/p-limit/package.json +54 -0
  2545. data/node_modules/p-limit/readme.md +99 -0
  2546. data/node_modules/p-locate/index.d.ts +49 -0
  2547. data/node_modules/p-locate/index.js +48 -0
  2548. data/node_modules/p-locate/license +9 -0
  2549. data/node_modules/p-locate/package.json +56 -0
  2550. data/node_modules/p-locate/readme.md +91 -0
  2551. data/node_modules/parent-module/index.js +37 -0
  2552. data/node_modules/parent-module/license +9 -0
  2553. data/node_modules/parent-module/package.json +46 -0
  2554. data/node_modules/parent-module/readme.md +67 -0
  2555. data/node_modules/parse-json/index.js +54 -0
  2556. data/node_modules/parse-json/license +9 -0
  2557. data/node_modules/parse-json/package.json +45 -0
  2558. data/node_modules/parse-json/readme.md +119 -0
  2559. data/node_modules/path-exists/index.d.ts +31 -0
  2560. data/node_modules/path-exists/index.js +19 -0
  2561. data/node_modules/path-exists/license +9 -0
  2562. data/node_modules/path-exists/package.json +41 -0
  2563. data/node_modules/path-exists/readme.md +52 -0
  2564. data/node_modules/path-key/index.d.ts +40 -0
  2565. data/node_modules/path-key/index.js +16 -0
  2566. data/node_modules/path-key/license +9 -0
  2567. data/node_modules/path-key/package.json +39 -0
  2568. data/node_modules/path-key/readme.md +61 -0
  2569. data/node_modules/picocolors/LICENSE +15 -0
  2570. data/node_modules/picocolors/README.md +21 -0
  2571. data/node_modules/picocolors/package.json +25 -0
  2572. data/node_modules/picocolors/picocolors.browser.js +4 -0
  2573. data/node_modules/picocolors/picocolors.d.ts +5 -0
  2574. data/node_modules/picocolors/picocolors.js +65 -0
  2575. data/node_modules/picocolors/types.ts +30 -0
  2576. data/node_modules/read-package-up/index.d.ts +81 -0
  2577. data/node_modules/read-package-up/index.js +27 -0
  2578. data/node_modules/read-package-up/license +9 -0
  2579. data/node_modules/read-package-up/package.json +69 -0
  2580. data/node_modules/read-package-up/readme.md +68 -0
  2581. data/node_modules/read-pkg/index.d.ts +68 -0
  2582. data/node_modules/read-pkg/index.js +43 -0
  2583. data/node_modules/read-pkg/license +9 -0
  2584. data/node_modules/read-pkg/node_modules/parse-json/index.d.ts +126 -0
  2585. data/node_modules/read-pkg/node_modules/parse-json/index.js +96 -0
  2586. data/node_modules/read-pkg/node_modules/parse-json/license +9 -0
  2587. data/node_modules/read-pkg/node_modules/parse-json/package.json +53 -0
  2588. data/node_modules/read-pkg/node_modules/parse-json/readme.md +113 -0
  2589. data/node_modules/read-pkg/package.json +52 -0
  2590. data/node_modules/read-pkg/readme.md +81 -0
  2591. data/node_modules/require-directory/.jshintrc +67 -0
  2592. data/node_modules/require-directory/.npmignore +1 -0
  2593. data/node_modules/require-directory/.travis.yml +3 -0
  2594. data/node_modules/require-directory/LICENSE +22 -0
  2595. data/node_modules/require-directory/README.markdown +184 -0
  2596. data/node_modules/require-directory/index.js +86 -0
  2597. data/node_modules/require-directory/package.json +40 -0
  2598. data/node_modules/require-from-string/index.js +34 -0
  2599. data/node_modules/require-from-string/license +21 -0
  2600. data/node_modules/require-from-string/package.json +28 -0
  2601. data/node_modules/require-from-string/readme.md +56 -0
  2602. data/node_modules/resolve-from/index.d.ts +31 -0
  2603. data/node_modules/resolve-from/index.js +47 -0
  2604. data/node_modules/resolve-from/license +9 -0
  2605. data/node_modules/resolve-from/package.json +36 -0
  2606. data/node_modules/resolve-from/readme.md +72 -0
  2607. data/node_modules/semver/LICENSE +15 -0
  2608. data/node_modules/semver/README.md +654 -0
  2609. data/node_modules/semver/bin/semver.js +188 -0
  2610. data/node_modules/semver/classes/comparator.js +141 -0
  2611. data/node_modules/semver/classes/index.js +5 -0
  2612. data/node_modules/semver/classes/range.js +554 -0
  2613. data/node_modules/semver/classes/semver.js +302 -0
  2614. data/node_modules/semver/functions/clean.js +6 -0
  2615. data/node_modules/semver/functions/cmp.js +52 -0
  2616. data/node_modules/semver/functions/coerce.js +60 -0
  2617. data/node_modules/semver/functions/compare-build.js +7 -0
  2618. data/node_modules/semver/functions/compare-loose.js +3 -0
  2619. data/node_modules/semver/functions/compare.js +5 -0
  2620. data/node_modules/semver/functions/diff.js +65 -0
  2621. data/node_modules/semver/functions/eq.js +3 -0
  2622. data/node_modules/semver/functions/gt.js +3 -0
  2623. data/node_modules/semver/functions/gte.js +3 -0
  2624. data/node_modules/semver/functions/inc.js +19 -0
  2625. data/node_modules/semver/functions/lt.js +3 -0
  2626. data/node_modules/semver/functions/lte.js +3 -0
  2627. data/node_modules/semver/functions/major.js +3 -0
  2628. data/node_modules/semver/functions/minor.js +3 -0
  2629. data/node_modules/semver/functions/neq.js +3 -0
  2630. data/node_modules/semver/functions/parse.js +16 -0
  2631. data/node_modules/semver/functions/patch.js +3 -0
  2632. data/node_modules/semver/functions/prerelease.js +6 -0
  2633. data/node_modules/semver/functions/rcompare.js +3 -0
  2634. data/node_modules/semver/functions/rsort.js +3 -0
  2635. data/node_modules/semver/functions/satisfies.js +10 -0
  2636. data/node_modules/semver/functions/sort.js +3 -0
  2637. data/node_modules/semver/functions/valid.js +6 -0
  2638. data/node_modules/semver/index.js +89 -0
  2639. data/node_modules/semver/internal/constants.js +35 -0
  2640. data/node_modules/semver/internal/debug.js +9 -0
  2641. data/node_modules/semver/internal/identifiers.js +23 -0
  2642. data/node_modules/semver/internal/lrucache.js +40 -0
  2643. data/node_modules/semver/internal/parse-options.js +15 -0
  2644. data/node_modules/semver/internal/re.js +217 -0
  2645. data/node_modules/semver/package.json +77 -0
  2646. data/node_modules/semver/preload.js +2 -0
  2647. data/node_modules/semver/range.bnf +16 -0
  2648. data/node_modules/semver/ranges/gtr.js +4 -0
  2649. data/node_modules/semver/ranges/intersects.js +7 -0
  2650. data/node_modules/semver/ranges/ltr.js +4 -0
  2651. data/node_modules/semver/ranges/max-satisfying.js +25 -0
  2652. data/node_modules/semver/ranges/min-satisfying.js +24 -0
  2653. data/node_modules/semver/ranges/min-version.js +61 -0
  2654. data/node_modules/semver/ranges/outside.js +80 -0
  2655. data/node_modules/semver/ranges/simplify.js +47 -0
  2656. data/node_modules/semver/ranges/subset.js +247 -0
  2657. data/node_modules/semver/ranges/to-comparators.js +8 -0
  2658. data/node_modules/semver/ranges/valid.js +11 -0
  2659. data/node_modules/shebang-command/index.js +19 -0
  2660. data/node_modules/shebang-command/license +9 -0
  2661. data/node_modules/shebang-command/package.json +34 -0
  2662. data/node_modules/shebang-command/readme.md +34 -0
  2663. data/node_modules/shebang-regex/index.d.ts +22 -0
  2664. data/node_modules/shebang-regex/index.js +2 -0
  2665. data/node_modules/shebang-regex/license +9 -0
  2666. data/node_modules/shebang-regex/package.json +35 -0
  2667. data/node_modules/shebang-regex/readme.md +33 -0
  2668. data/node_modules/signal-exit/LICENSE.txt +16 -0
  2669. data/node_modules/signal-exit/README.md +74 -0
  2670. data/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
  2671. data/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
  2672. data/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  2673. data/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
  2674. data/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
  2675. data/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
  2676. data/node_modules/signal-exit/dist/cjs/index.js +279 -0
  2677. data/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
  2678. data/node_modules/signal-exit/dist/cjs/package.json +3 -0
  2679. data/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
  2680. data/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
  2681. data/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  2682. data/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
  2683. data/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
  2684. data/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
  2685. data/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  2686. data/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
  2687. data/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
  2688. data/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
  2689. data/node_modules/signal-exit/dist/mjs/index.js +275 -0
  2690. data/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
  2691. data/node_modules/signal-exit/dist/mjs/package.json +3 -0
  2692. data/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
  2693. data/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
  2694. data/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  2695. data/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
  2696. data/node_modules/signal-exit/package.json +106 -0
  2697. data/node_modules/source-map/CHANGELOG.md +301 -0
  2698. data/node_modules/source-map/LICENSE +28 -0
  2699. data/node_modules/source-map/README.md +742 -0
  2700. data/node_modules/source-map/dist/source-map.debug.js +3234 -0
  2701. data/node_modules/source-map/dist/source-map.js +3233 -0
  2702. data/node_modules/source-map/dist/source-map.min.js +2 -0
  2703. data/node_modules/source-map/dist/source-map.min.js.map +1 -0
  2704. data/node_modules/source-map/lib/array-set.js +121 -0
  2705. data/node_modules/source-map/lib/base64-vlq.js +140 -0
  2706. data/node_modules/source-map/lib/base64.js +67 -0
  2707. data/node_modules/source-map/lib/binary-search.js +111 -0
  2708. data/node_modules/source-map/lib/mapping-list.js +79 -0
  2709. data/node_modules/source-map/lib/quick-sort.js +114 -0
  2710. data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  2711. data/node_modules/source-map/lib/source-map-generator.js +425 -0
  2712. data/node_modules/source-map/lib/source-node.js +413 -0
  2713. data/node_modules/source-map/lib/util.js +488 -0
  2714. data/node_modules/source-map/package.json +73 -0
  2715. data/node_modules/source-map/source-map.d.ts +98 -0
  2716. data/node_modules/source-map/source-map.js +8 -0
  2717. data/node_modules/spdx-correct/LICENSE +202 -0
  2718. data/node_modules/spdx-correct/README.md +22 -0
  2719. data/node_modules/spdx-correct/index.js +386 -0
  2720. data/node_modules/spdx-correct/package.json +32 -0
  2721. data/node_modules/spdx-exceptions/README.md +36 -0
  2722. data/node_modules/spdx-exceptions/deprecated.json +3 -0
  2723. data/node_modules/spdx-exceptions/index.json +68 -0
  2724. data/node_modules/spdx-exceptions/package.json +19 -0
  2725. data/node_modules/spdx-expression-parse/AUTHORS +4 -0
  2726. data/node_modules/spdx-expression-parse/LICENSE +22 -0
  2727. data/node_modules/spdx-expression-parse/README.md +91 -0
  2728. data/node_modules/spdx-expression-parse/index.js +8 -0
  2729. data/node_modules/spdx-expression-parse/package.json +39 -0
  2730. data/node_modules/spdx-expression-parse/parse.js +138 -0
  2731. data/node_modules/spdx-expression-parse/scan.js +131 -0
  2732. data/node_modules/spdx-license-ids/README.md +52 -0
  2733. data/node_modules/spdx-license-ids/deprecated.json +28 -0
  2734. data/node_modules/spdx-license-ids/index.json +636 -0
  2735. data/node_modules/spdx-license-ids/package.json +39 -0
  2736. data/node_modules/split2/LICENSE +13 -0
  2737. data/node_modules/split2/README.md +85 -0
  2738. data/node_modules/split2/bench.js +27 -0
  2739. data/node_modules/split2/index.js +141 -0
  2740. data/node_modules/split2/package.json +39 -0
  2741. data/node_modules/split2/test.js +409 -0
  2742. data/node_modules/string-width/index.d.ts +29 -0
  2743. data/node_modules/string-width/index.js +47 -0
  2744. data/node_modules/string-width/license +9 -0
  2745. data/node_modules/string-width/package.json +56 -0
  2746. data/node_modules/string-width/readme.md +50 -0
  2747. data/node_modules/strip-ansi/index.d.ts +17 -0
  2748. data/node_modules/strip-ansi/index.js +4 -0
  2749. data/node_modules/strip-ansi/license +9 -0
  2750. data/node_modules/strip-ansi/package.json +54 -0
  2751. data/node_modules/strip-ansi/readme.md +46 -0
  2752. data/node_modules/strip-final-newline/index.js +14 -0
  2753. data/node_modules/strip-final-newline/license +9 -0
  2754. data/node_modules/strip-final-newline/package.json +43 -0
  2755. data/node_modules/strip-final-newline/readme.md +35 -0
  2756. data/node_modules/supports-color/browser.js +5 -0
  2757. data/node_modules/supports-color/index.js +131 -0
  2758. data/node_modules/supports-color/license +9 -0
  2759. data/node_modules/supports-color/package.json +53 -0
  2760. data/node_modules/supports-color/readme.md +66 -0
  2761. data/node_modules/temp-dir/index.d.ts +22 -0
  2762. data/node_modules/temp-dir/index.js +6 -0
  2763. data/node_modules/temp-dir/license +9 -0
  2764. data/node_modules/temp-dir/package.json +49 -0
  2765. data/node_modules/temp-dir/readme.md +27 -0
  2766. data/node_modules/tempfile/index.d.ts +30 -0
  2767. data/node_modules/tempfile/index.js +18 -0
  2768. data/node_modules/tempfile/license +9 -0
  2769. data/node_modules/tempfile/package.json +45 -0
  2770. data/node_modules/tempfile/readme.md +49 -0
  2771. data/node_modules/text-extensions/index.d.ts +14 -0
  2772. data/node_modules/text-extensions/index.js +3 -0
  2773. data/node_modules/text-extensions/license +9 -0
  2774. data/node_modules/text-extensions/package.json +40 -0
  2775. data/node_modules/text-extensions/readme.md +37 -0
  2776. data/node_modules/text-extensions/text-extensions.json +328 -0
  2777. data/node_modules/text-extensions/text-extensions.json.d.ts +3 -0
  2778. data/node_modules/through/.travis.yml +5 -0
  2779. data/node_modules/through/LICENSE.APACHE2 +15 -0
  2780. data/node_modules/through/LICENSE.MIT +24 -0
  2781. data/node_modules/through/index.js +108 -0
  2782. data/node_modules/through/package.json +36 -0
  2783. data/node_modules/through/readme.markdown +64 -0
  2784. data/node_modules/through/test/async.js +28 -0
  2785. data/node_modules/through/test/auto-destroy.js +30 -0
  2786. data/node_modules/through/test/buffering.js +71 -0
  2787. data/node_modules/through/test/end.js +45 -0
  2788. data/node_modules/through/test/index.js +133 -0
  2789. data/node_modules/type-fest/index.d.ts +166 -0
  2790. data/node_modules/type-fest/package.json +72 -0
  2791. data/node_modules/type-fest/readme.md +1005 -0
  2792. data/node_modules/type-fest/source/and.d.ts +25 -0
  2793. data/node_modules/type-fest/source/array-indices.d.ts +23 -0
  2794. data/node_modules/type-fest/source/array-slice.d.ts +107 -0
  2795. data/node_modules/type-fest/source/array-splice.d.ts +97 -0
  2796. data/node_modules/type-fest/source/array-tail.d.ts +25 -0
  2797. data/node_modules/type-fest/source/array-values.d.ts +22 -0
  2798. data/node_modules/type-fest/source/arrayable.d.ts +26 -0
  2799. data/node_modules/type-fest/source/async-return-type.d.ts +23 -0
  2800. data/node_modules/type-fest/source/asyncify.d.ts +32 -0
  2801. data/node_modules/type-fest/source/basic.d.ts +68 -0
  2802. data/node_modules/type-fest/source/camel-case.d.ts +80 -0
  2803. data/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +88 -0
  2804. data/node_modules/type-fest/source/camel-cased-properties.d.ts +36 -0
  2805. data/node_modules/type-fest/source/conditional-except.d.ts +45 -0
  2806. data/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
  2807. data/node_modules/type-fest/source/conditional-pick-deep.d.ts +104 -0
  2808. data/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
  2809. data/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
  2810. data/node_modules/type-fest/source/delimiter-case.d.ts +99 -0
  2811. data/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +84 -0
  2812. data/node_modules/type-fest/source/delimiter-cased-properties.d.ts +37 -0
  2813. data/node_modules/type-fest/source/distributed-omit.d.ts +89 -0
  2814. data/node_modules/type-fest/source/distributed-pick.d.ts +85 -0
  2815. data/node_modules/type-fest/source/empty-object.d.ts +46 -0
  2816. data/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
  2817. data/node_modules/type-fest/source/entries.d.ts +62 -0
  2818. data/node_modules/type-fest/source/entry.d.ts +65 -0
  2819. data/node_modules/type-fest/source/exact.d.ts +67 -0
  2820. data/node_modules/type-fest/source/except.d.ts +80 -0
  2821. data/node_modules/type-fest/source/find-global-type.d.ts +64 -0
  2822. data/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
  2823. data/node_modules/type-fest/source/get.d.ts +191 -0
  2824. data/node_modules/type-fest/source/global-this.d.ts +21 -0
  2825. data/node_modules/type-fest/source/greater-than-or-equal.d.ts +22 -0
  2826. data/node_modules/type-fest/source/greater-than.d.ts +51 -0
  2827. data/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
  2828. data/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
  2829. data/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
  2830. data/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
  2831. data/node_modules/type-fest/source/if-any.d.ts +24 -0
  2832. data/node_modules/type-fest/source/if-empty-object.d.ts +26 -0
  2833. data/node_modules/type-fest/source/if-never.d.ts +24 -0
  2834. data/node_modules/type-fest/source/if-null.d.ts +24 -0
  2835. data/node_modules/type-fest/source/if-unknown.d.ts +24 -0
  2836. data/node_modules/type-fest/source/includes.d.ts +22 -0
  2837. data/node_modules/type-fest/source/int-range.d.ts +53 -0
  2838. data/node_modules/type-fest/source/internal/array.d.ts +93 -0
  2839. data/node_modules/type-fest/source/internal/characters.d.ts +33 -0
  2840. data/node_modules/type-fest/source/internal/index.d.ts +8 -0
  2841. data/node_modules/type-fest/source/internal/keys.d.ts +97 -0
  2842. data/node_modules/type-fest/source/internal/numeric.d.ts +91 -0
  2843. data/node_modules/type-fest/source/internal/object.d.ts +82 -0
  2844. data/node_modules/type-fest/source/internal/string.d.ts +210 -0
  2845. data/node_modules/type-fest/source/internal/tuple.d.ts +88 -0
  2846. data/node_modules/type-fest/source/internal/type.d.ts +113 -0
  2847. data/node_modules/type-fest/source/invariant-of.d.ts +76 -0
  2848. data/node_modules/type-fest/source/is-any.d.ts +29 -0
  2849. data/node_modules/type-fest/source/is-equal.d.ts +31 -0
  2850. data/node_modules/type-fest/source/is-float.d.ts +33 -0
  2851. data/node_modules/type-fest/source/is-integer.d.ts +48 -0
  2852. data/node_modules/type-fest/source/is-literal.d.ts +258 -0
  2853. data/node_modules/type-fest/source/is-never.d.ts +42 -0
  2854. data/node_modules/type-fest/source/is-null.d.ts +20 -0
  2855. data/node_modules/type-fest/source/is-unknown.d.ts +52 -0
  2856. data/node_modules/type-fest/source/iterable-element.d.ts +64 -0
  2857. data/node_modules/type-fest/source/join.d.ts +68 -0
  2858. data/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
  2859. data/node_modules/type-fest/source/jsonify.d.ts +122 -0
  2860. data/node_modules/type-fest/source/kebab-case.d.ts +38 -0
  2861. data/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +47 -0
  2862. data/node_modules/type-fest/source/kebab-cased-properties.d.ts +30 -0
  2863. data/node_modules/type-fest/source/keys-of-union.d.ts +40 -0
  2864. data/node_modules/type-fest/source/last-array-element.d.ts +38 -0
  2865. data/node_modules/type-fest/source/less-than-or-equal.d.ts +22 -0
  2866. data/node_modules/type-fest/source/less-than.d.ts +22 -0
  2867. data/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
  2868. data/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
  2869. data/node_modules/type-fest/source/literal-union.d.ts +35 -0
  2870. data/node_modules/type-fest/source/merge-deep.d.ts +486 -0
  2871. data/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
  2872. data/node_modules/type-fest/source/merge.d.ts +48 -0
  2873. data/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
  2874. data/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
  2875. data/node_modules/type-fest/source/non-empty-object.d.ts +35 -0
  2876. data/node_modules/type-fest/source/non-empty-tuple.d.ts +21 -0
  2877. data/node_modules/type-fest/source/numeric.d.ts +222 -0
  2878. data/node_modules/type-fest/source/observable-like.d.ts +63 -0
  2879. data/node_modules/type-fest/source/omit-deep.d.ts +159 -0
  2880. data/node_modules/type-fest/source/omit-index-signature.d.ts +107 -0
  2881. data/node_modules/type-fest/source/opaque.d.ts +252 -0
  2882. data/node_modules/type-fest/source/optional-keys-of.d.ts +38 -0
  2883. data/node_modules/type-fest/source/or.d.ts +25 -0
  2884. data/node_modules/type-fest/source/override-properties.d.ts +36 -0
  2885. data/node_modules/type-fest/source/package-json.d.ts +676 -0
  2886. data/node_modules/type-fest/source/partial-deep.d.ts +109 -0
  2887. data/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +71 -0
  2888. data/node_modules/type-fest/source/pascal-case.d.ts +38 -0
  2889. data/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +55 -0
  2890. data/node_modules/type-fest/source/pascal-cased-properties.d.ts +35 -0
  2891. data/node_modules/type-fest/source/paths.d.ts +170 -0
  2892. data/node_modules/type-fest/source/pick-deep.d.ts +149 -0
  2893. data/node_modules/type-fest/source/pick-index-signature.d.ts +102 -0
  2894. data/node_modules/type-fest/source/primitive.d.ts +13 -0
  2895. data/node_modules/type-fest/source/promisable.d.ts +25 -0
  2896. data/node_modules/type-fest/source/readonly-deep.d.ts +81 -0
  2897. data/node_modules/type-fest/source/readonly-keys-of.d.ts +29 -0
  2898. data/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
  2899. data/node_modules/type-fest/source/replace.d.ts +67 -0
  2900. data/node_modules/type-fest/source/require-all-or-none.d.ts +42 -0
  2901. data/node_modules/type-fest/source/require-at-least-one.d.ts +34 -0
  2902. data/node_modules/type-fest/source/require-exactly-one.d.ts +34 -0
  2903. data/node_modules/type-fest/source/require-one-or-none.d.ts +37 -0
  2904. data/node_modules/type-fest/source/required-deep.d.ts +78 -0
  2905. data/node_modules/type-fest/source/required-keys-of.d.ts +29 -0
  2906. data/node_modules/type-fest/source/schema.d.ts +71 -0
  2907. data/node_modules/type-fest/source/screaming-snake-case.d.ts +33 -0
  2908. data/node_modules/type-fest/source/set-field-type.d.ts +37 -0
  2909. data/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
  2910. data/node_modules/type-fest/source/set-optional.d.ts +35 -0
  2911. data/node_modules/type-fest/source/set-parameter-type.d.ts +117 -0
  2912. data/node_modules/type-fest/source/set-readonly.d.ts +38 -0
  2913. data/node_modules/type-fest/source/set-required.d.ts +40 -0
  2914. data/node_modules/type-fest/source/set-return-type.d.ts +29 -0
  2915. data/node_modules/type-fest/source/shared-union-fields-deep.d.ts +168 -0
  2916. data/node_modules/type-fest/source/simplify-deep.d.ts +115 -0
  2917. data/node_modules/type-fest/source/simplify.d.ts +58 -0
  2918. data/node_modules/type-fest/source/single-key-object.d.ts +29 -0
  2919. data/node_modules/type-fest/source/snake-case.d.ts +38 -0
  2920. data/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +47 -0
  2921. data/node_modules/type-fest/source/snake-cased-properties.d.ts +30 -0
  2922. data/node_modules/type-fest/source/split-words.d.ts +57 -0
  2923. data/node_modules/type-fest/source/split.d.ts +29 -0
  2924. data/node_modules/type-fest/source/spread.d.ts +84 -0
  2925. data/node_modules/type-fest/source/string-key-of.d.ts +25 -0
  2926. data/node_modules/type-fest/source/string-repeat.d.ts +43 -0
  2927. data/node_modules/type-fest/source/string-slice.d.ts +37 -0
  2928. data/node_modules/type-fest/source/stringified.d.ts +23 -0
  2929. data/node_modules/type-fest/source/structured-cloneable.d.ts +92 -0
  2930. data/node_modules/type-fest/source/subtract.d.ts +70 -0
  2931. data/node_modules/type-fest/source/sum.d.ts +70 -0
  2932. data/node_modules/type-fest/source/tagged-union.d.ts +51 -0
  2933. data/node_modules/type-fest/source/trim.d.ts +27 -0
  2934. data/node_modules/type-fest/source/tsconfig-json.d.ts +1198 -0
  2935. data/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
  2936. data/node_modules/type-fest/source/typed-array.d.ts +17 -0
  2937. data/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +80 -0
  2938. data/node_modules/type-fest/source/union-to-intersection.d.ts +61 -0
  2939. data/node_modules/type-fest/source/unknown-array.d.ts +25 -0
  2940. data/node_modules/type-fest/source/unknown-record.d.ts +31 -0
  2941. data/node_modules/type-fest/source/value-of.d.ts +42 -0
  2942. data/node_modules/type-fest/source/writable-deep.d.ts +83 -0
  2943. data/node_modules/type-fest/source/writable-keys-of.d.ts +30 -0
  2944. data/node_modules/type-fest/source/writable.d.ts +68 -0
  2945. data/node_modules/uglify-js/LICENSE +29 -0
  2946. data/node_modules/uglify-js/README.md +1479 -0
  2947. data/node_modules/uglify-js/bin/uglifyjs +624 -0
  2948. data/node_modules/uglify-js/lib/ast.js +2357 -0
  2949. data/node_modules/uglify-js/lib/compress.js +14640 -0
  2950. data/node_modules/uglify-js/lib/minify.js +278 -0
  2951. data/node_modules/uglify-js/lib/mozilla-ast.js +1338 -0
  2952. data/node_modules/uglify-js/lib/output.js +1983 -0
  2953. data/node_modules/uglify-js/lib/parse.js +2589 -0
  2954. data/node_modules/uglify-js/lib/propmangle.js +328 -0
  2955. data/node_modules/uglify-js/lib/scope.js +883 -0
  2956. data/node_modules/uglify-js/lib/sourcemap.js +195 -0
  2957. data/node_modules/uglify-js/lib/transform.js +250 -0
  2958. data/node_modules/uglify-js/lib/utils.js +300 -0
  2959. data/node_modules/uglify-js/package.json +56 -0
  2960. data/node_modules/uglify-js/tools/domprops.html +456 -0
  2961. data/node_modules/uglify-js/tools/domprops.json +8327 -0
  2962. data/node_modules/uglify-js/tools/exports.js +8 -0
  2963. data/node_modules/uglify-js/tools/node.js +115 -0
  2964. data/node_modules/uglify-js/tools/tty.js +22 -0
  2965. data/node_modules/undici-types/LICENSE +21 -0
  2966. data/node_modules/undici-types/README.md +6 -0
  2967. data/node_modules/undici-types/agent.d.ts +31 -0
  2968. data/node_modules/undici-types/api.d.ts +43 -0
  2969. data/node_modules/undici-types/balanced-pool.d.ts +29 -0
  2970. data/node_modules/undici-types/cache.d.ts +36 -0
  2971. data/node_modules/undici-types/client.d.ts +108 -0
  2972. data/node_modules/undici-types/connector.d.ts +34 -0
  2973. data/node_modules/undici-types/content-type.d.ts +21 -0
  2974. data/node_modules/undici-types/cookies.d.ts +28 -0
  2975. data/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  2976. data/node_modules/undici-types/dispatcher.d.ts +255 -0
  2977. data/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  2978. data/node_modules/undici-types/errors.d.ts +149 -0
  2979. data/node_modules/undici-types/eventsource.d.ts +63 -0
  2980. data/node_modules/undici-types/fetch.d.ts +209 -0
  2981. data/node_modules/undici-types/file.d.ts +39 -0
  2982. data/node_modules/undici-types/filereader.d.ts +54 -0
  2983. data/node_modules/undici-types/formdata.d.ts +108 -0
  2984. data/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  2985. data/node_modules/undici-types/global-origin.d.ts +7 -0
  2986. data/node_modules/undici-types/handlers.d.ts +15 -0
  2987. data/node_modules/undici-types/header.d.ts +4 -0
  2988. data/node_modules/undici-types/index.d.ts +71 -0
  2989. data/node_modules/undici-types/interceptors.d.ts +15 -0
  2990. data/node_modules/undici-types/mock-agent.d.ts +50 -0
  2991. data/node_modules/undici-types/mock-client.d.ts +25 -0
  2992. data/node_modules/undici-types/mock-errors.d.ts +12 -0
  2993. data/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  2994. data/node_modules/undici-types/mock-pool.d.ts +25 -0
  2995. data/node_modules/undici-types/package.json +55 -0
  2996. data/node_modules/undici-types/patch.d.ts +71 -0
  2997. data/node_modules/undici-types/pool-stats.d.ts +19 -0
  2998. data/node_modules/undici-types/pool.d.ts +39 -0
  2999. data/node_modules/undici-types/proxy-agent.d.ts +28 -0
  3000. data/node_modules/undici-types/readable.d.ts +60 -0
  3001. data/node_modules/undici-types/retry-agent.d.ts +8 -0
  3002. data/node_modules/undici-types/retry-handler.d.ts +116 -0
  3003. data/node_modules/undici-types/util.d.ts +18 -0
  3004. data/node_modules/undici-types/webidl.d.ts +222 -0
  3005. data/node_modules/undici-types/websocket.d.ts +152 -0
  3006. data/node_modules/unicorn-magic/default.js +14 -0
  3007. data/node_modules/unicorn-magic/index.d.ts +29 -0
  3008. data/node_modules/unicorn-magic/license +9 -0
  3009. data/node_modules/unicorn-magic/node.js +7 -0
  3010. data/node_modules/unicorn-magic/package.json +49 -0
  3011. data/node_modules/unicorn-magic/readme.md +25 -0
  3012. data/node_modules/validate-npm-package-license/LICENSE +202 -0
  3013. data/node_modules/validate-npm-package-license/README.md +113 -0
  3014. data/node_modules/validate-npm-package-license/index.js +86 -0
  3015. data/node_modules/validate-npm-package-license/package.json +28 -0
  3016. data/node_modules/which/CHANGELOG.md +166 -0
  3017. data/node_modules/which/LICENSE +15 -0
  3018. data/node_modules/which/README.md +54 -0
  3019. data/node_modules/which/bin/node-which +52 -0
  3020. data/node_modules/which/package.json +43 -0
  3021. data/node_modules/which/which.js +125 -0
  3022. data/node_modules/wordwrap/LICENSE +18 -0
  3023. data/node_modules/wordwrap/README.markdown +70 -0
  3024. data/node_modules/wordwrap/example/center.js +10 -0
  3025. data/node_modules/wordwrap/example/meat.js +3 -0
  3026. data/node_modules/wordwrap/index.js +76 -0
  3027. data/node_modules/wordwrap/package.json +34 -0
  3028. data/node_modules/wordwrap/test/break.js +32 -0
  3029. data/node_modules/wordwrap/test/idleness.txt +63 -0
  3030. data/node_modules/wordwrap/test/wrap.js +33 -0
  3031. data/node_modules/wrap-ansi/index.js +216 -0
  3032. data/node_modules/wrap-ansi/license +9 -0
  3033. data/node_modules/wrap-ansi/package.json +62 -0
  3034. data/node_modules/wrap-ansi/readme.md +91 -0
  3035. data/node_modules/y18n/CHANGELOG.md +100 -0
  3036. data/node_modules/y18n/LICENSE +13 -0
  3037. data/node_modules/y18n/README.md +127 -0
  3038. data/node_modules/y18n/build/index.cjs +203 -0
  3039. data/node_modules/y18n/build/lib/cjs.js +6 -0
  3040. data/node_modules/y18n/build/lib/index.js +174 -0
  3041. data/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
  3042. data/node_modules/y18n/index.mjs +8 -0
  3043. data/node_modules/y18n/package.json +70 -0
  3044. data/node_modules/yargs/LICENSE +21 -0
  3045. data/node_modules/yargs/README.md +204 -0
  3046. data/node_modules/yargs/browser.d.ts +5 -0
  3047. data/node_modules/yargs/browser.mjs +7 -0
  3048. data/node_modules/yargs/build/index.cjs +1 -0
  3049. data/node_modules/yargs/build/lib/argsert.js +62 -0
  3050. data/node_modules/yargs/build/lib/command.js +449 -0
  3051. data/node_modules/yargs/build/lib/completion-templates.js +48 -0
  3052. data/node_modules/yargs/build/lib/completion.js +243 -0
  3053. data/node_modules/yargs/build/lib/middleware.js +88 -0
  3054. data/node_modules/yargs/build/lib/parse-command.js +32 -0
  3055. data/node_modules/yargs/build/lib/typings/common-types.js +9 -0
  3056. data/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
  3057. data/node_modules/yargs/build/lib/usage.js +584 -0
  3058. data/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
  3059. data/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
  3060. data/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
  3061. data/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
  3062. data/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
  3063. data/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
  3064. data/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
  3065. data/node_modules/yargs/build/lib/utils/which-module.js +10 -0
  3066. data/node_modules/yargs/build/lib/validation.js +305 -0
  3067. data/node_modules/yargs/build/lib/yargs-factory.js +1512 -0
  3068. data/node_modules/yargs/build/lib/yerror.js +9 -0
  3069. data/node_modules/yargs/helpers/helpers.mjs +10 -0
  3070. data/node_modules/yargs/helpers/index.js +14 -0
  3071. data/node_modules/yargs/helpers/package.json +3 -0
  3072. data/node_modules/yargs/index.cjs +53 -0
  3073. data/node_modules/yargs/index.mjs +8 -0
  3074. data/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
  3075. data/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
  3076. data/node_modules/yargs/locales/be.json +46 -0
  3077. data/node_modules/yargs/locales/cs.json +51 -0
  3078. data/node_modules/yargs/locales/de.json +46 -0
  3079. data/node_modules/yargs/locales/en.json +55 -0
  3080. data/node_modules/yargs/locales/es.json +46 -0
  3081. data/node_modules/yargs/locales/fi.json +49 -0
  3082. data/node_modules/yargs/locales/fr.json +53 -0
  3083. data/node_modules/yargs/locales/hi.json +49 -0
  3084. data/node_modules/yargs/locales/hu.json +46 -0
  3085. data/node_modules/yargs/locales/id.json +50 -0
  3086. data/node_modules/yargs/locales/it.json +46 -0
  3087. data/node_modules/yargs/locales/ja.json +51 -0
  3088. data/node_modules/yargs/locales/ko.json +49 -0
  3089. data/node_modules/yargs/locales/nb.json +44 -0
  3090. data/node_modules/yargs/locales/nl.json +49 -0
  3091. data/node_modules/yargs/locales/nn.json +44 -0
  3092. data/node_modules/yargs/locales/pirate.json +13 -0
  3093. data/node_modules/yargs/locales/pl.json +49 -0
  3094. data/node_modules/yargs/locales/pt.json +45 -0
  3095. data/node_modules/yargs/locales/pt_BR.json +48 -0
  3096. data/node_modules/yargs/locales/ru.json +51 -0
  3097. data/node_modules/yargs/locales/th.json +46 -0
  3098. data/node_modules/yargs/locales/tr.json +48 -0
  3099. data/node_modules/yargs/locales/uk_UA.json +51 -0
  3100. data/node_modules/yargs/locales/uz.json +52 -0
  3101. data/node_modules/yargs/locales/zh_CN.json +48 -0
  3102. data/node_modules/yargs/locales/zh_TW.json +51 -0
  3103. data/node_modules/yargs/package.json +123 -0
  3104. data/node_modules/yargs/yargs +9 -0
  3105. data/node_modules/yargs/yargs.mjs +10 -0
  3106. data/node_modules/yargs-parser/CHANGELOG.md +308 -0
  3107. data/node_modules/yargs-parser/LICENSE.txt +14 -0
  3108. data/node_modules/yargs-parser/README.md +518 -0
  3109. data/node_modules/yargs-parser/browser.js +29 -0
  3110. data/node_modules/yargs-parser/build/index.cjs +1050 -0
  3111. data/node_modules/yargs-parser/build/lib/index.js +62 -0
  3112. data/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
  3113. data/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
  3114. data/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
  3115. data/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
  3116. data/node_modules/yargs-parser/package.json +92 -0
  3117. data/node_modules/yocto-queue/index.d.ts +61 -0
  3118. data/node_modules/yocto-queue/index.js +78 -0
  3119. data/node_modules/yocto-queue/license +9 -0
  3120. data/node_modules/yocto-queue/package.json +48 -0
  3121. data/node_modules/yocto-queue/readme.md +70 -0
  3122. data/package-lock.json +2137 -0
  3123. data/package.json +18 -0
  3124. data/pkg/pcp-server-ruby-sdk-0.0.6.gem +0 -0
  3125. data/pkg/pcp-server-ruby-sdk-0.1.0.gem +0 -0
  3126. data/scripts.sh +125 -0
  3127. data/sonar-project.properties +10 -0
  3128. data/spec/communicator_configuration_spec.rb +23 -0
  3129. data/spec/errors/api_error_response_exception_spec.rb +34 -0
  3130. data/spec/errors/api_exception_spec.rb +36 -0
  3131. data/spec/errors/api_response_retrieval_exception_spec.rb +31 -0
  3132. data/spec/queries/get_checkouts_query_spec.rb +184 -0
  3133. data/spec/queries/get_commerce_cases_query_spec.rb +104 -0
  3134. data/spec/request_header_generator_spec.rb +98 -0
  3135. data/spec/spec_helper.rb +22 -0
  3136. data/spec/utils/server_meta_info_spec.rb +47 -0
  3137. metadata +3249 -0
@@ -0,0 +1,4390 @@
1
+ /**
2
+ * The `node: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 'node:fs/promises';
9
+ * ```
10
+ *
11
+ * To use the callback and sync APIs:
12
+ *
13
+ * ```js
14
+ * import * as fs from 'node: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/v22.x/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}, {@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`. `Stat` objects are not to be created directly using the `new` keyword.
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
+ private constructor();
135
+ }
136
+ export interface StatsFsBase<T> {
137
+ /** Type of file system. */
138
+ type: T;
139
+ /** Optimal transfer block size. */
140
+ bsize: T;
141
+ /** Total data blocks in file system. */
142
+ blocks: T;
143
+ /** Free blocks in file system. */
144
+ bfree: T;
145
+ /** Available blocks for unprivileged users */
146
+ bavail: T;
147
+ /** Total file nodes in file system. */
148
+ files: T;
149
+ /** Free file nodes in file system. */
150
+ ffree: T;
151
+ }
152
+ export interface StatsFs extends StatsFsBase<number> {}
153
+ /**
154
+ * Provides information about a mounted file system.
155
+ *
156
+ * Objects returned from {@link statfs} and its synchronous counterpart are of
157
+ * this type. If `bigint` in the `options` passed to those methods is `true`, the
158
+ * numeric values will be `bigint` instead of `number`.
159
+ *
160
+ * ```console
161
+ * StatFs {
162
+ * type: 1397114950,
163
+ * bsize: 4096,
164
+ * blocks: 121938943,
165
+ * bfree: 61058895,
166
+ * bavail: 61058895,
167
+ * files: 999,
168
+ * ffree: 1000000
169
+ * }
170
+ * ```
171
+ *
172
+ * `bigint` version:
173
+ *
174
+ * ```console
175
+ * StatFs {
176
+ * type: 1397114950n,
177
+ * bsize: 4096n,
178
+ * blocks: 121938943n,
179
+ * bfree: 61058895n,
180
+ * bavail: 61058895n,
181
+ * files: 999n,
182
+ * ffree: 1000000n
183
+ * }
184
+ * ```
185
+ * @since v19.6.0, v18.15.0
186
+ */
187
+ export class StatsFs {}
188
+ export interface BigIntStatsFs extends StatsFsBase<bigint> {}
189
+ export interface StatFsOptions {
190
+ bigint?: boolean | undefined;
191
+ }
192
+ /**
193
+ * A representation of a directory entry, which can be a file or a subdirectory
194
+ * within the directory, as returned by reading from an `fs.Dir`. The
195
+ * directory entry is a combination of the file name and file type pairs.
196
+ *
197
+ * Additionally, when {@link readdir} or {@link readdirSync} is called with
198
+ * the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s.
199
+ * @since v10.10.0
200
+ */
201
+ export class Dirent {
202
+ /**
203
+ * Returns `true` if the `fs.Dirent` object describes a regular file.
204
+ * @since v10.10.0
205
+ */
206
+ isFile(): boolean;
207
+ /**
208
+ * Returns `true` if the `fs.Dirent` object describes a file system
209
+ * directory.
210
+ * @since v10.10.0
211
+ */
212
+ isDirectory(): boolean;
213
+ /**
214
+ * Returns `true` if the `fs.Dirent` object describes a block device.
215
+ * @since v10.10.0
216
+ */
217
+ isBlockDevice(): boolean;
218
+ /**
219
+ * Returns `true` if the `fs.Dirent` object describes a character device.
220
+ * @since v10.10.0
221
+ */
222
+ isCharacterDevice(): boolean;
223
+ /**
224
+ * Returns `true` if the `fs.Dirent` object describes a symbolic link.
225
+ * @since v10.10.0
226
+ */
227
+ isSymbolicLink(): boolean;
228
+ /**
229
+ * Returns `true` if the `fs.Dirent` object describes a first-in-first-out
230
+ * (FIFO) pipe.
231
+ * @since v10.10.0
232
+ */
233
+ isFIFO(): boolean;
234
+ /**
235
+ * Returns `true` if the `fs.Dirent` object describes a socket.
236
+ * @since v10.10.0
237
+ */
238
+ isSocket(): boolean;
239
+ /**
240
+ * The file name that this `fs.Dirent` object refers to. The type of this
241
+ * value is determined by the `options.encoding` passed to {@link readdir} or {@link readdirSync}.
242
+ * @since v10.10.0
243
+ */
244
+ name: string;
245
+ /**
246
+ * The base path that this `fs.Dirent` object refers to.
247
+ * @since v20.12.0
248
+ */
249
+ parentPath: string;
250
+ /**
251
+ * Alias for `dirent.parentPath`.
252
+ * @since v20.1.0
253
+ * @deprecated Since v20.12.0
254
+ */
255
+ path: string;
256
+ }
257
+ /**
258
+ * A class representing a directory stream.
259
+ *
260
+ * Created by {@link opendir}, {@link opendirSync}, or `fsPromises.opendir()`.
261
+ *
262
+ * ```js
263
+ * import { opendir } from 'node:fs/promises';
264
+ *
265
+ * try {
266
+ * const dir = await opendir('./');
267
+ * for await (const dirent of dir)
268
+ * console.log(dirent.name);
269
+ * } catch (err) {
270
+ * console.error(err);
271
+ * }
272
+ * ```
273
+ *
274
+ * When using the async iterator, the `fs.Dir` object will be automatically
275
+ * closed after the iterator exits.
276
+ * @since v12.12.0
277
+ */
278
+ export class Dir implements AsyncIterable<Dirent> {
279
+ /**
280
+ * The read-only path of this directory as was provided to {@link opendir},{@link opendirSync}, or `fsPromises.opendir()`.
281
+ * @since v12.12.0
282
+ */
283
+ readonly path: string;
284
+ /**
285
+ * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read.
286
+ */
287
+ [Symbol.asyncIterator](): AsyncIterableIterator<Dirent>;
288
+ /**
289
+ * Asynchronously close the directory's underlying resource handle.
290
+ * Subsequent reads will result in errors.
291
+ *
292
+ * A promise is returned that will be fulfilled after the resource has been
293
+ * closed.
294
+ * @since v12.12.0
295
+ */
296
+ close(): Promise<void>;
297
+ close(cb: NoParamCallback): void;
298
+ /**
299
+ * Synchronously close the directory's underlying resource handle.
300
+ * Subsequent reads will result in errors.
301
+ * @since v12.12.0
302
+ */
303
+ closeSync(): void;
304
+ /**
305
+ * Asynchronously read the next directory entry via [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) as an `fs.Dirent`.
306
+ *
307
+ * A promise is returned that will be fulfilled with an `fs.Dirent`, or `null` if there are no more directory entries to read.
308
+ *
309
+ * Directory entries returned by this function are in no particular order as
310
+ * provided by the operating system's underlying directory mechanisms.
311
+ * Entries added or removed while iterating over the directory might not be
312
+ * included in the iteration results.
313
+ * @since v12.12.0
314
+ * @return containing {fs.Dirent|null}
315
+ */
316
+ read(): Promise<Dirent | null>;
317
+ read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void;
318
+ /**
319
+ * Synchronously read the next directory entry as an `fs.Dirent`. See the
320
+ * POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more detail.
321
+ *
322
+ * If there are no more directory entries to read, `null` will be returned.
323
+ *
324
+ * Directory entries returned by this function are in no particular order as
325
+ * provided by the operating system's underlying directory mechanisms.
326
+ * Entries added or removed while iterating over the directory might not be
327
+ * included in the iteration results.
328
+ * @since v12.12.0
329
+ */
330
+ readSync(): Dirent | null;
331
+ }
332
+ /**
333
+ * Class: fs.StatWatcher
334
+ * @since v14.3.0, v12.20.0
335
+ * Extends `EventEmitter`
336
+ * A successful call to {@link watchFile} method will return a new fs.StatWatcher object.
337
+ */
338
+ export interface StatWatcher extends EventEmitter {
339
+ /**
340
+ * 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
341
+ * no effect.
342
+ *
343
+ * By default, all `fs.StatWatcher` objects are "ref'ed", making it normally
344
+ * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been
345
+ * called previously.
346
+ * @since v14.3.0, v12.20.0
347
+ */
348
+ ref(): this;
349
+ /**
350
+ * When called, the active `fs.StatWatcher` object will not require the Node.js
351
+ * event loop to remain active. If there is no other activity keeping the
352
+ * event loop running, the process may exit before the `fs.StatWatcher` object's
353
+ * callback is invoked. Calling `watcher.unref()` multiple times will have
354
+ * no effect.
355
+ * @since v14.3.0, v12.20.0
356
+ */
357
+ unref(): this;
358
+ }
359
+ export interface FSWatcher extends EventEmitter {
360
+ /**
361
+ * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable.
362
+ * @since v0.5.8
363
+ */
364
+ close(): void;
365
+ /**
366
+ * When called, requests that the Node.js event loop _not_ exit so long as the `fs.FSWatcher` is active. Calling `watcher.ref()` multiple times will have
367
+ * no effect.
368
+ *
369
+ * By default, all `fs.FSWatcher` objects are "ref'ed", making it normally
370
+ * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been
371
+ * called previously.
372
+ * @since v14.3.0, v12.20.0
373
+ */
374
+ ref(): this;
375
+ /**
376
+ * When called, the active `fs.FSWatcher` object will not require the Node.js
377
+ * event loop to remain active. If there is no other activity keeping the
378
+ * event loop running, the process may exit before the `fs.FSWatcher` object's
379
+ * callback is invoked. Calling `watcher.unref()` multiple times will have
380
+ * no effect.
381
+ * @since v14.3.0, v12.20.0
382
+ */
383
+ unref(): this;
384
+ /**
385
+ * events.EventEmitter
386
+ * 1. change
387
+ * 2. close
388
+ * 3. error
389
+ */
390
+ addListener(event: string, listener: (...args: any[]) => void): this;
391
+ addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
392
+ addListener(event: "close", listener: () => void): this;
393
+ addListener(event: "error", listener: (error: Error) => void): this;
394
+ on(event: string, listener: (...args: any[]) => void): this;
395
+ on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
396
+ on(event: "close", listener: () => void): this;
397
+ on(event: "error", listener: (error: Error) => void): this;
398
+ once(event: string, listener: (...args: any[]) => void): this;
399
+ once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
400
+ once(event: "close", listener: () => void): this;
401
+ once(event: "error", listener: (error: Error) => void): this;
402
+ prependListener(event: string, listener: (...args: any[]) => void): this;
403
+ prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
404
+ prependListener(event: "close", listener: () => void): this;
405
+ prependListener(event: "error", listener: (error: Error) => void): this;
406
+ prependOnceListener(event: string, listener: (...args: any[]) => void): this;
407
+ prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
408
+ prependOnceListener(event: "close", listener: () => void): this;
409
+ prependOnceListener(event: "error", listener: (error: Error) => void): this;
410
+ }
411
+ /**
412
+ * Instances of `fs.ReadStream` are created and returned using the {@link createReadStream} function.
413
+ * @since v0.1.93
414
+ */
415
+ export class ReadStream extends stream.Readable {
416
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
417
+ /**
418
+ * The number of bytes that have been read so far.
419
+ * @since v6.4.0
420
+ */
421
+ bytesRead: number;
422
+ /**
423
+ * The path to the file the stream is reading from as specified in the first
424
+ * 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
425
+ * `Buffer`. If `fd` is specified, then`readStream.path` will be `undefined`.
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, v10.16.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: "data", listener: (chunk: Buffer | string) => void): this;
443
+ addListener(event: "end", listener: () => void): this;
444
+ addListener(event: "error", listener: (err: Error) => void): this;
445
+ addListener(event: "open", listener: (fd: number) => void): this;
446
+ addListener(event: "pause", listener: () => void): this;
447
+ addListener(event: "readable", listener: () => void): this;
448
+ addListener(event: "ready", listener: () => void): this;
449
+ addListener(event: "resume", listener: () => void): this;
450
+ addListener(event: string | symbol, listener: (...args: any[]) => void): this;
451
+ on(event: "close", listener: () => void): this;
452
+ on(event: "data", listener: (chunk: Buffer | string) => void): this;
453
+ on(event: "end", listener: () => void): this;
454
+ on(event: "error", listener: (err: Error) => void): this;
455
+ on(event: "open", listener: (fd: number) => void): this;
456
+ on(event: "pause", listener: () => void): this;
457
+ on(event: "readable", listener: () => void): this;
458
+ on(event: "ready", listener: () => void): this;
459
+ on(event: "resume", listener: () => void): this;
460
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
461
+ once(event: "close", listener: () => void): this;
462
+ once(event: "data", listener: (chunk: Buffer | string) => void): this;
463
+ once(event: "end", listener: () => void): this;
464
+ once(event: "error", listener: (err: Error) => void): this;
465
+ once(event: "open", listener: (fd: number) => void): this;
466
+ once(event: "pause", listener: () => void): this;
467
+ once(event: "readable", listener: () => void): this;
468
+ once(event: "ready", listener: () => void): this;
469
+ once(event: "resume", listener: () => void): this;
470
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
471
+ prependListener(event: "close", listener: () => void): this;
472
+ prependListener(event: "data", listener: (chunk: Buffer | string) => void): this;
473
+ prependListener(event: "end", listener: () => void): this;
474
+ prependListener(event: "error", listener: (err: Error) => void): this;
475
+ prependListener(event: "open", listener: (fd: number) => void): this;
476
+ prependListener(event: "pause", listener: () => void): this;
477
+ prependListener(event: "readable", listener: () => void): this;
478
+ prependListener(event: "ready", listener: () => void): this;
479
+ prependListener(event: "resume", listener: () => void): this;
480
+ prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
481
+ prependOnceListener(event: "close", listener: () => void): this;
482
+ prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this;
483
+ prependOnceListener(event: "end", listener: () => void): this;
484
+ prependOnceListener(event: "error", listener: (err: Error) => void): this;
485
+ prependOnceListener(event: "open", listener: (fd: number) => void): this;
486
+ prependOnceListener(event: "pause", listener: () => void): this;
487
+ prependOnceListener(event: "readable", listener: () => void): this;
488
+ prependOnceListener(event: "ready", listener: () => void): this;
489
+ prependOnceListener(event: "resume", listener: () => void): this;
490
+ prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
491
+ }
492
+ /**
493
+ * * Extends `stream.Writable`
494
+ *
495
+ * Instances of `fs.WriteStream` are created and returned using the {@link createWriteStream} function.
496
+ * @since v0.1.93
497
+ */
498
+ export class WriteStream extends stream.Writable {
499
+ /**
500
+ * Closes `writeStream`. Optionally accepts a
501
+ * callback that will be executed once the `writeStream`is closed.
502
+ * @since v0.9.4
503
+ */
504
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
505
+ /**
506
+ * The number of bytes written so far. Does not include data that is still queued
507
+ * for writing.
508
+ * @since v0.4.7
509
+ */
510
+ bytesWritten: number;
511
+ /**
512
+ * The path to the file the stream is writing to as specified in the first
513
+ * 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
514
+ * `Buffer`.
515
+ * @since v0.1.93
516
+ */
517
+ path: string | Buffer;
518
+ /**
519
+ * This property is `true` if the underlying file has not been opened yet,
520
+ * i.e. before the `'ready'` event is emitted.
521
+ * @since v11.2.0
522
+ */
523
+ pending: boolean;
524
+ /**
525
+ * events.EventEmitter
526
+ * 1. open
527
+ * 2. close
528
+ * 3. ready
529
+ */
530
+ addListener(event: "close", listener: () => void): this;
531
+ addListener(event: "drain", listener: () => void): this;
532
+ addListener(event: "error", listener: (err: Error) => void): this;
533
+ addListener(event: "finish", listener: () => void): this;
534
+ addListener(event: "open", listener: (fd: number) => void): this;
535
+ addListener(event: "pipe", listener: (src: stream.Readable) => void): this;
536
+ addListener(event: "ready", listener: () => void): this;
537
+ addListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
538
+ addListener(event: string | symbol, listener: (...args: any[]) => void): this;
539
+ on(event: "close", listener: () => void): this;
540
+ on(event: "drain", listener: () => void): this;
541
+ on(event: "error", listener: (err: Error) => void): this;
542
+ on(event: "finish", listener: () => void): this;
543
+ on(event: "open", listener: (fd: number) => void): this;
544
+ on(event: "pipe", listener: (src: stream.Readable) => void): this;
545
+ on(event: "ready", listener: () => void): this;
546
+ on(event: "unpipe", listener: (src: stream.Readable) => void): this;
547
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
548
+ once(event: "close", listener: () => void): this;
549
+ once(event: "drain", listener: () => void): this;
550
+ once(event: "error", listener: (err: Error) => void): this;
551
+ once(event: "finish", listener: () => void): this;
552
+ once(event: "open", listener: (fd: number) => void): this;
553
+ once(event: "pipe", listener: (src: stream.Readable) => void): this;
554
+ once(event: "ready", listener: () => void): this;
555
+ once(event: "unpipe", listener: (src: stream.Readable) => void): this;
556
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
557
+ prependListener(event: "close", listener: () => void): this;
558
+ prependListener(event: "drain", listener: () => void): this;
559
+ prependListener(event: "error", listener: (err: Error) => void): this;
560
+ prependListener(event: "finish", listener: () => void): this;
561
+ prependListener(event: "open", listener: (fd: number) => void): this;
562
+ prependListener(event: "pipe", listener: (src: stream.Readable) => void): this;
563
+ prependListener(event: "ready", listener: () => void): this;
564
+ prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
565
+ prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
566
+ prependOnceListener(event: "close", listener: () => void): this;
567
+ prependOnceListener(event: "drain", listener: () => void): this;
568
+ prependOnceListener(event: "error", listener: (err: Error) => void): this;
569
+ prependOnceListener(event: "finish", listener: () => void): this;
570
+ prependOnceListener(event: "open", listener: (fd: number) => void): this;
571
+ prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this;
572
+ prependOnceListener(event: "ready", listener: () => void): this;
573
+ prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
574
+ prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
575
+ }
576
+ /**
577
+ * Asynchronously rename file at `oldPath` to the pathname provided
578
+ * as `newPath`. In the case that `newPath` already exists, it will
579
+ * be overwritten. If there is a directory at `newPath`, an error will
580
+ * be raised instead. No arguments other than a possible exception are
581
+ * given to the completion callback.
582
+ *
583
+ * See also: [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html).
584
+ *
585
+ * ```js
586
+ * import { rename } from 'node:fs';
587
+ *
588
+ * rename('oldFile.txt', 'newFile.txt', (err) => {
589
+ * if (err) throw err;
590
+ * console.log('Rename complete!');
591
+ * });
592
+ * ```
593
+ * @since v0.0.2
594
+ */
595
+ export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
596
+ export namespace rename {
597
+ /**
598
+ * Asynchronous rename(2) - Change the name or location of a file or directory.
599
+ * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
600
+ * URL support is _experimental_.
601
+ * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
602
+ * URL support is _experimental_.
603
+ */
604
+ function __promisify__(oldPath: PathLike, newPath: PathLike): Promise<void>;
605
+ }
606
+ /**
607
+ * Renames the file from `oldPath` to `newPath`. Returns `undefined`.
608
+ *
609
+ * See the POSIX [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html) documentation for more details.
610
+ * @since v0.1.21
611
+ */
612
+ export function renameSync(oldPath: PathLike, newPath: PathLike): void;
613
+ /**
614
+ * Truncates the file. No arguments other than a possible exception are
615
+ * given to the completion callback. A file descriptor can also be passed as the
616
+ * first argument. In this case, `fs.ftruncate()` is called.
617
+ *
618
+ * ```js
619
+ * import { truncate } from 'node:fs';
620
+ * // Assuming that 'path/file.txt' is a regular file.
621
+ * truncate('path/file.txt', (err) => {
622
+ * if (err) throw err;
623
+ * console.log('path/file.txt was truncated');
624
+ * });
625
+ * ```
626
+ *
627
+ * Passing a file descriptor is deprecated and may result in an error being thrown
628
+ * in the future.
629
+ *
630
+ * See the POSIX [`truncate(2)`](http://man7.org/linux/man-pages/man2/truncate.2.html) documentation for more details.
631
+ * @since v0.8.6
632
+ * @param [len=0]
633
+ */
634
+ export function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void;
635
+ /**
636
+ * Asynchronous truncate(2) - Truncate a file to a specified length.
637
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
638
+ */
639
+ export function truncate(path: PathLike, callback: NoParamCallback): void;
640
+ export namespace truncate {
641
+ /**
642
+ * Asynchronous truncate(2) - Truncate a file to a specified length.
643
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
644
+ * @param len If not specified, defaults to `0`.
645
+ */
646
+ function __promisify__(path: PathLike, len?: number | null): Promise<void>;
647
+ }
648
+ /**
649
+ * Truncates the file. Returns `undefined`. A file descriptor can also be
650
+ * passed as the first argument. In this case, `fs.ftruncateSync()` is called.
651
+ *
652
+ * Passing a file descriptor is deprecated and may result in an error being thrown
653
+ * in the future.
654
+ * @since v0.8.6
655
+ * @param [len=0]
656
+ */
657
+ export function truncateSync(path: PathLike, len?: number | null): void;
658
+ /**
659
+ * Truncates the file descriptor. No arguments other than a possible exception are
660
+ * given to the completion callback.
661
+ *
662
+ * See the POSIX [`ftruncate(2)`](http://man7.org/linux/man-pages/man2/ftruncate.2.html) documentation for more detail.
663
+ *
664
+ * If the file referred to by the file descriptor was larger than `len` bytes, only
665
+ * the first `len` bytes will be retained in the file.
666
+ *
667
+ * For example, the following program retains only the first four bytes of the
668
+ * file:
669
+ *
670
+ * ```js
671
+ * import { open, close, ftruncate } from 'node:fs';
672
+ *
673
+ * function closeFd(fd) {
674
+ * close(fd, (err) => {
675
+ * if (err) throw err;
676
+ * });
677
+ * }
678
+ *
679
+ * open('temp.txt', 'r+', (err, fd) => {
680
+ * if (err) throw err;
681
+ *
682
+ * try {
683
+ * ftruncate(fd, 4, (err) => {
684
+ * closeFd(fd);
685
+ * if (err) throw err;
686
+ * });
687
+ * } catch (err) {
688
+ * closeFd(fd);
689
+ * if (err) throw err;
690
+ * }
691
+ * });
692
+ * ```
693
+ *
694
+ * If the file previously was shorter than `len` bytes, it is extended, and the
695
+ * extended part is filled with null bytes (`'\0'`):
696
+ *
697
+ * If `len` is negative then `0` will be used.
698
+ * @since v0.8.6
699
+ * @param [len=0]
700
+ */
701
+ export function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void;
702
+ /**
703
+ * Asynchronous ftruncate(2) - Truncate a file to a specified length.
704
+ * @param fd A file descriptor.
705
+ */
706
+ export function ftruncate(fd: number, callback: NoParamCallback): void;
707
+ export namespace ftruncate {
708
+ /**
709
+ * Asynchronous ftruncate(2) - Truncate a file to a specified length.
710
+ * @param fd A file descriptor.
711
+ * @param len If not specified, defaults to `0`.
712
+ */
713
+ function __promisify__(fd: number, len?: number | null): Promise<void>;
714
+ }
715
+ /**
716
+ * Truncates the file descriptor. Returns `undefined`.
717
+ *
718
+ * For detailed information, see the documentation of the asynchronous version of
719
+ * this API: {@link ftruncate}.
720
+ * @since v0.8.6
721
+ * @param [len=0]
722
+ */
723
+ export function ftruncateSync(fd: number, len?: number | null): void;
724
+ /**
725
+ * Asynchronously changes owner and group of a file. No arguments other than a
726
+ * possible exception are given to the completion callback.
727
+ *
728
+ * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
729
+ * @since v0.1.97
730
+ */
731
+ export function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
732
+ export namespace chown {
733
+ /**
734
+ * Asynchronous chown(2) - Change ownership of a file.
735
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
736
+ */
737
+ function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>;
738
+ }
739
+ /**
740
+ * Synchronously changes owner and group of a file. Returns `undefined`.
741
+ * This is the synchronous version of {@link chown}.
742
+ *
743
+ * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
744
+ * @since v0.1.97
745
+ */
746
+ export function chownSync(path: PathLike, uid: number, gid: number): void;
747
+ /**
748
+ * Sets the owner of the file. No arguments other than a possible exception are
749
+ * given to the completion callback.
750
+ *
751
+ * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail.
752
+ * @since v0.4.7
753
+ */
754
+ export function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void;
755
+ export namespace fchown {
756
+ /**
757
+ * Asynchronous fchown(2) - Change ownership of a file.
758
+ * @param fd A file descriptor.
759
+ */
760
+ function __promisify__(fd: number, uid: number, gid: number): Promise<void>;
761
+ }
762
+ /**
763
+ * Sets the owner of the file. Returns `undefined`.
764
+ *
765
+ * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail.
766
+ * @since v0.4.7
767
+ * @param uid The file's new owner's user id.
768
+ * @param gid The file's new group's group id.
769
+ */
770
+ export function fchownSync(fd: number, uid: number, gid: number): void;
771
+ /**
772
+ * Set the owner of the symbolic link. No arguments other than a possible
773
+ * exception are given to the completion callback.
774
+ *
775
+ * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail.
776
+ */
777
+ export function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
778
+ export namespace lchown {
779
+ /**
780
+ * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
781
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
782
+ */
783
+ function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>;
784
+ }
785
+ /**
786
+ * Set the owner for the path. Returns `undefined`.
787
+ *
788
+ * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more details.
789
+ * @param uid The file's new owner's user id.
790
+ * @param gid The file's new group's group id.
791
+ */
792
+ export function lchownSync(path: PathLike, uid: number, gid: number): void;
793
+ /**
794
+ * 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
795
+ * link, then the link is not dereferenced: instead, the timestamps of the
796
+ * symbolic link itself are changed.
797
+ *
798
+ * No arguments other than a possible exception are given to the completion
799
+ * callback.
800
+ * @since v14.5.0, v12.19.0
801
+ */
802
+ export function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
803
+ export namespace lutimes {
804
+ /**
805
+ * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
806
+ * with the difference that if the path refers to a symbolic link, then the link is not
807
+ * dereferenced: instead, the timestamps of the symbolic link itself are changed.
808
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
809
+ * @param atime The last access time. If a string is provided, it will be coerced to number.
810
+ * @param mtime The last modified time. If a string is provided, it will be coerced to number.
811
+ */
812
+ function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise<void>;
813
+ }
814
+ /**
815
+ * Change the file system timestamps of the symbolic link referenced by `path`.
816
+ * Returns `undefined`, or throws an exception when parameters are incorrect or
817
+ * the operation fails. This is the synchronous version of {@link lutimes}.
818
+ * @since v14.5.0, v12.19.0
819
+ */
820
+ export function lutimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
821
+ /**
822
+ * Asynchronously changes the permissions of a file. No arguments other than a
823
+ * possible exception are given to the completion callback.
824
+ *
825
+ * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail.
826
+ *
827
+ * ```js
828
+ * import { chmod } from 'node:fs';
829
+ *
830
+ * chmod('my_file.txt', 0o775, (err) => {
831
+ * if (err) throw err;
832
+ * console.log('The permissions for file "my_file.txt" have been changed!');
833
+ * });
834
+ * ```
835
+ * @since v0.1.30
836
+ */
837
+ export function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
838
+ export namespace chmod {
839
+ /**
840
+ * Asynchronous chmod(2) - Change permissions of a file.
841
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
842
+ * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
843
+ */
844
+ function __promisify__(path: PathLike, mode: Mode): Promise<void>;
845
+ }
846
+ /**
847
+ * For detailed information, see the documentation of the asynchronous version of
848
+ * this API: {@link chmod}.
849
+ *
850
+ * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail.
851
+ * @since v0.6.7
852
+ */
853
+ export function chmodSync(path: PathLike, mode: Mode): void;
854
+ /**
855
+ * Sets the permissions on the file. No arguments other than a possible exception
856
+ * are given to the completion callback.
857
+ *
858
+ * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
859
+ * @since v0.4.7
860
+ */
861
+ export function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void;
862
+ export namespace fchmod {
863
+ /**
864
+ * Asynchronous fchmod(2) - Change permissions of a file.
865
+ * @param fd A file descriptor.
866
+ * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
867
+ */
868
+ function __promisify__(fd: number, mode: Mode): Promise<void>;
869
+ }
870
+ /**
871
+ * Sets the permissions on the file. Returns `undefined`.
872
+ *
873
+ * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
874
+ * @since v0.4.7
875
+ */
876
+ export function fchmodSync(fd: number, mode: Mode): void;
877
+ /**
878
+ * Changes the permissions on a symbolic link. No arguments other than a possible
879
+ * exception are given to the completion callback.
880
+ *
881
+ * This method is only implemented on macOS.
882
+ *
883
+ * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
884
+ * @deprecated Since v0.4.7
885
+ */
886
+ export function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
887
+ /** @deprecated */
888
+ export namespace lchmod {
889
+ /**
890
+ * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
891
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
892
+ * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
893
+ */
894
+ function __promisify__(path: PathLike, mode: Mode): Promise<void>;
895
+ }
896
+ /**
897
+ * Changes the permissions on a symbolic link. Returns `undefined`.
898
+ *
899
+ * This method is only implemented on macOS.
900
+ *
901
+ * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
902
+ * @deprecated Since v0.4.7
903
+ */
904
+ export function lchmodSync(path: PathLike, mode: Mode): void;
905
+ /**
906
+ * 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.
907
+ *
908
+ * In case of an error, the `err.code` will be one of `Common System Errors`.
909
+ *
910
+ * {@link stat} follows symbolic links. Use {@link lstat} to look at the
911
+ * links themselves.
912
+ *
913
+ * Using `fs.stat()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended.
914
+ * Instead, user code should open/read/write the file directly and handle the
915
+ * error raised if the file is not available.
916
+ *
917
+ * To check if a file exists without manipulating it afterwards, {@link access} is recommended.
918
+ *
919
+ * For example, given the following directory structure:
920
+ *
921
+ * ```text
922
+ * - txtDir
923
+ * -- file.txt
924
+ * - app.js
925
+ * ```
926
+ *
927
+ * The next program will check for the stats of the given paths:
928
+ *
929
+ * ```js
930
+ * import { stat } from 'node:fs';
931
+ *
932
+ * const pathsToCheck = ['./txtDir', './txtDir/file.txt'];
933
+ *
934
+ * for (let i = 0; i < pathsToCheck.length; i++) {
935
+ * stat(pathsToCheck[i], (err, stats) => {
936
+ * console.log(stats.isDirectory());
937
+ * console.log(stats);
938
+ * });
939
+ * }
940
+ * ```
941
+ *
942
+ * The resulting output will resemble:
943
+ *
944
+ * ```console
945
+ * true
946
+ * Stats {
947
+ * dev: 16777220,
948
+ * mode: 16877,
949
+ * nlink: 3,
950
+ * uid: 501,
951
+ * gid: 20,
952
+ * rdev: 0,
953
+ * blksize: 4096,
954
+ * ino: 14214262,
955
+ * size: 96,
956
+ * blocks: 0,
957
+ * atimeMs: 1561174653071.963,
958
+ * mtimeMs: 1561174614583.3518,
959
+ * ctimeMs: 1561174626623.5366,
960
+ * birthtimeMs: 1561174126937.2893,
961
+ * atime: 2019-06-22T03:37:33.072Z,
962
+ * mtime: 2019-06-22T03:36:54.583Z,
963
+ * ctime: 2019-06-22T03:37:06.624Z,
964
+ * birthtime: 2019-06-22T03:28:46.937Z
965
+ * }
966
+ * false
967
+ * Stats {
968
+ * dev: 16777220,
969
+ * mode: 33188,
970
+ * nlink: 1,
971
+ * uid: 501,
972
+ * gid: 20,
973
+ * rdev: 0,
974
+ * blksize: 4096,
975
+ * ino: 14214074,
976
+ * size: 8,
977
+ * blocks: 8,
978
+ * atimeMs: 1561174616618.8555,
979
+ * mtimeMs: 1561174614584,
980
+ * ctimeMs: 1561174614583.8145,
981
+ * birthtimeMs: 1561174007710.7478,
982
+ * atime: 2019-06-22T03:36:56.619Z,
983
+ * mtime: 2019-06-22T03:36:54.584Z,
984
+ * ctime: 2019-06-22T03:36:54.584Z,
985
+ * birthtime: 2019-06-22T03:26:47.711Z
986
+ * }
987
+ * ```
988
+ * @since v0.0.2
989
+ */
990
+ export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
991
+ export function stat(
992
+ path: PathLike,
993
+ options:
994
+ | (StatOptions & {
995
+ bigint?: false | undefined;
996
+ })
997
+ | undefined,
998
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
999
+ ): void;
1000
+ export function stat(
1001
+ path: PathLike,
1002
+ options: StatOptions & {
1003
+ bigint: true;
1004
+ },
1005
+ callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
1006
+ ): void;
1007
+ export function stat(
1008
+ path: PathLike,
1009
+ options: StatOptions | undefined,
1010
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
1011
+ ): void;
1012
+ export namespace stat {
1013
+ /**
1014
+ * Asynchronous stat(2) - Get file status.
1015
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1016
+ */
1017
+ function __promisify__(
1018
+ path: PathLike,
1019
+ options?: StatOptions & {
1020
+ bigint?: false | undefined;
1021
+ },
1022
+ ): Promise<Stats>;
1023
+ function __promisify__(
1024
+ path: PathLike,
1025
+ options: StatOptions & {
1026
+ bigint: true;
1027
+ },
1028
+ ): Promise<BigIntStats>;
1029
+ function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
1030
+ }
1031
+ export interface StatSyncFn extends Function {
1032
+ (path: PathLike, options?: undefined): Stats;
1033
+ (
1034
+ path: PathLike,
1035
+ options?: StatSyncOptions & {
1036
+ bigint?: false | undefined;
1037
+ throwIfNoEntry: false;
1038
+ },
1039
+ ): Stats | undefined;
1040
+ (
1041
+ path: PathLike,
1042
+ options: StatSyncOptions & {
1043
+ bigint: true;
1044
+ throwIfNoEntry: false;
1045
+ },
1046
+ ): BigIntStats | undefined;
1047
+ (
1048
+ path: PathLike,
1049
+ options?: StatSyncOptions & {
1050
+ bigint?: false | undefined;
1051
+ },
1052
+ ): Stats;
1053
+ (
1054
+ path: PathLike,
1055
+ options: StatSyncOptions & {
1056
+ bigint: true;
1057
+ },
1058
+ ): BigIntStats;
1059
+ (
1060
+ path: PathLike,
1061
+ options: StatSyncOptions & {
1062
+ bigint: boolean;
1063
+ throwIfNoEntry?: false | undefined;
1064
+ },
1065
+ ): Stats | BigIntStats;
1066
+ (path: PathLike, options?: StatSyncOptions): Stats | BigIntStats | undefined;
1067
+ }
1068
+ /**
1069
+ * Synchronous stat(2) - Get file status.
1070
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1071
+ */
1072
+ export const statSync: StatSyncFn;
1073
+ /**
1074
+ * Invokes the callback with the `fs.Stats` for the file descriptor.
1075
+ *
1076
+ * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
1077
+ * @since v0.1.95
1078
+ */
1079
+ export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
1080
+ export function fstat(
1081
+ fd: number,
1082
+ options:
1083
+ | (StatOptions & {
1084
+ bigint?: false | undefined;
1085
+ })
1086
+ | undefined,
1087
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
1088
+ ): void;
1089
+ export function fstat(
1090
+ fd: number,
1091
+ options: StatOptions & {
1092
+ bigint: true;
1093
+ },
1094
+ callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
1095
+ ): void;
1096
+ export function fstat(
1097
+ fd: number,
1098
+ options: StatOptions | undefined,
1099
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
1100
+ ): void;
1101
+ export namespace fstat {
1102
+ /**
1103
+ * Asynchronous fstat(2) - Get file status.
1104
+ * @param fd A file descriptor.
1105
+ */
1106
+ function __promisify__(
1107
+ fd: number,
1108
+ options?: StatOptions & {
1109
+ bigint?: false | undefined;
1110
+ },
1111
+ ): Promise<Stats>;
1112
+ function __promisify__(
1113
+ fd: number,
1114
+ options: StatOptions & {
1115
+ bigint: true;
1116
+ },
1117
+ ): Promise<BigIntStats>;
1118
+ function __promisify__(fd: number, options?: StatOptions): Promise<Stats | BigIntStats>;
1119
+ }
1120
+ /**
1121
+ * Retrieves the `fs.Stats` for the file descriptor.
1122
+ *
1123
+ * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
1124
+ * @since v0.1.95
1125
+ */
1126
+ export function fstatSync(
1127
+ fd: number,
1128
+ options?: StatOptions & {
1129
+ bigint?: false | undefined;
1130
+ },
1131
+ ): Stats;
1132
+ export function fstatSync(
1133
+ fd: number,
1134
+ options: StatOptions & {
1135
+ bigint: true;
1136
+ },
1137
+ ): BigIntStats;
1138
+ export function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
1139
+ /**
1140
+ * Retrieves the `fs.Stats` for the symbolic link referred to by the path.
1141
+ * 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
1142
+ * link, then the link itself is stat-ed, not the file that it refers to.
1143
+ *
1144
+ * See the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) documentation for more details.
1145
+ * @since v0.1.30
1146
+ */
1147
+ export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
1148
+ export function lstat(
1149
+ path: PathLike,
1150
+ options:
1151
+ | (StatOptions & {
1152
+ bigint?: false | undefined;
1153
+ })
1154
+ | undefined,
1155
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
1156
+ ): void;
1157
+ export function lstat(
1158
+ path: PathLike,
1159
+ options: StatOptions & {
1160
+ bigint: true;
1161
+ },
1162
+ callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
1163
+ ): void;
1164
+ export function lstat(
1165
+ path: PathLike,
1166
+ options: StatOptions | undefined,
1167
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
1168
+ ): void;
1169
+ export namespace lstat {
1170
+ /**
1171
+ * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
1172
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1173
+ */
1174
+ function __promisify__(
1175
+ path: PathLike,
1176
+ options?: StatOptions & {
1177
+ bigint?: false | undefined;
1178
+ },
1179
+ ): Promise<Stats>;
1180
+ function __promisify__(
1181
+ path: PathLike,
1182
+ options: StatOptions & {
1183
+ bigint: true;
1184
+ },
1185
+ ): Promise<BigIntStats>;
1186
+ function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
1187
+ }
1188
+ /**
1189
+ * Asynchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which
1190
+ * contains `path`. The callback gets two arguments `(err, stats)` where `stats`is an `fs.StatFs` object.
1191
+ *
1192
+ * In case of an error, the `err.code` will be one of `Common System Errors`.
1193
+ * @since v19.6.0, v18.15.0
1194
+ * @param path A path to an existing file or directory on the file system to be queried.
1195
+ */
1196
+ export function statfs(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void;
1197
+ export function statfs(
1198
+ path: PathLike,
1199
+ options:
1200
+ | (StatFsOptions & {
1201
+ bigint?: false | undefined;
1202
+ })
1203
+ | undefined,
1204
+ callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void,
1205
+ ): void;
1206
+ export function statfs(
1207
+ path: PathLike,
1208
+ options: StatFsOptions & {
1209
+ bigint: true;
1210
+ },
1211
+ callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void,
1212
+ ): void;
1213
+ export function statfs(
1214
+ path: PathLike,
1215
+ options: StatFsOptions | undefined,
1216
+ callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void,
1217
+ ): void;
1218
+ export namespace statfs {
1219
+ /**
1220
+ * Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.
1221
+ * @param path A path to an existing file or directory on the file system to be queried.
1222
+ */
1223
+ function __promisify__(
1224
+ path: PathLike,
1225
+ options?: StatFsOptions & {
1226
+ bigint?: false | undefined;
1227
+ },
1228
+ ): Promise<StatsFs>;
1229
+ function __promisify__(
1230
+ path: PathLike,
1231
+ options: StatFsOptions & {
1232
+ bigint: true;
1233
+ },
1234
+ ): Promise<BigIntStatsFs>;
1235
+ function __promisify__(path: PathLike, options?: StatFsOptions): Promise<StatsFs | BigIntStatsFs>;
1236
+ }
1237
+ /**
1238
+ * Synchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which
1239
+ * contains `path`.
1240
+ *
1241
+ * In case of an error, the `err.code` will be one of `Common System Errors`.
1242
+ * @since v19.6.0, v18.15.0
1243
+ * @param path A path to an existing file or directory on the file system to be queried.
1244
+ */
1245
+ export function statfsSync(
1246
+ path: PathLike,
1247
+ options?: StatFsOptions & {
1248
+ bigint?: false | undefined;
1249
+ },
1250
+ ): StatsFs;
1251
+ export function statfsSync(
1252
+ path: PathLike,
1253
+ options: StatFsOptions & {
1254
+ bigint: true;
1255
+ },
1256
+ ): BigIntStatsFs;
1257
+ export function statfsSync(path: PathLike, options?: StatFsOptions): StatsFs | BigIntStatsFs;
1258
+ /**
1259
+ * Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
1260
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1261
+ */
1262
+ export const lstatSync: StatSyncFn;
1263
+ /**
1264
+ * 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
1265
+ * a possible
1266
+ * exception are given to the completion callback.
1267
+ * @since v0.1.31
1268
+ */
1269
+ export function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
1270
+ export namespace link {
1271
+ /**
1272
+ * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
1273
+ * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
1274
+ * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
1275
+ */
1276
+ function __promisify__(existingPath: PathLike, newPath: PathLike): Promise<void>;
1277
+ }
1278
+ /**
1279
+ * 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`.
1280
+ * @since v0.1.31
1281
+ */
1282
+ export function linkSync(existingPath: PathLike, newPath: PathLike): void;
1283
+ /**
1284
+ * Creates the link called `path` pointing to `target`. No arguments other than a
1285
+ * possible exception are given to the completion callback.
1286
+ *
1287
+ * See the POSIX [`symlink(2)`](http://man7.org/linux/man-pages/man2/symlink.2.html) documentation for more details.
1288
+ *
1289
+ * The `type` argument is only available on Windows and ignored on other platforms.
1290
+ * It can be set to `'dir'`, `'file'`, or `'junction'`. If the `type` argument is
1291
+ * not a string, Node.js will autodetect `target` type and use `'file'` or `'dir'`.
1292
+ * If the `target` does not exist, `'file'` will be used. Windows junction points
1293
+ * require the destination path to be absolute. When using `'junction'`, the`target` argument will automatically be normalized to absolute path. Junction
1294
+ * points on NTFS volumes can only point to directories.
1295
+ *
1296
+ * Relative targets are relative to the link's parent directory.
1297
+ *
1298
+ * ```js
1299
+ * import { symlink } from 'node:fs';
1300
+ *
1301
+ * symlink('./mew', './mewtwo', callback);
1302
+ * ```
1303
+ *
1304
+ * The above example creates a symbolic link `mewtwo` which points to `mew` in the
1305
+ * same directory:
1306
+ *
1307
+ * ```bash
1308
+ * $ tree .
1309
+ * .
1310
+ * ├── mew
1311
+ * └── mewtwo -> ./mew
1312
+ * ```
1313
+ * @since v0.1.31
1314
+ * @param [type='null']
1315
+ */
1316
+ export function symlink(
1317
+ target: PathLike,
1318
+ path: PathLike,
1319
+ type: symlink.Type | undefined | null,
1320
+ callback: NoParamCallback,
1321
+ ): void;
1322
+ /**
1323
+ * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
1324
+ * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
1325
+ * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
1326
+ */
1327
+ export function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void;
1328
+ export namespace symlink {
1329
+ /**
1330
+ * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
1331
+ * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
1332
+ * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
1333
+ * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
1334
+ * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
1335
+ */
1336
+ function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
1337
+ type Type = "dir" | "file" | "junction";
1338
+ }
1339
+ /**
1340
+ * Returns `undefined`.
1341
+ *
1342
+ * For detailed information, see the documentation of the asynchronous version of
1343
+ * this API: {@link symlink}.
1344
+ * @since v0.1.31
1345
+ * @param [type='null']
1346
+ */
1347
+ export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void;
1348
+ /**
1349
+ * Reads the contents of the symbolic link referred to by `path`. The callback gets
1350
+ * two arguments `(err, linkString)`.
1351
+ *
1352
+ * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details.
1353
+ *
1354
+ * The optional `options` argument can be a string specifying an encoding, or an
1355
+ * object with an `encoding` property specifying the character encoding to use for
1356
+ * the link path passed to the callback. If the `encoding` is set to `'buffer'`,
1357
+ * the link path returned will be passed as a `Buffer` object.
1358
+ * @since v0.1.31
1359
+ */
1360
+ export function readlink(
1361
+ path: PathLike,
1362
+ options: EncodingOption,
1363
+ callback: (err: NodeJS.ErrnoException | null, linkString: string) => void,
1364
+ ): void;
1365
+ /**
1366
+ * Asynchronous readlink(2) - read value of a symbolic link.
1367
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1368
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1369
+ */
1370
+ export function readlink(
1371
+ path: PathLike,
1372
+ options: BufferEncodingOption,
1373
+ callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void,
1374
+ ): void;
1375
+ /**
1376
+ * Asynchronous readlink(2) - read value of a symbolic link.
1377
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1378
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1379
+ */
1380
+ export function readlink(
1381
+ path: PathLike,
1382
+ options: EncodingOption,
1383
+ callback: (err: NodeJS.ErrnoException | null, linkString: string | Buffer) => void,
1384
+ ): void;
1385
+ /**
1386
+ * Asynchronous readlink(2) - read value of a symbolic link.
1387
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1388
+ */
1389
+ export function readlink(
1390
+ path: PathLike,
1391
+ callback: (err: NodeJS.ErrnoException | null, linkString: string) => void,
1392
+ ): void;
1393
+ export namespace readlink {
1394
+ /**
1395
+ * Asynchronous readlink(2) - read value of a symbolic link.
1396
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1397
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1398
+ */
1399
+ function __promisify__(path: PathLike, options?: EncodingOption): Promise<string>;
1400
+ /**
1401
+ * Asynchronous readlink(2) - read value of a symbolic link.
1402
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1403
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1404
+ */
1405
+ function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<Buffer>;
1406
+ /**
1407
+ * Asynchronous readlink(2) - read value of a symbolic link.
1408
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1409
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1410
+ */
1411
+ function __promisify__(path: PathLike, options?: EncodingOption): Promise<string | Buffer>;
1412
+ }
1413
+ /**
1414
+ * Returns the symbolic link's string value.
1415
+ *
1416
+ * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details.
1417
+ *
1418
+ * The optional `options` argument can be a string specifying an encoding, or an
1419
+ * object with an `encoding` property specifying the character encoding to use for
1420
+ * the link path returned. If the `encoding` is set to `'buffer'`,
1421
+ * the link path returned will be passed as a `Buffer` object.
1422
+ * @since v0.1.31
1423
+ */
1424
+ export function readlinkSync(path: PathLike, options?: EncodingOption): string;
1425
+ /**
1426
+ * Synchronous readlink(2) - read value of a symbolic link.
1427
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1428
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1429
+ */
1430
+ export function readlinkSync(path: PathLike, options: BufferEncodingOption): Buffer;
1431
+ /**
1432
+ * Synchronous readlink(2) - read value of a symbolic link.
1433
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1434
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1435
+ */
1436
+ export function readlinkSync(path: PathLike, options?: EncodingOption): string | Buffer;
1437
+ /**
1438
+ * Asynchronously computes the canonical pathname by resolving `.`, `..`, and
1439
+ * symbolic links.
1440
+ *
1441
+ * A canonical pathname is not necessarily unique. Hard links and bind mounts can
1442
+ * expose a file system entity through many pathnames.
1443
+ *
1444
+ * This function behaves like [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html), with some exceptions:
1445
+ *
1446
+ * 1. No case conversion is performed on case-insensitive file systems.
1447
+ * 2. The maximum number of symbolic links is platform-independent and generally
1448
+ * (much) higher than what the native [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html) implementation supports.
1449
+ *
1450
+ * The `callback` gets two arguments `(err, resolvedPath)`. May use `process.cwd` to resolve relative paths.
1451
+ *
1452
+ * Only paths that can be converted to UTF8 strings are supported.
1453
+ *
1454
+ * The optional `options` argument can be a string specifying an encoding, or an
1455
+ * object with an `encoding` property specifying the character encoding to use for
1456
+ * the path passed to the callback. If the `encoding` is set to `'buffer'`,
1457
+ * the path returned will be passed as a `Buffer` object.
1458
+ *
1459
+ * If `path` resolves to a socket or a pipe, the function will return a system
1460
+ * dependent name for that object.
1461
+ * @since v0.1.31
1462
+ */
1463
+ export function realpath(
1464
+ path: PathLike,
1465
+ options: EncodingOption,
1466
+ callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
1467
+ ): void;
1468
+ /**
1469
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1470
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1471
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1472
+ */
1473
+ export function realpath(
1474
+ path: PathLike,
1475
+ options: BufferEncodingOption,
1476
+ callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void,
1477
+ ): void;
1478
+ /**
1479
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1480
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1481
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1482
+ */
1483
+ export function realpath(
1484
+ path: PathLike,
1485
+ options: EncodingOption,
1486
+ callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void,
1487
+ ): void;
1488
+ /**
1489
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1490
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1491
+ */
1492
+ export function realpath(
1493
+ path: PathLike,
1494
+ callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
1495
+ ): void;
1496
+ export namespace realpath {
1497
+ /**
1498
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1499
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1500
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1501
+ */
1502
+ function __promisify__(path: PathLike, options?: EncodingOption): Promise<string>;
1503
+ /**
1504
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1505
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1506
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1507
+ */
1508
+ function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<Buffer>;
1509
+ /**
1510
+ * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1511
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1512
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1513
+ */
1514
+ function __promisify__(path: PathLike, options?: EncodingOption): Promise<string | Buffer>;
1515
+ /**
1516
+ * Asynchronous [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html).
1517
+ *
1518
+ * The `callback` gets two arguments `(err, resolvedPath)`.
1519
+ *
1520
+ * Only paths that can be converted to UTF8 strings are supported.
1521
+ *
1522
+ * The optional `options` argument can be a string specifying an encoding, or an
1523
+ * object with an `encoding` property specifying the character encoding to use for
1524
+ * the path passed to the callback. If the `encoding` is set to `'buffer'`,
1525
+ * the path returned will be passed as a `Buffer` object.
1526
+ *
1527
+ * On Linux, when Node.js is linked against musl libc, the procfs file system must
1528
+ * be mounted on `/proc` in order for this function to work. Glibc does not have
1529
+ * this restriction.
1530
+ * @since v9.2.0
1531
+ */
1532
+ function native(
1533
+ path: PathLike,
1534
+ options: EncodingOption,
1535
+ callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
1536
+ ): void;
1537
+ function native(
1538
+ path: PathLike,
1539
+ options: BufferEncodingOption,
1540
+ callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void,
1541
+ ): void;
1542
+ function native(
1543
+ path: PathLike,
1544
+ options: EncodingOption,
1545
+ callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void,
1546
+ ): void;
1547
+ function native(
1548
+ path: PathLike,
1549
+ callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
1550
+ ): void;
1551
+ }
1552
+ /**
1553
+ * Returns the resolved pathname.
1554
+ *
1555
+ * For detailed information, see the documentation of the asynchronous version of
1556
+ * this API: {@link realpath}.
1557
+ * @since v0.1.31
1558
+ */
1559
+ export function realpathSync(path: PathLike, options?: EncodingOption): string;
1560
+ /**
1561
+ * Synchronous realpath(3) - return the canonicalized absolute pathname.
1562
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1563
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1564
+ */
1565
+ export function realpathSync(path: PathLike, options: BufferEncodingOption): Buffer;
1566
+ /**
1567
+ * Synchronous realpath(3) - return the canonicalized absolute pathname.
1568
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1569
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1570
+ */
1571
+ export function realpathSync(path: PathLike, options?: EncodingOption): string | Buffer;
1572
+ export namespace realpathSync {
1573
+ function native(path: PathLike, options?: EncodingOption): string;
1574
+ function native(path: PathLike, options: BufferEncodingOption): Buffer;
1575
+ function native(path: PathLike, options?: EncodingOption): string | Buffer;
1576
+ }
1577
+ /**
1578
+ * Asynchronously removes a file or symbolic link. No arguments other than a
1579
+ * possible exception are given to the completion callback.
1580
+ *
1581
+ * ```js
1582
+ * import { unlink } from 'node:fs';
1583
+ * // Assuming that 'path/file.txt' is a regular file.
1584
+ * unlink('path/file.txt', (err) => {
1585
+ * if (err) throw err;
1586
+ * console.log('path/file.txt was deleted');
1587
+ * });
1588
+ * ```
1589
+ *
1590
+ * `fs.unlink()` will not work on a directory, empty or otherwise. To remove a
1591
+ * directory, use {@link rmdir}.
1592
+ *
1593
+ * See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more details.
1594
+ * @since v0.0.2
1595
+ */
1596
+ export function unlink(path: PathLike, callback: NoParamCallback): void;
1597
+ export namespace unlink {
1598
+ /**
1599
+ * Asynchronous unlink(2) - delete a name and possibly the file it refers to.
1600
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1601
+ */
1602
+ function __promisify__(path: PathLike): Promise<void>;
1603
+ }
1604
+ /**
1605
+ * Synchronous [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html). Returns `undefined`.
1606
+ * @since v0.1.21
1607
+ */
1608
+ export function unlinkSync(path: PathLike): void;
1609
+ export interface RmDirOptions {
1610
+ /**
1611
+ * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or
1612
+ * `EPERM` error is encountered, Node.js will retry the operation with a linear
1613
+ * backoff wait of `retryDelay` ms longer on each try. This option represents the
1614
+ * number of retries. This option is ignored if the `recursive` option is not
1615
+ * `true`.
1616
+ * @default 0
1617
+ */
1618
+ maxRetries?: number | undefined;
1619
+ /**
1620
+ * @deprecated since v14.14.0 In future versions of Node.js and will trigger a warning
1621
+ * `fs.rmdir(path, { recursive: true })` will throw if `path` does not exist or is a file.
1622
+ * Use `fs.rm(path, { recursive: true, force: true })` instead.
1623
+ *
1624
+ * If `true`, perform a recursive directory removal. In
1625
+ * recursive mode, operations are retried on failure.
1626
+ * @default false
1627
+ */
1628
+ recursive?: boolean | undefined;
1629
+ /**
1630
+ * The amount of time in milliseconds to wait between retries.
1631
+ * This option is ignored if the `recursive` option is not `true`.
1632
+ * @default 100
1633
+ */
1634
+ retryDelay?: number | undefined;
1635
+ }
1636
+ /**
1637
+ * Asynchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). No arguments other than a possible exception are given
1638
+ * to the completion callback.
1639
+ *
1640
+ * Using `fs.rmdir()` on a file (not a directory) results in an `ENOENT` error on
1641
+ * Windows and an `ENOTDIR` error on POSIX.
1642
+ *
1643
+ * To get a behavior similar to the `rm -rf` Unix command, use {@link rm} with options `{ recursive: true, force: true }`.
1644
+ * @since v0.0.2
1645
+ */
1646
+ export function rmdir(path: PathLike, callback: NoParamCallback): void;
1647
+ export function rmdir(path: PathLike, options: RmDirOptions, callback: NoParamCallback): void;
1648
+ export namespace rmdir {
1649
+ /**
1650
+ * Asynchronous rmdir(2) - delete a directory.
1651
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1652
+ */
1653
+ function __promisify__(path: PathLike, options?: RmDirOptions): Promise<void>;
1654
+ }
1655
+ /**
1656
+ * Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`.
1657
+ *
1658
+ * Using `fs.rmdirSync()` on a file (not a directory) results in an `ENOENT` error
1659
+ * on Windows and an `ENOTDIR` error on POSIX.
1660
+ *
1661
+ * To get a behavior similar to the `rm -rf` Unix command, use {@link rmSync} with options `{ recursive: true, force: true }`.
1662
+ * @since v0.1.21
1663
+ */
1664
+ export function rmdirSync(path: PathLike, options?: RmDirOptions): void;
1665
+ export interface RmOptions {
1666
+ /**
1667
+ * When `true`, exceptions will be ignored if `path` does not exist.
1668
+ * @default false
1669
+ */
1670
+ force?: boolean | undefined;
1671
+ /**
1672
+ * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or
1673
+ * `EPERM` error is encountered, Node.js will retry the operation with a linear
1674
+ * backoff wait of `retryDelay` ms longer on each try. This option represents the
1675
+ * number of retries. This option is ignored if the `recursive` option is not
1676
+ * `true`.
1677
+ * @default 0
1678
+ */
1679
+ maxRetries?: number | undefined;
1680
+ /**
1681
+ * If `true`, perform a recursive directory removal. In
1682
+ * recursive mode, operations are retried on failure.
1683
+ * @default false
1684
+ */
1685
+ recursive?: boolean | undefined;
1686
+ /**
1687
+ * The amount of time in milliseconds to wait between retries.
1688
+ * This option is ignored if the `recursive` option is not `true`.
1689
+ * @default 100
1690
+ */
1691
+ retryDelay?: number | undefined;
1692
+ }
1693
+ /**
1694
+ * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). No arguments other than a possible exception are given to the
1695
+ * completion callback.
1696
+ * @since v14.14.0
1697
+ */
1698
+ export function rm(path: PathLike, callback: NoParamCallback): void;
1699
+ export function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void;
1700
+ export namespace rm {
1701
+ /**
1702
+ * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility).
1703
+ */
1704
+ function __promisify__(path: PathLike, options?: RmOptions): Promise<void>;
1705
+ }
1706
+ /**
1707
+ * Synchronously removes files and directories (modeled on the standard POSIX `rm` utility). Returns `undefined`.
1708
+ * @since v14.14.0
1709
+ */
1710
+ export function rmSync(path: PathLike, options?: RmOptions): void;
1711
+ export interface MakeDirectoryOptions {
1712
+ /**
1713
+ * Indicates whether parent folders should be created.
1714
+ * If a folder was created, the path to the first created folder will be returned.
1715
+ * @default false
1716
+ */
1717
+ recursive?: boolean | undefined;
1718
+ /**
1719
+ * A file mode. If a string is passed, it is parsed as an octal integer. If not specified
1720
+ * @default 0o777
1721
+ */
1722
+ mode?: Mode | undefined;
1723
+ }
1724
+ /**
1725
+ * Asynchronously creates a directory.
1726
+ *
1727
+ * The callback is given a possible exception and, if `recursive` is `true`, the
1728
+ * first directory path created, `(err[, path])`.`path` can still be `undefined` when `recursive` is `true`, if no directory was
1729
+ * created (for instance, if it was previously created).
1730
+ *
1731
+ * The optional `options` argument can be an integer specifying `mode` (permission
1732
+ * 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
1733
+ * exists results in an error only
1734
+ * when `recursive` is false. If `recursive` is false and the directory exists,
1735
+ * an `EEXIST` error occurs.
1736
+ *
1737
+ * ```js
1738
+ * import { mkdir } from 'node:fs';
1739
+ *
1740
+ * // Create ./tmp/a/apple, regardless of whether ./tmp and ./tmp/a exist.
1741
+ * mkdir('./tmp/a/apple', { recursive: true }, (err) => {
1742
+ * if (err) throw err;
1743
+ * });
1744
+ * ```
1745
+ *
1746
+ * On Windows, using `fs.mkdir()` on the root directory even with recursion will
1747
+ * result in an error:
1748
+ *
1749
+ * ```js
1750
+ * import { mkdir } from 'node:fs';
1751
+ *
1752
+ * mkdir('/', { recursive: true }, (err) => {
1753
+ * // => [Error: EPERM: operation not permitted, mkdir 'C:\']
1754
+ * });
1755
+ * ```
1756
+ *
1757
+ * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
1758
+ * @since v0.1.8
1759
+ */
1760
+ export function mkdir(
1761
+ path: PathLike,
1762
+ options: MakeDirectoryOptions & {
1763
+ recursive: true;
1764
+ },
1765
+ callback: (err: NodeJS.ErrnoException | null, path?: string) => void,
1766
+ ): void;
1767
+ /**
1768
+ * Asynchronous mkdir(2) - create a directory.
1769
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1770
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1771
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1772
+ */
1773
+ export function mkdir(
1774
+ path: PathLike,
1775
+ options:
1776
+ | Mode
1777
+ | (MakeDirectoryOptions & {
1778
+ recursive?: false | undefined;
1779
+ })
1780
+ | null
1781
+ | undefined,
1782
+ callback: NoParamCallback,
1783
+ ): void;
1784
+ /**
1785
+ * Asynchronous mkdir(2) - create a directory.
1786
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1787
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1788
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1789
+ */
1790
+ export function mkdir(
1791
+ path: PathLike,
1792
+ options: Mode | MakeDirectoryOptions | null | undefined,
1793
+ callback: (err: NodeJS.ErrnoException | null, path?: string) => void,
1794
+ ): void;
1795
+ /**
1796
+ * Asynchronous mkdir(2) - create a directory with a mode of `0o777`.
1797
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1798
+ */
1799
+ export function mkdir(path: PathLike, callback: NoParamCallback): void;
1800
+ export namespace mkdir {
1801
+ /**
1802
+ * Asynchronous mkdir(2) - create a directory.
1803
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1804
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1805
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1806
+ */
1807
+ function __promisify__(
1808
+ path: PathLike,
1809
+ options: MakeDirectoryOptions & {
1810
+ recursive: true;
1811
+ },
1812
+ ): Promise<string | undefined>;
1813
+ /**
1814
+ * Asynchronous mkdir(2) - create a directory.
1815
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1816
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1817
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1818
+ */
1819
+ function __promisify__(
1820
+ path: PathLike,
1821
+ options?:
1822
+ | Mode
1823
+ | (MakeDirectoryOptions & {
1824
+ recursive?: false | undefined;
1825
+ })
1826
+ | null,
1827
+ ): Promise<void>;
1828
+ /**
1829
+ * Asynchronous mkdir(2) - create a directory.
1830
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1831
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1832
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1833
+ */
1834
+ function __promisify__(
1835
+ path: PathLike,
1836
+ options?: Mode | MakeDirectoryOptions | null,
1837
+ ): Promise<string | undefined>;
1838
+ }
1839
+ /**
1840
+ * Synchronously creates a directory. Returns `undefined`, or if `recursive` is `true`, the first directory path created.
1841
+ * This is the synchronous version of {@link mkdir}.
1842
+ *
1843
+ * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
1844
+ * @since v0.1.21
1845
+ */
1846
+ export function mkdirSync(
1847
+ path: PathLike,
1848
+ options: MakeDirectoryOptions & {
1849
+ recursive: true;
1850
+ },
1851
+ ): string | undefined;
1852
+ /**
1853
+ * Synchronous mkdir(2) - create a directory.
1854
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1855
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1856
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1857
+ */
1858
+ export function mkdirSync(
1859
+ path: PathLike,
1860
+ options?:
1861
+ | Mode
1862
+ | (MakeDirectoryOptions & {
1863
+ recursive?: false | undefined;
1864
+ })
1865
+ | null,
1866
+ ): void;
1867
+ /**
1868
+ * Synchronous mkdir(2) - create a directory.
1869
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1870
+ * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
1871
+ * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
1872
+ */
1873
+ export function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined;
1874
+ /**
1875
+ * Creates a unique temporary directory.
1876
+ *
1877
+ * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. Due to platform
1878
+ * inconsistencies, avoid trailing `X` characters in `prefix`. Some platforms,
1879
+ * notably the BSDs, can return more than six random characters, and replace
1880
+ * trailing `X` characters in `prefix` with random characters.
1881
+ *
1882
+ * The created directory path is passed as a string to the callback's second
1883
+ * parameter.
1884
+ *
1885
+ * The optional `options` argument can be a string specifying an encoding, or an
1886
+ * object with an `encoding` property specifying the character encoding to use.
1887
+ *
1888
+ * ```js
1889
+ * import { mkdtemp } from 'node:fs';
1890
+ * import { join } from 'node:path';
1891
+ * import { tmpdir } from 'node:os';
1892
+ *
1893
+ * mkdtemp(join(tmpdir(), 'foo-'), (err, directory) => {
1894
+ * if (err) throw err;
1895
+ * console.log(directory);
1896
+ * // Prints: /tmp/foo-itXde2 or C:\Users\...\AppData\Local\Temp\foo-itXde2
1897
+ * });
1898
+ * ```
1899
+ *
1900
+ * The `fs.mkdtemp()` method will append the six randomly selected characters
1901
+ * directly to the `prefix` string. For instance, given a directory `/tmp`, if the
1902
+ * intention is to create a temporary directory _within_`/tmp`, the `prefix`must end with a trailing platform-specific path separator
1903
+ * (`require('node:path').sep`).
1904
+ *
1905
+ * ```js
1906
+ * import { tmpdir } from 'node:os';
1907
+ * import { mkdtemp } from 'node:fs';
1908
+ *
1909
+ * // The parent directory for the new temporary directory
1910
+ * const tmpDir = tmpdir();
1911
+ *
1912
+ * // This method is *INCORRECT*:
1913
+ * mkdtemp(tmpDir, (err, directory) => {
1914
+ * if (err) throw err;
1915
+ * console.log(directory);
1916
+ * // Will print something similar to `/tmpabc123`.
1917
+ * // A new temporary directory is created at the file system root
1918
+ * // rather than *within* the /tmp directory.
1919
+ * });
1920
+ *
1921
+ * // This method is *CORRECT*:
1922
+ * import { sep } from 'node:path';
1923
+ * mkdtemp(`${tmpDir}${sep}`, (err, directory) => {
1924
+ * if (err) throw err;
1925
+ * console.log(directory);
1926
+ * // Will print something similar to `/tmp/abc123`.
1927
+ * // A new temporary directory is created within
1928
+ * // the /tmp directory.
1929
+ * });
1930
+ * ```
1931
+ * @since v5.10.0
1932
+ */
1933
+ export function mkdtemp(
1934
+ prefix: string,
1935
+ options: EncodingOption,
1936
+ callback: (err: NodeJS.ErrnoException | null, folder: string) => void,
1937
+ ): void;
1938
+ /**
1939
+ * Asynchronously creates a unique temporary directory.
1940
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1941
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1942
+ */
1943
+ export function mkdtemp(
1944
+ prefix: string,
1945
+ options:
1946
+ | "buffer"
1947
+ | {
1948
+ encoding: "buffer";
1949
+ },
1950
+ callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void,
1951
+ ): void;
1952
+ /**
1953
+ * Asynchronously creates a unique temporary directory.
1954
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1955
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1956
+ */
1957
+ export function mkdtemp(
1958
+ prefix: string,
1959
+ options: EncodingOption,
1960
+ callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void,
1961
+ ): void;
1962
+ /**
1963
+ * Asynchronously creates a unique temporary directory.
1964
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1965
+ */
1966
+ export function mkdtemp(
1967
+ prefix: string,
1968
+ callback: (err: NodeJS.ErrnoException | null, folder: string) => void,
1969
+ ): void;
1970
+ export namespace mkdtemp {
1971
+ /**
1972
+ * Asynchronously creates a unique temporary directory.
1973
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1974
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1975
+ */
1976
+ function __promisify__(prefix: string, options?: EncodingOption): Promise<string>;
1977
+ /**
1978
+ * Asynchronously creates a unique temporary directory.
1979
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1980
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1981
+ */
1982
+ function __promisify__(prefix: string, options: BufferEncodingOption): Promise<Buffer>;
1983
+ /**
1984
+ * Asynchronously creates a unique temporary directory.
1985
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
1986
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1987
+ */
1988
+ function __promisify__(prefix: string, options?: EncodingOption): Promise<string | Buffer>;
1989
+ }
1990
+ /**
1991
+ * Returns the created directory path.
1992
+ *
1993
+ * For detailed information, see the documentation of the asynchronous version of
1994
+ * this API: {@link mkdtemp}.
1995
+ *
1996
+ * The optional `options` argument can be a string specifying an encoding, or an
1997
+ * object with an `encoding` property specifying the character encoding to use.
1998
+ * @since v5.10.0
1999
+ */
2000
+ export function mkdtempSync(prefix: string, options?: EncodingOption): string;
2001
+ /**
2002
+ * Synchronously creates a unique temporary directory.
2003
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2004
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2005
+ */
2006
+ export function mkdtempSync(prefix: string, options: BufferEncodingOption): Buffer;
2007
+ /**
2008
+ * Synchronously creates a unique temporary directory.
2009
+ * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2010
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2011
+ */
2012
+ export function mkdtempSync(prefix: string, options?: EncodingOption): string | Buffer;
2013
+ /**
2014
+ * 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 `'..'`.
2015
+ *
2016
+ * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details.
2017
+ *
2018
+ * The optional `options` argument can be a string specifying an encoding, or an
2019
+ * object with an `encoding` property specifying the character encoding to use for
2020
+ * the filenames passed to the callback. If the `encoding` is set to `'buffer'`,
2021
+ * the filenames returned will be passed as `Buffer` objects.
2022
+ *
2023
+ * If `options.withFileTypes` is set to `true`, the `files` array will contain `fs.Dirent` objects.
2024
+ * @since v0.1.8
2025
+ */
2026
+ export function readdir(
2027
+ path: PathLike,
2028
+ options:
2029
+ | {
2030
+ encoding: BufferEncoding | null;
2031
+ withFileTypes?: false | undefined;
2032
+ recursive?: boolean | undefined;
2033
+ }
2034
+ | BufferEncoding
2035
+ | undefined
2036
+ | null,
2037
+ callback: (err: NodeJS.ErrnoException | null, files: string[]) => void,
2038
+ ): void;
2039
+ /**
2040
+ * Asynchronous readdir(3) - read a directory.
2041
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2042
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2043
+ */
2044
+ export function readdir(
2045
+ path: PathLike,
2046
+ options:
2047
+ | {
2048
+ encoding: "buffer";
2049
+ withFileTypes?: false | undefined;
2050
+ recursive?: boolean | undefined;
2051
+ }
2052
+ | "buffer",
2053
+ callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void,
2054
+ ): void;
2055
+ /**
2056
+ * Asynchronous readdir(3) - read a directory.
2057
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2058
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2059
+ */
2060
+ export function readdir(
2061
+ path: PathLike,
2062
+ options:
2063
+ | (ObjectEncodingOptions & {
2064
+ withFileTypes?: false | undefined;
2065
+ recursive?: boolean | undefined;
2066
+ })
2067
+ | BufferEncoding
2068
+ | undefined
2069
+ | null,
2070
+ callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void,
2071
+ ): void;
2072
+ /**
2073
+ * Asynchronous readdir(3) - read a directory.
2074
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2075
+ */
2076
+ export function readdir(
2077
+ path: PathLike,
2078
+ callback: (err: NodeJS.ErrnoException | null, files: string[]) => void,
2079
+ ): void;
2080
+ /**
2081
+ * Asynchronous readdir(3) - read a directory.
2082
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2083
+ * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
2084
+ */
2085
+ export function readdir(
2086
+ path: PathLike,
2087
+ options: ObjectEncodingOptions & {
2088
+ withFileTypes: true;
2089
+ recursive?: boolean | undefined;
2090
+ },
2091
+ callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void,
2092
+ ): void;
2093
+ export namespace readdir {
2094
+ /**
2095
+ * Asynchronous readdir(3) - read a directory.
2096
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2097
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2098
+ */
2099
+ function __promisify__(
2100
+ path: PathLike,
2101
+ options?:
2102
+ | {
2103
+ encoding: BufferEncoding | null;
2104
+ withFileTypes?: false | undefined;
2105
+ recursive?: boolean | undefined;
2106
+ }
2107
+ | BufferEncoding
2108
+ | null,
2109
+ ): Promise<string[]>;
2110
+ /**
2111
+ * Asynchronous readdir(3) - read a directory.
2112
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2113
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2114
+ */
2115
+ function __promisify__(
2116
+ path: PathLike,
2117
+ options:
2118
+ | "buffer"
2119
+ | {
2120
+ encoding: "buffer";
2121
+ withFileTypes?: false | undefined;
2122
+ recursive?: boolean | undefined;
2123
+ },
2124
+ ): Promise<Buffer[]>;
2125
+ /**
2126
+ * Asynchronous readdir(3) - read a directory.
2127
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2128
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2129
+ */
2130
+ function __promisify__(
2131
+ path: PathLike,
2132
+ options?:
2133
+ | (ObjectEncodingOptions & {
2134
+ withFileTypes?: false | undefined;
2135
+ recursive?: boolean | undefined;
2136
+ })
2137
+ | BufferEncoding
2138
+ | null,
2139
+ ): Promise<string[] | Buffer[]>;
2140
+ /**
2141
+ * Asynchronous readdir(3) - read a directory.
2142
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2143
+ * @param options If called with `withFileTypes: true` the result data will be an array of Dirent
2144
+ */
2145
+ function __promisify__(
2146
+ path: PathLike,
2147
+ options: ObjectEncodingOptions & {
2148
+ withFileTypes: true;
2149
+ recursive?: boolean | undefined;
2150
+ },
2151
+ ): Promise<Dirent[]>;
2152
+ }
2153
+ /**
2154
+ * Reads the contents of the directory.
2155
+ *
2156
+ * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details.
2157
+ *
2158
+ * The optional `options` argument can be a string specifying an encoding, or an
2159
+ * object with an `encoding` property specifying the character encoding to use for
2160
+ * the filenames returned. If the `encoding` is set to `'buffer'`,
2161
+ * the filenames returned will be passed as `Buffer` objects.
2162
+ *
2163
+ * If `options.withFileTypes` is set to `true`, the result will contain `fs.Dirent` objects.
2164
+ * @since v0.1.21
2165
+ */
2166
+ export function readdirSync(
2167
+ path: PathLike,
2168
+ options?:
2169
+ | {
2170
+ encoding: BufferEncoding | null;
2171
+ withFileTypes?: false | undefined;
2172
+ recursive?: boolean | undefined;
2173
+ }
2174
+ | BufferEncoding
2175
+ | null,
2176
+ ): string[];
2177
+ /**
2178
+ * Synchronous readdir(3) - read a directory.
2179
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2180
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2181
+ */
2182
+ export function readdirSync(
2183
+ path: PathLike,
2184
+ options:
2185
+ | {
2186
+ encoding: "buffer";
2187
+ withFileTypes?: false | undefined;
2188
+ recursive?: boolean | undefined;
2189
+ }
2190
+ | "buffer",
2191
+ ): Buffer[];
2192
+ /**
2193
+ * Synchronous readdir(3) - read a directory.
2194
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2195
+ * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2196
+ */
2197
+ export function readdirSync(
2198
+ path: PathLike,
2199
+ options?:
2200
+ | (ObjectEncodingOptions & {
2201
+ withFileTypes?: false | undefined;
2202
+ recursive?: boolean | undefined;
2203
+ })
2204
+ | BufferEncoding
2205
+ | null,
2206
+ ): string[] | Buffer[];
2207
+ /**
2208
+ * Synchronous readdir(3) - read a directory.
2209
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2210
+ * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
2211
+ */
2212
+ export function readdirSync(
2213
+ path: PathLike,
2214
+ options: ObjectEncodingOptions & {
2215
+ withFileTypes: true;
2216
+ recursive?: boolean | undefined;
2217
+ },
2218
+ ): Dirent[];
2219
+ /**
2220
+ * Closes the file descriptor. No arguments other than a possible exception are
2221
+ * given to the completion callback.
2222
+ *
2223
+ * Calling `fs.close()` on any file descriptor (`fd`) that is currently in use
2224
+ * through any other `fs` operation may lead to undefined behavior.
2225
+ *
2226
+ * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
2227
+ * @since v0.0.2
2228
+ */
2229
+ export function close(fd: number, callback?: NoParamCallback): void;
2230
+ export namespace close {
2231
+ /**
2232
+ * Asynchronous close(2) - close a file descriptor.
2233
+ * @param fd A file descriptor.
2234
+ */
2235
+ function __promisify__(fd: number): Promise<void>;
2236
+ }
2237
+ /**
2238
+ * Closes the file descriptor. Returns `undefined`.
2239
+ *
2240
+ * Calling `fs.closeSync()` on any file descriptor (`fd`) that is currently in use
2241
+ * through any other `fs` operation may lead to undefined behavior.
2242
+ *
2243
+ * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
2244
+ * @since v0.1.21
2245
+ */
2246
+ export function closeSync(fd: number): void;
2247
+ /**
2248
+ * Asynchronous file open. See the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more details.
2249
+ *
2250
+ * `mode` sets the file mode (permission and sticky bits), but only if the file was
2251
+ * created. On Windows, only the write permission can be manipulated; see {@link chmod}.
2252
+ *
2253
+ * The callback gets two arguments `(err, fd)`.
2254
+ *
2255
+ * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented
2256
+ * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains
2257
+ * 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).
2258
+ *
2259
+ * Functions based on `fs.open()` exhibit this behavior as well:`fs.writeFile()`, `fs.readFile()`, etc.
2260
+ * @since v0.0.2
2261
+ * @param [flags='r'] See `support of file system `flags``.
2262
+ * @param [mode=0o666]
2263
+ */
2264
+ export function open(
2265
+ path: PathLike,
2266
+ flags: OpenMode | undefined,
2267
+ mode: Mode | undefined | null,
2268
+ callback: (err: NodeJS.ErrnoException | null, fd: number) => void,
2269
+ ): void;
2270
+ /**
2271
+ * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
2272
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2273
+ * @param [flags='r'] See `support of file system `flags``.
2274
+ */
2275
+ export function open(
2276
+ path: PathLike,
2277
+ flags: OpenMode | undefined,
2278
+ callback: (err: NodeJS.ErrnoException | null, fd: number) => void,
2279
+ ): void;
2280
+ /**
2281
+ * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
2282
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2283
+ */
2284
+ export function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
2285
+ export namespace open {
2286
+ /**
2287
+ * Asynchronous open(2) - open and possibly create a file.
2288
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2289
+ * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`.
2290
+ */
2291
+ function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise<number>;
2292
+ }
2293
+ /**
2294
+ * Returns an integer representing the file descriptor.
2295
+ *
2296
+ * For detailed information, see the documentation of the asynchronous version of
2297
+ * this API: {@link open}.
2298
+ * @since v0.1.21
2299
+ * @param [flags='r']
2300
+ * @param [mode=0o666]
2301
+ */
2302
+ export function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number;
2303
+ /**
2304
+ * Change the file system timestamps of the object referenced by `path`.
2305
+ *
2306
+ * The `atime` and `mtime` arguments follow these rules:
2307
+ *
2308
+ * * Values can be either numbers representing Unix epoch time in seconds, `Date`s, or a numeric string like `'123456789.0'`.
2309
+ * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or `-Infinity`, an `Error` will be thrown.
2310
+ * @since v0.4.2
2311
+ */
2312
+ export function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
2313
+ export namespace utimes {
2314
+ /**
2315
+ * Asynchronously change file timestamps of the file referenced by the supplied path.
2316
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2317
+ * @param atime The last access time. If a string is provided, it will be coerced to number.
2318
+ * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2319
+ */
2320
+ function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise<void>;
2321
+ }
2322
+ /**
2323
+ * Returns `undefined`.
2324
+ *
2325
+ * For detailed information, see the documentation of the asynchronous version of
2326
+ * this API: {@link utimes}.
2327
+ * @since v0.4.2
2328
+ */
2329
+ export function utimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
2330
+ /**
2331
+ * Change the file system timestamps of the object referenced by the supplied file
2332
+ * descriptor. See {@link utimes}.
2333
+ * @since v0.4.2
2334
+ */
2335
+ export function futimes(fd: number, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
2336
+ export namespace futimes {
2337
+ /**
2338
+ * Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
2339
+ * @param fd A file descriptor.
2340
+ * @param atime The last access time. If a string is provided, it will be coerced to number.
2341
+ * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2342
+ */
2343
+ function __promisify__(fd: number, atime: TimeLike, mtime: TimeLike): Promise<void>;
2344
+ }
2345
+ /**
2346
+ * Synchronous version of {@link futimes}. Returns `undefined`.
2347
+ * @since v0.4.2
2348
+ */
2349
+ export function futimesSync(fd: number, atime: TimeLike, mtime: TimeLike): void;
2350
+ /**
2351
+ * Request that all data for the open file descriptor is flushed to the storage
2352
+ * device. The specific implementation is operating system and device specific.
2353
+ * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. No arguments other
2354
+ * than a possible exception are given to the completion callback.
2355
+ * @since v0.1.96
2356
+ */
2357
+ export function fsync(fd: number, callback: NoParamCallback): void;
2358
+ export namespace fsync {
2359
+ /**
2360
+ * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
2361
+ * @param fd A file descriptor.
2362
+ */
2363
+ function __promisify__(fd: number): Promise<void>;
2364
+ }
2365
+ /**
2366
+ * Request that all data for the open file descriptor is flushed to the storage
2367
+ * device. The specific implementation is operating system and device specific.
2368
+ * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. Returns `undefined`.
2369
+ * @since v0.1.96
2370
+ */
2371
+ export function fsyncSync(fd: number): void;
2372
+ /**
2373
+ * Write `buffer` to the file specified by `fd`.
2374
+ *
2375
+ * `offset` determines the part of the buffer to be written, and `length` is
2376
+ * an integer specifying the number of bytes to write.
2377
+ *
2378
+ * `position` refers to the offset from the beginning of the file where this data
2379
+ * should be written. If `typeof position !== 'number'`, the data will be written
2380
+ * at the current position. See [`pwrite(2)`](http://man7.org/linux/man-pages/man2/pwrite.2.html).
2381
+ *
2382
+ * The callback will be given three arguments `(err, bytesWritten, buffer)` where `bytesWritten` specifies how many _bytes_ were written from `buffer`.
2383
+ *
2384
+ * If this method is invoked as its `util.promisify()` ed version, it returns
2385
+ * a promise for an `Object` with `bytesWritten` and `buffer` properties.
2386
+ *
2387
+ * It is unsafe to use `fs.write()` multiple times on the same file without waiting
2388
+ * for the callback. For this scenario, {@link createWriteStream} is
2389
+ * recommended.
2390
+ *
2391
+ * On Linux, positional writes don't work when the file is opened in append mode.
2392
+ * The kernel ignores the position argument and always appends the data to
2393
+ * the end of the file.
2394
+ * @since v0.0.2
2395
+ * @param [offset=0]
2396
+ * @param [length=buffer.byteLength - offset]
2397
+ * @param [position='null']
2398
+ */
2399
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(
2400
+ fd: number,
2401
+ buffer: TBuffer,
2402
+ offset: number | undefined | null,
2403
+ length: number | undefined | null,
2404
+ position: number | undefined | null,
2405
+ callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2406
+ ): void;
2407
+ /**
2408
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2409
+ * @param fd A file descriptor.
2410
+ * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2411
+ * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2412
+ */
2413
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(
2414
+ fd: number,
2415
+ buffer: TBuffer,
2416
+ offset: number | undefined | null,
2417
+ length: number | undefined | null,
2418
+ callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2419
+ ): void;
2420
+ /**
2421
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2422
+ * @param fd A file descriptor.
2423
+ * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2424
+ */
2425
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(
2426
+ fd: number,
2427
+ buffer: TBuffer,
2428
+ offset: number | undefined | null,
2429
+ callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2430
+ ): void;
2431
+ /**
2432
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2433
+ * @param fd A file descriptor.
2434
+ */
2435
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(
2436
+ fd: number,
2437
+ buffer: TBuffer,
2438
+ callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2439
+ ): void;
2440
+ /**
2441
+ * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2442
+ * @param fd A file descriptor.
2443
+ * @param string A string to write.
2444
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2445
+ * @param encoding The expected string encoding.
2446
+ */
2447
+ export function write(
2448
+ fd: number,
2449
+ string: string,
2450
+ position: number | undefined | null,
2451
+ encoding: BufferEncoding | undefined | null,
2452
+ callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void,
2453
+ ): void;
2454
+ /**
2455
+ * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2456
+ * @param fd A file descriptor.
2457
+ * @param string A string to write.
2458
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2459
+ */
2460
+ export function write(
2461
+ fd: number,
2462
+ string: string,
2463
+ position: number | undefined | null,
2464
+ callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void,
2465
+ ): void;
2466
+ /**
2467
+ * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2468
+ * @param fd A file descriptor.
2469
+ * @param string A string to write.
2470
+ */
2471
+ export function write(
2472
+ fd: number,
2473
+ string: string,
2474
+ callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void,
2475
+ ): void;
2476
+ export namespace write {
2477
+ /**
2478
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2479
+ * @param fd A file descriptor.
2480
+ * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2481
+ * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2482
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2483
+ */
2484
+ function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2485
+ fd: number,
2486
+ buffer?: TBuffer,
2487
+ offset?: number,
2488
+ length?: number,
2489
+ position?: number | null,
2490
+ ): Promise<{
2491
+ bytesWritten: number;
2492
+ buffer: TBuffer;
2493
+ }>;
2494
+ /**
2495
+ * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2496
+ * @param fd A file descriptor.
2497
+ * @param string A string to write.
2498
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2499
+ * @param encoding The expected string encoding.
2500
+ */
2501
+ function __promisify__(
2502
+ fd: number,
2503
+ string: string,
2504
+ position?: number | null,
2505
+ encoding?: BufferEncoding | null,
2506
+ ): Promise<{
2507
+ bytesWritten: number;
2508
+ buffer: string;
2509
+ }>;
2510
+ }
2511
+ /**
2512
+ * For detailed information, see the documentation of the asynchronous version of
2513
+ * this API: {@link write}.
2514
+ * @since v0.1.21
2515
+ * @param [offset=0]
2516
+ * @param [length=buffer.byteLength - offset]
2517
+ * @param [position='null']
2518
+ * @return The number of bytes written.
2519
+ */
2520
+ export function writeSync(
2521
+ fd: number,
2522
+ buffer: NodeJS.ArrayBufferView,
2523
+ offset?: number | null,
2524
+ length?: number | null,
2525
+ position?: number | null,
2526
+ ): number;
2527
+ /**
2528
+ * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written.
2529
+ * @param fd A file descriptor.
2530
+ * @param string A string to write.
2531
+ * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2532
+ * @param encoding The expected string encoding.
2533
+ */
2534
+ export function writeSync(
2535
+ fd: number,
2536
+ string: string,
2537
+ position?: number | null,
2538
+ encoding?: BufferEncoding | null,
2539
+ ): number;
2540
+ export type ReadPosition = number | bigint;
2541
+ export interface ReadSyncOptions {
2542
+ /**
2543
+ * @default 0
2544
+ */
2545
+ offset?: number | undefined;
2546
+ /**
2547
+ * @default `length of buffer`
2548
+ */
2549
+ length?: number | undefined;
2550
+ /**
2551
+ * @default null
2552
+ */
2553
+ position?: ReadPosition | null | undefined;
2554
+ }
2555
+ export interface ReadAsyncOptions<TBuffer extends NodeJS.ArrayBufferView> extends ReadSyncOptions {
2556
+ buffer?: TBuffer;
2557
+ }
2558
+ /**
2559
+ * Read data from the file specified by `fd`.
2560
+ *
2561
+ * The callback is given the three arguments, `(err, bytesRead, buffer)`.
2562
+ *
2563
+ * If the file is not modified concurrently, the end-of-file is reached when the
2564
+ * number of bytes read is zero.
2565
+ *
2566
+ * If this method is invoked as its `util.promisify()` ed version, it returns
2567
+ * a promise for an `Object` with `bytesRead` and `buffer` properties.
2568
+ * @since v0.0.2
2569
+ * @param buffer The buffer that the data will be written to.
2570
+ * @param offset The position in `buffer` to write the data to.
2571
+ * @param length The number of bytes to read.
2572
+ * @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
2573
+ * `position` is an integer, the file position will be unchanged.
2574
+ */
2575
+ export function read<TBuffer extends NodeJS.ArrayBufferView>(
2576
+ fd: number,
2577
+ buffer: TBuffer,
2578
+ offset: number,
2579
+ length: number,
2580
+ position: ReadPosition | null,
2581
+ callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
2582
+ ): void;
2583
+ /**
2584
+ * Similar to the above `fs.read` function, this version takes an optional `options` object.
2585
+ * If not otherwise specified in an `options` object,
2586
+ * `buffer` defaults to `Buffer.alloc(16384)`,
2587
+ * `offset` defaults to `0`,
2588
+ * `length` defaults to `buffer.byteLength`, `- offset` as of Node 17.6.0
2589
+ * `position` defaults to `null`
2590
+ * @since v12.17.0, 13.11.0
2591
+ */
2592
+ export function read<TBuffer extends NodeJS.ArrayBufferView>(
2593
+ fd: number,
2594
+ options: ReadAsyncOptions<TBuffer>,
2595
+ callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
2596
+ ): void;
2597
+ export function read(
2598
+ fd: number,
2599
+ callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NodeJS.ArrayBufferView) => void,
2600
+ ): void;
2601
+ export namespace read {
2602
+ /**
2603
+ * @param fd A file descriptor.
2604
+ * @param buffer The buffer that the data will be written to.
2605
+ * @param offset The offset in the buffer at which to start writing.
2606
+ * @param length The number of bytes to read.
2607
+ * @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.
2608
+ */
2609
+ function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2610
+ fd: number,
2611
+ buffer: TBuffer,
2612
+ offset: number,
2613
+ length: number,
2614
+ position: number | null,
2615
+ ): Promise<{
2616
+ bytesRead: number;
2617
+ buffer: TBuffer;
2618
+ }>;
2619
+ function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2620
+ fd: number,
2621
+ options: ReadAsyncOptions<TBuffer>,
2622
+ ): Promise<{
2623
+ bytesRead: number;
2624
+ buffer: TBuffer;
2625
+ }>;
2626
+ function __promisify__(fd: number): Promise<{
2627
+ bytesRead: number;
2628
+ buffer: NodeJS.ArrayBufferView;
2629
+ }>;
2630
+ }
2631
+ /**
2632
+ * Returns the number of `bytesRead`.
2633
+ *
2634
+ * For detailed information, see the documentation of the asynchronous version of
2635
+ * this API: {@link read}.
2636
+ * @since v0.1.21
2637
+ * @param [position='null']
2638
+ */
2639
+ export function readSync(
2640
+ fd: number,
2641
+ buffer: NodeJS.ArrayBufferView,
2642
+ offset: number,
2643
+ length: number,
2644
+ position: ReadPosition | null,
2645
+ ): number;
2646
+ /**
2647
+ * Similar to the above `fs.readSync` function, this version takes an optional `options` object.
2648
+ * If no `options` object is specified, it will default with the above values.
2649
+ */
2650
+ export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadSyncOptions): number;
2651
+ /**
2652
+ * Asynchronously reads the entire contents of a file.
2653
+ *
2654
+ * ```js
2655
+ * import { readFile } from 'node:fs';
2656
+ *
2657
+ * readFile('/etc/passwd', (err, data) => {
2658
+ * if (err) throw err;
2659
+ * console.log(data);
2660
+ * });
2661
+ * ```
2662
+ *
2663
+ * The callback is passed two arguments `(err, data)`, where `data` is the
2664
+ * contents of the file.
2665
+ *
2666
+ * If no encoding is specified, then the raw buffer is returned.
2667
+ *
2668
+ * If `options` is a string, then it specifies the encoding:
2669
+ *
2670
+ * ```js
2671
+ * import { readFile } from 'node:fs';
2672
+ *
2673
+ * readFile('/etc/passwd', 'utf8', callback);
2674
+ * ```
2675
+ *
2676
+ * When the path is a directory, the behavior of `fs.readFile()` and {@link readFileSync} is platform-specific. On macOS, Linux, and Windows, an
2677
+ * error will be returned. On FreeBSD, a representation of the directory's contents
2678
+ * will be returned.
2679
+ *
2680
+ * ```js
2681
+ * import { readFile } from 'node:fs';
2682
+ *
2683
+ * // macOS, Linux, and Windows
2684
+ * readFile('<directory>', (err, data) => {
2685
+ * // => [Error: EISDIR: illegal operation on a directory, read <directory>]
2686
+ * });
2687
+ *
2688
+ * // FreeBSD
2689
+ * readFile('<directory>', (err, data) => {
2690
+ * // => null, <data>
2691
+ * });
2692
+ * ```
2693
+ *
2694
+ * It is possible to abort an ongoing request using an `AbortSignal`. If a
2695
+ * request is aborted the callback is called with an `AbortError`:
2696
+ *
2697
+ * ```js
2698
+ * import { readFile } from 'node:fs';
2699
+ *
2700
+ * const controller = new AbortController();
2701
+ * const signal = controller.signal;
2702
+ * readFile(fileInfo[0].name, { signal }, (err, buf) => {
2703
+ * // ...
2704
+ * });
2705
+ * // When you want to abort the request
2706
+ * controller.abort();
2707
+ * ```
2708
+ *
2709
+ * The `fs.readFile()` function buffers the entire file. To minimize memory costs,
2710
+ * when possible prefer streaming via `fs.createReadStream()`.
2711
+ *
2712
+ * Aborting an ongoing request does not abort individual operating
2713
+ * system requests but rather the internal buffering `fs.readFile` performs.
2714
+ * @since v0.1.29
2715
+ * @param path filename or file descriptor
2716
+ */
2717
+ export function readFile(
2718
+ path: PathOrFileDescriptor,
2719
+ options:
2720
+ | ({
2721
+ encoding?: null | undefined;
2722
+ flag?: string | undefined;
2723
+ } & Abortable)
2724
+ | undefined
2725
+ | null,
2726
+ callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void,
2727
+ ): void;
2728
+ /**
2729
+ * Asynchronously reads the entire contents of a file.
2730
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2731
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2732
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2733
+ * If a flag is not provided, it defaults to `'r'`.
2734
+ */
2735
+ export function readFile(
2736
+ path: PathOrFileDescriptor,
2737
+ options:
2738
+ | ({
2739
+ encoding: BufferEncoding;
2740
+ flag?: string | undefined;
2741
+ } & Abortable)
2742
+ | BufferEncoding,
2743
+ callback: (err: NodeJS.ErrnoException | null, data: string) => void,
2744
+ ): void;
2745
+ /**
2746
+ * Asynchronously reads the entire contents of a file.
2747
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2748
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2749
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2750
+ * If a flag is not provided, it defaults to `'r'`.
2751
+ */
2752
+ export function readFile(
2753
+ path: PathOrFileDescriptor,
2754
+ options:
2755
+ | (ObjectEncodingOptions & {
2756
+ flag?: string | undefined;
2757
+ } & Abortable)
2758
+ | BufferEncoding
2759
+ | undefined
2760
+ | null,
2761
+ callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void,
2762
+ ): void;
2763
+ /**
2764
+ * Asynchronously reads the entire contents of a file.
2765
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2766
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2767
+ */
2768
+ export function readFile(
2769
+ path: PathOrFileDescriptor,
2770
+ callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void,
2771
+ ): void;
2772
+ export namespace readFile {
2773
+ /**
2774
+ * Asynchronously reads the entire contents of a file.
2775
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2776
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2777
+ * @param options An object that may contain an optional flag.
2778
+ * If a flag is not provided, it defaults to `'r'`.
2779
+ */
2780
+ function __promisify__(
2781
+ path: PathOrFileDescriptor,
2782
+ options?: {
2783
+ encoding?: null | undefined;
2784
+ flag?: string | undefined;
2785
+ } | null,
2786
+ ): Promise<Buffer>;
2787
+ /**
2788
+ * Asynchronously reads the entire contents of a file.
2789
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2790
+ * URL support is _experimental_.
2791
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2792
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2793
+ * If a flag is not provided, it defaults to `'r'`.
2794
+ */
2795
+ function __promisify__(
2796
+ path: PathOrFileDescriptor,
2797
+ options:
2798
+ | {
2799
+ encoding: BufferEncoding;
2800
+ flag?: string | undefined;
2801
+ }
2802
+ | BufferEncoding,
2803
+ ): Promise<string>;
2804
+ /**
2805
+ * Asynchronously reads the entire contents of a file.
2806
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2807
+ * URL support is _experimental_.
2808
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2809
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2810
+ * If a flag is not provided, it defaults to `'r'`.
2811
+ */
2812
+ function __promisify__(
2813
+ path: PathOrFileDescriptor,
2814
+ options?:
2815
+ | (ObjectEncodingOptions & {
2816
+ flag?: string | undefined;
2817
+ })
2818
+ | BufferEncoding
2819
+ | null,
2820
+ ): Promise<string | Buffer>;
2821
+ }
2822
+ /**
2823
+ * Returns the contents of the `path`.
2824
+ *
2825
+ * For detailed information, see the documentation of the asynchronous version of
2826
+ * this API: {@link readFile}.
2827
+ *
2828
+ * If the `encoding` option is specified then this function returns a
2829
+ * string. Otherwise it returns a buffer.
2830
+ *
2831
+ * Similar to {@link readFile}, when the path is a directory, the behavior of `fs.readFileSync()` is platform-specific.
2832
+ *
2833
+ * ```js
2834
+ * import { readFileSync } from 'node:fs';
2835
+ *
2836
+ * // macOS, Linux, and Windows
2837
+ * readFileSync('<directory>');
2838
+ * // => [Error: EISDIR: illegal operation on a directory, read <directory>]
2839
+ *
2840
+ * // FreeBSD
2841
+ * readFileSync('<directory>'); // => <data>
2842
+ * ```
2843
+ * @since v0.1.8
2844
+ * @param path filename or file descriptor
2845
+ */
2846
+ export function readFileSync(
2847
+ path: PathOrFileDescriptor,
2848
+ options?: {
2849
+ encoding?: null | undefined;
2850
+ flag?: string | undefined;
2851
+ } | null,
2852
+ ): Buffer;
2853
+ /**
2854
+ * Synchronously reads the entire contents of a file.
2855
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2856
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2857
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2858
+ * If a flag is not provided, it defaults to `'r'`.
2859
+ */
2860
+ export function readFileSync(
2861
+ path: PathOrFileDescriptor,
2862
+ options:
2863
+ | {
2864
+ encoding: BufferEncoding;
2865
+ flag?: string | undefined;
2866
+ }
2867
+ | BufferEncoding,
2868
+ ): string;
2869
+ /**
2870
+ * Synchronously reads the entire contents of a file.
2871
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2872
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2873
+ * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
2874
+ * If a flag is not provided, it defaults to `'r'`.
2875
+ */
2876
+ export function readFileSync(
2877
+ path: PathOrFileDescriptor,
2878
+ options?:
2879
+ | (ObjectEncodingOptions & {
2880
+ flag?: string | undefined;
2881
+ })
2882
+ | BufferEncoding
2883
+ | null,
2884
+ ): string | Buffer;
2885
+ export type WriteFileOptions =
2886
+ | (
2887
+ & ObjectEncodingOptions
2888
+ & Abortable
2889
+ & {
2890
+ mode?: Mode | undefined;
2891
+ flag?: string | undefined;
2892
+ flush?: boolean | undefined;
2893
+ }
2894
+ )
2895
+ | BufferEncoding
2896
+ | null;
2897
+ /**
2898
+ * When `file` is a filename, asynchronously writes data to the file, replacing the
2899
+ * file if it already exists. `data` can be a string or a buffer.
2900
+ *
2901
+ * When `file` is a file descriptor, the behavior is similar to calling `fs.write()` directly (which is recommended). See the notes below on using
2902
+ * a file descriptor.
2903
+ *
2904
+ * The `encoding` option is ignored if `data` is a buffer.
2905
+ *
2906
+ * The `mode` option only affects the newly created file. See {@link open} for more details.
2907
+ *
2908
+ * ```js
2909
+ * import { writeFile } from 'node:fs';
2910
+ * import { Buffer } from 'node:buffer';
2911
+ *
2912
+ * const data = new Uint8Array(Buffer.from('Hello Node.js'));
2913
+ * writeFile('message.txt', data, (err) => {
2914
+ * if (err) throw err;
2915
+ * console.log('The file has been saved!');
2916
+ * });
2917
+ * ```
2918
+ *
2919
+ * If `options` is a string, then it specifies the encoding:
2920
+ *
2921
+ * ```js
2922
+ * import { writeFile } from 'node:fs';
2923
+ *
2924
+ * writeFile('message.txt', 'Hello Node.js', 'utf8', callback);
2925
+ * ```
2926
+ *
2927
+ * It is unsafe to use `fs.writeFile()` multiple times on the same file without
2928
+ * waiting for the callback. For this scenario, {@link createWriteStream} is
2929
+ * recommended.
2930
+ *
2931
+ * Similarly to `fs.readFile` \- `fs.writeFile` is a convenience method that
2932
+ * performs multiple `write` calls internally to write the buffer passed to it.
2933
+ * For performance sensitive code consider using {@link createWriteStream}.
2934
+ *
2935
+ * It is possible to use an `AbortSignal` to cancel an `fs.writeFile()`.
2936
+ * Cancelation is "best effort", and some amount of data is likely still
2937
+ * to be written.
2938
+ *
2939
+ * ```js
2940
+ * import { writeFile } from 'node:fs';
2941
+ * import { Buffer } from 'node:buffer';
2942
+ *
2943
+ * const controller = new AbortController();
2944
+ * const { signal } = controller;
2945
+ * const data = new Uint8Array(Buffer.from('Hello Node.js'));
2946
+ * writeFile('message.txt', data, { signal }, (err) => {
2947
+ * // When a request is aborted - the callback is called with an AbortError
2948
+ * });
2949
+ * // When the request should be aborted
2950
+ * controller.abort();
2951
+ * ```
2952
+ *
2953
+ * Aborting an ongoing request does not abort individual operating
2954
+ * system requests but rather the internal buffering `fs.writeFile` performs.
2955
+ * @since v0.1.29
2956
+ * @param file filename or file descriptor
2957
+ */
2958
+ export function writeFile(
2959
+ file: PathOrFileDescriptor,
2960
+ data: string | NodeJS.ArrayBufferView,
2961
+ options: WriteFileOptions,
2962
+ callback: NoParamCallback,
2963
+ ): void;
2964
+ /**
2965
+ * Asynchronously writes data to a file, replacing the file if it already exists.
2966
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2967
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2968
+ * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
2969
+ */
2970
+ export function writeFile(
2971
+ path: PathOrFileDescriptor,
2972
+ data: string | NodeJS.ArrayBufferView,
2973
+ callback: NoParamCallback,
2974
+ ): void;
2975
+ export namespace writeFile {
2976
+ /**
2977
+ * Asynchronously writes data to a file, replacing the file if it already exists.
2978
+ * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2979
+ * URL support is _experimental_.
2980
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
2981
+ * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
2982
+ * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
2983
+ * If `encoding` is not supplied, the default of `'utf8'` is used.
2984
+ * If `mode` is not supplied, the default of `0o666` is used.
2985
+ * If `mode` is a string, it is parsed as an octal integer.
2986
+ * If `flag` is not supplied, the default of `'w'` is used.
2987
+ */
2988
+ function __promisify__(
2989
+ path: PathOrFileDescriptor,
2990
+ data: string | NodeJS.ArrayBufferView,
2991
+ options?: WriteFileOptions,
2992
+ ): Promise<void>;
2993
+ }
2994
+ /**
2995
+ * Returns `undefined`.
2996
+ *
2997
+ * The `mode` option only affects the newly created file. See {@link open} for more details.
2998
+ *
2999
+ * For detailed information, see the documentation of the asynchronous version of
3000
+ * this API: {@link writeFile}.
3001
+ * @since v0.1.29
3002
+ * @param file filename or file descriptor
3003
+ */
3004
+ export function writeFileSync(
3005
+ file: PathOrFileDescriptor,
3006
+ data: string | NodeJS.ArrayBufferView,
3007
+ options?: WriteFileOptions,
3008
+ ): void;
3009
+ /**
3010
+ * Asynchronously append data to a file, creating the file if it does not yet
3011
+ * exist. `data` can be a string or a `Buffer`.
3012
+ *
3013
+ * The `mode` option only affects the newly created file. See {@link open} for more details.
3014
+ *
3015
+ * ```js
3016
+ * import { appendFile } from 'node:fs';
3017
+ *
3018
+ * appendFile('message.txt', 'data to append', (err) => {
3019
+ * if (err) throw err;
3020
+ * console.log('The "data to append" was appended to file!');
3021
+ * });
3022
+ * ```
3023
+ *
3024
+ * If `options` is a string, then it specifies the encoding:
3025
+ *
3026
+ * ```js
3027
+ * import { appendFile } from 'node:fs';
3028
+ *
3029
+ * appendFile('message.txt', 'data to append', 'utf8', callback);
3030
+ * ```
3031
+ *
3032
+ * The `path` may be specified as a numeric file descriptor that has been opened
3033
+ * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will
3034
+ * not be closed automatically.
3035
+ *
3036
+ * ```js
3037
+ * import { open, close, appendFile } from 'node:fs';
3038
+ *
3039
+ * function closeFd(fd) {
3040
+ * close(fd, (err) => {
3041
+ * if (err) throw err;
3042
+ * });
3043
+ * }
3044
+ *
3045
+ * open('message.txt', 'a', (err, fd) => {
3046
+ * if (err) throw err;
3047
+ *
3048
+ * try {
3049
+ * appendFile(fd, 'data to append', 'utf8', (err) => {
3050
+ * closeFd(fd);
3051
+ * if (err) throw err;
3052
+ * });
3053
+ * } catch (err) {
3054
+ * closeFd(fd);
3055
+ * throw err;
3056
+ * }
3057
+ * });
3058
+ * ```
3059
+ * @since v0.6.7
3060
+ * @param path filename or file descriptor
3061
+ */
3062
+ export function appendFile(
3063
+ path: PathOrFileDescriptor,
3064
+ data: string | Uint8Array,
3065
+ options: WriteFileOptions,
3066
+ callback: NoParamCallback,
3067
+ ): void;
3068
+ /**
3069
+ * Asynchronously append data to a file, creating the file if it does not exist.
3070
+ * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
3071
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3072
+ * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
3073
+ */
3074
+ export function appendFile(file: PathOrFileDescriptor, data: string | Uint8Array, callback: NoParamCallback): void;
3075
+ export namespace appendFile {
3076
+ /**
3077
+ * Asynchronously append data to a file, creating the file if it does not exist.
3078
+ * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
3079
+ * URL support is _experimental_.
3080
+ * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3081
+ * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
3082
+ * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
3083
+ * If `encoding` is not supplied, the default of `'utf8'` is used.
3084
+ * If `mode` is not supplied, the default of `0o666` is used.
3085
+ * If `mode` is a string, it is parsed as an octal integer.
3086
+ * If `flag` is not supplied, the default of `'a'` is used.
3087
+ */
3088
+ function __promisify__(
3089
+ file: PathOrFileDescriptor,
3090
+ data: string | Uint8Array,
3091
+ options?: WriteFileOptions,
3092
+ ): Promise<void>;
3093
+ }
3094
+ /**
3095
+ * Synchronously append data to a file, creating the file if it does not yet
3096
+ * exist. `data` can be a string or a `Buffer`.
3097
+ *
3098
+ * The `mode` option only affects the newly created file. See {@link open} for more details.
3099
+ *
3100
+ * ```js
3101
+ * import { appendFileSync } from 'node:fs';
3102
+ *
3103
+ * try {
3104
+ * appendFileSync('message.txt', 'data to append');
3105
+ * console.log('The "data to append" was appended to file!');
3106
+ * } catch (err) {
3107
+ * // Handle the error
3108
+ * }
3109
+ * ```
3110
+ *
3111
+ * If `options` is a string, then it specifies the encoding:
3112
+ *
3113
+ * ```js
3114
+ * import { appendFileSync } from 'node:fs';
3115
+ *
3116
+ * appendFileSync('message.txt', 'data to append', 'utf8');
3117
+ * ```
3118
+ *
3119
+ * The `path` may be specified as a numeric file descriptor that has been opened
3120
+ * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will
3121
+ * not be closed automatically.
3122
+ *
3123
+ * ```js
3124
+ * import { openSync, closeSync, appendFileSync } from 'node:fs';
3125
+ *
3126
+ * let fd;
3127
+ *
3128
+ * try {
3129
+ * fd = openSync('message.txt', 'a');
3130
+ * appendFileSync(fd, 'data to append', 'utf8');
3131
+ * } catch (err) {
3132
+ * // Handle the error
3133
+ * } finally {
3134
+ * if (fd !== undefined)
3135
+ * closeSync(fd);
3136
+ * }
3137
+ * ```
3138
+ * @since v0.6.7
3139
+ * @param path filename or file descriptor
3140
+ */
3141
+ export function appendFileSync(
3142
+ path: PathOrFileDescriptor,
3143
+ data: string | Uint8Array,
3144
+ options?: WriteFileOptions,
3145
+ ): void;
3146
+ /**
3147
+ * Watch for changes on `filename`. The callback `listener` will be called each
3148
+ * time the file is accessed.
3149
+ *
3150
+ * The `options` argument may be omitted. If provided, it should be an object. The `options` object may contain a boolean named `persistent` that indicates
3151
+ * whether the process should continue to run as long as files are being watched.
3152
+ * The `options` object may specify an `interval` property indicating how often the
3153
+ * target should be polled in milliseconds.
3154
+ *
3155
+ * The `listener` gets two arguments the current stat object and the previous
3156
+ * stat object:
3157
+ *
3158
+ * ```js
3159
+ * import { watchFile } from 'fs';
3160
+ *
3161
+ * watchFile('message.text', (curr, prev) => {
3162
+ * console.log(`the current mtime is: ${curr.mtime}`);
3163
+ * console.log(`the previous mtime was: ${prev.mtime}`);
3164
+ * });
3165
+ * ```
3166
+ *
3167
+ * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`,
3168
+ * the numeric values in these objects are specified as `BigInt`s.
3169
+ *
3170
+ * To be notified when the file was modified, not just accessed, it is necessary
3171
+ * to compare `curr.mtimeMs` and `prev.mtimeMs`.
3172
+ *
3173
+ * When an `fs.watchFile` operation results in an `ENOENT` error, it
3174
+ * will invoke the listener once, with all the fields zeroed (or, for dates, the
3175
+ * Unix Epoch). If the file is created later on, the listener will be called
3176
+ * again, with the latest stat objects. This is a change in functionality since
3177
+ * v0.10.
3178
+ *
3179
+ * 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.
3180
+ *
3181
+ * When a file being watched by `fs.watchFile()` disappears and reappears,
3182
+ * then the contents of `previous` in the second callback event (the file's
3183
+ * reappearance) will be the same as the contents of `previous` in the first
3184
+ * callback event (its disappearance).
3185
+ *
3186
+ * This happens when:
3187
+ *
3188
+ * * the file is deleted, followed by a restore
3189
+ * * the file is renamed and then renamed a second time back to its original name
3190
+ * @since v0.1.31
3191
+ */
3192
+ export interface WatchFileOptions {
3193
+ bigint?: boolean | undefined;
3194
+ persistent?: boolean | undefined;
3195
+ interval?: number | undefined;
3196
+ }
3197
+ /**
3198
+ * Watch for changes on `filename`. The callback `listener` will be called each
3199
+ * time the file is accessed.
3200
+ *
3201
+ * The `options` argument may be omitted. If provided, it should be an object. The `options` object may contain a boolean named `persistent` that indicates
3202
+ * whether the process should continue to run as long as files are being watched.
3203
+ * The `options` object may specify an `interval` property indicating how often the
3204
+ * target should be polled in milliseconds.
3205
+ *
3206
+ * The `listener` gets two arguments the current stat object and the previous
3207
+ * stat object:
3208
+ *
3209
+ * ```js
3210
+ * import { watchFile } from 'node:fs';
3211
+ *
3212
+ * watchFile('message.text', (curr, prev) => {
3213
+ * console.log(`the current mtime is: ${curr.mtime}`);
3214
+ * console.log(`the previous mtime was: ${prev.mtime}`);
3215
+ * });
3216
+ * ```
3217
+ *
3218
+ * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`,
3219
+ * the numeric values in these objects are specified as `BigInt`s.
3220
+ *
3221
+ * To be notified when the file was modified, not just accessed, it is necessary
3222
+ * to compare `curr.mtimeMs` and `prev.mtimeMs`.
3223
+ *
3224
+ * When an `fs.watchFile` operation results in an `ENOENT` error, it
3225
+ * will invoke the listener once, with all the fields zeroed (or, for dates, the
3226
+ * Unix Epoch). If the file is created later on, the listener will be called
3227
+ * again, with the latest stat objects. This is a change in functionality since
3228
+ * v0.10.
3229
+ *
3230
+ * 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.
3231
+ *
3232
+ * When a file being watched by `fs.watchFile()` disappears and reappears,
3233
+ * then the contents of `previous` in the second callback event (the file's
3234
+ * reappearance) will be the same as the contents of `previous` in the first
3235
+ * callback event (its disappearance).
3236
+ *
3237
+ * This happens when:
3238
+ *
3239
+ * * the file is deleted, followed by a restore
3240
+ * * the file is renamed and then renamed a second time back to its original name
3241
+ * @since v0.1.31
3242
+ */
3243
+ export function watchFile(
3244
+ filename: PathLike,
3245
+ options:
3246
+ | (WatchFileOptions & {
3247
+ bigint?: false | undefined;
3248
+ })
3249
+ | undefined,
3250
+ listener: StatsListener,
3251
+ ): StatWatcher;
3252
+ export function watchFile(
3253
+ filename: PathLike,
3254
+ options:
3255
+ | (WatchFileOptions & {
3256
+ bigint: true;
3257
+ })
3258
+ | undefined,
3259
+ listener: BigIntStatsListener,
3260
+ ): StatWatcher;
3261
+ /**
3262
+ * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
3263
+ * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3264
+ */
3265
+ export function watchFile(filename: PathLike, listener: StatsListener): StatWatcher;
3266
+ /**
3267
+ * Stop watching for changes on `filename`. If `listener` is specified, only that
3268
+ * particular listener is removed. Otherwise, _all_ listeners are removed,
3269
+ * effectively stopping watching of `filename`.
3270
+ *
3271
+ * Calling `fs.unwatchFile()` with a filename that is not being watched is a
3272
+ * no-op, not an error.
3273
+ *
3274
+ * 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.
3275
+ * @since v0.1.31
3276
+ * @param listener Optional, a listener previously attached using `fs.watchFile()`
3277
+ */
3278
+ export function unwatchFile(filename: PathLike, listener?: StatsListener): void;
3279
+ export function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void;
3280
+ export interface WatchOptions extends Abortable {
3281
+ encoding?: BufferEncoding | "buffer" | undefined;
3282
+ persistent?: boolean | undefined;
3283
+ recursive?: boolean | undefined;
3284
+ }
3285
+ export type WatchEventType = "rename" | "change";
3286
+ export type WatchListener<T> = (event: WatchEventType, filename: T | null) => void;
3287
+ export type StatsListener = (curr: Stats, prev: Stats) => void;
3288
+ export type BigIntStatsListener = (curr: BigIntStats, prev: BigIntStats) => void;
3289
+ /**
3290
+ * Watch for changes on `filename`, where `filename` is either a file or a
3291
+ * directory.
3292
+ *
3293
+ * The second argument is optional. If `options` is provided as a string, it
3294
+ * specifies the `encoding`. Otherwise `options` should be passed as an object.
3295
+ *
3296
+ * The listener callback gets two arguments `(eventType, filename)`. `eventType`is either `'rename'` or `'change'`, and `filename` is the name of the file
3297
+ * which triggered the event.
3298
+ *
3299
+ * On most platforms, `'rename'` is emitted whenever a filename appears or
3300
+ * disappears in the directory.
3301
+ *
3302
+ * 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`.
3303
+ *
3304
+ * If a `signal` is passed, aborting the corresponding AbortController will close
3305
+ * the returned `fs.FSWatcher`.
3306
+ * @since v0.5.10
3307
+ * @param listener
3308
+ */
3309
+ export function watch(
3310
+ filename: PathLike,
3311
+ options:
3312
+ | (WatchOptions & {
3313
+ encoding: "buffer";
3314
+ })
3315
+ | "buffer",
3316
+ listener?: WatchListener<Buffer>,
3317
+ ): FSWatcher;
3318
+ /**
3319
+ * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
3320
+ * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3321
+ * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
3322
+ * If `encoding` is not supplied, the default of `'utf8'` is used.
3323
+ * If `persistent` is not supplied, the default of `true` is used.
3324
+ * If `recursive` is not supplied, the default of `false` is used.
3325
+ */
3326
+ export function watch(
3327
+ filename: PathLike,
3328
+ options?: WatchOptions | BufferEncoding | null,
3329
+ listener?: WatchListener<string>,
3330
+ ): FSWatcher;
3331
+ /**
3332
+ * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
3333
+ * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3334
+ * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
3335
+ * If `encoding` is not supplied, the default of `'utf8'` is used.
3336
+ * If `persistent` is not supplied, the default of `true` is used.
3337
+ * If `recursive` is not supplied, the default of `false` is used.
3338
+ */
3339
+ export function watch(
3340
+ filename: PathLike,
3341
+ options: WatchOptions | string,
3342
+ listener?: WatchListener<string | Buffer>,
3343
+ ): FSWatcher;
3344
+ /**
3345
+ * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
3346
+ * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3347
+ */
3348
+ export function watch(filename: PathLike, listener?: WatchListener<string>): FSWatcher;
3349
+ /**
3350
+ * Test whether or not the given path exists by checking with the file system.
3351
+ * Then call the `callback` argument with either true or false:
3352
+ *
3353
+ * ```js
3354
+ * import { exists } from 'node:fs';
3355
+ *
3356
+ * exists('/etc/passwd', (e) => {
3357
+ * console.log(e ? 'it exists' : 'no passwd!');
3358
+ * });
3359
+ * ```
3360
+ *
3361
+ * **The parameters for this callback are not consistent with other Node.js**
3362
+ * **callbacks.** Normally, the first parameter to a Node.js callback is an `err` parameter, optionally followed by other parameters. The `fs.exists()` callback
3363
+ * has only one boolean parameter. This is one reason `fs.access()` is recommended
3364
+ * instead of `fs.exists()`.
3365
+ *
3366
+ * Using `fs.exists()` to check for the existence of a file before calling `fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. Doing
3367
+ * so introduces a race condition, since other processes may change the file's
3368
+ * state between the two calls. Instead, user code should open/read/write the
3369
+ * file directly and handle the error raised if the file does not exist.
3370
+ *
3371
+ * **write (NOT RECOMMENDED)**
3372
+ *
3373
+ * ```js
3374
+ * import { exists, open, close } from 'node:fs';
3375
+ *
3376
+ * exists('myfile', (e) => {
3377
+ * if (e) {
3378
+ * console.error('myfile already exists');
3379
+ * } else {
3380
+ * open('myfile', 'wx', (err, fd) => {
3381
+ * if (err) throw err;
3382
+ *
3383
+ * try {
3384
+ * writeMyData(fd);
3385
+ * } finally {
3386
+ * close(fd, (err) => {
3387
+ * if (err) throw err;
3388
+ * });
3389
+ * }
3390
+ * });
3391
+ * }
3392
+ * });
3393
+ * ```
3394
+ *
3395
+ * **write (RECOMMENDED)**
3396
+ *
3397
+ * ```js
3398
+ * import { open, close } from 'node:fs';
3399
+ * open('myfile', 'wx', (err, fd) => {
3400
+ * if (err) {
3401
+ * if (err.code === 'EEXIST') {
3402
+ * console.error('myfile already exists');
3403
+ * return;
3404
+ * }
3405
+ *
3406
+ * throw err;
3407
+ * }
3408
+ *
3409
+ * try {
3410
+ * writeMyData(fd);
3411
+ * } finally {
3412
+ * close(fd, (err) => {
3413
+ * if (err) throw err;
3414
+ * });
3415
+ * }
3416
+ * });
3417
+ * ```
3418
+ *
3419
+ * **read (NOT RECOMMENDED)**
3420
+ *
3421
+ * ```js
3422
+ * import { open, close, exists } from 'node:fs';
3423
+ *
3424
+ * exists('myfile', (e) => {
3425
+ * if (e) {
3426
+ * open('myfile', 'r', (err, fd) => {
3427
+ * if (err) throw err;
3428
+ *
3429
+ * try {
3430
+ * readMyData(fd);
3431
+ * } finally {
3432
+ * close(fd, (err) => {
3433
+ * if (err) throw err;
3434
+ * });
3435
+ * }
3436
+ * });
3437
+ * } else {
3438
+ * console.error('myfile does not exist');
3439
+ * }
3440
+ * });
3441
+ * ```
3442
+ *
3443
+ * **read (RECOMMENDED)**
3444
+ *
3445
+ * ```js
3446
+ * import { open, close } from 'node:fs';
3447
+ *
3448
+ * open('myfile', 'r', (err, fd) => {
3449
+ * if (err) {
3450
+ * if (err.code === 'ENOENT') {
3451
+ * console.error('myfile does not exist');
3452
+ * return;
3453
+ * }
3454
+ *
3455
+ * throw err;
3456
+ * }
3457
+ *
3458
+ * try {
3459
+ * readMyData(fd);
3460
+ * } finally {
3461
+ * close(fd, (err) => {
3462
+ * if (err) throw err;
3463
+ * });
3464
+ * }
3465
+ * });
3466
+ * ```
3467
+ *
3468
+ * The "not recommended" examples above check for existence and then use the
3469
+ * file; the "recommended" examples are better because they use the file directly
3470
+ * and handle the error, if any.
3471
+ *
3472
+ * In general, check for the existence of a file only if the file won't be
3473
+ * used directly, for example when its existence is a signal from another
3474
+ * process.
3475
+ * @since v0.0.2
3476
+ * @deprecated Since v1.0.0 - Use {@link stat} or {@link access} instead.
3477
+ */
3478
+ export function exists(path: PathLike, callback: (exists: boolean) => void): void;
3479
+ /** @deprecated */
3480
+ export namespace exists {
3481
+ /**
3482
+ * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3483
+ * URL support is _experimental_.
3484
+ */
3485
+ function __promisify__(path: PathLike): Promise<boolean>;
3486
+ }
3487
+ /**
3488
+ * Returns `true` if the path exists, `false` otherwise.
3489
+ *
3490
+ * For detailed information, see the documentation of the asynchronous version of
3491
+ * this API: {@link exists}.
3492
+ *
3493
+ * `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback` parameter to `fs.exists()` accepts parameters that are inconsistent with other
3494
+ * Node.js callbacks. `fs.existsSync()` does not use a callback.
3495
+ *
3496
+ * ```js
3497
+ * import { existsSync } from 'node:fs';
3498
+ *
3499
+ * if (existsSync('/etc/passwd'))
3500
+ * console.log('The path exists.');
3501
+ * ```
3502
+ * @since v0.1.21
3503
+ */
3504
+ export function existsSync(path: PathLike): boolean;
3505
+ export namespace constants {
3506
+ // File Access Constants
3507
+ /** Constant for fs.access(). File is visible to the calling process. */
3508
+ const F_OK: number;
3509
+ /** Constant for fs.access(). File can be read by the calling process. */
3510
+ const R_OK: number;
3511
+ /** Constant for fs.access(). File can be written by the calling process. */
3512
+ const W_OK: number;
3513
+ /** Constant for fs.access(). File can be executed by the calling process. */
3514
+ const X_OK: number;
3515
+ // File Copy Constants
3516
+ /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */
3517
+ const COPYFILE_EXCL: number;
3518
+ /**
3519
+ * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink.
3520
+ * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used.
3521
+ */
3522
+ const COPYFILE_FICLONE: number;
3523
+ /**
3524
+ * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink.
3525
+ * If the underlying platform does not support copy-on-write, then the operation will fail with an error.
3526
+ */
3527
+ const COPYFILE_FICLONE_FORCE: number;
3528
+ // File Open Constants
3529
+ /** Constant for fs.open(). Flag indicating to open a file for read-only access. */
3530
+ const O_RDONLY: number;
3531
+ /** Constant for fs.open(). Flag indicating to open a file for write-only access. */
3532
+ const O_WRONLY: number;
3533
+ /** Constant for fs.open(). Flag indicating to open a file for read-write access. */
3534
+ const O_RDWR: number;
3535
+ /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */
3536
+ const O_CREAT: number;
3537
+ /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */
3538
+ const O_EXCL: number;
3539
+ /**
3540
+ * Constant for fs.open(). Flag indicating that if path identifies a terminal device,
3541
+ * opening the path shall not cause that terminal to become the controlling terminal for the process
3542
+ * (if the process does not already have one).
3543
+ */
3544
+ const O_NOCTTY: number;
3545
+ /** 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. */
3546
+ const O_TRUNC: number;
3547
+ /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */
3548
+ const O_APPEND: number;
3549
+ /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */
3550
+ const O_DIRECTORY: number;
3551
+ /**
3552
+ * constant for fs.open().
3553
+ * Flag indicating reading accesses to the file system will no longer result in
3554
+ * an update to the atime information associated with the file.
3555
+ * This flag is available on Linux operating systems only.
3556
+ */
3557
+ const O_NOATIME: number;
3558
+ /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */
3559
+ const O_NOFOLLOW: number;
3560
+ /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */
3561
+ const O_SYNC: number;
3562
+ /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */
3563
+ const O_DSYNC: number;
3564
+ /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */
3565
+ const O_SYMLINK: number;
3566
+ /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */
3567
+ const O_DIRECT: number;
3568
+ /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */
3569
+ const O_NONBLOCK: number;
3570
+ // File Type Constants
3571
+ /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */
3572
+ const S_IFMT: number;
3573
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */
3574
+ const S_IFREG: number;
3575
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */
3576
+ const S_IFDIR: number;
3577
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */
3578
+ const S_IFCHR: number;
3579
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */
3580
+ const S_IFBLK: number;
3581
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */
3582
+ const S_IFIFO: number;
3583
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */
3584
+ const S_IFLNK: number;
3585
+ /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */
3586
+ const S_IFSOCK: number;
3587
+ // File Mode Constants
3588
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */
3589
+ const S_IRWXU: number;
3590
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */
3591
+ const S_IRUSR: number;
3592
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */
3593
+ const S_IWUSR: number;
3594
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */
3595
+ const S_IXUSR: number;
3596
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */
3597
+ const S_IRWXG: number;
3598
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */
3599
+ const S_IRGRP: number;
3600
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */
3601
+ const S_IWGRP: number;
3602
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */
3603
+ const S_IXGRP: number;
3604
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */
3605
+ const S_IRWXO: number;
3606
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */
3607
+ const S_IROTH: number;
3608
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */
3609
+ const S_IWOTH: number;
3610
+ /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */
3611
+ const S_IXOTH: number;
3612
+ /**
3613
+ * When set, a memory file mapping is used to access the file. This flag
3614
+ * is available on Windows operating systems only. On other operating systems,
3615
+ * this flag is ignored.
3616
+ */
3617
+ const UV_FS_O_FILEMAP: number;
3618
+ }
3619
+ /**
3620
+ * Tests a user's permissions for the file or directory specified by `path`.
3621
+ * The `mode` argument is an optional integer that specifies the accessibility
3622
+ * checks to be performed. `mode` should be either the value `fs.constants.F_OK` or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`, `fs.constants.W_OK`, and `fs.constants.X_OK`
3623
+ * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for
3624
+ * possible values of `mode`.
3625
+ *
3626
+ * The final argument, `callback`, is a callback function that is invoked with
3627
+ * a possible error argument. If any of the accessibility checks fail, the error
3628
+ * argument will be an `Error` object. The following examples check if `package.json` exists, and if it is readable or writable.
3629
+ *
3630
+ * ```js
3631
+ * import { access, constants } from 'node:fs';
3632
+ *
3633
+ * const file = 'package.json';
3634
+ *
3635
+ * // Check if the file exists in the current directory.
3636
+ * access(file, constants.F_OK, (err) => {
3637
+ * console.log(`${file} ${err ? 'does not exist' : 'exists'}`);
3638
+ * });
3639
+ *
3640
+ * // Check if the file is readable.
3641
+ * access(file, constants.R_OK, (err) => {
3642
+ * console.log(`${file} ${err ? 'is not readable' : 'is readable'}`);
3643
+ * });
3644
+ *
3645
+ * // Check if the file is writable.
3646
+ * access(file, constants.W_OK, (err) => {
3647
+ * console.log(`${file} ${err ? 'is not writable' : 'is writable'}`);
3648
+ * });
3649
+ *
3650
+ * // Check if the file is readable and writable.
3651
+ * access(file, constants.R_OK | constants.W_OK, (err) => {
3652
+ * console.log(`${file} ${err ? 'is not' : 'is'} readable and writable`);
3653
+ * });
3654
+ * ```
3655
+ *
3656
+ * Do not use `fs.access()` to check for the accessibility of a file before calling `fs.open()`, `fs.readFile()`, or `fs.writeFile()`. Doing
3657
+ * so introduces a race condition, since other processes may change the file's
3658
+ * state between the two calls. Instead, user code should open/read/write the
3659
+ * file directly and handle the error raised if the file is not accessible.
3660
+ *
3661
+ * **write (NOT RECOMMENDED)**
3662
+ *
3663
+ * ```js
3664
+ * import { access, open, close } from 'node:fs';
3665
+ *
3666
+ * access('myfile', (err) => {
3667
+ * if (!err) {
3668
+ * console.error('myfile already exists');
3669
+ * return;
3670
+ * }
3671
+ *
3672
+ * open('myfile', 'wx', (err, fd) => {
3673
+ * if (err) throw err;
3674
+ *
3675
+ * try {
3676
+ * writeMyData(fd);
3677
+ * } finally {
3678
+ * close(fd, (err) => {
3679
+ * if (err) throw err;
3680
+ * });
3681
+ * }
3682
+ * });
3683
+ * });
3684
+ * ```
3685
+ *
3686
+ * **write (RECOMMENDED)**
3687
+ *
3688
+ * ```js
3689
+ * import { open, close } from 'node:fs';
3690
+ *
3691
+ * open('myfile', 'wx', (err, fd) => {
3692
+ * if (err) {
3693
+ * if (err.code === 'EEXIST') {
3694
+ * console.error('myfile already exists');
3695
+ * return;
3696
+ * }
3697
+ *
3698
+ * throw err;
3699
+ * }
3700
+ *
3701
+ * try {
3702
+ * writeMyData(fd);
3703
+ * } finally {
3704
+ * close(fd, (err) => {
3705
+ * if (err) throw err;
3706
+ * });
3707
+ * }
3708
+ * });
3709
+ * ```
3710
+ *
3711
+ * **read (NOT RECOMMENDED)**
3712
+ *
3713
+ * ```js
3714
+ * import { access, open, close } from 'node:fs';
3715
+ * access('myfile', (err) => {
3716
+ * if (err) {
3717
+ * if (err.code === 'ENOENT') {
3718
+ * console.error('myfile does not exist');
3719
+ * return;
3720
+ * }
3721
+ *
3722
+ * throw err;
3723
+ * }
3724
+ *
3725
+ * open('myfile', 'r', (err, fd) => {
3726
+ * if (err) throw err;
3727
+ *
3728
+ * try {
3729
+ * readMyData(fd);
3730
+ * } finally {
3731
+ * close(fd, (err) => {
3732
+ * if (err) throw err;
3733
+ * });
3734
+ * }
3735
+ * });
3736
+ * });
3737
+ * ```
3738
+ *
3739
+ * **read (RECOMMENDED)**
3740
+ *
3741
+ * ```js
3742
+ * import { open, close } from 'node:fs';
3743
+ *
3744
+ * open('myfile', 'r', (err, fd) => {
3745
+ * if (err) {
3746
+ * if (err.code === 'ENOENT') {
3747
+ * console.error('myfile does not exist');
3748
+ * return;
3749
+ * }
3750
+ *
3751
+ * throw err;
3752
+ * }
3753
+ *
3754
+ * try {
3755
+ * readMyData(fd);
3756
+ * } finally {
3757
+ * close(fd, (err) => {
3758
+ * if (err) throw err;
3759
+ * });
3760
+ * }
3761
+ * });
3762
+ * ```
3763
+ *
3764
+ * The "not recommended" examples above check for accessibility and then use the
3765
+ * file; the "recommended" examples are better because they use the file directly
3766
+ * and handle the error, if any.
3767
+ *
3768
+ * In general, check for the accessibility of a file only if the file will not be
3769
+ * used directly, for example when its accessibility is a signal from another
3770
+ * process.
3771
+ *
3772
+ * On Windows, access-control policies (ACLs) on a directory may limit access to
3773
+ * a file or directory. The `fs.access()` function, however, does not check the
3774
+ * ACL and therefore may report that a path is accessible even if the ACL restricts
3775
+ * the user from reading or writing to it.
3776
+ * @since v0.11.15
3777
+ * @param [mode=fs.constants.F_OK]
3778
+ */
3779
+ export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void;
3780
+ /**
3781
+ * Asynchronously tests a user's permissions for the file specified by path.
3782
+ * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3783
+ */
3784
+ export function access(path: PathLike, callback: NoParamCallback): void;
3785
+ export namespace access {
3786
+ /**
3787
+ * Asynchronously tests a user's permissions for the file specified by path.
3788
+ * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3789
+ * URL support is _experimental_.
3790
+ */
3791
+ function __promisify__(path: PathLike, mode?: number): Promise<void>;
3792
+ }
3793
+ /**
3794
+ * Synchronously tests a user's permissions for the file or directory specified
3795
+ * by `path`. The `mode` argument is an optional integer that specifies the
3796
+ * accessibility checks to be performed. `mode` should be either the value `fs.constants.F_OK` or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`, `fs.constants.W_OK`, and
3797
+ * `fs.constants.X_OK` (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for
3798
+ * possible values of `mode`.
3799
+ *
3800
+ * If any of the accessibility checks fail, an `Error` will be thrown. Otherwise,
3801
+ * the method will return `undefined`.
3802
+ *
3803
+ * ```js
3804
+ * import { accessSync, constants } from 'node:fs';
3805
+ *
3806
+ * try {
3807
+ * accessSync('etc/passwd', constants.R_OK | constants.W_OK);
3808
+ * console.log('can read/write');
3809
+ * } catch (err) {
3810
+ * console.error('no access!');
3811
+ * }
3812
+ * ```
3813
+ * @since v0.11.15
3814
+ * @param [mode=fs.constants.F_OK]
3815
+ */
3816
+ export function accessSync(path: PathLike, mode?: number): void;
3817
+ interface StreamOptions {
3818
+ flags?: string | undefined;
3819
+ encoding?: BufferEncoding | undefined;
3820
+ fd?: number | promises.FileHandle | undefined;
3821
+ mode?: number | undefined;
3822
+ autoClose?: boolean | undefined;
3823
+ emitClose?: boolean | undefined;
3824
+ start?: number | undefined;
3825
+ signal?: AbortSignal | null | undefined;
3826
+ highWaterMark?: number | undefined;
3827
+ }
3828
+ interface FSImplementation {
3829
+ open?: (...args: any[]) => any;
3830
+ close?: (...args: any[]) => any;
3831
+ }
3832
+ interface CreateReadStreamFSImplementation extends FSImplementation {
3833
+ read: (...args: any[]) => any;
3834
+ }
3835
+ interface CreateWriteStreamFSImplementation extends FSImplementation {
3836
+ write: (...args: any[]) => any;
3837
+ writev?: (...args: any[]) => any;
3838
+ }
3839
+ interface ReadStreamOptions extends StreamOptions {
3840
+ fs?: CreateReadStreamFSImplementation | null | undefined;
3841
+ end?: number | undefined;
3842
+ }
3843
+ interface WriteStreamOptions extends StreamOptions {
3844
+ fs?: CreateWriteStreamFSImplementation | null | undefined;
3845
+ flush?: boolean | undefined;
3846
+ }
3847
+ /**
3848
+ * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream
3849
+ * returned by this method has a default `highWaterMark` of 64 KiB.
3850
+ *
3851
+ * `options` can include `start` and `end` values to read a range of bytes from
3852
+ * the file instead of the entire file. Both `start` and `end` are inclusive and
3853
+ * start counting at 0, allowed values are in the
3854
+ * \[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
3855
+ * omitted or `undefined`, `fs.createReadStream()` reads sequentially from the
3856
+ * current file position. The `encoding` can be any one of those accepted by `Buffer`.
3857
+ *
3858
+ * If `fd` is specified, `ReadStream` will ignore the `path` argument and will use
3859
+ * the specified file descriptor. This means that no `'open'` event will be
3860
+ * emitted. `fd` should be blocking; non-blocking `fd`s should be passed to `net.Socket`.
3861
+ *
3862
+ * If `fd` points to a character device that only supports blocking reads
3863
+ * (such as keyboard or sound card), read operations do not finish until data is
3864
+ * available. This can prevent the process from exiting and the stream from
3865
+ * closing naturally.
3866
+ *
3867
+ * By default, the stream will emit a `'close'` event after it has been
3868
+ * destroyed. Set the `emitClose` option to `false` to change this behavior.
3869
+ *
3870
+ * By providing the `fs` option, it is possible to override the corresponding `fs` implementations for `open`, `read`, and `close`. When providing the `fs` option,
3871
+ * 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
3872
+ * also required.
3873
+ *
3874
+ * ```js
3875
+ * import { createReadStream } from 'node:fs';
3876
+ *
3877
+ * // Create a stream from some character device.
3878
+ * const stream = createReadStream('/dev/input/event0');
3879
+ * setTimeout(() => {
3880
+ * stream.close(); // This may not close the stream.
3881
+ * // Artificially marking end-of-stream, as if the underlying resource had
3882
+ * // indicated end-of-file by itself, allows the stream to close.
3883
+ * // This does not cancel pending read operations, and if there is such an
3884
+ * // operation, the process may still not be able to exit successfully
3885
+ * // until it finishes.
3886
+ * stream.push(null);
3887
+ * stream.read(0);
3888
+ * }, 100);
3889
+ * ```
3890
+ *
3891
+ * If `autoClose` is false, then the file descriptor won't be closed, even if
3892
+ * there's an error. It is the application's responsibility to close it and make
3893
+ * sure there's no file descriptor leak. If `autoClose` is set to true (default
3894
+ * behavior), on `'error'` or `'end'` the file descriptor will be closed
3895
+ * automatically.
3896
+ *
3897
+ * `mode` sets the file mode (permission and sticky bits), but only if the
3898
+ * file was created.
3899
+ *
3900
+ * An example to read the last 10 bytes of a file which is 100 bytes long:
3901
+ *
3902
+ * ```js
3903
+ * import { createReadStream } from 'node:fs';
3904
+ *
3905
+ * createReadStream('sample.txt', { start: 90, end: 99 });
3906
+ * ```
3907
+ *
3908
+ * If `options` is a string, then it specifies the encoding.
3909
+ * @since v0.1.31
3910
+ */
3911
+ export function createReadStream(path: PathLike, options?: BufferEncoding | ReadStreamOptions): ReadStream;
3912
+ /**
3913
+ * `options` may also include a `start` option to allow writing data at some
3914
+ * position past the beginning of the file, allowed values are in the
3915
+ * \[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
3916
+ * replacing it may require the `flags` option to be set to `r+` rather than the
3917
+ * default `w`. The `encoding` can be any one of those accepted by `Buffer`.
3918
+ *
3919
+ * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'` the file descriptor will be closed automatically. If `autoClose` is false,
3920
+ * then the file descriptor won't be closed, even if there's an error.
3921
+ * It is the application's responsibility to close it and make sure there's no
3922
+ * file descriptor leak.
3923
+ *
3924
+ * By default, the stream will emit a `'close'` event after it has been
3925
+ * destroyed. Set the `emitClose` option to `false` to change this behavior.
3926
+ *
3927
+ * 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
3928
+ * performance as some optimizations (`_writev()`)
3929
+ * 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
3930
+ * for `open` is also required. If `autoClose` is `true`, an override for `close` is also required.
3931
+ *
3932
+ * 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
3933
+ * emitted. `fd` should be blocking; non-blocking `fd`s
3934
+ * should be passed to `net.Socket`.
3935
+ *
3936
+ * If `options` is a string, then it specifies the encoding.
3937
+ * @since v0.1.31
3938
+ */
3939
+ export function createWriteStream(path: PathLike, options?: BufferEncoding | WriteStreamOptions): WriteStream;
3940
+ /**
3941
+ * Forces all currently queued I/O operations associated with the file to the
3942
+ * 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
3943
+ * than a possible
3944
+ * exception are given to the completion callback.
3945
+ * @since v0.1.96
3946
+ */
3947
+ export function fdatasync(fd: number, callback: NoParamCallback): void;
3948
+ export namespace fdatasync {
3949
+ /**
3950
+ * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
3951
+ * @param fd A file descriptor.
3952
+ */
3953
+ function __promisify__(fd: number): Promise<void>;
3954
+ }
3955
+ /**
3956
+ * Forces all currently queued I/O operations associated with the file to the
3957
+ * 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`.
3958
+ * @since v0.1.96
3959
+ */
3960
+ export function fdatasyncSync(fd: number): void;
3961
+ /**
3962
+ * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it
3963
+ * already exists. No arguments other than a possible exception are given to the
3964
+ * callback function. Node.js makes no guarantees about the atomicity of the copy
3965
+ * operation. If an error occurs after the destination file has been opened for
3966
+ * writing, Node.js will attempt to remove the destination.
3967
+ *
3968
+ * `mode` is an optional integer that specifies the behavior
3969
+ * of the copy operation. It is possible to create a mask consisting of the bitwise
3970
+ * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`).
3971
+ *
3972
+ * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already
3973
+ * exists.
3974
+ * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a
3975
+ * copy-on-write reflink. If the platform does not support copy-on-write, then a
3976
+ * fallback copy mechanism is used.
3977
+ * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to
3978
+ * create a copy-on-write reflink. If the platform does not support
3979
+ * copy-on-write, then the operation will fail.
3980
+ *
3981
+ * ```js
3982
+ * import { copyFile, constants } from 'node:fs';
3983
+ *
3984
+ * function callback(err) {
3985
+ * if (err) throw err;
3986
+ * console.log('source.txt was copied to destination.txt');
3987
+ * }
3988
+ *
3989
+ * // destination.txt will be created or overwritten by default.
3990
+ * copyFile('source.txt', 'destination.txt', callback);
3991
+ *
3992
+ * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists.
3993
+ * copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback);
3994
+ * ```
3995
+ * @since v8.5.0
3996
+ * @param src source filename to copy
3997
+ * @param dest destination filename of the copy operation
3998
+ * @param [mode=0] modifiers for copy operation.
3999
+ */
4000
+ export function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void;
4001
+ export function copyFile(src: PathLike, dest: PathLike, mode: number, callback: NoParamCallback): void;
4002
+ export namespace copyFile {
4003
+ function __promisify__(src: PathLike, dst: PathLike, mode?: number): Promise<void>;
4004
+ }
4005
+ /**
4006
+ * Synchronously copies `src` to `dest`. By default, `dest` is overwritten if it
4007
+ * already exists. Returns `undefined`. Node.js makes no guarantees about the
4008
+ * atomicity of the copy operation. If an error occurs after the destination file
4009
+ * has been opened for writing, Node.js will attempt to remove the destination.
4010
+ *
4011
+ * `mode` is an optional integer that specifies the behavior
4012
+ * of the copy operation. It is possible to create a mask consisting of the bitwise
4013
+ * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`).
4014
+ *
4015
+ * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already
4016
+ * exists.
4017
+ * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a
4018
+ * copy-on-write reflink. If the platform does not support copy-on-write, then a
4019
+ * fallback copy mechanism is used.
4020
+ * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to
4021
+ * create a copy-on-write reflink. If the platform does not support
4022
+ * copy-on-write, then the operation will fail.
4023
+ *
4024
+ * ```js
4025
+ * import { copyFileSync, constants } from 'node:fs';
4026
+ *
4027
+ * // destination.txt will be created or overwritten by default.
4028
+ * copyFileSync('source.txt', 'destination.txt');
4029
+ * console.log('source.txt was copied to destination.txt');
4030
+ *
4031
+ * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists.
4032
+ * copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
4033
+ * ```
4034
+ * @since v8.5.0
4035
+ * @param src source filename to copy
4036
+ * @param dest destination filename of the copy operation
4037
+ * @param [mode=0] modifiers for copy operation.
4038
+ */
4039
+ export function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void;
4040
+ /**
4041
+ * Write an array of `ArrayBufferView`s to the file specified by `fd` using `writev()`.
4042
+ *
4043
+ * `position` is the offset from the beginning of the file where this data
4044
+ * should be written. If `typeof position !== 'number'`, the data will be written
4045
+ * at the current position.
4046
+ *
4047
+ * The callback will be given three arguments: `err`, `bytesWritten`, and `buffers`. `bytesWritten` is how many bytes were written from `buffers`.
4048
+ *
4049
+ * If this method is `util.promisify()` ed, it returns a promise for an `Object` with `bytesWritten` and `buffers` properties.
4050
+ *
4051
+ * It is unsafe to use `fs.writev()` multiple times on the same file without
4052
+ * waiting for the callback. For this scenario, use {@link createWriteStream}.
4053
+ *
4054
+ * On Linux, positional writes don't work when the file is opened in append mode.
4055
+ * The kernel ignores the position argument and always appends the data to
4056
+ * the end of the file.
4057
+ * @since v12.9.0
4058
+ * @param [position='null']
4059
+ */
4060
+ export function writev(
4061
+ fd: number,
4062
+ buffers: readonly NodeJS.ArrayBufferView[],
4063
+ cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void,
4064
+ ): void;
4065
+ export function writev(
4066
+ fd: number,
4067
+ buffers: readonly NodeJS.ArrayBufferView[],
4068
+ position: number,
4069
+ cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void,
4070
+ ): void;
4071
+ export interface WriteVResult {
4072
+ bytesWritten: number;
4073
+ buffers: NodeJS.ArrayBufferView[];
4074
+ }
4075
+ export namespace writev {
4076
+ function __promisify__(
4077
+ fd: number,
4078
+ buffers: readonly NodeJS.ArrayBufferView[],
4079
+ position?: number,
4080
+ ): Promise<WriteVResult>;
4081
+ }
4082
+ /**
4083
+ * For detailed information, see the documentation of the asynchronous version of
4084
+ * this API: {@link writev}.
4085
+ * @since v12.9.0
4086
+ * @param [position='null']
4087
+ * @return The number of bytes written.
4088
+ */
4089
+ export function writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
4090
+ /**
4091
+ * Read from a file specified by `fd` and write to an array of `ArrayBufferView`s
4092
+ * using `readv()`.
4093
+ *
4094
+ * `position` is the offset from the beginning of the file from where data
4095
+ * should be read. If `typeof position !== 'number'`, the data will be read
4096
+ * from the current position.
4097
+ *
4098
+ * The callback will be given three arguments: `err`, `bytesRead`, and `buffers`. `bytesRead` is how many bytes were read from the file.
4099
+ *
4100
+ * If this method is invoked as its `util.promisify()` ed version, it returns
4101
+ * a promise for an `Object` with `bytesRead` and `buffers` properties.
4102
+ * @since v13.13.0, v12.17.0
4103
+ * @param [position='null']
4104
+ */
4105
+ export function readv(
4106
+ fd: number,
4107
+ buffers: readonly NodeJS.ArrayBufferView[],
4108
+ cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void,
4109
+ ): void;
4110
+ export function readv(
4111
+ fd: number,
4112
+ buffers: readonly NodeJS.ArrayBufferView[],
4113
+ position: number,
4114
+ cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void,
4115
+ ): void;
4116
+ export interface ReadVResult {
4117
+ bytesRead: number;
4118
+ buffers: NodeJS.ArrayBufferView[];
4119
+ }
4120
+ export namespace readv {
4121
+ function __promisify__(
4122
+ fd: number,
4123
+ buffers: readonly NodeJS.ArrayBufferView[],
4124
+ position?: number,
4125
+ ): Promise<ReadVResult>;
4126
+ }
4127
+ /**
4128
+ * For detailed information, see the documentation of the asynchronous version of
4129
+ * this API: {@link readv}.
4130
+ * @since v13.13.0, v12.17.0
4131
+ * @param [position='null']
4132
+ * @return The number of bytes read.
4133
+ */
4134
+ export function readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
4135
+
4136
+ export interface OpenAsBlobOptions {
4137
+ /**
4138
+ * An optional mime type for the blob.
4139
+ *
4140
+ * @default 'undefined'
4141
+ */
4142
+ type?: string | undefined;
4143
+ }
4144
+
4145
+ /**
4146
+ * Returns a `Blob` whose data is backed by the given file.
4147
+ *
4148
+ * The file must not be modified after the `Blob` is created. Any modifications
4149
+ * will cause reading the `Blob` data to fail with a `DOMException` error.
4150
+ * Synchronous stat operations on the file when the `Blob` is created, and before
4151
+ * each read in order to detect whether the file data has been modified on disk.
4152
+ *
4153
+ * ```js
4154
+ * import { openAsBlob } from 'node:fs';
4155
+ *
4156
+ * const blob = await openAsBlob('the.file.txt');
4157
+ * const ab = await blob.arrayBuffer();
4158
+ * blob.stream();
4159
+ * ```
4160
+ * @since v19.8.0
4161
+ * @experimental
4162
+ */
4163
+ export function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise<Blob>;
4164
+
4165
+ export interface OpenDirOptions {
4166
+ /**
4167
+ * @default 'utf8'
4168
+ */
4169
+ encoding?: BufferEncoding | undefined;
4170
+ /**
4171
+ * Number of directory entries that are buffered
4172
+ * internally when reading from the directory. Higher values lead to better
4173
+ * performance but higher memory usage.
4174
+ * @default 32
4175
+ */
4176
+ bufferSize?: number | undefined;
4177
+ /**
4178
+ * @default false
4179
+ */
4180
+ recursive?: boolean;
4181
+ }
4182
+ /**
4183
+ * Synchronously open a directory. See [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html).
4184
+ *
4185
+ * Creates an `fs.Dir`, which contains all further functions for reading from
4186
+ * and cleaning up the directory.
4187
+ *
4188
+ * The `encoding` option sets the encoding for the `path` while opening the
4189
+ * directory and subsequent read operations.
4190
+ * @since v12.12.0
4191
+ */
4192
+ export function opendirSync(path: PathLike, options?: OpenDirOptions): Dir;
4193
+ /**
4194
+ * Asynchronously open a directory. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for
4195
+ * more details.
4196
+ *
4197
+ * Creates an `fs.Dir`, which contains all further functions for reading from
4198
+ * and cleaning up the directory.
4199
+ *
4200
+ * The `encoding` option sets the encoding for the `path` while opening the
4201
+ * directory and subsequent read operations.
4202
+ * @since v12.12.0
4203
+ */
4204
+ export function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
4205
+ export function opendir(
4206
+ path: PathLike,
4207
+ options: OpenDirOptions,
4208
+ cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void,
4209
+ ): void;
4210
+ export namespace opendir {
4211
+ function __promisify__(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
4212
+ }
4213
+ export interface BigIntStats extends StatsBase<bigint> {
4214
+ atimeNs: bigint;
4215
+ mtimeNs: bigint;
4216
+ ctimeNs: bigint;
4217
+ birthtimeNs: bigint;
4218
+ }
4219
+ export interface BigIntOptions {
4220
+ bigint: true;
4221
+ }
4222
+ export interface StatOptions {
4223
+ bigint?: boolean | undefined;
4224
+ }
4225
+ export interface StatSyncOptions extends StatOptions {
4226
+ throwIfNoEntry?: boolean | undefined;
4227
+ }
4228
+ interface CopyOptionsBase {
4229
+ /**
4230
+ * Dereference symlinks
4231
+ * @default false
4232
+ */
4233
+ dereference?: boolean;
4234
+ /**
4235
+ * When `force` is `false`, and the destination
4236
+ * exists, throw an error.
4237
+ * @default false
4238
+ */
4239
+ errorOnExist?: boolean;
4240
+ /**
4241
+ * Overwrite existing file or directory. _The copy
4242
+ * operation will ignore errors if you set this to false and the destination
4243
+ * exists. Use the `errorOnExist` option to change this behavior.
4244
+ * @default true
4245
+ */
4246
+ force?: boolean;
4247
+ /**
4248
+ * Modifiers for copy operation. See `mode` flag of {@link copyFileSync()}
4249
+ */
4250
+ mode?: number;
4251
+ /**
4252
+ * When `true` timestamps from `src` will
4253
+ * be preserved.
4254
+ * @default false
4255
+ */
4256
+ preserveTimestamps?: boolean;
4257
+ /**
4258
+ * Copy directories recursively.
4259
+ * @default false
4260
+ */
4261
+ recursive?: boolean;
4262
+ /**
4263
+ * When true, path resolution for symlinks will be skipped
4264
+ * @default false
4265
+ */
4266
+ verbatimSymlinks?: boolean;
4267
+ }
4268
+ export interface CopyOptions extends CopyOptionsBase {
4269
+ /**
4270
+ * Function to filter copied files/directories. Return
4271
+ * `true` to copy the item, `false` to ignore it.
4272
+ */
4273
+ filter?(source: string, destination: string): boolean | Promise<boolean>;
4274
+ }
4275
+ export interface CopySyncOptions extends CopyOptionsBase {
4276
+ /**
4277
+ * Function to filter copied files/directories. Return
4278
+ * `true` to copy the item, `false` to ignore it.
4279
+ */
4280
+ filter?(source: string, destination: string): boolean;
4281
+ }
4282
+ /**
4283
+ * Asynchronously copies the entire directory structure from `src` to `dest`,
4284
+ * including subdirectories and files.
4285
+ *
4286
+ * When copying a directory to another directory, globs are not supported and
4287
+ * behavior is similar to `cp dir1/ dir2/`.
4288
+ * @since v16.7.0
4289
+ * @experimental
4290
+ * @param src source path to copy.
4291
+ * @param dest destination path to copy to.
4292
+ */
4293
+ export function cp(
4294
+ source: string | URL,
4295
+ destination: string | URL,
4296
+ callback: (err: NodeJS.ErrnoException | null) => void,
4297
+ ): void;
4298
+ export function cp(
4299
+ source: string | URL,
4300
+ destination: string | URL,
4301
+ opts: CopyOptions,
4302
+ callback: (err: NodeJS.ErrnoException | null) => void,
4303
+ ): void;
4304
+ /**
4305
+ * Synchronously copies the entire directory structure from `src` to `dest`,
4306
+ * including subdirectories and files.
4307
+ *
4308
+ * When copying a directory to another directory, globs are not supported and
4309
+ * behavior is similar to `cp dir1/ dir2/`.
4310
+ * @since v16.7.0
4311
+ * @experimental
4312
+ * @param src source path to copy.
4313
+ * @param dest destination path to copy to.
4314
+ */
4315
+ export function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void;
4316
+
4317
+ export interface GlobOptions {
4318
+ /**
4319
+ * Current working directory.
4320
+ * @default process.cwd()
4321
+ */
4322
+ cwd?: string | undefined;
4323
+ /**
4324
+ * Function to filter out files/directories. Return true to exclude the item, false to include it.
4325
+ */
4326
+ exclude?: ((fileName: string) => boolean) | undefined;
4327
+ /**
4328
+ * `true` if the glob should return paths as `Dirent`s, `false` otherwise.
4329
+ * @default false
4330
+ * @since v22.2.0
4331
+ */
4332
+ withFileTypes?: boolean | undefined;
4333
+ }
4334
+ export interface GlobOptionsWithFileTypes extends GlobOptions {
4335
+ withFileTypes: true;
4336
+ }
4337
+ export interface GlobOptionsWithoutFileTypes extends GlobOptions {
4338
+ withFileTypes?: false | undefined;
4339
+ }
4340
+ /**
4341
+ * Retrieves the files matching the specified pattern.
4342
+ */
4343
+ export function glob(
4344
+ pattern: string | string[],
4345
+ callback: (err: NodeJS.ErrnoException | null, matches: string[]) => void,
4346
+ ): void;
4347
+ export function glob(
4348
+ pattern: string | string[],
4349
+ options: GlobOptionsWithFileTypes,
4350
+ callback: (
4351
+ err: NodeJS.ErrnoException | null,
4352
+ matches: Dirent[],
4353
+ ) => void,
4354
+ ): void;
4355
+ export function glob(
4356
+ pattern: string | string[],
4357
+ options: GlobOptionsWithoutFileTypes,
4358
+ callback: (
4359
+ err: NodeJS.ErrnoException | null,
4360
+ matches: string[],
4361
+ ) => void,
4362
+ ): void;
4363
+ export function glob(
4364
+ pattern: string | string[],
4365
+ options: GlobOptions,
4366
+ callback: (
4367
+ err: NodeJS.ErrnoException | null,
4368
+ matches: Dirent[] | string[],
4369
+ ) => void,
4370
+ ): void;
4371
+ /**
4372
+ * Retrieves the files matching the specified pattern.
4373
+ */
4374
+ export function globSync(pattern: string | string[]): string[];
4375
+ export function globSync(
4376
+ pattern: string | string[],
4377
+ options: GlobOptionsWithFileTypes,
4378
+ ): Dirent[];
4379
+ export function globSync(
4380
+ pattern: string | string[],
4381
+ options: GlobOptionsWithoutFileTypes,
4382
+ ): string[];
4383
+ export function globSync(
4384
+ pattern: string | string[],
4385
+ options: GlobOptions,
4386
+ ): Dirent[] | string[];
4387
+ }
4388
+ declare module "node:fs" {
4389
+ export * from "fs";
4390
+ }