pcp-server-ruby-sdk 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3151) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/PCP-server-Ruby-SDK.gemspec +0 -11
  4. data/README.md +16 -13
  5. data/Rakefile +2 -4
  6. data/example-app/commerce_case_api_example.rb +9 -7
  7. data/example-app/example.rb +4 -4
  8. data/lib/PCP-server-Ruby-SDK/communicator_configuration.rb +14 -7
  9. data/lib/PCP-server-Ruby-SDK/endpoints/base_api_client.rb +111 -0
  10. data/lib/PCP-server-Ruby-SDK/endpoints/checkout_api_client.rb +129 -0
  11. data/lib/PCP-server-Ruby-SDK/endpoints/commerce_case_api_client.rb +99 -0
  12. data/lib/PCP-server-Ruby-SDK/endpoints/order_management_checkout_actions_api_client.rb +110 -0
  13. data/lib/PCP-server-Ruby-SDK/endpoints/payment_execution_api_client.rb +142 -0
  14. data/lib/PCP-server-Ruby-SDK/endpoints/payment_information_api_client.rb +69 -0
  15. data/lib/PCP-server-Ruby-SDK/errors/api_error_response_exception.rb +19 -8
  16. data/lib/PCP-server-Ruby-SDK/errors/api_exception.rb +30 -20
  17. data/lib/PCP-server-Ruby-SDK/errors/api_response_retrieval_exception.rb +12 -3
  18. data/lib/PCP-server-Ruby-SDK/models/address.rb +219 -425
  19. data/lib/PCP-server-Ruby-SDK/models/address_personal.rb +227 -411
  20. data/lib/PCP-server-Ruby-SDK/models/allowed_payment_actions.rb +23 -33
  21. data/lib/PCP-server-Ruby-SDK/models/amount_of_money.rb +171 -262
  22. data/lib/PCP-server-Ruby-SDK/models/api_error.rb +199 -229
  23. data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_header_information.rb +164 -189
  24. data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_information.rb +187 -224
  25. data/lib/PCP-server-Ruby-SDK/models/apple_payment_token_version.rb +20 -0
  26. data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment.rb +62 -0
  27. data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_contact.rb +42 -0
  28. data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_data.rb +21 -0
  29. data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_data_header.rb +22 -0
  30. data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb +21 -0
  31. data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method_type.rb +19 -0
  32. data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_token.rb +17 -0
  33. data/lib/PCP-server-Ruby-SDK/models/authorization_mode.rb +23 -33
  34. data/lib/PCP-server-Ruby-SDK/models/bank_account_information.rb +162 -235
  35. data/lib/PCP-server-Ruby-SDK/models/cancel_item.rb +162 -225
  36. data/lib/PCP-server-Ruby-SDK/models/cancel_payment_request.rb +163 -196
  37. data/lib/PCP-server-Ruby-SDK/models/cancel_payment_response.rb +153 -178
  38. data/lib/PCP-server-Ruby-SDK/models/cancel_request.rb +188 -213
  39. data/lib/PCP-server-Ruby-SDK/models/cancel_response.rb +160 -185
  40. data/lib/PCP-server-Ruby-SDK/models/cancel_type.rb +23 -33
  41. data/lib/PCP-server-Ruby-SDK/models/cancellation_reason.rb +27 -37
  42. data/lib/PCP-server-Ruby-SDK/models/capture_output.rb +177 -221
  43. data/lib/PCP-server-Ruby-SDK/models/capture_payment_request.rb +211 -264
  44. data/lib/PCP-server-Ruby-SDK/models/capture_payment_response.rb +193 -218
  45. data/lib/PCP-server-Ruby-SDK/models/card_fraud_results.rb +155 -180
  46. data/lib/PCP-server-Ruby-SDK/models/card_info.rb +155 -180
  47. data/lib/PCP-server-Ruby-SDK/models/card_payment_details.rb +181 -282
  48. data/lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_input.rb +262 -414
  49. data/lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_output.rb +175 -228
  50. data/lib/PCP-server-Ruby-SDK/models/card_recurrence_details.rb +155 -180
  51. data/lib/PCP-server-Ruby-SDK/models/cart_item_input.rb +162 -187
  52. data/lib/PCP-server-Ruby-SDK/models/cart_item_invoice_data.rb +155 -180
  53. data/lib/PCP-server-Ruby-SDK/models/cart_item_order_status.rb +175 -228
  54. data/lib/PCP-server-Ruby-SDK/models/cart_item_patch.rb +162 -187
  55. data/lib/PCP-server-Ruby-SDK/models/cart_item_result.rb +162 -187
  56. data/lib/PCP-server-Ruby-SDK/models/cart_item_status.rb +26 -36
  57. data/lib/PCP-server-Ruby-SDK/models/checkout_references.rb +158 -220
  58. data/lib/PCP-server-Ruby-SDK/models/checkout_response.rb +257 -301
  59. data/lib/PCP-server-Ruby-SDK/models/checkouts_response.rb +162 -206
  60. data/lib/PCP-server-Ruby-SDK/models/commerce_case_response.rb +186 -230
  61. data/lib/PCP-server-Ruby-SDK/models/company_information.rb +155 -180
  62. data/lib/PCP-server-Ruby-SDK/models/complete_financing_payment_method_specific_input.rb +167 -220
  63. data/lib/PCP-server-Ruby-SDK/models/complete_payment_method_specific_input.rb +154 -179
  64. data/lib/PCP-server-Ruby-SDK/models/complete_payment_request.rb +169 -194
  65. data/lib/PCP-server-Ruby-SDK/models/complete_payment_response.rb +166 -191
  66. data/lib/PCP-server-Ruby-SDK/models/contact_details.rb +164 -189
  67. data/lib/PCP-server-Ruby-SDK/models/create_checkout_request.rb +199 -224
  68. data/lib/PCP-server-Ruby-SDK/models/create_checkout_response.rb +249 -274
  69. data/lib/PCP-server-Ruby-SDK/models/create_commerce_case_request.rb +176 -220
  70. data/lib/PCP-server-Ruby-SDK/models/create_commerce_case_response.rb +186 -230
  71. data/lib/PCP-server-Ruby-SDK/models/create_payment_response.rb +176 -201
  72. data/lib/PCP-server-Ruby-SDK/models/customer.rb +209 -291
  73. data/lib/PCP-server-Ruby-SDK/models/customer_device.rb +158 -221
  74. data/lib/PCP-server-Ruby-SDK/models/deliver_item.rb +162 -225
  75. data/lib/PCP-server-Ruby-SDK/models/deliver_request.rb +195 -218
  76. data/lib/PCP-server-Ruby-SDK/models/deliver_response.rb +160 -184
  77. data/lib/PCP-server-Ruby-SDK/models/deliver_type.rb +24 -32
  78. data/lib/PCP-server-Ruby-SDK/models/delivery_information.rb +156 -180
  79. data/lib/PCP-server-Ruby-SDK/models/error_response.rb +163 -187
  80. data/lib/PCP-server-Ruby-SDK/models/extended_checkout_status.rb +30 -39
  81. data/lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_input.rb +167 -219
  82. data/lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_output.rb +158 -210
  83. data/lib/PCP-server-Ruby-SDK/models/installment_option.rb +238 -337
  84. data/lib/PCP-server-Ruby-SDK/models/link_information.rb +166 -200
  85. data/lib/PCP-server-Ruby-SDK/models/mandate_recurrence_type.rb +23 -32
  86. data/lib/PCP-server-Ruby-SDK/models/merchant_action.rb +163 -187
  87. data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_input.rb +205 -255
  88. data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_output.rb +184 -236
  89. data/lib/PCP-server-Ruby-SDK/models/network.rb +24 -0
  90. data/lib/PCP-server-Ruby-SDK/models/order.rb +182 -211
  91. data/lib/PCP-server-Ruby-SDK/models/order_item.rb +163 -225
  92. data/lib/PCP-server-Ruby-SDK/models/order_line_details_input.rb +249 -422
  93. data/lib/PCP-server-Ruby-SDK/models/order_line_details_patch.rb +273 -445
  94. data/lib/PCP-server-Ruby-SDK/models/order_line_details_result.rb +273 -445
  95. data/lib/PCP-server-Ruby-SDK/models/order_request.rb +192 -214
  96. data/lib/PCP-server-Ruby-SDK/models/order_response.rb +162 -186
  97. data/lib/PCP-server-Ruby-SDK/models/order_type.rb +23 -32
  98. data/lib/PCP-server-Ruby-SDK/models/patch_checkout_request.rb +188 -212
  99. data/lib/PCP-server-Ruby-SDK/models/patch_commerce_case_request.rb +154 -178
  100. data/lib/PCP-server-Ruby-SDK/models/payment_channel.rb +23 -32
  101. data/lib/PCP-server-Ruby-SDK/models/payment_creation_output.rb +155 -179
  102. data/lib/PCP-server-Ruby-SDK/models/payment_event.rb +197 -238
  103. data/lib/PCP-server-Ruby-SDK/models/payment_execution.rb +237 -259
  104. data/lib/PCP-server-Ruby-SDK/models/payment_execution_request.rb +162 -187
  105. data/lib/PCP-server-Ruby-SDK/models/payment_execution_specific_input.rb +168 -197
  106. data/lib/PCP-server-Ruby-SDK/models/payment_information_request.rb +214 -306
  107. data/lib/PCP-server-Ruby-SDK/models/payment_information_response.rb +259 -395
  108. data/lib/PCP-server-Ruby-SDK/models/payment_method_specific_input.rb +212 -234
  109. data/lib/PCP-server-Ruby-SDK/models/payment_output.rb +208 -251
  110. data/lib/PCP-server-Ruby-SDK/models/payment_product320_specific_input.rb +176 -210
  111. data/lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_input.rb +165 -199
  112. data/lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_output.rb +156 -180
  113. data/lib/PCP-server-Ruby-SDK/models/payment_product3392_specific_input.rb +155 -184
  114. data/lib/PCP-server-Ruby-SDK/models/payment_product771_specific_output.rb +155 -179
  115. data/lib/PCP-server-Ruby-SDK/models/payment_product840_customer_account.rb +182 -206
  116. data/lib/PCP-server-Ruby-SDK/models/payment_product840_specific_output.rb +167 -191
  117. data/lib/PCP-server-Ruby-SDK/models/payment_references.rb +152 -195
  118. data/lib/PCP-server-Ruby-SDK/models/payment_response.rb +192 -214
  119. data/lib/PCP-server-Ruby-SDK/models/payment_status_output.rb +194 -216
  120. data/lib/PCP-server-Ruby-SDK/models/payment_type.rb +29 -38
  121. data/lib/PCP-server-Ruby-SDK/models/payout_output.rb +171 -195
  122. data/lib/PCP-server-Ruby-SDK/models/payout_response.rb +192 -214
  123. data/lib/PCP-server-Ruby-SDK/models/personal_information.rb +190 -254
  124. data/lib/PCP-server-Ruby-SDK/models/personal_name.rb +173 -197
  125. data/lib/PCP-server-Ruby-SDK/models/positive_amount_of_money.rb +169 -259
  126. data/lib/PCP-server-Ruby-SDK/models/processing_mandate_information.rb +214 -351
  127. data/lib/PCP-server-Ruby-SDK/models/product_type.rb +25 -34
  128. data/lib/PCP-server-Ruby-SDK/models/redirect_data.rb +155 -179
  129. data/lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_input.rb +203 -293
  130. data/lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_output.rb +180 -270
  131. data/lib/PCP-server-Ruby-SDK/models/redirect_payment_product840_specific_input.rb +155 -179
  132. data/lib/PCP-server-Ruby-SDK/models/redirection_data.rb +153 -201
  133. data/lib/PCP-server-Ruby-SDK/models/references.rb +175 -261
  134. data/lib/PCP-server-Ruby-SDK/models/refund_error_response.rb +163 -187
  135. data/lib/PCP-server-Ruby-SDK/models/refund_output.rb +177 -220
  136. data/lib/PCP-server-Ruby-SDK/models/refund_payment_response.rb +192 -214
  137. data/lib/PCP-server-Ruby-SDK/models/refund_request.rb +167 -191
  138. data/lib/PCP-server-Ruby-SDK/models/return_information.rb +162 -205
  139. data/lib/PCP-server-Ruby-SDK/models/return_item.rb +162 -224
  140. data/lib/PCP-server-Ruby-SDK/models/return_request.rb +179 -226
  141. data/lib/PCP-server-Ruby-SDK/models/return_response.rb +160 -184
  142. data/lib/PCP-server-Ruby-SDK/models/return_type.rb +23 -32
  143. data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_input.rb +158 -210
  144. data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_output.rb +158 -210
  145. data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_product771_specific_input.rb +163 -187
  146. data/lib/PCP-server-Ruby-SDK/models/shipping.rb +154 -178
  147. data/lib/PCP-server-Ruby-SDK/models/shopping_cart_input.rb +155 -179
  148. data/lib/PCP-server-Ruby-SDK/models/shopping_cart_patch.rb +155 -179
  149. data/lib/PCP-server-Ruby-SDK/models/shopping_cart_result.rb +155 -179
  150. data/lib/PCP-server-Ruby-SDK/models/status_category_value.rb +29 -38
  151. data/lib/PCP-server-Ruby-SDK/models/status_checkout.rb +27 -36
  152. data/lib/PCP-server-Ruby-SDK/models/status_output.rb +230 -404
  153. data/lib/PCP-server-Ruby-SDK/models/status_value.rb +44 -53
  154. data/lib/PCP-server-Ruby-SDK/models/three_d_secure_results.rb +184 -237
  155. data/lib/PCP-server-Ruby-SDK/models/transaction_channel.rb +23 -32
  156. data/lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_requestor.rb +23 -32
  157. data/lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_sequence_indicator.rb +23 -32
  158. data/lib/PCP-server-Ruby-SDK/queries/get_checkouts_query.rb +62 -56
  159. data/lib/PCP-server-Ruby-SDK/queries/get_commerce_cases_query.rb +61 -56
  160. data/lib/PCP-server-Ruby-SDK/request_header_generator.rb +63 -54
  161. data/lib/PCP-server-Ruby-SDK/transformer/apple_pay_transformer.rb +42 -0
  162. data/lib/PCP-server-Ruby-SDK/utils/server_meta_info.rb +22 -16
  163. data/lib/PCP-server-Ruby-SDK/version.rb +1 -12
  164. data/lib/PCP-server-Ruby-SDK.rb +8 -6
  165. data/package-lock.json +31 -0
  166. data/scripts.sh +36 -26
  167. data/spec/communicator_configuration_spec.rb +3 -3
  168. data/spec/endpoints/checkout_api_client_spec.rb +257 -0
  169. data/spec/endpoints/commerce_case_api_client_spec.rb +206 -0
  170. data/spec/endpoints/order_management_checkout_actions_api_client_spec.rb +215 -0
  171. data/spec/endpoints/payment_execution_api_client_spec.rb +269 -0
  172. data/spec/endpoints/payment_information_api_client_spec.rb +115 -0
  173. data/spec/errors/api_error_response_exception_spec.rb +6 -6
  174. data/spec/errors/api_exception_spec.rb +6 -6
  175. data/spec/errors/api_response_retrieval_exception_spec.rb +6 -6
  176. data/spec/queries/get_checkouts_query_spec.rb +4 -4
  177. data/spec/queries/get_commerce_cases_query_spec.rb +3 -3
  178. data/spec/request_header_generator_spec.rb +17 -17
  179. data/spec/spec_helper.rb +7 -1
  180. data/spec/transformer/apple_pay_transformer_spec.rb +73 -0
  181. data/spec/utils/server_meta_info_spec.rb +3 -3
  182. metadata +28 -2975
  183. data/Gemfile.lock +0 -91
  184. data/coverage/.last_run.json +0 -5
  185. data/coverage/.resultset.json +0 -325
  186. data/coverage/.resultset.json.lock +0 -0
  187. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  188. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  189. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  190. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  191. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  192. data/coverage/assets/0.12.3/application.css +0 -1
  193. data/coverage/assets/0.12.3/application.js +0 -7
  194. data/coverage/assets/0.12.3/colorbox/border.png +0 -0
  195. data/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  196. data/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  197. data/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  198. data/coverage/assets/0.12.3/favicon_green.png +0 -0
  199. data/coverage/assets/0.12.3/favicon_red.png +0 -0
  200. data/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  201. data/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  202. data/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  203. data/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  204. data/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  205. data/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  206. data/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  207. data/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  208. data/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  209. data/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  210. data/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  211. data/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  212. data/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  213. data/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  214. data/coverage/assets/0.12.3/loading.gif +0 -0
  215. data/coverage/assets/0.12.3/magnify.png +0 -0
  216. data/coverage/coverage.json +0 -352
  217. data/coverage/index.html +0 -3953
  218. data/docs/APIError.md +0 -28
  219. data/docs/Address.md +0 -30
  220. data/docs/AddressPersonal.md +0 -32
  221. data/docs/AllowedPaymentActions.md +0 -15
  222. data/docs/AmountOfMoney.md +0 -20
  223. data/docs/ApplePaymentDataTokenHeaderInformation.md +0 -20
  224. data/docs/ApplePaymentDataTokenInformation.md +0 -22
  225. data/docs/AuthorizationMode.md +0 -15
  226. data/docs/BankAccountInformation.md +0 -20
  227. data/docs/CancelItem.md +0 -20
  228. data/docs/CancelPaymentRequest.md +0 -18
  229. data/docs/CancelPaymentResponse.md +0 -18
  230. data/docs/CancelRequest.md +0 -22
  231. data/docs/CancelResponse.md +0 -20
  232. data/docs/CancelType.md +0 -15
  233. data/docs/CancellationReason.md +0 -15
  234. data/docs/CaptureOutput.md +0 -24
  235. data/docs/CapturePaymentRequest.md +0 -26
  236. data/docs/CapturePaymentResponse.md +0 -24
  237. data/docs/CardFraudResults.md +0 -18
  238. data/docs/CardInfo.md +0 -18
  239. data/docs/CardPaymentDetails.md +0 -24
  240. data/docs/CardPaymentMethodSpecificInput.md +0 -40
  241. data/docs/CardPaymentMethodSpecificOutput.md +0 -24
  242. data/docs/CardRecurrenceDetails.md +0 -18
  243. data/docs/CartItemInput.md +0 -20
  244. data/docs/CartItemInvoiceData.md +0 -18
  245. data/docs/CartItemOrderStatus.md +0 -20
  246. data/docs/CartItemPatch.md +0 -20
  247. data/docs/CartItemResult.md +0 -20
  248. data/docs/CartItemStatus.md +0 -15
  249. data/docs/CheckoutApi.md +0 -412
  250. data/docs/CheckoutReferences.md +0 -20
  251. data/docs/CheckoutResponse.md +0 -42
  252. data/docs/CheckoutsResponse.md +0 -20
  253. data/docs/CommerceCaseApi.md +0 -294
  254. data/docs/CommerceCaseResponse.md +0 -26
  255. data/docs/CompanyInformation.md +0 -18
  256. data/docs/CompleteFinancingPaymentMethodSpecificInput.md +0 -22
  257. data/docs/CompletePaymentMethodSpecificInput.md +0 -18
  258. data/docs/CompletePaymentRequest.md +0 -22
  259. data/docs/CompletePaymentResponse.md +0 -22
  260. data/docs/ContactDetails.md +0 -20
  261. data/docs/CreateCheckoutRequest.md +0 -30
  262. data/docs/CreateCheckoutResponse.md +0 -40
  263. data/docs/CreateCommerceCaseRequest.md +0 -24
  264. data/docs/CreateCommerceCaseResponse.md +0 -26
  265. data/docs/CreatePaymentResponse.md +0 -24
  266. data/docs/Customer.md +0 -32
  267. data/docs/CustomerDevice.md +0 -20
  268. data/docs/DeliverItem.md +0 -20
  269. data/docs/DeliverRequest.md +0 -24
  270. data/docs/DeliverResponse.md +0 -20
  271. data/docs/DeliverType.md +0 -15
  272. data/docs/DeliveryInformation.md +0 -18
  273. data/docs/ErrorResponse.md +0 -20
  274. data/docs/ExtendedCheckoutStatus.md +0 -15
  275. data/docs/FinancingPaymentMethodSpecificInput.md +0 -22
  276. data/docs/FinancingPaymentMethodSpecificOutput.md +0 -20
  277. data/docs/InstallmentOption.md +0 -34
  278. data/docs/LinkInformation.md +0 -20
  279. data/docs/MandateRecurrenceType.md +0 -15
  280. data/docs/MerchantAction.md +0 -20
  281. data/docs/MobilePaymentMethodSpecificInput.md +0 -28
  282. data/docs/MobilePaymentMethodSpecificOutput.md +0 -26
  283. data/docs/Order.md +0 -26
  284. data/docs/OrderItem.md +0 -20
  285. data/docs/OrderLineDetailsInput.md +0 -34
  286. data/docs/OrderLineDetailsPatch.md +0 -38
  287. data/docs/OrderLineDetailsResult.md +0 -38
  288. data/docs/OrderManagementCheckoutActionsApi.md +0 -295
  289. data/docs/OrderRequest.md +0 -24
  290. data/docs/OrderResponse.md +0 -20
  291. data/docs/OrderType.md +0 -15
  292. data/docs/PatchCheckoutRequest.md +0 -28
  293. data/docs/PatchCommerceCaseRequest.md +0 -18
  294. data/docs/PaymentChannel.md +0 -15
  295. data/docs/PaymentCreationOutput.md +0 -18
  296. data/docs/PaymentEvent.md +0 -26
  297. data/docs/PaymentExecution.md +0 -36
  298. data/docs/PaymentExecutionApi.md +0 -370
  299. data/docs/PaymentExecutionRequest.md +0 -20
  300. data/docs/PaymentExecutionSpecificInput.md +0 -22
  301. data/docs/PaymentInformationApi.md +0 -149
  302. data/docs/PaymentInformationRequest.md +0 -26
  303. data/docs/PaymentInformationResponse.md +0 -38
  304. data/docs/PaymentMethodSpecificInput.md +0 -30
  305. data/docs/PaymentOutput.md +0 -34
  306. data/docs/PaymentProduct320SpecificInput.md +0 -20
  307. data/docs/PaymentProduct3391SpecificInput.md +0 -20
  308. data/docs/PaymentProduct3391SpecificOutput.md +0 -18
  309. data/docs/PaymentProduct3392SpecificInput.md +0 -18
  310. data/docs/PaymentProduct771SpecificOutput.md +0 -18
  311. data/docs/PaymentProduct840CustomerAccount.md +0 -24
  312. data/docs/PaymentProduct840SpecificOutput.md +0 -22
  313. data/docs/PaymentReferences.md +0 -18
  314. data/docs/PaymentResponse.md +0 -24
  315. data/docs/PaymentStatusOutput.md +0 -24
  316. data/docs/PaymentType.md +0 -15
  317. data/docs/PayoutOutput.md +0 -22
  318. data/docs/PayoutResponse.md +0 -24
  319. data/docs/PersonalInformation.md +0 -22
  320. data/docs/PersonalName.md +0 -22
  321. data/docs/PositiveAmountOfMoney.md +0 -20
  322. data/docs/ProcessingMandateInformation.md +0 -26
  323. data/docs/ProductType.md +0 -15
  324. data/docs/RedirectData.md +0 -18
  325. data/docs/RedirectPaymentMethodSpecificInput.md +0 -30
  326. data/docs/RedirectPaymentMethodSpecificOutput.md +0 -24
  327. data/docs/RedirectPaymentProduct840SpecificInput.md +0 -18
  328. data/docs/RedirectionData.md +0 -18
  329. data/docs/References.md +0 -22
  330. data/docs/RefundErrorResponse.md +0 -20
  331. data/docs/RefundOutput.md +0 -24
  332. data/docs/RefundPaymentResponse.md +0 -24
  333. data/docs/RefundRequest.md +0 -22
  334. data/docs/ReturnInformation.md +0 -20
  335. data/docs/ReturnItem.md +0 -20
  336. data/docs/ReturnRequest.md +0 -22
  337. data/docs/ReturnResponse.md +0 -20
  338. data/docs/ReturnType.md +0 -15
  339. data/docs/SepaDirectDebitPaymentMethodSpecificInput.md +0 -20
  340. data/docs/SepaDirectDebitPaymentMethodSpecificOutput.md +0 -20
  341. data/docs/SepaDirectDebitPaymentProduct771SpecificInput.md +0 -20
  342. data/docs/Shipping.md +0 -18
  343. data/docs/ShoppingCartInput.md +0 -18
  344. data/docs/ShoppingCartPatch.md +0 -18
  345. data/docs/ShoppingCartResult.md +0 -18
  346. data/docs/StatusCategoryValue.md +0 -15
  347. data/docs/StatusCheckout.md +0 -15
  348. data/docs/StatusOutput.md +0 -30
  349. data/docs/StatusValue.md +0 -15
  350. data/docs/ThreeDSecureResults.md +0 -22
  351. data/docs/TransactionChannel.md +0 -15
  352. data/docs/UnscheduledCardOnFileRequestor.md +0 -15
  353. data/docs/UnscheduledCardOnFileSequenceIndicator.md +0 -15
  354. data/lib/PCP-server-Ruby-SDK/api/base_api_client.rb +0 -105
  355. data/lib/PCP-server-Ruby-SDK/api/checkout_api_client.rb +0 -94
  356. data/lib/PCP-server-Ruby-SDK/api/commerce_case_api_client.rb +0 -75
  357. data/lib/PCP-server-Ruby-SDK/api/order_management_checkout_actions_api_client.rb +0 -82
  358. data/lib/PCP-server-Ruby-SDK/api/payment_execution_api_client.rb +0 -104
  359. data/lib/PCP-server-Ruby-SDK/api/payment_information_api_client.rb +0 -50
  360. data/node_modules/.bin/JSONStream +0 -1
  361. data/node_modules/.bin/commitlint +0 -1
  362. data/node_modules/.bin/conventional-changelog +0 -1
  363. data/node_modules/.bin/conventional-changelog-writer +0 -1
  364. data/node_modules/.bin/conventional-commits-parser +0 -1
  365. data/node_modules/.bin/git-raw-commits +0 -1
  366. data/node_modules/.bin/git-semver-tags +0 -1
  367. data/node_modules/.bin/handlebars +0 -1
  368. data/node_modules/.bin/jiti +0 -1
  369. data/node_modules/.bin/js-yaml +0 -1
  370. data/node_modules/.bin/lefthook +0 -1
  371. data/node_modules/.bin/node-which +0 -1
  372. data/node_modules/.bin/semver +0 -1
  373. data/node_modules/.bin/uglifyjs +0 -1
  374. data/node_modules/.package-lock.json +0 -2010
  375. data/node_modules/@babel/code-frame/LICENSE +0 -22
  376. data/node_modules/@babel/code-frame/README.md +0 -19
  377. data/node_modules/@babel/code-frame/lib/index.js +0 -156
  378. data/node_modules/@babel/code-frame/lib/index.js.map +0 -1
  379. data/node_modules/@babel/code-frame/package.json +0 -30
  380. data/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  381. data/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  382. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  383. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  384. data/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  385. data/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  386. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  387. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  388. data/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  389. data/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +0 -73
  390. data/node_modules/@babel/highlight/LICENSE +0 -22
  391. data/node_modules/@babel/highlight/README.md +0 -19
  392. data/node_modules/@babel/highlight/lib/index.js +0 -119
  393. data/node_modules/@babel/highlight/lib/index.js.map +0 -1
  394. data/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +0 -165
  395. data/node_modules/@babel/highlight/node_modules/ansi-styles/license +0 -9
  396. data/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +0 -56
  397. data/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +0 -147
  398. data/node_modules/@babel/highlight/node_modules/chalk/index.js +0 -228
  399. data/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +0 -93
  400. data/node_modules/@babel/highlight/node_modules/chalk/license +0 -9
  401. data/node_modules/@babel/highlight/node_modules/chalk/package.json +0 -71
  402. data/node_modules/@babel/highlight/node_modules/chalk/readme.md +0 -314
  403. data/node_modules/@babel/highlight/node_modules/chalk/templates.js +0 -128
  404. data/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +0 -97
  405. data/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +0 -54
  406. data/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +0 -21
  407. data/node_modules/@babel/highlight/node_modules/color-convert/README.md +0 -68
  408. data/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +0 -868
  409. data/node_modules/@babel/highlight/node_modules/color-convert/index.js +0 -78
  410. data/node_modules/@babel/highlight/node_modules/color-convert/package.json +0 -46
  411. data/node_modules/@babel/highlight/node_modules/color-convert/route.js +0 -97
  412. data/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +0 -43
  413. data/node_modules/@babel/highlight/node_modules/color-name/.npmignore +0 -107
  414. data/node_modules/@babel/highlight/node_modules/color-name/LICENSE +0 -8
  415. data/node_modules/@babel/highlight/node_modules/color-name/README.md +0 -11
  416. data/node_modules/@babel/highlight/node_modules/color-name/index.js +0 -152
  417. data/node_modules/@babel/highlight/node_modules/color-name/package.json +0 -25
  418. data/node_modules/@babel/highlight/node_modules/color-name/test.js +0 -7
  419. data/node_modules/@babel/highlight/package.json +0 -30
  420. data/node_modules/@commitlint/cli/README.md +0 -11
  421. data/node_modules/@commitlint/cli/cli.js +0 -2
  422. data/node_modules/@commitlint/cli/index.cjs +0 -3
  423. data/node_modules/@commitlint/cli/lib/cli-error.d.ts +0 -7
  424. data/node_modules/@commitlint/cli/lib/cli-error.d.ts.map +0 -1
  425. data/node_modules/@commitlint/cli/lib/cli-error.js +0 -12
  426. data/node_modules/@commitlint/cli/lib/cli-error.js.map +0 -1
  427. data/node_modules/@commitlint/cli/lib/cli.d.ts +0 -2
  428. data/node_modules/@commitlint/cli/lib/cli.d.ts.map +0 -1
  429. data/node_modules/@commitlint/cli/lib/cli.js +0 -386
  430. data/node_modules/@commitlint/cli/lib/cli.js.map +0 -1
  431. data/node_modules/@commitlint/cli/lib/types.d.ts +0 -26
  432. data/node_modules/@commitlint/cli/lib/types.d.ts.map +0 -1
  433. data/node_modules/@commitlint/cli/lib/types.js +0 -2
  434. data/node_modules/@commitlint/cli/lib/types.js.map +0 -1
  435. data/node_modules/@commitlint/cli/license.md +0 -21
  436. data/node_modules/@commitlint/cli/package.json +0 -60
  437. data/node_modules/@commitlint/config-conventional/README.md +0 -209
  438. data/node_modules/@commitlint/config-conventional/lib/index.d.ts +0 -111
  439. data/node_modules/@commitlint/config-conventional/lib/index.d.ts.map +0 -1
  440. data/node_modules/@commitlint/config-conventional/lib/index.js +0 -134
  441. data/node_modules/@commitlint/config-conventional/lib/index.js.map +0 -1
  442. data/node_modules/@commitlint/config-conventional/license.md +0 -21
  443. data/node_modules/@commitlint/config-conventional/package.json +0 -46
  444. data/node_modules/@commitlint/config-validator/lib/commitlint.schema.json +0 -105
  445. data/node_modules/@commitlint/config-validator/lib/formatErrors.d.ts +0 -9
  446. data/node_modules/@commitlint/config-validator/lib/formatErrors.d.ts.map +0 -1
  447. data/node_modules/@commitlint/config-validator/lib/formatErrors.js +0 -35
  448. data/node_modules/@commitlint/config-validator/lib/formatErrors.js.map +0 -1
  449. data/node_modules/@commitlint/config-validator/lib/validate.d.ts +0 -3
  450. data/node_modules/@commitlint/config-validator/lib/validate.d.ts.map +0 -1
  451. data/node_modules/@commitlint/config-validator/lib/validate.js +0 -39
  452. data/node_modules/@commitlint/config-validator/lib/validate.js.map +0 -1
  453. data/node_modules/@commitlint/config-validator/license.md +0 -21
  454. data/node_modules/@commitlint/config-validator/package.json +0 -46
  455. data/node_modules/@commitlint/ensure/lib/case.d.ts +0 -4
  456. data/node_modules/@commitlint/ensure/lib/case.d.ts.map +0 -1
  457. data/node_modules/@commitlint/ensure/lib/case.js +0 -15
  458. data/node_modules/@commitlint/ensure/lib/case.js.map +0 -1
  459. data/node_modules/@commitlint/ensure/lib/enum.d.ts +0 -3
  460. data/node_modules/@commitlint/ensure/lib/enum.d.ts.map +0 -1
  461. data/node_modules/@commitlint/ensure/lib/enum.js +0 -10
  462. data/node_modules/@commitlint/ensure/lib/enum.js.map +0 -1
  463. data/node_modules/@commitlint/ensure/lib/index.d.ts +0 -11
  464. data/node_modules/@commitlint/ensure/lib/index.d.ts.map +0 -1
  465. data/node_modules/@commitlint/ensure/lib/index.js +0 -11
  466. data/node_modules/@commitlint/ensure/lib/index.js.map +0 -1
  467. data/node_modules/@commitlint/ensure/lib/max-length.d.ts +0 -3
  468. data/node_modules/@commitlint/ensure/lib/max-length.d.ts.map +0 -1
  469. data/node_modules/@commitlint/ensure/lib/max-length.js +0 -2
  470. data/node_modules/@commitlint/ensure/lib/max-length.js.map +0 -1
  471. data/node_modules/@commitlint/ensure/lib/max-line-length.d.ts +0 -3
  472. data/node_modules/@commitlint/ensure/lib/max-line-length.d.ts.map +0 -1
  473. data/node_modules/@commitlint/ensure/lib/max-line-length.js +0 -4
  474. data/node_modules/@commitlint/ensure/lib/max-line-length.js.map +0 -1
  475. data/node_modules/@commitlint/ensure/lib/min-length.d.ts +0 -3
  476. data/node_modules/@commitlint/ensure/lib/min-length.d.ts.map +0 -1
  477. data/node_modules/@commitlint/ensure/lib/min-length.js +0 -2
  478. data/node_modules/@commitlint/ensure/lib/min-length.js.map +0 -1
  479. data/node_modules/@commitlint/ensure/lib/not-empty.d.ts +0 -3
  480. data/node_modules/@commitlint/ensure/lib/not-empty.d.ts.map +0 -1
  481. data/node_modules/@commitlint/ensure/lib/not-empty.js +0 -2
  482. data/node_modules/@commitlint/ensure/lib/not-empty.js.map +0 -1
  483. data/node_modules/@commitlint/ensure/lib/to-case.d.ts +0 -3
  484. data/node_modules/@commitlint/ensure/lib/to-case.d.ts.map +0 -1
  485. data/node_modules/@commitlint/ensure/lib/to-case.js +0 -32
  486. data/node_modules/@commitlint/ensure/lib/to-case.js.map +0 -1
  487. data/node_modules/@commitlint/ensure/license.md +0 -21
  488. data/node_modules/@commitlint/ensure/package.json +0 -56
  489. data/node_modules/@commitlint/execute-rule/lib/index.d.ts +0 -7
  490. data/node_modules/@commitlint/execute-rule/lib/index.d.ts.map +0 -1
  491. data/node_modules/@commitlint/execute-rule/lib/index.js +0 -13
  492. data/node_modules/@commitlint/execute-rule/lib/index.js.map +0 -1
  493. data/node_modules/@commitlint/execute-rule/license.md +0 -21
  494. data/node_modules/@commitlint/execute-rule/package.json +0 -42
  495. data/node_modules/@commitlint/format/README.md +0 -15
  496. data/node_modules/@commitlint/format/lib/format.d.ts +0 -5
  497. data/node_modules/@commitlint/format/lib/format.d.ts.map +0 -1
  498. data/node_modules/@commitlint/format/lib/format.js +0 -74
  499. data/node_modules/@commitlint/format/lib/format.js.map +0 -1
  500. data/node_modules/@commitlint/format/lib/index.d.ts +0 -3
  501. data/node_modules/@commitlint/format/lib/index.d.ts.map +0 -1
  502. data/node_modules/@commitlint/format/lib/index.js +0 -3
  503. data/node_modules/@commitlint/format/lib/index.js.map +0 -1
  504. data/node_modules/@commitlint/format/license.md +0 -21
  505. data/node_modules/@commitlint/format/package.json +0 -46
  506. data/node_modules/@commitlint/is-ignored/lib/defaults.d.ts +0 -3
  507. data/node_modules/@commitlint/is-ignored/lib/defaults.d.ts.map +0 -1
  508. data/node_modules/@commitlint/is-ignored/lib/defaults.js +0 -22
  509. data/node_modules/@commitlint/is-ignored/lib/defaults.js.map +0 -1
  510. data/node_modules/@commitlint/is-ignored/lib/index.d.ts +0 -3
  511. data/node_modules/@commitlint/is-ignored/lib/index.d.ts.map +0 -1
  512. data/node_modules/@commitlint/is-ignored/lib/index.js +0 -3
  513. data/node_modules/@commitlint/is-ignored/lib/index.js.map +0 -1
  514. data/node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts +0 -3
  515. data/node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts.map +0 -1
  516. data/node_modules/@commitlint/is-ignored/lib/is-ignored.js +0 -16
  517. data/node_modules/@commitlint/is-ignored/lib/is-ignored.js.map +0 -1
  518. data/node_modules/@commitlint/is-ignored/license.md +0 -21
  519. data/node_modules/@commitlint/is-ignored/package.json +0 -49
  520. data/node_modules/@commitlint/lint/README.md +0 -15
  521. data/node_modules/@commitlint/lint/lib/commit-message.d.ts +0 -7
  522. data/node_modules/@commitlint/lint/lib/commit-message.d.ts.map +0 -1
  523. data/node_modules/@commitlint/lint/lib/commit-message.js +0 -7
  524. data/node_modules/@commitlint/lint/lib/commit-message.js.map +0 -1
  525. data/node_modules/@commitlint/lint/lib/lint.d.ts +0 -3
  526. data/node_modules/@commitlint/lint/lib/lint.d.ts.map +0 -1
  527. data/node_modules/@commitlint/lint/lib/lint.js +0 -115
  528. data/node_modules/@commitlint/lint/lib/lint.js.map +0 -1
  529. data/node_modules/@commitlint/lint/license.md +0 -21
  530. data/node_modules/@commitlint/lint/package.json +0 -49
  531. data/node_modules/@commitlint/load/README.md +0 -15
  532. data/node_modules/@commitlint/load/lib/load.d.ts +0 -5
  533. data/node_modules/@commitlint/load/lib/load.d.ts.map +0 -1
  534. data/node_modules/@commitlint/load/lib/load.js +0 -97
  535. data/node_modules/@commitlint/load/lib/load.js.map +0 -1
  536. data/node_modules/@commitlint/load/lib/utils/load-config.d.ts +0 -9
  537. data/node_modules/@commitlint/load/lib/utils/load-config.d.ts.map +0 -1
  538. data/node_modules/@commitlint/load/lib/utils/load-config.js +0 -78
  539. data/node_modules/@commitlint/load/lib/utils/load-config.js.map +0 -1
  540. data/node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts +0 -5
  541. data/node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts.map +0 -1
  542. data/node_modules/@commitlint/load/lib/utils/load-parser-opts.js +0 -56
  543. data/node_modules/@commitlint/load/lib/utils/load-parser-opts.js.map +0 -1
  544. data/node_modules/@commitlint/load/lib/utils/load-plugin.d.ts +0 -3
  545. data/node_modules/@commitlint/load/lib/utils/load-plugin.d.ts.map +0 -1
  546. data/node_modules/@commitlint/load/lib/utils/load-plugin.js +0 -63
  547. data/node_modules/@commitlint/load/lib/utils/load-plugin.js.map +0 -1
  548. data/node_modules/@commitlint/load/lib/utils/plugin-errors.d.ts +0 -13
  549. data/node_modules/@commitlint/load/lib/utils/plugin-errors.d.ts.map +0 -1
  550. data/node_modules/@commitlint/load/lib/utils/plugin-errors.js +0 -21
  551. data/node_modules/@commitlint/load/lib/utils/plugin-errors.js.map +0 -1
  552. data/node_modules/@commitlint/load/lib/utils/plugin-naming.d.ts +0 -20
  553. data/node_modules/@commitlint/load/lib/utils/plugin-naming.d.ts.map +0 -1
  554. data/node_modules/@commitlint/load/lib/utils/plugin-naming.js +0 -80
  555. data/node_modules/@commitlint/load/lib/utils/plugin-naming.js.map +0 -1
  556. data/node_modules/@commitlint/load/license.md +0 -21
  557. data/node_modules/@commitlint/load/package.json +0 -60
  558. data/node_modules/@commitlint/message/lib/index.d.ts +0 -2
  559. data/node_modules/@commitlint/message/lib/index.d.ts.map +0 -1
  560. data/node_modules/@commitlint/message/lib/index.js +0 -4
  561. data/node_modules/@commitlint/message/lib/index.js.map +0 -1
  562. data/node_modules/@commitlint/message/license.md +0 -21
  563. data/node_modules/@commitlint/message/package.json +0 -43
  564. data/node_modules/@commitlint/parse/README.md +0 -29
  565. data/node_modules/@commitlint/parse/lib/index.d.ts +0 -5
  566. data/node_modules/@commitlint/parse/lib/index.d.ts.map +0 -1
  567. data/node_modules/@commitlint/parse/lib/index.js +0 -13
  568. data/node_modules/@commitlint/parse/lib/index.js.map +0 -1
  569. data/node_modules/@commitlint/parse/license.md +0 -21
  570. data/node_modules/@commitlint/parse/package.json +0 -49
  571. data/node_modules/@commitlint/read/README.md +0 -15
  572. data/node_modules/@commitlint/read/lib/get-edit-commit.d.ts +0 -2
  573. data/node_modules/@commitlint/read/lib/get-edit-commit.d.ts.map +0 -1
  574. data/node_modules/@commitlint/read/lib/get-edit-commit.js +0 -14
  575. data/node_modules/@commitlint/read/lib/get-edit-commit.js.map +0 -1
  576. data/node_modules/@commitlint/read/lib/get-edit-file-path.d.ts +0 -2
  577. data/node_modules/@commitlint/read/lib/get-edit-file-path.d.ts.map +0 -1
  578. data/node_modules/@commitlint/read/lib/get-edit-file-path.js +0 -19
  579. data/node_modules/@commitlint/read/lib/get-edit-file-path.js.map +0 -1
  580. data/node_modules/@commitlint/read/lib/get-history-commits.d.ts +0 -5
  581. data/node_modules/@commitlint/read/lib/get-history-commits.d.ts.map +0 -1
  582. data/node_modules/@commitlint/read/lib/get-history-commits.js +0 -7
  583. data/node_modules/@commitlint/read/lib/get-history-commits.js.map +0 -1
  584. data/node_modules/@commitlint/read/lib/read.d.ts +0 -12
  585. data/node_modules/@commitlint/read/lib/read.d.ts.map +0 -1
  586. data/node_modules/@commitlint/read/lib/read.js +0 -52
  587. data/node_modules/@commitlint/read/lib/read.js.map +0 -1
  588. data/node_modules/@commitlint/read/lib/stream-to-promise.d.ts +0 -3
  589. data/node_modules/@commitlint/read/lib/stream-to-promise.d.ts.map +0 -1
  590. data/node_modules/@commitlint/read/lib/stream-to-promise.js +0 -8
  591. data/node_modules/@commitlint/read/lib/stream-to-promise.js.map +0 -1
  592. data/node_modules/@commitlint/read/license.md +0 -21
  593. data/node_modules/@commitlint/read/package.json +0 -52
  594. data/node_modules/@commitlint/resolve-extends/lib/index.d.ts +0 -29
  595. data/node_modules/@commitlint/resolve-extends/lib/index.d.ts.map +0 -1
  596. data/node_modules/@commitlint/resolve-extends/lib/index.js +0 -182
  597. data/node_modules/@commitlint/resolve-extends/lib/index.js.map +0 -1
  598. data/node_modules/@commitlint/resolve-extends/license.md +0 -21
  599. data/node_modules/@commitlint/resolve-extends/package.json +0 -51
  600. data/node_modules/@commitlint/rules/lib/body-case.d.ts +0 -3
  601. data/node_modules/@commitlint/rules/lib/body-case.d.ts.map +0 -1
  602. data/node_modules/@commitlint/rules/lib/body-case.js +0 -28
  603. data/node_modules/@commitlint/rules/lib/body-case.js.map +0 -1
  604. data/node_modules/@commitlint/rules/lib/body-empty.d.ts +0 -3
  605. data/node_modules/@commitlint/rules/lib/body-empty.d.ts.map +0 -1
  606. data/node_modules/@commitlint/rules/lib/body-empty.js +0 -11
  607. data/node_modules/@commitlint/rules/lib/body-empty.js.map +0 -1
  608. data/node_modules/@commitlint/rules/lib/body-full-stop.d.ts +0 -3
  609. data/node_modules/@commitlint/rules/lib/body-full-stop.d.ts.map +0 -1
  610. data/node_modules/@commitlint/rules/lib/body-full-stop.js +0 -14
  611. data/node_modules/@commitlint/rules/lib/body-full-stop.js.map +0 -1
  612. data/node_modules/@commitlint/rules/lib/body-leading-blank.d.ts +0 -3
  613. data/node_modules/@commitlint/rules/lib/body-leading-blank.d.ts.map +0 -1
  614. data/node_modules/@commitlint/rules/lib/body-leading-blank.js +0 -17
  615. data/node_modules/@commitlint/rules/lib/body-leading-blank.js.map +0 -1
  616. data/node_modules/@commitlint/rules/lib/body-max-length.d.ts +0 -3
  617. data/node_modules/@commitlint/rules/lib/body-max-length.d.ts.map +0 -1
  618. data/node_modules/@commitlint/rules/lib/body-max-length.js +0 -12
  619. data/node_modules/@commitlint/rules/lib/body-max-length.js.map +0 -1
  620. data/node_modules/@commitlint/rules/lib/body-max-line-length.d.ts +0 -3
  621. data/node_modules/@commitlint/rules/lib/body-max-line-length.d.ts.map +0 -1
  622. data/node_modules/@commitlint/rules/lib/body-max-line-length.js +0 -12
  623. data/node_modules/@commitlint/rules/lib/body-max-line-length.js.map +0 -1
  624. data/node_modules/@commitlint/rules/lib/body-min-length.d.ts +0 -3
  625. data/node_modules/@commitlint/rules/lib/body-min-length.d.ts.map +0 -1
  626. data/node_modules/@commitlint/rules/lib/body-min-length.js +0 -11
  627. data/node_modules/@commitlint/rules/lib/body-min-length.js.map +0 -1
  628. data/node_modules/@commitlint/rules/lib/footer-empty.d.ts +0 -3
  629. data/node_modules/@commitlint/rules/lib/footer-empty.d.ts.map +0 -1
  630. data/node_modules/@commitlint/rules/lib/footer-empty.js +0 -11
  631. data/node_modules/@commitlint/rules/lib/footer-empty.js.map +0 -1
  632. data/node_modules/@commitlint/rules/lib/footer-leading-blank.d.ts +0 -3
  633. data/node_modules/@commitlint/rules/lib/footer-leading-blank.d.ts.map +0 -1
  634. data/node_modules/@commitlint/rules/lib/footer-leading-blank.js +0 -24
  635. data/node_modules/@commitlint/rules/lib/footer-leading-blank.js.map +0 -1
  636. data/node_modules/@commitlint/rules/lib/footer-max-length.d.ts +0 -3
  637. data/node_modules/@commitlint/rules/lib/footer-max-length.d.ts.map +0 -1
  638. data/node_modules/@commitlint/rules/lib/footer-max-length.js +0 -12
  639. data/node_modules/@commitlint/rules/lib/footer-max-length.js.map +0 -1
  640. data/node_modules/@commitlint/rules/lib/footer-max-line-length.d.ts +0 -3
  641. data/node_modules/@commitlint/rules/lib/footer-max-line-length.d.ts.map +0 -1
  642. data/node_modules/@commitlint/rules/lib/footer-max-line-length.js +0 -12
  643. data/node_modules/@commitlint/rules/lib/footer-max-line-length.js.map +0 -1
  644. data/node_modules/@commitlint/rules/lib/footer-min-length.d.ts +0 -3
  645. data/node_modules/@commitlint/rules/lib/footer-min-length.d.ts.map +0 -1
  646. data/node_modules/@commitlint/rules/lib/footer-min-length.js +0 -11
  647. data/node_modules/@commitlint/rules/lib/footer-min-length.js.map +0 -1
  648. data/node_modules/@commitlint/rules/lib/header-case.d.ts +0 -3
  649. data/node_modules/@commitlint/rules/lib/header-case.d.ts.map +0 -1
  650. data/node_modules/@commitlint/rules/lib/header-case.js +0 -28
  651. data/node_modules/@commitlint/rules/lib/header-case.js.map +0 -1
  652. data/node_modules/@commitlint/rules/lib/header-full-stop.d.ts +0 -3
  653. data/node_modules/@commitlint/rules/lib/header-full-stop.d.ts.map +0 -1
  654. data/node_modules/@commitlint/rules/lib/header-full-stop.js +0 -11
  655. data/node_modules/@commitlint/rules/lib/header-full-stop.js.map +0 -1
  656. data/node_modules/@commitlint/rules/lib/header-max-length.d.ts +0 -3
  657. data/node_modules/@commitlint/rules/lib/header-max-length.d.ts.map +0 -1
  658. data/node_modules/@commitlint/rules/lib/header-max-length.js +0 -8
  659. data/node_modules/@commitlint/rules/lib/header-max-length.js.map +0 -1
  660. data/node_modules/@commitlint/rules/lib/header-min-length.d.ts +0 -3
  661. data/node_modules/@commitlint/rules/lib/header-min-length.d.ts.map +0 -1
  662. data/node_modules/@commitlint/rules/lib/header-min-length.js +0 -8
  663. data/node_modules/@commitlint/rules/lib/header-min-length.js.map +0 -1
  664. data/node_modules/@commitlint/rules/lib/header-trim.d.ts +0 -3
  665. data/node_modules/@commitlint/rules/lib/header-trim.d.ts.map +0 -1
  666. data/node_modules/@commitlint/rules/lib/header-trim.js +0 -23
  667. data/node_modules/@commitlint/rules/lib/header-trim.js.map +0 -1
  668. data/node_modules/@commitlint/rules/lib/index.d.ts +0 -40
  669. data/node_modules/@commitlint/rules/lib/index.d.ts.map +0 -1
  670. data/node_modules/@commitlint/rules/lib/index.js +0 -75
  671. data/node_modules/@commitlint/rules/lib/index.js.map +0 -1
  672. data/node_modules/@commitlint/rules/lib/references-empty.d.ts +0 -3
  673. data/node_modules/@commitlint/rules/lib/references-empty.d.ts.map +0 -1
  674. data/node_modules/@commitlint/rules/lib/references-empty.js +0 -10
  675. data/node_modules/@commitlint/rules/lib/references-empty.js.map +0 -1
  676. data/node_modules/@commitlint/rules/lib/scope-case.d.ts +0 -3
  677. data/node_modules/@commitlint/rules/lib/scope-case.d.ts.map +0 -1
  678. data/node_modules/@commitlint/rules/lib/scope-case.js +0 -32
  679. data/node_modules/@commitlint/rules/lib/scope-case.js.map +0 -1
  680. data/node_modules/@commitlint/rules/lib/scope-empty.d.ts +0 -3
  681. data/node_modules/@commitlint/rules/lib/scope-empty.d.ts.map +0 -1
  682. data/node_modules/@commitlint/rules/lib/scope-empty.js +0 -11
  683. data/node_modules/@commitlint/rules/lib/scope-empty.js.map +0 -1
  684. data/node_modules/@commitlint/rules/lib/scope-enum.d.ts +0 -3
  685. data/node_modules/@commitlint/rules/lib/scope-enum.d.ts.map +0 -1
  686. data/node_modules/@commitlint/rules/lib/scope-enum.js +0 -23
  687. data/node_modules/@commitlint/rules/lib/scope-enum.js.map +0 -1
  688. data/node_modules/@commitlint/rules/lib/scope-max-length.d.ts +0 -3
  689. data/node_modules/@commitlint/rules/lib/scope-max-length.d.ts.map +0 -1
  690. data/node_modules/@commitlint/rules/lib/scope-max-length.js +0 -12
  691. data/node_modules/@commitlint/rules/lib/scope-max-length.js.map +0 -1
  692. data/node_modules/@commitlint/rules/lib/scope-min-length.d.ts +0 -3
  693. data/node_modules/@commitlint/rules/lib/scope-min-length.d.ts.map +0 -1
  694. data/node_modules/@commitlint/rules/lib/scope-min-length.js +0 -12
  695. data/node_modules/@commitlint/rules/lib/scope-min-length.js.map +0 -1
  696. data/node_modules/@commitlint/rules/lib/signed-off-by.d.ts +0 -3
  697. data/node_modules/@commitlint/rules/lib/signed-off-by.d.ts.map +0 -1
  698. data/node_modules/@commitlint/rules/lib/signed-off-by.js +0 -19
  699. data/node_modules/@commitlint/rules/lib/signed-off-by.js.map +0 -1
  700. data/node_modules/@commitlint/rules/lib/subject-case.d.ts +0 -3
  701. data/node_modules/@commitlint/rules/lib/subject-case.d.ts.map +0 -1
  702. data/node_modules/@commitlint/rules/lib/subject-case.js +0 -44
  703. data/node_modules/@commitlint/rules/lib/subject-case.js.map +0 -1
  704. data/node_modules/@commitlint/rules/lib/subject-empty.d.ts +0 -3
  705. data/node_modules/@commitlint/rules/lib/subject-empty.d.ts.map +0 -1
  706. data/node_modules/@commitlint/rules/lib/subject-empty.js +0 -11
  707. data/node_modules/@commitlint/rules/lib/subject-empty.js.map +0 -1
  708. data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.d.ts +0 -3
  709. data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.d.ts.map +0 -1
  710. data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.js +0 -18
  711. data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.js.map +0 -1
  712. data/node_modules/@commitlint/rules/lib/subject-full-stop.d.ts +0 -3
  713. data/node_modules/@commitlint/rules/lib/subject-full-stop.d.ts.map +0 -1
  714. data/node_modules/@commitlint/rules/lib/subject-full-stop.js +0 -18
  715. data/node_modules/@commitlint/rules/lib/subject-full-stop.js.map +0 -1
  716. data/node_modules/@commitlint/rules/lib/subject-max-length.d.ts +0 -3
  717. data/node_modules/@commitlint/rules/lib/subject-max-length.d.ts.map +0 -1
  718. data/node_modules/@commitlint/rules/lib/subject-max-length.js +0 -12
  719. data/node_modules/@commitlint/rules/lib/subject-max-length.js.map +0 -1
  720. data/node_modules/@commitlint/rules/lib/subject-min-length.d.ts +0 -3
  721. data/node_modules/@commitlint/rules/lib/subject-min-length.d.ts.map +0 -1
  722. data/node_modules/@commitlint/rules/lib/subject-min-length.js +0 -12
  723. data/node_modules/@commitlint/rules/lib/subject-min-length.js.map +0 -1
  724. data/node_modules/@commitlint/rules/lib/trailer-exists.d.ts +0 -3
  725. data/node_modules/@commitlint/rules/lib/trailer-exists.d.ts.map +0 -1
  726. data/node_modules/@commitlint/rules/lib/trailer-exists.js +0 -20
  727. data/node_modules/@commitlint/rules/lib/trailer-exists.js.map +0 -1
  728. data/node_modules/@commitlint/rules/lib/type-case.d.ts +0 -3
  729. data/node_modules/@commitlint/rules/lib/type-case.d.ts.map +0 -1
  730. data/node_modules/@commitlint/rules/lib/type-case.js +0 -28
  731. data/node_modules/@commitlint/rules/lib/type-case.js.map +0 -1
  732. data/node_modules/@commitlint/rules/lib/type-empty.d.ts +0 -3
  733. data/node_modules/@commitlint/rules/lib/type-empty.d.ts.map +0 -1
  734. data/node_modules/@commitlint/rules/lib/type-empty.js +0 -11
  735. data/node_modules/@commitlint/rules/lib/type-empty.js.map +0 -1
  736. data/node_modules/@commitlint/rules/lib/type-enum.d.ts +0 -3
  737. data/node_modules/@commitlint/rules/lib/type-enum.d.ts.map +0 -1
  738. data/node_modules/@commitlint/rules/lib/type-enum.js +0 -19
  739. data/node_modules/@commitlint/rules/lib/type-enum.js.map +0 -1
  740. data/node_modules/@commitlint/rules/lib/type-max-length.d.ts +0 -3
  741. data/node_modules/@commitlint/rules/lib/type-max-length.d.ts.map +0 -1
  742. data/node_modules/@commitlint/rules/lib/type-max-length.js +0 -12
  743. data/node_modules/@commitlint/rules/lib/type-max-length.js.map +0 -1
  744. data/node_modules/@commitlint/rules/lib/type-min-length.d.ts +0 -3
  745. data/node_modules/@commitlint/rules/lib/type-min-length.d.ts.map +0 -1
  746. data/node_modules/@commitlint/rules/lib/type-min-length.js +0 -12
  747. data/node_modules/@commitlint/rules/lib/type-min-length.js.map +0 -1
  748. data/node_modules/@commitlint/rules/license.md +0 -21
  749. data/node_modules/@commitlint/rules/package.json +0 -53
  750. data/node_modules/@commitlint/to-lines/lib/index.d.ts +0 -2
  751. data/node_modules/@commitlint/to-lines/lib/index.d.ts.map +0 -1
  752. data/node_modules/@commitlint/to-lines/lib/index.js +0 -7
  753. data/node_modules/@commitlint/to-lines/lib/index.js.map +0 -1
  754. data/node_modules/@commitlint/to-lines/license.md +0 -21
  755. data/node_modules/@commitlint/to-lines/package.json +0 -42
  756. data/node_modules/@commitlint/top-level/lib/index.d.ts +0 -6
  757. data/node_modules/@commitlint/top-level/lib/index.d.ts.map +0 -1
  758. data/node_modules/@commitlint/top-level/lib/index.js +0 -22
  759. data/node_modules/@commitlint/top-level/lib/index.js.map +0 -1
  760. data/node_modules/@commitlint/top-level/license.md +0 -21
  761. data/node_modules/@commitlint/top-level/package.json +0 -45
  762. data/node_modules/@commitlint/types/lib/ensure.d.ts +0 -2
  763. data/node_modules/@commitlint/types/lib/ensure.d.ts.map +0 -1
  764. data/node_modules/@commitlint/types/lib/ensure.js +0 -2
  765. data/node_modules/@commitlint/types/lib/ensure.js.map +0 -1
  766. data/node_modules/@commitlint/types/lib/format.d.ts +0 -28
  767. data/node_modules/@commitlint/types/lib/format.d.ts.map +0 -1
  768. data/node_modules/@commitlint/types/lib/format.js +0 -2
  769. data/node_modules/@commitlint/types/lib/format.js.map +0 -1
  770. data/node_modules/@commitlint/types/lib/index.d.ts +0 -9
  771. data/node_modules/@commitlint/types/lib/index.d.ts.map +0 -1
  772. data/node_modules/@commitlint/types/lib/index.js +0 -9
  773. data/node_modules/@commitlint/types/lib/index.js.map +0 -1
  774. data/node_modules/@commitlint/types/lib/is-ignored.d.ts +0 -6
  775. data/node_modules/@commitlint/types/lib/is-ignored.d.ts.map +0 -1
  776. data/node_modules/@commitlint/types/lib/is-ignored.js +0 -2
  777. data/node_modules/@commitlint/types/lib/is-ignored.js.map +0 -1
  778. data/node_modules/@commitlint/types/lib/lint.d.ts +0 -36
  779. data/node_modules/@commitlint/types/lib/lint.d.ts.map +0 -1
  780. data/node_modules/@commitlint/types/lib/lint.js +0 -2
  781. data/node_modules/@commitlint/types/lib/lint.js.map +0 -1
  782. data/node_modules/@commitlint/types/lib/load.d.ts +0 -42
  783. data/node_modules/@commitlint/types/lib/load.d.ts.map +0 -1
  784. data/node_modules/@commitlint/types/lib/load.js +0 -2
  785. data/node_modules/@commitlint/types/lib/load.js.map +0 -1
  786. data/node_modules/@commitlint/types/lib/parse.d.ts +0 -3
  787. data/node_modules/@commitlint/types/lib/parse.d.ts.map +0 -1
  788. data/node_modules/@commitlint/types/lib/parse.js +0 -2
  789. data/node_modules/@commitlint/types/lib/parse.js.map +0 -1
  790. data/node_modules/@commitlint/types/lib/prompt.d.ts +0 -39
  791. data/node_modules/@commitlint/types/lib/prompt.d.ts.map +0 -1
  792. data/node_modules/@commitlint/types/lib/prompt.js +0 -2
  793. data/node_modules/@commitlint/types/lib/prompt.js.map +0 -1
  794. data/node_modules/@commitlint/types/lib/rules.d.ts +0 -85
  795. data/node_modules/@commitlint/types/lib/rules.d.ts.map +0 -1
  796. data/node_modules/@commitlint/types/lib/rules.js +0 -19
  797. data/node_modules/@commitlint/types/lib/rules.js.map +0 -1
  798. data/node_modules/@commitlint/types/license.md +0 -21
  799. data/node_modules/@commitlint/types/package.json +0 -39
  800. data/node_modules/@hutson/parse-repository-url/license.md +0 -202
  801. data/node_modules/@hutson/parse-repository-url/package.json +0 -62
  802. data/node_modules/@hutson/parse-repository-url/readme.md +0 -130
  803. data/node_modules/@hutson/parse-repository-url/src/index.js +0 -62
  804. data/node_modules/@types/conventional-commits-parser/LICENSE +0 -21
  805. data/node_modules/@types/conventional-commits-parser/README.md +0 -15
  806. data/node_modules/@types/conventional-commits-parser/index.d.ts +0 -305
  807. data/node_modules/@types/conventional-commits-parser/package.json +0 -34
  808. data/node_modules/@types/conventional-commits-parser/ts4.9/index.d.ts +0 -305
  809. data/node_modules/@types/node/LICENSE +0 -21
  810. data/node_modules/@types/node/README.md +0 -15
  811. data/node_modules/@types/node/assert/strict.d.ts +0 -8
  812. data/node_modules/@types/node/assert.d.ts +0 -1040
  813. data/node_modules/@types/node/async_hooks.d.ts +0 -541
  814. data/node_modules/@types/node/buffer.d.ts +0 -2293
  815. data/node_modules/@types/node/child_process.d.ts +0 -1544
  816. data/node_modules/@types/node/cluster.d.ts +0 -578
  817. data/node_modules/@types/node/console.d.ts +0 -452
  818. data/node_modules/@types/node/constants.d.ts +0 -19
  819. data/node_modules/@types/node/crypto.d.ts +0 -4451
  820. data/node_modules/@types/node/dgram.d.ts +0 -596
  821. data/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  822. data/node_modules/@types/node/dns/promises.d.ts +0 -476
  823. data/node_modules/@types/node/dns.d.ts +0 -865
  824. data/node_modules/@types/node/dom-events.d.ts +0 -124
  825. data/node_modules/@types/node/domain.d.ts +0 -170
  826. data/node_modules/@types/node/events.d.ts +0 -931
  827. data/node_modules/@types/node/fs/promises.d.ts +0 -1264
  828. data/node_modules/@types/node/fs.d.ts +0 -4390
  829. data/node_modules/@types/node/globals.d.ts +0 -510
  830. data/node_modules/@types/node/globals.global.d.ts +0 -1
  831. data/node_modules/@types/node/http.d.ts +0 -1921
  832. data/node_modules/@types/node/http2.d.ts +0 -2418
  833. data/node_modules/@types/node/https.d.ts +0 -550
  834. data/node_modules/@types/node/index.d.ts +0 -90
  835. data/node_modules/@types/node/inspector.d.ts +0 -3696
  836. data/node_modules/@types/node/module.d.ts +0 -301
  837. data/node_modules/@types/node/net.d.ts +0 -999
  838. data/node_modules/@types/node/os.d.ts +0 -495
  839. data/node_modules/@types/node/package.json +0 -217
  840. data/node_modules/@types/node/path.d.ts +0 -200
  841. data/node_modules/@types/node/perf_hooks.d.ts +0 -941
  842. data/node_modules/@types/node/process.d.ts +0 -1912
  843. data/node_modules/@types/node/punycode.d.ts +0 -117
  844. data/node_modules/@types/node/querystring.d.ts +0 -153
  845. data/node_modules/@types/node/readline/promises.d.ts +0 -150
  846. data/node_modules/@types/node/readline.d.ts +0 -540
  847. data/node_modules/@types/node/repl.d.ts +0 -430
  848. data/node_modules/@types/node/sea.d.ts +0 -153
  849. data/node_modules/@types/node/sqlite.d.ts +0 -213
  850. data/node_modules/@types/node/stream/consumers.d.ts +0 -12
  851. data/node_modules/@types/node/stream/promises.d.ts +0 -83
  852. data/node_modules/@types/node/stream/web.d.ts +0 -367
  853. data/node_modules/@types/node/stream.d.ts +0 -1707
  854. data/node_modules/@types/node/string_decoder.d.ts +0 -67
  855. data/node_modules/@types/node/test.d.ts +0 -2006
  856. data/node_modules/@types/node/timers/promises.d.ts +0 -97
  857. data/node_modules/@types/node/timers.d.ts +0 -240
  858. data/node_modules/@types/node/tls.d.ts +0 -1220
  859. data/node_modules/@types/node/trace_events.d.ts +0 -197
  860. data/node_modules/@types/node/tty.d.ts +0 -208
  861. data/node_modules/@types/node/url.d.ts +0 -969
  862. data/node_modules/@types/node/util.d.ts +0 -2298
  863. data/node_modules/@types/node/v8.d.ts +0 -808
  864. data/node_modules/@types/node/vm.d.ts +0 -922
  865. data/node_modules/@types/node/wasi.d.ts +0 -181
  866. data/node_modules/@types/node/worker_threads.d.ts +0 -712
  867. data/node_modules/@types/node/zlib.d.ts +0 -539
  868. data/node_modules/@types/normalize-package-data/LICENSE +0 -21
  869. data/node_modules/@types/normalize-package-data/README.md +0 -62
  870. data/node_modules/@types/normalize-package-data/index.d.ts +0 -43
  871. data/node_modules/@types/normalize-package-data/package.json +0 -25
  872. data/node_modules/@types/semver/LICENSE +0 -21
  873. data/node_modules/@types/semver/README.md +0 -15
  874. data/node_modules/@types/semver/classes/comparator.d.ts +0 -17
  875. data/node_modules/@types/semver/classes/range.d.ts +0 -21
  876. data/node_modules/@types/semver/classes/semver.d.ts +0 -64
  877. data/node_modules/@types/semver/functions/clean.d.ts +0 -8
  878. data/node_modules/@types/semver/functions/cmp.d.ts +0 -16
  879. data/node_modules/@types/semver/functions/coerce.d.ts +0 -12
  880. data/node_modules/@types/semver/functions/compare-build.d.ts +0 -21
  881. data/node_modules/@types/semver/functions/compare-loose.d.ts +0 -5
  882. data/node_modules/@types/semver/functions/compare.d.ts +0 -20
  883. data/node_modules/@types/semver/functions/diff.d.ts +0 -9
  884. data/node_modules/@types/semver/functions/eq.d.ts +0 -9
  885. data/node_modules/@types/semver/functions/gt.d.ts +0 -9
  886. data/node_modules/@types/semver/functions/gte.d.ts +0 -9
  887. data/node_modules/@types/semver/functions/inc.d.ts +0 -25
  888. data/node_modules/@types/semver/functions/lt.d.ts +0 -9
  889. data/node_modules/@types/semver/functions/lte.d.ts +0 -8
  890. data/node_modules/@types/semver/functions/major.d.ts +0 -9
  891. data/node_modules/@types/semver/functions/minor.d.ts +0 -9
  892. data/node_modules/@types/semver/functions/neq.d.ts +0 -9
  893. data/node_modules/@types/semver/functions/parse.d.ts +0 -12
  894. data/node_modules/@types/semver/functions/patch.d.ts +0 -9
  895. data/node_modules/@types/semver/functions/prerelease.d.ts +0 -12
  896. data/node_modules/@types/semver/functions/rcompare.d.ts +0 -15
  897. data/node_modules/@types/semver/functions/rsort.d.ts +0 -9
  898. data/node_modules/@types/semver/functions/satisfies.d.ts +0 -14
  899. data/node_modules/@types/semver/functions/sort.d.ts +0 -9
  900. data/node_modules/@types/semver/functions/valid.d.ts +0 -11
  901. data/node_modules/@types/semver/index.d.ts +0 -129
  902. data/node_modules/@types/semver/internals/identifiers.d.ts +0 -13
  903. data/node_modules/@types/semver/package.json +0 -50
  904. data/node_modules/@types/semver/preload.d.ts +0 -2
  905. data/node_modules/@types/semver/ranges/gtr.d.ts +0 -14
  906. data/node_modules/@types/semver/ranges/intersects.d.ts +0 -13
  907. data/node_modules/@types/semver/ranges/ltr.d.ts +0 -14
  908. data/node_modules/@types/semver/ranges/max-satisfying.d.ts +0 -14
  909. data/node_modules/@types/semver/ranges/min-satisfying.d.ts +0 -14
  910. data/node_modules/@types/semver/ranges/min-version.d.ts +0 -10
  911. data/node_modules/@types/semver/ranges/outside.d.ts +0 -15
  912. data/node_modules/@types/semver/ranges/simplify.d.ts +0 -14
  913. data/node_modules/@types/semver/ranges/subset.d.ts +0 -9
  914. data/node_modules/@types/semver/ranges/to-comparators.d.ts +0 -9
  915. data/node_modules/@types/semver/ranges/valid.d.ts +0 -12
  916. data/node_modules/JSONStream/.travis.yml +0 -8
  917. data/node_modules/JSONStream/LICENSE.APACHE2 +0 -15
  918. data/node_modules/JSONStream/LICENSE.MIT +0 -24
  919. data/node_modules/JSONStream/bin.js +0 -12
  920. data/node_modules/JSONStream/examples/all_docs.js +0 -13
  921. data/node_modules/JSONStream/index.js +0 -247
  922. data/node_modules/JSONStream/package.json +0 -40
  923. data/node_modules/JSONStream/readme.markdown +0 -207
  924. data/node_modules/JSONStream/test/bool.js +0 -41
  925. data/node_modules/JSONStream/test/browser.js +0 -18
  926. data/node_modules/JSONStream/test/destroy_missing.js +0 -27
  927. data/node_modules/JSONStream/test/doubledot1.js +0 -29
  928. data/node_modules/JSONStream/test/doubledot2.js +0 -30
  929. data/node_modules/JSONStream/test/empty.js +0 -44
  930. data/node_modules/JSONStream/test/error_contents.js +0 -45
  931. data/node_modules/JSONStream/test/fixtures/all_npm.json +0 -4030
  932. data/node_modules/JSONStream/test/fixtures/couch_sample.json +0 -18
  933. data/node_modules/JSONStream/test/fixtures/depth.json +0 -15
  934. data/node_modules/JSONStream/test/fixtures/error.json +0 -1
  935. data/node_modules/JSONStream/test/fixtures/header_footer.json +0 -19
  936. data/node_modules/JSONStream/test/fn.js +0 -39
  937. data/node_modules/JSONStream/test/gen.js +0 -135
  938. data/node_modules/JSONStream/test/header_footer.js +0 -55
  939. data/node_modules/JSONStream/test/issues.js +0 -34
  940. data/node_modules/JSONStream/test/keys.js +0 -105
  941. data/node_modules/JSONStream/test/map.js +0 -40
  942. data/node_modules/JSONStream/test/multiple_objects.js +0 -36
  943. data/node_modules/JSONStream/test/multiple_objects_error.js +0 -29
  944. data/node_modules/JSONStream/test/null.js +0 -28
  945. data/node_modules/JSONStream/test/parsejson.js +0 -29
  946. data/node_modules/JSONStream/test/run.js +0 -13
  947. data/node_modules/JSONStream/test/stringify.js +0 -41
  948. data/node_modules/JSONStream/test/stringify_object.js +0 -47
  949. data/node_modules/JSONStream/test/test.js +0 -35
  950. data/node_modules/JSONStream/test/test2.js +0 -29
  951. data/node_modules/JSONStream/test/two-ways.js +0 -41
  952. data/node_modules/add-stream/.jshintrc +0 -25
  953. data/node_modules/add-stream/.npmignore +0 -7
  954. data/node_modules/add-stream/.travis.yml +0 -4
  955. data/node_modules/add-stream/README.md +0 -38
  956. data/node_modules/add-stream/index.js +0 -56
  957. data/node_modules/add-stream/package.json +0 -34
  958. data/node_modules/add-stream/test/spec.js +0 -64
  959. data/node_modules/ajv/.runkit_example.js +0 -23
  960. data/node_modules/ajv/LICENSE +0 -22
  961. data/node_modules/ajv/README.md +0 -207
  962. data/node_modules/ajv/dist/2019.d.ts +0 -19
  963. data/node_modules/ajv/dist/2019.js +0 -61
  964. data/node_modules/ajv/dist/2019.js.map +0 -1
  965. data/node_modules/ajv/dist/2020.d.ts +0 -19
  966. data/node_modules/ajv/dist/2020.js +0 -55
  967. data/node_modules/ajv/dist/2020.js.map +0 -1
  968. data/node_modules/ajv/dist/ajv.d.ts +0 -18
  969. data/node_modules/ajv/dist/ajv.js +0 -50
  970. data/node_modules/ajv/dist/ajv.js.map +0 -1
  971. data/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
  972. data/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  973. data/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  974. data/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
  975. data/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  976. data/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  977. data/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
  978. data/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  979. data/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  980. data/node_modules/ajv/dist/compile/errors.d.ts +0 -13
  981. data/node_modules/ajv/dist/compile/errors.js +0 -123
  982. data/node_modules/ajv/dist/compile/errors.js.map +0 -1
  983. data/node_modules/ajv/dist/compile/index.d.ts +0 -80
  984. data/node_modules/ajv/dist/compile/index.js +0 -242
  985. data/node_modules/ajv/dist/compile/index.js.map +0 -1
  986. data/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
  987. data/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
  988. data/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
  989. data/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
  990. data/node_modules/ajv/dist/compile/jtd/serialize.js +0 -229
  991. data/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
  992. data/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
  993. data/node_modules/ajv/dist/compile/jtd/types.js +0 -14
  994. data/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
  995. data/node_modules/ajv/dist/compile/names.d.ts +0 -20
  996. data/node_modules/ajv/dist/compile/names.js +0 -28
  997. data/node_modules/ajv/dist/compile/names.js.map +0 -1
  998. data/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
  999. data/node_modules/ajv/dist/compile/ref_error.js +0 -12
  1000. data/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  1001. data/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
  1002. data/node_modules/ajv/dist/compile/resolve.js +0 -155
  1003. data/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  1004. data/node_modules/ajv/dist/compile/rules.d.ts +0 -28
  1005. data/node_modules/ajv/dist/compile/rules.js +0 -26
  1006. data/node_modules/ajv/dist/compile/rules.js.map +0 -1
  1007. data/node_modules/ajv/dist/compile/util.d.ts +0 -40
  1008. data/node_modules/ajv/dist/compile/util.js +0 -178
  1009. data/node_modules/ajv/dist/compile/util.js.map +0 -1
  1010. data/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
  1011. data/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  1012. data/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  1013. data/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
  1014. data/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  1015. data/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  1016. data/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
  1017. data/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  1018. data/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  1019. data/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
  1020. data/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  1021. data/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  1022. data/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
  1023. data/node_modules/ajv/dist/compile/validate/index.js +0 -520
  1024. data/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  1025. data/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
  1026. data/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  1027. data/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  1028. data/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
  1029. data/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  1030. data/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  1031. data/node_modules/ajv/dist/core.d.ts +0 -173
  1032. data/node_modules/ajv/dist/core.js +0 -618
  1033. data/node_modules/ajv/dist/core.js.map +0 -1
  1034. data/node_modules/ajv/dist/jtd.d.ts +0 -47
  1035. data/node_modules/ajv/dist/jtd.js +0 -72
  1036. data/node_modules/ajv/dist/jtd.js.map +0 -1
  1037. data/node_modules/ajv/dist/refs/data.json +0 -13
  1038. data/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
  1039. data/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
  1040. data/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
  1041. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
  1042. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
  1043. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
  1044. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
  1045. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  1046. data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
  1047. data/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
  1048. data/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
  1049. data/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
  1050. data/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
  1051. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  1052. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  1053. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  1054. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  1055. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  1056. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  1057. data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  1058. data/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
  1059. data/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
  1060. data/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  1061. data/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
  1062. data/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
  1063. data/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
  1064. data/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
  1065. data/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
  1066. data/node_modules/ajv/dist/runtime/equal.js +0 -7
  1067. data/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  1068. data/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
  1069. data/node_modules/ajv/dist/runtime/parseJson.js +0 -185
  1070. data/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
  1071. data/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
  1072. data/node_modules/ajv/dist/runtime/quote.js +0 -30
  1073. data/node_modules/ajv/dist/runtime/quote.js.map +0 -1
  1074. data/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
  1075. data/node_modules/ajv/dist/runtime/re2.js +0 -6
  1076. data/node_modules/ajv/dist/runtime/re2.js.map +0 -1
  1077. data/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
  1078. data/node_modules/ajv/dist/runtime/timestamp.js +0 -42
  1079. data/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
  1080. data/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
  1081. data/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  1082. data/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  1083. data/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
  1084. data/node_modules/ajv/dist/runtime/uri.js +0 -6
  1085. data/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  1086. data/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
  1087. data/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  1088. data/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  1089. data/node_modules/ajv/dist/standalone/index.d.ts +0 -6
  1090. data/node_modules/ajv/dist/standalone/index.js +0 -90
  1091. data/node_modules/ajv/dist/standalone/index.js.map +0 -1
  1092. data/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
  1093. data/node_modules/ajv/dist/standalone/instance.js +0 -35
  1094. data/node_modules/ajv/dist/standalone/instance.js.map +0 -1
  1095. data/node_modules/ajv/dist/types/index.d.ts +0 -183
  1096. data/node_modules/ajv/dist/types/index.js +0 -3
  1097. data/node_modules/ajv/dist/types/index.js.map +0 -1
  1098. data/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
  1099. data/node_modules/ajv/dist/types/json-schema.js +0 -3
  1100. data/node_modules/ajv/dist/types/json-schema.js.map +0 -1
  1101. data/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
  1102. data/node_modules/ajv/dist/types/jtd-schema.js +0 -3
  1103. data/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
  1104. data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
  1105. data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  1106. data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  1107. data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
  1108. data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  1109. data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  1110. data/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
  1111. data/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  1112. data/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  1113. data/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
  1114. data/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  1115. data/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  1116. data/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
  1117. data/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  1118. data/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  1119. data/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
  1120. data/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  1121. data/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  1122. data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
  1123. data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  1124. data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
  1125. data/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
  1126. data/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  1127. data/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  1128. data/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
  1129. data/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  1130. data/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  1131. data/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
  1132. data/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  1133. data/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  1134. data/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
  1135. data/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  1136. data/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  1137. data/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
  1138. data/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  1139. data/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  1140. data/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
  1141. data/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  1142. data/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  1143. data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
  1144. data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  1145. data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  1146. data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
  1147. data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  1148. data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  1149. data/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
  1150. data/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  1151. data/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  1152. data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
  1153. data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  1154. data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  1155. data/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
  1156. data/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  1157. data/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  1158. data/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
  1159. data/node_modules/ajv/dist/vocabularies/code.js +0 -131
  1160. data/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  1161. data/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
  1162. data/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  1163. data/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  1164. data/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
  1165. data/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  1166. data/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  1167. data/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
  1168. data/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  1169. data/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  1170. data/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
  1171. data/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  1172. data/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  1173. data/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
  1174. data/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  1175. data/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  1176. data/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
  1177. data/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
  1178. data/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
  1179. data/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
  1180. data/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  1181. data/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  1182. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
  1183. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  1184. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
  1185. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
  1186. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  1187. data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
  1188. data/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
  1189. data/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
  1190. data/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
  1191. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
  1192. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  1193. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
  1194. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
  1195. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  1196. data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
  1197. data/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
  1198. data/node_modules/ajv/dist/vocabularies/errors.js +0 -3
  1199. data/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
  1200. data/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
  1201. data/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  1202. data/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  1203. data/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
  1204. data/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  1205. data/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  1206. data/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
  1207. data/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
  1208. data/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
  1209. data/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
  1210. data/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
  1211. data/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
  1212. data/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
  1213. data/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
  1214. data/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
  1215. data/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
  1216. data/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
  1217. data/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
  1218. data/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
  1219. data/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
  1220. data/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
  1221. data/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
  1222. data/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
  1223. data/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
  1224. data/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
  1225. data/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
  1226. data/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
  1227. data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
  1228. data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
  1229. data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
  1230. data/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
  1231. data/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
  1232. data/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
  1233. data/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
  1234. data/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
  1235. data/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
  1236. data/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
  1237. data/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
  1238. data/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
  1239. data/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
  1240. data/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
  1241. data/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
  1242. data/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
  1243. data/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
  1244. data/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
  1245. data/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
  1246. data/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  1247. data/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  1248. data/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
  1249. data/node_modules/ajv/dist/vocabularies/next.js +0 -8
  1250. data/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
  1251. data/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
  1252. data/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
  1253. data/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
  1254. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
  1255. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  1256. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
  1257. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
  1258. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
  1259. data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
  1260. data/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
  1261. data/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  1262. data/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  1263. data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
  1264. data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
  1265. data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
  1266. data/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
  1267. data/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  1268. data/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  1269. data/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
  1270. data/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  1271. data/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  1272. data/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
  1273. data/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
  1274. data/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
  1275. data/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
  1276. data/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  1277. data/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  1278. data/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
  1279. data/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  1280. data/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  1281. data/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
  1282. data/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  1283. data/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  1284. data/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
  1285. data/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  1286. data/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  1287. data/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
  1288. data/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  1289. data/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  1290. data/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
  1291. data/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -24
  1292. data/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  1293. data/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
  1294. data/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  1295. data/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  1296. data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
  1297. data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  1298. data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  1299. data/node_modules/ajv/lib/2019.ts +0 -81
  1300. data/node_modules/ajv/lib/2020.ts +0 -75
  1301. data/node_modules/ajv/lib/ajv.ts +0 -70
  1302. data/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
  1303. data/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
  1304. data/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
  1305. data/node_modules/ajv/lib/compile/errors.ts +0 -184
  1306. data/node_modules/ajv/lib/compile/index.ts +0 -324
  1307. data/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
  1308. data/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -266
  1309. data/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
  1310. data/node_modules/ajv/lib/compile/names.ts +0 -27
  1311. data/node_modules/ajv/lib/compile/ref_error.ts +0 -13
  1312. data/node_modules/ajv/lib/compile/resolve.ts +0 -149
  1313. data/node_modules/ajv/lib/compile/rules.ts +0 -50
  1314. data/node_modules/ajv/lib/compile/util.ts +0 -213
  1315. data/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
  1316. data/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
  1317. data/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
  1318. data/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
  1319. data/node_modules/ajv/lib/compile/validate/index.ts +0 -582
  1320. data/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
  1321. data/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
  1322. data/node_modules/ajv/lib/core.ts +0 -891
  1323. data/node_modules/ajv/lib/jtd.ts +0 -132
  1324. data/node_modules/ajv/lib/refs/data.json +0 -13
  1325. data/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
  1326. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
  1327. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
  1328. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
  1329. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
  1330. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  1331. data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
  1332. data/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
  1333. data/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
  1334. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
  1335. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
  1336. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
  1337. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  1338. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  1339. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  1340. data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
  1341. data/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
  1342. data/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
  1343. data/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
  1344. data/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
  1345. data/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
  1346. data/node_modules/ajv/lib/runtime/equal.ts +0 -7
  1347. data/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
  1348. data/node_modules/ajv/lib/runtime/quote.ts +0 -31
  1349. data/node_modules/ajv/lib/runtime/re2.ts +0 -6
  1350. data/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
  1351. data/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
  1352. data/node_modules/ajv/lib/runtime/uri.ts +0 -6
  1353. data/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
  1354. data/node_modules/ajv/lib/standalone/index.ts +0 -100
  1355. data/node_modules/ajv/lib/standalone/instance.ts +0 -36
  1356. data/node_modules/ajv/lib/types/index.ts +0 -244
  1357. data/node_modules/ajv/lib/types/json-schema.ts +0 -187
  1358. data/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
  1359. data/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
  1360. data/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
  1361. data/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
  1362. data/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
  1363. data/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
  1364. data/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
  1365. data/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
  1366. data/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
  1367. data/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
  1368. data/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
  1369. data/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
  1370. data/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
  1371. data/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
  1372. data/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
  1373. data/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
  1374. data/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
  1375. data/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
  1376. data/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
  1377. data/node_modules/ajv/lib/vocabularies/code.ts +0 -168
  1378. data/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
  1379. data/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
  1380. data/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
  1381. data/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
  1382. data/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
  1383. data/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
  1384. data/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
  1385. data/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
  1386. data/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
  1387. data/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
  1388. data/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
  1389. data/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
  1390. data/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
  1391. data/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
  1392. data/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
  1393. data/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
  1394. data/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
  1395. data/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
  1396. data/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
  1397. data/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
  1398. data/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
  1399. data/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
  1400. data/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
  1401. data/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
  1402. data/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
  1403. data/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
  1404. data/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
  1405. data/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
  1406. data/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
  1407. data/node_modules/ajv/lib/vocabularies/next.ts +0 -8
  1408. data/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
  1409. data/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
  1410. data/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
  1411. data/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
  1412. data/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
  1413. data/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
  1414. data/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
  1415. data/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
  1416. data/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
  1417. data/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
  1418. data/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
  1419. data/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
  1420. data/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
  1421. data/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -28
  1422. data/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
  1423. data/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
  1424. data/node_modules/ajv/package.json +0 -126
  1425. data/node_modules/ansi-regex/index.d.ts +0 -37
  1426. data/node_modules/ansi-regex/index.js +0 -10
  1427. data/node_modules/ansi-regex/license +0 -9
  1428. data/node_modules/ansi-regex/package.json +0 -55
  1429. data/node_modules/ansi-regex/readme.md +0 -78
  1430. data/node_modules/ansi-styles/index.d.ts +0 -345
  1431. data/node_modules/ansi-styles/index.js +0 -163
  1432. data/node_modules/ansi-styles/license +0 -9
  1433. data/node_modules/ansi-styles/package.json +0 -56
  1434. data/node_modules/ansi-styles/readme.md +0 -152
  1435. data/node_modules/argparse/CHANGELOG.md +0 -216
  1436. data/node_modules/argparse/LICENSE +0 -254
  1437. data/node_modules/argparse/README.md +0 -84
  1438. data/node_modules/argparse/argparse.js +0 -3707
  1439. data/node_modules/argparse/lib/sub.js +0 -67
  1440. data/node_modules/argparse/lib/textwrap.js +0 -440
  1441. data/node_modules/argparse/package.json +0 -31
  1442. data/node_modules/array-ify/README.md +0 -51
  1443. data/node_modules/array-ify/index.js +0 -4
  1444. data/node_modules/array-ify/package.json +0 -37
  1445. data/node_modules/callsites/index.d.ts +0 -96
  1446. data/node_modules/callsites/index.js +0 -13
  1447. data/node_modules/callsites/license +0 -9
  1448. data/node_modules/callsites/package.json +0 -39
  1449. data/node_modules/callsites/readme.md +0 -48
  1450. data/node_modules/chalk/license +0 -9
  1451. data/node_modules/chalk/package.json +0 -83
  1452. data/node_modules/chalk/readme.md +0 -325
  1453. data/node_modules/chalk/source/index.d.ts +0 -320
  1454. data/node_modules/chalk/source/index.js +0 -225
  1455. data/node_modules/chalk/source/utilities.js +0 -33
  1456. data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  1457. data/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  1458. data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  1459. data/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  1460. data/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  1461. data/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  1462. data/node_modules/cliui/CHANGELOG.md +0 -139
  1463. data/node_modules/cliui/LICENSE.txt +0 -14
  1464. data/node_modules/cliui/README.md +0 -141
  1465. data/node_modules/cliui/build/index.cjs +0 -302
  1466. data/node_modules/cliui/build/index.d.cts +0 -43
  1467. data/node_modules/cliui/build/lib/index.js +0 -287
  1468. data/node_modules/cliui/build/lib/string-utils.js +0 -27
  1469. data/node_modules/cliui/index.mjs +0 -13
  1470. data/node_modules/cliui/package.json +0 -83
  1471. data/node_modules/color-convert/CHANGELOG.md +0 -54
  1472. data/node_modules/color-convert/LICENSE +0 -21
  1473. data/node_modules/color-convert/README.md +0 -68
  1474. data/node_modules/color-convert/conversions.js +0 -839
  1475. data/node_modules/color-convert/index.js +0 -81
  1476. data/node_modules/color-convert/package.json +0 -48
  1477. data/node_modules/color-convert/route.js +0 -97
  1478. data/node_modules/color-name/LICENSE +0 -8
  1479. data/node_modules/color-name/README.md +0 -11
  1480. data/node_modules/color-name/index.js +0 -152
  1481. data/node_modules/color-name/package.json +0 -28
  1482. data/node_modules/compare-func/LICENSE +0 -21
  1483. data/node_modules/compare-func/README.md +0 -70
  1484. data/node_modules/compare-func/index.js +0 -42
  1485. data/node_modules/compare-func/package.json +0 -47
  1486. data/node_modules/conventional-changelog/LICENSE.md +0 -21
  1487. data/node_modules/conventional-changelog/README.md +0 -66
  1488. data/node_modules/conventional-changelog/index.js +0 -22
  1489. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/LICENSE.md +0 -15
  1490. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/README.md +0 -134
  1491. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/package.json +0 -32
  1492. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/index.js +0 -11
  1493. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/parser.js +0 -13
  1494. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/commit.hbs +0 -61
  1495. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/footer.hbs +0 -11
  1496. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/header.hbs +0 -25
  1497. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/template.hbs +0 -16
  1498. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/whatBump.js +0 -24
  1499. data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/writer.js +0 -114
  1500. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/LICENSE.md +0 -15
  1501. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/README.md +0 -80
  1502. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/package.json +0 -32
  1503. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/constants.js +0 -14
  1504. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/index.js +0 -18
  1505. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/parser.js +0 -17
  1506. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/commit.hbs +0 -30
  1507. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/footer.hbs +0 -0
  1508. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/header.hbs +0 -9
  1509. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/template.hbs +0 -21
  1510. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/utils.js +0 -18
  1511. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/whatBump.js +0 -36
  1512. data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/writer.js +0 -195
  1513. data/node_modules/conventional-changelog/package.json +0 -54
  1514. data/node_modules/conventional-changelog-angular/LICENSE.md +0 -15
  1515. data/node_modules/conventional-changelog-angular/README.md +0 -126
  1516. data/node_modules/conventional-changelog-angular/conventionalChangelog.js +0 -10
  1517. data/node_modules/conventional-changelog-angular/conventionalRecommendedBump.js +0 -34
  1518. data/node_modules/conventional-changelog-angular/index.js +0 -22
  1519. data/node_modules/conventional-changelog-angular/package.json +0 -35
  1520. data/node_modules/conventional-changelog-angular/parserOpts.js +0 -17
  1521. data/node_modules/conventional-changelog-angular/templates/commit.hbs +0 -61
  1522. data/node_modules/conventional-changelog-angular/templates/footer.hbs +0 -11
  1523. data/node_modules/conventional-changelog-angular/templates/header.hbs +0 -25
  1524. data/node_modules/conventional-changelog-angular/templates/template.hbs +0 -16
  1525. data/node_modules/conventional-changelog-angular/writerOpts.js +0 -110
  1526. data/node_modules/conventional-changelog-atom/LICENSE.md +0 -15
  1527. data/node_modules/conventional-changelog-atom/README.md +0 -72
  1528. data/node_modules/conventional-changelog-atom/package.json +0 -29
  1529. data/node_modules/conventional-changelog-atom/src/index.js +0 -11
  1530. data/node_modules/conventional-changelog-atom/src/parser.js +0 -9
  1531. data/node_modules/conventional-changelog-atom/src/templates/commit.hbs +0 -5
  1532. data/node_modules/conventional-changelog-atom/src/templates/header.hbs +0 -1
  1533. data/node_modules/conventional-changelog-atom/src/templates/template.hbs +0 -15
  1534. data/node_modules/conventional-changelog-atom/src/whatBump.js +0 -22
  1535. data/node_modules/conventional-changelog-atom/src/writer.js +0 -48
  1536. data/node_modules/conventional-changelog-cli/LICENSE +0 -21
  1537. data/node_modules/conventional-changelog-cli/README.md +0 -128
  1538. data/node_modules/conventional-changelog-cli/cli.js +0 -279
  1539. data/node_modules/conventional-changelog-cli/package.json +0 -44
  1540. data/node_modules/conventional-changelog-codemirror/LICENSE.md +0 -15
  1541. data/node_modules/conventional-changelog-codemirror/README.md +0 -45
  1542. data/node_modules/conventional-changelog-codemirror/package.json +0 -29
  1543. data/node_modules/conventional-changelog-codemirror/src/index.js +0 -11
  1544. data/node_modules/conventional-changelog-codemirror/src/parser.js +0 -10
  1545. data/node_modules/conventional-changelog-codemirror/src/templates/commit.hbs +0 -5
  1546. data/node_modules/conventional-changelog-codemirror/src/templates/header.hbs +0 -1
  1547. data/node_modules/conventional-changelog-codemirror/src/templates/template.hbs +0 -15
  1548. data/node_modules/conventional-changelog-codemirror/src/whatBump.js +0 -22
  1549. data/node_modules/conventional-changelog-codemirror/src/writer.js +0 -41
  1550. data/node_modules/conventional-changelog-conventionalcommits/LICENSE.md +0 -15
  1551. data/node_modules/conventional-changelog-conventionalcommits/README.md +0 -72
  1552. data/node_modules/conventional-changelog-conventionalcommits/constants.js +0 -18
  1553. data/node_modules/conventional-changelog-conventionalcommits/conventionalChangelog.js +0 -10
  1554. data/node_modules/conventional-changelog-conventionalcommits/conventionalRecommendedBump.js +0 -44
  1555. data/node_modules/conventional-changelog-conventionalcommits/index.js +0 -29
  1556. data/node_modules/conventional-changelog-conventionalcommits/package.json +0 -37
  1557. data/node_modules/conventional-changelog-conventionalcommits/parserOpts.js +0 -21
  1558. data/node_modules/conventional-changelog-conventionalcommits/templates/commit.hbs +0 -30
  1559. data/node_modules/conventional-changelog-conventionalcommits/templates/footer.hbs +0 -0
  1560. data/node_modules/conventional-changelog-conventionalcommits/templates/header.hbs +0 -9
  1561. data/node_modules/conventional-changelog-conventionalcommits/templates/template.hbs +0 -23
  1562. data/node_modules/conventional-changelog-conventionalcommits/utils.js +0 -15
  1563. data/node_modules/conventional-changelog-conventionalcommits/writerOpts.js +0 -192
  1564. data/node_modules/conventional-changelog-core/LICENSE.md +0 -21
  1565. data/node_modules/conventional-changelog-core/README.md +0 -255
  1566. data/node_modules/conventional-changelog-core/hosts/bitbucket.json +0 -21
  1567. data/node_modules/conventional-changelog-core/hosts/github.json +0 -19
  1568. data/node_modules/conventional-changelog-core/hosts/gitlab.json +0 -17
  1569. data/node_modules/conventional-changelog-core/index.js +0 -156
  1570. data/node_modules/conventional-changelog-core/lib/merge-config.js +0 -372
  1571. data/node_modules/conventional-changelog-core/node_modules/.bin/conventional-commits-parser +0 -1
  1572. data/node_modules/conventional-changelog-core/node_modules/.bin/git-raw-commits +0 -1
  1573. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/LICENSE.md +0 -21
  1574. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/README.md +0 -134
  1575. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts +0 -49
  1576. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts.map +0 -1
  1577. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js +0 -124
  1578. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts +0 -75
  1579. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts.map +0 -1
  1580. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.js +0 -160
  1581. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.d.ts +0 -4
  1582. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.d.ts.map +0 -1
  1583. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.js +0 -4
  1584. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.d.ts +0 -58
  1585. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.d.ts.map +0 -1
  1586. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.js +0 -2
  1587. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.d.ts +0 -34
  1588. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.d.ts.map +0 -1
  1589. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.js +0 -141
  1590. data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/package.json +0 -53
  1591. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/LICENSE.md +0 -21
  1592. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/README.md +0 -437
  1593. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.d.ts +0 -40
  1594. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.d.ts.map +0 -1
  1595. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.js +0 -317
  1596. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.d.ts +0 -3
  1597. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.d.ts.map +0 -1
  1598. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.js +0 -103
  1599. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.d.ts +0 -3
  1600. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.d.ts.map +0 -1
  1601. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.js +0 -40
  1602. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.d.ts +0 -8
  1603. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.d.ts.map +0 -1
  1604. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.js +0 -64
  1605. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.d.ts +0 -4
  1606. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.d.ts.map +0 -1
  1607. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.js +0 -4
  1608. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.d.ts +0 -3
  1609. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.d.ts.map +0 -1
  1610. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.js +0 -25
  1611. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.d.ts +0 -8
  1612. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.d.ts.map +0 -1
  1613. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.js +0 -49
  1614. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.d.ts +0 -16
  1615. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.d.ts.map +0 -1
  1616. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.js +0 -38
  1617. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.d.ts +0 -98
  1618. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.d.ts.map +0 -1
  1619. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.js +0 -2
  1620. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.d.ts +0 -32
  1621. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.d.ts.map +0 -1
  1622. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.js +0 -59
  1623. data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/package.json +0 -45
  1624. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/LICENSE.md +0 -21
  1625. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/README.md +0 -60
  1626. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/package.json +0 -44
  1627. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/src/cli.js +0 -37
  1628. data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/src/index.js +0 -59
  1629. data/node_modules/conventional-changelog-core/package.json +0 -44
  1630. data/node_modules/conventional-changelog-ember/LICENSE.md +0 -15
  1631. data/node_modules/conventional-changelog-ember/README.md +0 -94
  1632. data/node_modules/conventional-changelog-ember/package.json +0 -29
  1633. data/node_modules/conventional-changelog-ember/src/index.js +0 -14
  1634. data/node_modules/conventional-changelog-ember/src/parser.js +0 -12
  1635. data/node_modules/conventional-changelog-ember/src/templates/commit.hbs +0 -3
  1636. data/node_modules/conventional-changelog-ember/src/templates/header.hbs +0 -1
  1637. data/node_modules/conventional-changelog-ember/src/templates/template.hbs +0 -15
  1638. data/node_modules/conventional-changelog-ember/src/whatBump.js +0 -22
  1639. data/node_modules/conventional-changelog-ember/src/writer.js +0 -58
  1640. data/node_modules/conventional-changelog-eslint/LICENSE.md +0 -15
  1641. data/node_modules/conventional-changelog-eslint/README.md +0 -84
  1642. data/node_modules/conventional-changelog-eslint/package.json +0 -29
  1643. data/node_modules/conventional-changelog-eslint/src/index.js +0 -11
  1644. data/node_modules/conventional-changelog-eslint/src/parser.js +0 -9
  1645. data/node_modules/conventional-changelog-eslint/src/templates/commit.hbs +0 -5
  1646. data/node_modules/conventional-changelog-eslint/src/templates/header.hbs +0 -1
  1647. data/node_modules/conventional-changelog-eslint/src/templates/template.hbs +0 -15
  1648. data/node_modules/conventional-changelog-eslint/src/whatBump.js +0 -24
  1649. data/node_modules/conventional-changelog-eslint/src/writer.js +0 -39
  1650. data/node_modules/conventional-changelog-express/LICENSE.md +0 -15
  1651. data/node_modules/conventional-changelog-express/README.md +0 -45
  1652. data/node_modules/conventional-changelog-express/package.json +0 -29
  1653. data/node_modules/conventional-changelog-express/src/index.js +0 -11
  1654. data/node_modules/conventional-changelog-express/src/parser.js +0 -9
  1655. data/node_modules/conventional-changelog-express/src/templates/commit.hbs +0 -9
  1656. data/node_modules/conventional-changelog-express/src/templates/header.hbs +0 -2
  1657. data/node_modules/conventional-changelog-express/src/templates/template.hbs +0 -14
  1658. data/node_modules/conventional-changelog-express/src/whatBump.js +0 -22
  1659. data/node_modules/conventional-changelog-express/src/writer.js +0 -43
  1660. data/node_modules/conventional-changelog-jquery/LICENSE.md +0 -15
  1661. data/node_modules/conventional-changelog-jquery/README.md +0 -83
  1662. data/node_modules/conventional-changelog-jquery/package.json +0 -29
  1663. data/node_modules/conventional-changelog-jquery/src/index.js +0 -11
  1664. data/node_modules/conventional-changelog-jquery/src/parser.js +0 -9
  1665. data/node_modules/conventional-changelog-jquery/src/templates/commit.hbs +0 -56
  1666. data/node_modules/conventional-changelog-jquery/src/templates/header.hbs +0 -17
  1667. data/node_modules/conventional-changelog-jquery/src/templates/template.hbs +0 -16
  1668. data/node_modules/conventional-changelog-jquery/src/whatBump.js +0 -22
  1669. data/node_modules/conventional-changelog-jquery/src/writer.js +0 -50
  1670. data/node_modules/conventional-changelog-jshint/LICENSE.md +0 -15
  1671. data/node_modules/conventional-changelog-jshint/README.md +0 -121
  1672. data/node_modules/conventional-changelog-jshint/package.json +0 -32
  1673. data/node_modules/conventional-changelog-jshint/src/index.js +0 -11
  1674. data/node_modules/conventional-changelog-jshint/src/parser.js +0 -10
  1675. data/node_modules/conventional-changelog-jshint/src/templates/commit.hbs +0 -5
  1676. data/node_modules/conventional-changelog-jshint/src/templates/footer.hbs +0 -11
  1677. data/node_modules/conventional-changelog-jshint/src/templates/header.hbs +0 -1
  1678. data/node_modules/conventional-changelog-jshint/src/templates/template.hbs +0 -16
  1679. data/node_modules/conventional-changelog-jshint/src/whatBump.js +0 -22
  1680. data/node_modules/conventional-changelog-jshint/src/writer.js +0 -62
  1681. data/node_modules/conventional-changelog-preset-loader/LICENSE.md +0 -21
  1682. data/node_modules/conventional-changelog-preset-loader/README.md +0 -121
  1683. data/node_modules/conventional-changelog-preset-loader/dist/index.d.ts +0 -3
  1684. data/node_modules/conventional-changelog-preset-loader/dist/index.d.ts.map +0 -1
  1685. data/node_modules/conventional-changelog-preset-loader/dist/index.js +0 -3
  1686. data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.d.ts +0 -12
  1687. data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.d.ts.map +0 -1
  1688. data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.js +0 -102
  1689. data/node_modules/conventional-changelog-preset-loader/dist/types.d.ts +0 -15
  1690. data/node_modules/conventional-changelog-preset-loader/dist/types.d.ts.map +0 -1
  1691. data/node_modules/conventional-changelog-preset-loader/dist/types.js +0 -3
  1692. data/node_modules/conventional-changelog-preset-loader/package.json +0 -32
  1693. data/node_modules/conventional-changelog-writer/LICENSE.md +0 -21
  1694. data/node_modules/conventional-changelog-writer/README.md +0 -383
  1695. data/node_modules/conventional-changelog-writer/dist/cli/index.d.ts +0 -3
  1696. data/node_modules/conventional-changelog-writer/dist/cli/index.d.ts.map +0 -1
  1697. data/node_modules/conventional-changelog-writer/dist/cli/index.js +0 -70
  1698. data/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts +0 -7
  1699. data/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts.map +0 -1
  1700. data/node_modules/conventional-changelog-writer/dist/cli/utils.js +0 -64
  1701. data/node_modules/conventional-changelog-writer/dist/commit.d.ts +0 -11
  1702. data/node_modules/conventional-changelog-writer/dist/commit.d.ts.map +0 -1
  1703. data/node_modules/conventional-changelog-writer/dist/commit.js +0 -40
  1704. data/node_modules/conventional-changelog-writer/dist/context.d.ts +0 -26
  1705. data/node_modules/conventional-changelog-writer/dist/context.d.ts.map +0 -1
  1706. data/node_modules/conventional-changelog-writer/dist/context.js +0 -114
  1707. data/node_modules/conventional-changelog-writer/dist/index.d.ts +0 -4
  1708. data/node_modules/conventional-changelog-writer/dist/index.d.ts.map +0 -1
  1709. data/node_modules/conventional-changelog-writer/dist/index.js +0 -4
  1710. data/node_modules/conventional-changelog-writer/dist/options.d.ts +0 -25
  1711. data/node_modules/conventional-changelog-writer/dist/options.d.ts.map +0 -1
  1712. data/node_modules/conventional-changelog-writer/dist/options.js +0 -75
  1713. data/node_modules/conventional-changelog-writer/dist/template.d.ts +0 -21
  1714. data/node_modules/conventional-changelog-writer/dist/template.d.ts.map +0 -1
  1715. data/node_modules/conventional-changelog-writer/dist/template.js +0 -77
  1716. data/node_modules/conventional-changelog-writer/dist/types/commit.d.ts +0 -26
  1717. data/node_modules/conventional-changelog-writer/dist/types/commit.d.ts.map +0 -1
  1718. data/node_modules/conventional-changelog-writer/dist/types/commit.js +0 -2
  1719. data/node_modules/conventional-changelog-writer/dist/types/context.d.ts +0 -69
  1720. data/node_modules/conventional-changelog-writer/dist/types/context.d.ts.map +0 -1
  1721. data/node_modules/conventional-changelog-writer/dist/types/context.js +0 -2
  1722. data/node_modules/conventional-changelog-writer/dist/types/index.d.ts +0 -10
  1723. data/node_modules/conventional-changelog-writer/dist/types/index.d.ts.map +0 -1
  1724. data/node_modules/conventional-changelog-writer/dist/types/index.js +0 -5
  1725. data/node_modules/conventional-changelog-writer/dist/types/options.d.ts +0 -108
  1726. data/node_modules/conventional-changelog-writer/dist/types/options.d.ts.map +0 -1
  1727. data/node_modules/conventional-changelog-writer/dist/types/options.js +0 -2
  1728. data/node_modules/conventional-changelog-writer/dist/types/utils.d.ts +0 -10
  1729. data/node_modules/conventional-changelog-writer/dist/types/utils.d.ts.map +0 -1
  1730. data/node_modules/conventional-changelog-writer/dist/types/utils.js +0 -2
  1731. data/node_modules/conventional-changelog-writer/dist/utils.d.ts +0 -20
  1732. data/node_modules/conventional-changelog-writer/dist/utils.d.ts.map +0 -1
  1733. data/node_modules/conventional-changelog-writer/dist/utils.js +0 -70
  1734. data/node_modules/conventional-changelog-writer/dist/writers.d.ts +0 -29
  1735. data/node_modules/conventional-changelog-writer/dist/writers.d.ts.map +0 -1
  1736. data/node_modules/conventional-changelog-writer/dist/writers.js +0 -102
  1737. data/node_modules/conventional-changelog-writer/package.json +0 -52
  1738. data/node_modules/conventional-changelog-writer/templates/commit.hbs +0 -54
  1739. data/node_modules/conventional-changelog-writer/templates/footer.hbs +0 -10
  1740. data/node_modules/conventional-changelog-writer/templates/header.hbs +0 -9
  1741. data/node_modules/conventional-changelog-writer/templates/template.hbs +0 -11
  1742. data/node_modules/conventional-commits-filter/LICENSE +0 -21
  1743. data/node_modules/conventional-commits-filter/README.md +0 -235
  1744. data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts +0 -17
  1745. data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts.map +0 -1
  1746. data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.js +0 -46
  1747. data/node_modules/conventional-commits-filter/dist/filters.d.ts +0 -20
  1748. data/node_modules/conventional-commits-filter/dist/filters.d.ts.map +0 -1
  1749. data/node_modules/conventional-commits-filter/dist/filters.js +0 -34
  1750. data/node_modules/conventional-commits-filter/dist/index.d.ts +0 -4
  1751. data/node_modules/conventional-commits-filter/dist/index.d.ts.map +0 -1
  1752. data/node_modules/conventional-commits-filter/dist/index.js +0 -3
  1753. data/node_modules/conventional-commits-filter/dist/types.d.ts +0 -6
  1754. data/node_modules/conventional-commits-filter/dist/types.d.ts.map +0 -1
  1755. data/node_modules/conventional-commits-filter/dist/types.js +0 -2
  1756. data/node_modules/conventional-commits-filter/dist/utils.d.ts +0 -16
  1757. data/node_modules/conventional-commits-filter/dist/utils.d.ts.map +0 -1
  1758. data/node_modules/conventional-commits-filter/dist/utils.js +0 -43
  1759. data/node_modules/conventional-commits-filter/package.json +0 -37
  1760. data/node_modules/conventional-commits-parser/LICENSE.md +0 -21
  1761. data/node_modules/conventional-commits-parser/README.md +0 -383
  1762. data/node_modules/conventional-commits-parser/cli.mjs +0 -170
  1763. data/node_modules/conventional-commits-parser/index.js +0 -105
  1764. data/node_modules/conventional-commits-parser/lib/parser.js +0 -316
  1765. data/node_modules/conventional-commits-parser/lib/regex.js +0 -61
  1766. data/node_modules/conventional-commits-parser/node_modules/meow/build/dependencies.js +0 -11036
  1767. data/node_modules/conventional-commits-parser/node_modules/meow/build/index.d.ts +0 -1416
  1768. data/node_modules/conventional-commits-parser/node_modules/meow/build/index.js +0 -100
  1769. data/node_modules/conventional-commits-parser/node_modules/meow/build/licenses.md +0 -1767
  1770. data/node_modules/conventional-commits-parser/node_modules/meow/build/options.js +0 -92
  1771. data/node_modules/conventional-commits-parser/node_modules/meow/build/parser.js +0 -84
  1772. data/node_modules/conventional-commits-parser/node_modules/meow/build/utils.js +0 -7
  1773. data/node_modules/conventional-commits-parser/node_modules/meow/build/validate.js +0 -122
  1774. data/node_modules/conventional-commits-parser/node_modules/meow/license +0 -9
  1775. data/node_modules/conventional-commits-parser/node_modules/meow/package.json +0 -107
  1776. data/node_modules/conventional-commits-parser/node_modules/meow/readme.md +0 -314
  1777. data/node_modules/conventional-commits-parser/package.json +0 -47
  1778. data/node_modules/cosmiconfig/LICENSE +0 -22
  1779. data/node_modules/cosmiconfig/README.md +0 -782
  1780. data/node_modules/cosmiconfig/dist/Explorer.d.ts +0 -2
  1781. data/node_modules/cosmiconfig/dist/Explorer.d.ts.map +0 -1
  1782. data/node_modules/cosmiconfig/dist/Explorer.js +0 -170
  1783. data/node_modules/cosmiconfig/dist/Explorer.js.map +0 -1
  1784. data/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +0 -2
  1785. data/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map +0 -1
  1786. data/node_modules/cosmiconfig/dist/ExplorerBase.js +0 -126
  1787. data/node_modules/cosmiconfig/dist/ExplorerBase.js.map +0 -1
  1788. data/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +0 -2
  1789. data/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map +0 -1
  1790. data/node_modules/cosmiconfig/dist/ExplorerSync.js +0 -184
  1791. data/node_modules/cosmiconfig/dist/ExplorerSync.js.map +0 -1
  1792. data/node_modules/cosmiconfig/dist/cacheWrapper.d.ts +0 -5
  1793. data/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map +0 -1
  1794. data/node_modules/cosmiconfig/dist/cacheWrapper.js +0 -32
  1795. data/node_modules/cosmiconfig/dist/cacheWrapper.js.map +0 -1
  1796. data/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts +0 -3
  1797. data/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map +0 -1
  1798. data/node_modules/cosmiconfig/dist/canUseDynamicImport.js +0 -23
  1799. data/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map +0 -1
  1800. data/node_modules/cosmiconfig/dist/defaults.d.ts +0 -25
  1801. data/node_modules/cosmiconfig/dist/defaults.d.ts.map +0 -1
  1802. data/node_modules/cosmiconfig/dist/defaults.js +0 -105
  1803. data/node_modules/cosmiconfig/dist/defaults.js.map +0 -1
  1804. data/node_modules/cosmiconfig/dist/getDirectory.d.ts +0 -4
  1805. data/node_modules/cosmiconfig/dist/getDirectory.d.ts.map +0 -1
  1806. data/node_modules/cosmiconfig/dist/getDirectory.js +0 -38
  1807. data/node_modules/cosmiconfig/dist/getDirectory.js.map +0 -1
  1808. data/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts +0 -5
  1809. data/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map +0 -1
  1810. data/node_modules/cosmiconfig/dist/getPropertyByPath.js +0 -28
  1811. data/node_modules/cosmiconfig/dist/getPropertyByPath.js.map +0 -1
  1812. data/node_modules/cosmiconfig/dist/index.d.ts +0 -6
  1813. data/node_modules/cosmiconfig/dist/index.d.ts.map +0 -1
  1814. data/node_modules/cosmiconfig/dist/index.js +0 -148
  1815. data/node_modules/cosmiconfig/dist/index.js.map +0 -1
  1816. data/node_modules/cosmiconfig/dist/loaders.d.ts +0 -8
  1817. data/node_modules/cosmiconfig/dist/loaders.d.ts.map +0 -1
  1818. data/node_modules/cosmiconfig/dist/loaders.js +0 -148
  1819. data/node_modules/cosmiconfig/dist/loaders.js.map +0 -1
  1820. data/node_modules/cosmiconfig/dist/merge.d.ts +0 -9
  1821. data/node_modules/cosmiconfig/dist/merge.d.ts.map +0 -1
  1822. data/node_modules/cosmiconfig/dist/merge.js +0 -40
  1823. data/node_modules/cosmiconfig/dist/merge.js.map +0 -1
  1824. data/node_modules/cosmiconfig/dist/readFile.d.ts +0 -7
  1825. data/node_modules/cosmiconfig/dist/readFile.d.ts.map +0 -1
  1826. data/node_modules/cosmiconfig/dist/readFile.js +0 -56
  1827. data/node_modules/cosmiconfig/dist/readFile.js.map +0 -1
  1828. data/node_modules/cosmiconfig/dist/types.d.ts +0 -98
  1829. data/node_modules/cosmiconfig/dist/types.d.ts.map +0 -1
  1830. data/node_modules/cosmiconfig/dist/types.js +0 -3
  1831. data/node_modules/cosmiconfig/dist/types.js.map +0 -1
  1832. data/node_modules/cosmiconfig/dist/util.d.ts +0 -2
  1833. data/node_modules/cosmiconfig/dist/util.d.ts.map +0 -1
  1834. data/node_modules/cosmiconfig/dist/util.js +0 -99
  1835. data/node_modules/cosmiconfig/dist/util.js.map +0 -1
  1836. data/node_modules/cosmiconfig/package.json +0 -102
  1837. data/node_modules/cosmiconfig-typescript-loader/LICENCE +0 -21
  1838. data/node_modules/cosmiconfig-typescript-loader/README.md +0 -64
  1839. data/node_modules/cosmiconfig-typescript-loader/dist/cjs/index.cjs +0 -30
  1840. data/node_modules/cosmiconfig-typescript-loader/dist/cjs/loader.cjs +0 -55
  1841. data/node_modules/cosmiconfig-typescript-loader/dist/cjs/typescript-compile-error.cjs +0 -43
  1842. data/node_modules/cosmiconfig-typescript-loader/dist/esm/index.mjs +0 -5
  1843. data/node_modules/cosmiconfig-typescript-loader/dist/esm/loader.mjs +0 -20
  1844. data/node_modules/cosmiconfig-typescript-loader/dist/esm/typescript-compile-error.mjs +0 -18
  1845. data/node_modules/cosmiconfig-typescript-loader/dist/types/index.d.ts +0 -2
  1846. data/node_modules/cosmiconfig-typescript-loader/dist/types/loader.d.ts +0 -3
  1847. data/node_modules/cosmiconfig-typescript-loader/dist/types/typescript-compile-error.d.ts +0 -4
  1848. data/node_modules/cosmiconfig-typescript-loader/package.json +0 -79
  1849. data/node_modules/cross-spawn/CHANGELOG.md +0 -130
  1850. data/node_modules/cross-spawn/LICENSE +0 -21
  1851. data/node_modules/cross-spawn/README.md +0 -96
  1852. data/node_modules/cross-spawn/index.js +0 -39
  1853. data/node_modules/cross-spawn/lib/enoent.js +0 -59
  1854. data/node_modules/cross-spawn/lib/parse.js +0 -91
  1855. data/node_modules/cross-spawn/lib/util/escape.js +0 -45
  1856. data/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  1857. data/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  1858. data/node_modules/cross-spawn/package.json +0 -73
  1859. data/node_modules/dargs/index.d.ts +0 -159
  1860. data/node_modules/dargs/index.js +0 -116
  1861. data/node_modules/dargs/license +0 -9
  1862. data/node_modules/dargs/package.json +0 -51
  1863. data/node_modules/dargs/readme.md +0 -195
  1864. data/node_modules/dot-prop/index.d.ts +0 -101
  1865. data/node_modules/dot-prop/index.js +0 -142
  1866. data/node_modules/dot-prop/license +0 -9
  1867. data/node_modules/dot-prop/package.json +0 -45
  1868. data/node_modules/dot-prop/readme.md +0 -117
  1869. data/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  1870. data/node_modules/emoji-regex/README.md +0 -73
  1871. data/node_modules/emoji-regex/es2015/index.js +0 -6
  1872. data/node_modules/emoji-regex/es2015/text.js +0 -6
  1873. data/node_modules/emoji-regex/index.d.ts +0 -23
  1874. data/node_modules/emoji-regex/index.js +0 -6
  1875. data/node_modules/emoji-regex/package.json +0 -50
  1876. data/node_modules/emoji-regex/text.js +0 -6
  1877. data/node_modules/env-paths/index.d.ts +0 -101
  1878. data/node_modules/env-paths/index.js +0 -74
  1879. data/node_modules/env-paths/license +0 -9
  1880. data/node_modules/env-paths/package.json +0 -45
  1881. data/node_modules/env-paths/readme.md +0 -115
  1882. data/node_modules/error-ex/LICENSE +0 -21
  1883. data/node_modules/error-ex/README.md +0 -144
  1884. data/node_modules/error-ex/index.js +0 -141
  1885. data/node_modules/error-ex/package.json +0 -46
  1886. data/node_modules/escalade/dist/index.js +0 -22
  1887. data/node_modules/escalade/dist/index.mjs +0 -22
  1888. data/node_modules/escalade/index.d.ts +0 -3
  1889. data/node_modules/escalade/license +0 -9
  1890. data/node_modules/escalade/package.json +0 -63
  1891. data/node_modules/escalade/readme.md +0 -211
  1892. data/node_modules/escalade/sync/index.d.ts +0 -2
  1893. data/node_modules/escalade/sync/index.js +0 -18
  1894. data/node_modules/escalade/sync/index.mjs +0 -18
  1895. data/node_modules/escape-string-regexp/index.js +0 -11
  1896. data/node_modules/escape-string-regexp/license +0 -21
  1897. data/node_modules/escape-string-regexp/package.json +0 -41
  1898. data/node_modules/escape-string-regexp/readme.md +0 -27
  1899. data/node_modules/execa/index.d.ts +0 -955
  1900. data/node_modules/execa/index.js +0 -309
  1901. data/node_modules/execa/lib/command.js +0 -119
  1902. data/node_modules/execa/lib/error.js +0 -87
  1903. data/node_modules/execa/lib/kill.js +0 -102
  1904. data/node_modules/execa/lib/pipe.js +0 -42
  1905. data/node_modules/execa/lib/promise.js +0 -36
  1906. data/node_modules/execa/lib/stdio.js +0 -49
  1907. data/node_modules/execa/lib/stream.js +0 -133
  1908. data/node_modules/execa/lib/verbose.js +0 -19
  1909. data/node_modules/execa/license +0 -9
  1910. data/node_modules/execa/package.json +0 -90
  1911. data/node_modules/execa/readme.md +0 -822
  1912. data/node_modules/fast-deep-equal/LICENSE +0 -21
  1913. data/node_modules/fast-deep-equal/README.md +0 -96
  1914. data/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  1915. data/node_modules/fast-deep-equal/es6/index.js +0 -72
  1916. data/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  1917. data/node_modules/fast-deep-equal/es6/react.js +0 -79
  1918. data/node_modules/fast-deep-equal/index.d.ts +0 -4
  1919. data/node_modules/fast-deep-equal/index.js +0 -46
  1920. data/node_modules/fast-deep-equal/package.json +0 -61
  1921. data/node_modules/fast-deep-equal/react.d.ts +0 -2
  1922. data/node_modules/fast-deep-equal/react.js +0 -53
  1923. data/node_modules/fast-uri/.gitattributes +0 -2
  1924. data/node_modules/fast-uri/.github/.stale.yml +0 -21
  1925. data/node_modules/fast-uri/.github/dependabot.yml +0 -13
  1926. data/node_modules/fast-uri/.github/tests_checker.yml +0 -8
  1927. data/node_modules/fast-uri/.github/workflows/ci.yml +0 -23
  1928. data/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -20
  1929. data/node_modules/fast-uri/.taprc +0 -3
  1930. data/node_modules/fast-uri/LICENSE +0 -30
  1931. data/node_modules/fast-uri/README.md +0 -125
  1932. data/node_modules/fast-uri/benchmark.js +0 -105
  1933. data/node_modules/fast-uri/index.js +0 -309
  1934. data/node_modules/fast-uri/lib/schemes.js +0 -188
  1935. data/node_modules/fast-uri/lib/scopedChars.js +0 -30
  1936. data/node_modules/fast-uri/lib/utils.js +0 -242
  1937. data/node_modules/fast-uri/package.json +0 -39
  1938. data/node_modules/fast-uri/test/.gitkeep +0 -0
  1939. data/node_modules/fast-uri/test/ajv.test.js +0 -39
  1940. data/node_modules/fast-uri/test/compatibility.test.js +0 -130
  1941. data/node_modules/fast-uri/test/equal.test.js +0 -104
  1942. data/node_modules/fast-uri/test/parse.test.js +0 -319
  1943. data/node_modules/fast-uri/test/resolve.test.js +0 -76
  1944. data/node_modules/fast-uri/test/serialize.test.js +0 -144
  1945. data/node_modules/fast-uri/test/uri-js.test.js +0 -940
  1946. data/node_modules/fast-uri/test/util.test.js +0 -24
  1947. data/node_modules/fast-uri/types/index.d.ts +0 -53
  1948. data/node_modules/fast-uri/types/index.test-d.ts +0 -17
  1949. data/node_modules/find-up/index.d.ts +0 -247
  1950. data/node_modules/find-up/index.js +0 -107
  1951. data/node_modules/find-up/license +0 -9
  1952. data/node_modules/find-up/package.json +0 -61
  1953. data/node_modules/find-up/readme.md +0 -160
  1954. data/node_modules/find-up-simple/index.d.ts +0 -74
  1955. data/node_modules/find-up-simple/index.js +0 -53
  1956. data/node_modules/find-up-simple/license +0 -9
  1957. data/node_modules/find-up-simple/package.json +0 -53
  1958. data/node_modules/find-up-simple/readme.md +0 -93
  1959. data/node_modules/get-caller-file/LICENSE.md +0 -6
  1960. data/node_modules/get-caller-file/README.md +0 -41
  1961. data/node_modules/get-caller-file/index.d.ts +0 -2
  1962. data/node_modules/get-caller-file/index.js +0 -22
  1963. data/node_modules/get-caller-file/index.js.map +0 -1
  1964. data/node_modules/get-caller-file/package.json +0 -42
  1965. data/node_modules/get-stream/license +0 -9
  1966. data/node_modules/get-stream/package.json +0 -53
  1967. data/node_modules/get-stream/readme.md +0 -291
  1968. data/node_modules/get-stream/source/array-buffer.js +0 -84
  1969. data/node_modules/get-stream/source/array.js +0 -32
  1970. data/node_modules/get-stream/source/buffer.js +0 -20
  1971. data/node_modules/get-stream/source/contents.js +0 -101
  1972. data/node_modules/get-stream/source/index.d.ts +0 -119
  1973. data/node_modules/get-stream/source/index.js +0 -5
  1974. data/node_modules/get-stream/source/string.js +0 -36
  1975. data/node_modules/get-stream/source/utils.js +0 -11
  1976. data/node_modules/git-raw-commits/LICENSE.md +0 -21
  1977. data/node_modules/git-raw-commits/README.md +0 -101
  1978. data/node_modules/git-raw-commits/cli.mjs +0 -20
  1979. data/node_modules/git-raw-commits/index.js +0 -110
  1980. data/node_modules/git-raw-commits/node_modules/meow/build/dependencies.js +0 -11036
  1981. data/node_modules/git-raw-commits/node_modules/meow/build/index.d.ts +0 -1416
  1982. data/node_modules/git-raw-commits/node_modules/meow/build/index.js +0 -100
  1983. data/node_modules/git-raw-commits/node_modules/meow/build/licenses.md +0 -1767
  1984. data/node_modules/git-raw-commits/node_modules/meow/build/options.js +0 -92
  1985. data/node_modules/git-raw-commits/node_modules/meow/build/parser.js +0 -84
  1986. data/node_modules/git-raw-commits/node_modules/meow/build/utils.js +0 -7
  1987. data/node_modules/git-raw-commits/node_modules/meow/build/validate.js +0 -122
  1988. data/node_modules/git-raw-commits/node_modules/meow/license +0 -9
  1989. data/node_modules/git-raw-commits/node_modules/meow/package.json +0 -107
  1990. data/node_modules/git-raw-commits/node_modules/meow/readme.md +0 -314
  1991. data/node_modules/git-raw-commits/package.json +0 -43
  1992. data/node_modules/git-semver-tags/LICENSE.md +0 -21
  1993. data/node_modules/git-semver-tags/README.md +0 -65
  1994. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/LICENSE.md +0 -21
  1995. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/README.md +0 -134
  1996. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts +0 -49
  1997. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts.map +0 -1
  1998. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js +0 -124
  1999. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts +0 -75
  2000. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts.map +0 -1
  2001. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.js +0 -160
  2002. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.d.ts +0 -4
  2003. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.d.ts.map +0 -1
  2004. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.js +0 -4
  2005. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.d.ts +0 -58
  2006. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.d.ts.map +0 -1
  2007. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.js +0 -2
  2008. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.d.ts +0 -34
  2009. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.d.ts.map +0 -1
  2010. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.js +0 -141
  2011. data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/package.json +0 -53
  2012. data/node_modules/git-semver-tags/package.json +0 -43
  2013. data/node_modules/git-semver-tags/src/cli.js +0 -43
  2014. data/node_modules/git-semver-tags/src/index.js +0 -42
  2015. data/node_modules/global-directory/index.d.ts +0 -58
  2016. data/node_modules/global-directory/index.js +0 -121
  2017. data/node_modules/global-directory/license +0 -9
  2018. data/node_modules/global-directory/package.json +0 -61
  2019. data/node_modules/global-directory/readme.md +0 -60
  2020. data/node_modules/handlebars/LICENSE +0 -19
  2021. data/node_modules/handlebars/README.markdown +0 -169
  2022. data/node_modules/handlebars/bin/.eslintrc.js +0 -6
  2023. data/node_modules/handlebars/bin/handlebars +0 -176
  2024. data/node_modules/handlebars/dist/amd/handlebars/base.js +0 -106
  2025. data/node_modules/handlebars/dist/amd/handlebars/compiler/ast.js +0 -31
  2026. data/node_modules/handlebars/dist/amd/handlebars/compiler/base.js +0 -45
  2027. data/node_modules/handlebars/dist/amd/handlebars/compiler/code-gen.js +0 -165
  2028. data/node_modules/handlebars/dist/amd/handlebars/compiler/compiler.js +0 -562
  2029. data/node_modules/handlebars/dist/amd/handlebars/compiler/helpers.js +0 -228
  2030. data/node_modules/handlebars/dist/amd/handlebars/compiler/javascript-compiler.js +0 -1150
  2031. data/node_modules/handlebars/dist/amd/handlebars/compiler/parser.js +0 -737
  2032. data/node_modules/handlebars/dist/amd/handlebars/compiler/printer.js +0 -186
  2033. data/node_modules/handlebars/dist/amd/handlebars/compiler/visitor.js +0 -138
  2034. data/node_modules/handlebars/dist/amd/handlebars/compiler/whitespace-control.js +0 -219
  2035. data/node_modules/handlebars/dist/amd/handlebars/decorators/inline.js +0 -25
  2036. data/node_modules/handlebars/dist/amd/handlebars/decorators.js +0 -16
  2037. data/node_modules/handlebars/dist/amd/handlebars/exception.js +0 -64
  2038. data/node_modules/handlebars/dist/amd/handlebars/helpers/block-helper-missing.js +0 -35
  2039. data/node_modules/handlebars/dist/amd/handlebars/helpers/each.js +0 -99
  2040. data/node_modules/handlebars/dist/amd/handlebars/helpers/helper-missing.js +0 -22
  2041. data/node_modules/handlebars/dist/amd/handlebars/helpers/if.js +0 -41
  2042. data/node_modules/handlebars/dist/amd/handlebars/helpers/log.js +0 -24
  2043. data/node_modules/handlebars/dist/amd/handlebars/helpers/lookup.js +0 -14
  2044. data/node_modules/handlebars/dist/amd/handlebars/helpers/with.js +0 -38
  2045. data/node_modules/handlebars/dist/amd/handlebars/helpers.js +0 -44
  2046. data/node_modules/handlebars/dist/amd/handlebars/internal/create-new-lookup-object.js +0 -22
  2047. data/node_modules/handlebars/dist/amd/handlebars/internal/proto-access.js +0 -71
  2048. data/node_modules/handlebars/dist/amd/handlebars/internal/wrapHelper.js +0 -21
  2049. data/node_modules/handlebars/dist/amd/handlebars/logger.js +0 -44
  2050. data/node_modules/handlebars/dist/amd/handlebars/no-conflict.js +0 -28
  2051. data/node_modules/handlebars/dist/amd/handlebars/runtime.js +0 -356
  2052. data/node_modules/handlebars/dist/amd/handlebars/safe-string.js +0 -15
  2053. data/node_modules/handlebars/dist/amd/handlebars/utils.js +0 -126
  2054. data/node_modules/handlebars/dist/amd/handlebars.js +0 -52
  2055. data/node_modules/handlebars/dist/amd/handlebars.runtime.js +0 -44
  2056. data/node_modules/handlebars/dist/amd/precompiler.js +0 -314
  2057. data/node_modules/handlebars/dist/cjs/handlebars/base.js +0 -116
  2058. data/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +0 -31
  2059. data/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +0 -57
  2060. data/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +0 -168
  2061. data/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +0 -566
  2062. data/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +0 -228
  2063. data/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +0 -1158
  2064. data/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +0 -737
  2065. data/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +0 -186
  2066. data/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +0 -140
  2067. data/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +0 -221
  2068. data/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +0 -29
  2069. data/node_modules/handlebars/dist/cjs/handlebars/decorators.js +0 -16
  2070. data/node_modules/handlebars/dist/cjs/handlebars/exception.js +0 -64
  2071. data/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +0 -39
  2072. data/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +0 -104
  2073. data/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +0 -25
  2074. data/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +0 -46
  2075. data/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +0 -26
  2076. data/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +0 -16
  2077. data/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +0 -43
  2078. data/node_modules/handlebars/dist/cjs/handlebars/helpers.js +0 -56
  2079. data/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js +0 -22
  2080. data/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +0 -73
  2081. data/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +0 -19
  2082. data/node_modules/handlebars/dist/cjs/handlebars/logger.js +0 -47
  2083. data/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +0 -30
  2084. data/node_modules/handlebars/dist/cjs/handlebars/runtime.js +0 -372
  2085. data/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +0 -15
  2086. data/node_modules/handlebars/dist/cjs/handlebars/utils.js +0 -124
  2087. data/node_modules/handlebars/dist/cjs/handlebars.js +0 -66
  2088. data/node_modules/handlebars/dist/cjs/handlebars.runtime.js +0 -66
  2089. data/node_modules/handlebars/dist/cjs/precompiler.js +0 -328
  2090. data/node_modules/handlebars/dist/handlebars.amd.js +0 -4639
  2091. data/node_modules/handlebars/dist/handlebars.amd.min.js +0 -29
  2092. data/node_modules/handlebars/dist/handlebars.js +0 -5972
  2093. data/node_modules/handlebars/dist/handlebars.min.js +0 -29
  2094. data/node_modules/handlebars/dist/handlebars.runtime.amd.js +0 -1302
  2095. data/node_modules/handlebars/dist/handlebars.runtime.amd.min.js +0 -27
  2096. data/node_modules/handlebars/dist/handlebars.runtime.js +0 -2563
  2097. data/node_modules/handlebars/dist/handlebars.runtime.min.js +0 -27
  2098. data/node_modules/handlebars/lib/.eslintrc.js +0 -8
  2099. data/node_modules/handlebars/lib/handlebars/base.js +0 -94
  2100. data/node_modules/handlebars/lib/handlebars/compiler/ast.js +0 -32
  2101. data/node_modules/handlebars/lib/handlebars/compiler/base.js +0 -34
  2102. data/node_modules/handlebars/lib/handlebars/compiler/code-gen.js +0 -171
  2103. data/node_modules/handlebars/lib/handlebars/compiler/compiler.js +0 -594
  2104. data/node_modules/handlebars/lib/handlebars/compiler/helpers.js +0 -219
  2105. data/node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js +0 -1293
  2106. data/node_modules/handlebars/lib/handlebars/compiler/parser.js +0 -622
  2107. data/node_modules/handlebars/lib/handlebars/compiler/printer.js +0 -178
  2108. data/node_modules/handlebars/lib/handlebars/compiler/visitor.js +0 -136
  2109. data/node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js +0 -234
  2110. data/node_modules/handlebars/lib/handlebars/decorators/inline.js +0 -22
  2111. data/node_modules/handlebars/lib/handlebars/decorators.js +0 -5
  2112. data/node_modules/handlebars/lib/handlebars/exception.js +0 -68
  2113. data/node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js +0 -35
  2114. data/node_modules/handlebars/lib/handlebars/helpers/each.js +0 -101
  2115. data/node_modules/handlebars/lib/handlebars/helpers/helper-missing.js +0 -15
  2116. data/node_modules/handlebars/lib/handlebars/helpers/if.js +0 -33
  2117. data/node_modules/handlebars/lib/handlebars/helpers/log.js +0 -19
  2118. data/node_modules/handlebars/lib/handlebars/helpers/lookup.js +0 -9
  2119. data/node_modules/handlebars/lib/handlebars/helpers/with.js +0 -39
  2120. data/node_modules/handlebars/lib/handlebars/helpers.js +0 -26
  2121. data/node_modules/handlebars/lib/handlebars/internal/create-new-lookup-object.js +0 -11
  2122. data/node_modules/handlebars/lib/handlebars/internal/proto-access.js +0 -70
  2123. data/node_modules/handlebars/lib/handlebars/internal/wrapHelper.js +0 -13
  2124. data/node_modules/handlebars/lib/handlebars/logger.js +0 -39
  2125. data/node_modules/handlebars/lib/handlebars/no-conflict.js +0 -23
  2126. data/node_modules/handlebars/lib/handlebars/runtime.js +0 -450
  2127. data/node_modules/handlebars/lib/handlebars/safe-string.js +0 -10
  2128. data/node_modules/handlebars/lib/handlebars/utils.js +0 -116
  2129. data/node_modules/handlebars/lib/handlebars.js +0 -46
  2130. data/node_modules/handlebars/lib/handlebars.runtime.js +0 -37
  2131. data/node_modules/handlebars/lib/index.js +0 -26
  2132. data/node_modules/handlebars/lib/precompiler.js +0 -341
  2133. data/node_modules/handlebars/package.json +0 -135
  2134. data/node_modules/handlebars/release-notes.md +0 -1102
  2135. data/node_modules/handlebars/runtime.d.ts +0 -5
  2136. data/node_modules/handlebars/runtime.js +0 -3
  2137. data/node_modules/handlebars/types/index.d.ts +0 -422
  2138. data/node_modules/has-flag/index.js +0 -8
  2139. data/node_modules/has-flag/license +0 -9
  2140. data/node_modules/has-flag/package.json +0 -44
  2141. data/node_modules/has-flag/readme.md +0 -70
  2142. data/node_modules/hosted-git-info/LICENSE +0 -13
  2143. data/node_modules/hosted-git-info/README.md +0 -133
  2144. data/node_modules/hosted-git-info/lib/from-url.js +0 -122
  2145. data/node_modules/hosted-git-info/lib/hosts.js +0 -227
  2146. data/node_modules/hosted-git-info/lib/index.js +0 -179
  2147. data/node_modules/hosted-git-info/lib/parse-url.js +0 -78
  2148. data/node_modules/hosted-git-info/package.json +0 -60
  2149. data/node_modules/human-signals/LICENSE +0 -201
  2150. data/node_modules/human-signals/README.md +0 -168
  2151. data/node_modules/human-signals/build/src/core.js +0 -273
  2152. data/node_modules/human-signals/build/src/main.d.ts +0 -73
  2153. data/node_modules/human-signals/build/src/main.js +0 -70
  2154. data/node_modules/human-signals/build/src/realtime.js +0 -16
  2155. data/node_modules/human-signals/build/src/signals.js +0 -34
  2156. data/node_modules/human-signals/package.json +0 -61
  2157. data/node_modules/import-fresh/index.d.ts +0 -30
  2158. data/node_modules/import-fresh/index.js +0 -33
  2159. data/node_modules/import-fresh/license +0 -9
  2160. data/node_modules/import-fresh/node_modules/resolve-from/index.js +0 -47
  2161. data/node_modules/import-fresh/node_modules/resolve-from/license +0 -9
  2162. data/node_modules/import-fresh/node_modules/resolve-from/package.json +0 -34
  2163. data/node_modules/import-fresh/node_modules/resolve-from/readme.md +0 -72
  2164. data/node_modules/import-fresh/package.json +0 -43
  2165. data/node_modules/import-fresh/readme.md +0 -48
  2166. data/node_modules/import-meta-resolve/index.d.ts +0 -18
  2167. data/node_modules/import-meta-resolve/index.js +0 -47
  2168. data/node_modules/import-meta-resolve/lib/errors.d.ts +0 -23
  2169. data/node_modules/import-meta-resolve/lib/errors.js +0 -507
  2170. data/node_modules/import-meta-resolve/lib/get-format.d.ts +0 -12
  2171. data/node_modules/import-meta-resolve/lib/get-format.js +0 -159
  2172. data/node_modules/import-meta-resolve/lib/package-json-reader.d.ts +0 -31
  2173. data/node_modules/import-meta-resolve/lib/package-json-reader.js +0 -177
  2174. data/node_modules/import-meta-resolve/lib/resolve.d.ts +0 -33
  2175. data/node_modules/import-meta-resolve/lib/resolve.js +0 -1297
  2176. data/node_modules/import-meta-resolve/lib/utils.d.ts +0 -5
  2177. data/node_modules/import-meta-resolve/lib/utils.js +0 -47
  2178. data/node_modules/import-meta-resolve/license +0 -74
  2179. data/node_modules/import-meta-resolve/package.json +0 -95
  2180. data/node_modules/import-meta-resolve/readme.md +0 -252
  2181. data/node_modules/index-to-position/index.d.ts +0 -21
  2182. data/node_modules/index-to-position/index.js +0 -29
  2183. data/node_modules/index-to-position/license +0 -9
  2184. data/node_modules/index-to-position/package.json +0 -47
  2185. data/node_modules/index-to-position/readme.md +0 -45
  2186. data/node_modules/ini/LICENSE +0 -15
  2187. data/node_modules/ini/README.md +0 -125
  2188. data/node_modules/ini/lib/ini.js +0 -278
  2189. data/node_modules/ini/package.json +0 -45
  2190. data/node_modules/is-arrayish/.editorconfig +0 -18
  2191. data/node_modules/is-arrayish/.istanbul.yml +0 -4
  2192. data/node_modules/is-arrayish/.npmignore +0 -5
  2193. data/node_modules/is-arrayish/.travis.yml +0 -17
  2194. data/node_modules/is-arrayish/LICENSE +0 -21
  2195. data/node_modules/is-arrayish/README.md +0 -16
  2196. data/node_modules/is-arrayish/index.js +0 -10
  2197. data/node_modules/is-arrayish/package.json +0 -34
  2198. data/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  2199. data/node_modules/is-fullwidth-code-point/index.js +0 -50
  2200. data/node_modules/is-fullwidth-code-point/license +0 -9
  2201. data/node_modules/is-fullwidth-code-point/package.json +0 -42
  2202. data/node_modules/is-fullwidth-code-point/readme.md +0 -39
  2203. data/node_modules/is-obj/index.d.ts +0 -22
  2204. data/node_modules/is-obj/index.js +0 -6
  2205. data/node_modules/is-obj/license +0 -9
  2206. data/node_modules/is-obj/package.json +0 -34
  2207. data/node_modules/is-obj/readme.md +0 -39
  2208. data/node_modules/is-stream/index.d.ts +0 -81
  2209. data/node_modules/is-stream/index.js +0 -29
  2210. data/node_modules/is-stream/license +0 -9
  2211. data/node_modules/is-stream/package.json +0 -44
  2212. data/node_modules/is-stream/readme.md +0 -60
  2213. data/node_modules/is-text-path/index.d.ts +0 -17
  2214. data/node_modules/is-text-path/index.js +0 -7
  2215. data/node_modules/is-text-path/license +0 -9
  2216. data/node_modules/is-text-path/package.json +0 -40
  2217. data/node_modules/is-text-path/readme.md +0 -34
  2218. data/node_modules/isexe/.npmignore +0 -2
  2219. data/node_modules/isexe/LICENSE +0 -15
  2220. data/node_modules/isexe/README.md +0 -51
  2221. data/node_modules/isexe/index.js +0 -57
  2222. data/node_modules/isexe/mode.js +0 -41
  2223. data/node_modules/isexe/package.json +0 -31
  2224. data/node_modules/isexe/test/basic.js +0 -221
  2225. data/node_modules/isexe/windows.js +0 -42
  2226. data/node_modules/jiti/LICENSE +0 -21
  2227. data/node_modules/jiti/README.md +0 -164
  2228. data/node_modules/jiti/bin/jiti.js +0 -16
  2229. data/node_modules/jiti/dist/babel.d.ts +0 -2
  2230. data/node_modules/jiti/dist/babel.js +0 -202
  2231. data/node_modules/jiti/dist/jiti.d.ts +0 -22
  2232. data/node_modules/jiti/dist/jiti.js +0 -1
  2233. data/node_modules/jiti/dist/plugins/babel-plugin-transform-import-meta.d.ts +0 -4
  2234. data/node_modules/jiti/dist/plugins/import-meta-env.d.ts +0 -5
  2235. data/node_modules/jiti/dist/types.d.ts +0 -35
  2236. data/node_modules/jiti/dist/utils.d.ts +0 -8
  2237. data/node_modules/jiti/lib/index.js +0 -15
  2238. data/node_modules/jiti/package.json +0 -81
  2239. data/node_modules/jiti/register.js +0 -3
  2240. data/node_modules/js-tokens/CHANGELOG.md +0 -151
  2241. data/node_modules/js-tokens/LICENSE +0 -21
  2242. data/node_modules/js-tokens/README.md +0 -240
  2243. data/node_modules/js-tokens/index.js +0 -23
  2244. data/node_modules/js-tokens/package.json +0 -30
  2245. data/node_modules/js-yaml/CHANGELOG.md +0 -616
  2246. data/node_modules/js-yaml/LICENSE +0 -21
  2247. data/node_modules/js-yaml/README.md +0 -246
  2248. data/node_modules/js-yaml/bin/js-yaml.js +0 -126
  2249. data/node_modules/js-yaml/dist/js-yaml.js +0 -3874
  2250. data/node_modules/js-yaml/dist/js-yaml.min.js +0 -2
  2251. data/node_modules/js-yaml/dist/js-yaml.mjs +0 -3851
  2252. data/node_modules/js-yaml/index.js +0 -47
  2253. data/node_modules/js-yaml/lib/common.js +0 -59
  2254. data/node_modules/js-yaml/lib/dumper.js +0 -965
  2255. data/node_modules/js-yaml/lib/exception.js +0 -55
  2256. data/node_modules/js-yaml/lib/loader.js +0 -1727
  2257. data/node_modules/js-yaml/lib/schema/core.js +0 -11
  2258. data/node_modules/js-yaml/lib/schema/default.js +0 -22
  2259. data/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
  2260. data/node_modules/js-yaml/lib/schema/json.js +0 -19
  2261. data/node_modules/js-yaml/lib/schema.js +0 -121
  2262. data/node_modules/js-yaml/lib/snippet.js +0 -101
  2263. data/node_modules/js-yaml/lib/type/binary.js +0 -125
  2264. data/node_modules/js-yaml/lib/type/bool.js +0 -35
  2265. data/node_modules/js-yaml/lib/type/float.js +0 -97
  2266. data/node_modules/js-yaml/lib/type/int.js +0 -156
  2267. data/node_modules/js-yaml/lib/type/map.js +0 -8
  2268. data/node_modules/js-yaml/lib/type/merge.js +0 -12
  2269. data/node_modules/js-yaml/lib/type/null.js +0 -35
  2270. data/node_modules/js-yaml/lib/type/omap.js +0 -44
  2271. data/node_modules/js-yaml/lib/type/pairs.js +0 -53
  2272. data/node_modules/js-yaml/lib/type/seq.js +0 -8
  2273. data/node_modules/js-yaml/lib/type/set.js +0 -29
  2274. data/node_modules/js-yaml/lib/type/str.js +0 -8
  2275. data/node_modules/js-yaml/lib/type/timestamp.js +0 -88
  2276. data/node_modules/js-yaml/lib/type.js +0 -66
  2277. data/node_modules/js-yaml/package.json +0 -66
  2278. data/node_modules/json-parse-even-better-errors/CHANGELOG.md +0 -50
  2279. data/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
  2280. data/node_modules/json-parse-even-better-errors/README.md +0 -96
  2281. data/node_modules/json-parse-even-better-errors/index.js +0 -121
  2282. data/node_modules/json-parse-even-better-errors/package.json +0 -33
  2283. data/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
  2284. data/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
  2285. data/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
  2286. data/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
  2287. data/node_modules/json-schema-traverse/LICENSE +0 -21
  2288. data/node_modules/json-schema-traverse/README.md +0 -95
  2289. data/node_modules/json-schema-traverse/index.d.ts +0 -40
  2290. data/node_modules/json-schema-traverse/index.js +0 -93
  2291. data/node_modules/json-schema-traverse/package.json +0 -43
  2292. data/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
  2293. data/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
  2294. data/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
  2295. data/node_modules/jsonparse/.npmignore +0 -1
  2296. data/node_modules/jsonparse/LICENSE +0 -24
  2297. data/node_modules/jsonparse/README.markdown +0 -11
  2298. data/node_modules/jsonparse/bench.js +0 -26
  2299. data/node_modules/jsonparse/examples/twitterfeed.js +0 -30
  2300. data/node_modules/jsonparse/jsonparse.js +0 -413
  2301. data/node_modules/jsonparse/package.json +0 -22
  2302. data/node_modules/jsonparse/samplejson/basic.json +0 -167
  2303. data/node_modules/jsonparse/samplejson/basic2.json +0 -180
  2304. data/node_modules/jsonparse/test/big-token.js +0 -24
  2305. data/node_modules/jsonparse/test/boundary.js +0 -110
  2306. data/node_modules/jsonparse/test/offset.js +0 -67
  2307. data/node_modules/jsonparse/test/primitives.js +0 -57
  2308. data/node_modules/jsonparse/test/surrogate.js +0 -26
  2309. data/node_modules/jsonparse/test/unvalid.js +0 -15
  2310. data/node_modules/jsonparse/test/utf8.js +0 -38
  2311. data/node_modules/lefthook/README.md +0 -243
  2312. data/node_modules/lefthook/bin/index.js +0 -17
  2313. data/node_modules/lefthook/get-exe.js +0 -20
  2314. data/node_modules/lefthook/package.json +0 -40
  2315. data/node_modules/lefthook/postinstall.js +0 -21
  2316. data/node_modules/lefthook-darwin-arm64/README.md +0 -243
  2317. data/node_modules/lefthook-darwin-arm64/bin/lefthook +0 -0
  2318. data/node_modules/lefthook-darwin-arm64/package.json +0 -22
  2319. data/node_modules/lines-and-columns/LICENSE +0 -21
  2320. data/node_modules/lines-and-columns/README.md +0 -33
  2321. data/node_modules/lines-and-columns/build/index.d.ts +0 -13
  2322. data/node_modules/lines-and-columns/build/index.js +0 -62
  2323. data/node_modules/lines-and-columns/package.json +0 -49
  2324. data/node_modules/locate-path/index.d.ts +0 -92
  2325. data/node_modules/locate-path/index.js +0 -77
  2326. data/node_modules/locate-path/license +0 -9
  2327. data/node_modules/locate-path/package.json +0 -48
  2328. data/node_modules/locate-path/readme.md +0 -123
  2329. data/node_modules/lodash.camelcase/LICENSE +0 -47
  2330. data/node_modules/lodash.camelcase/README.md +0 -18
  2331. data/node_modules/lodash.camelcase/index.js +0 -599
  2332. data/node_modules/lodash.camelcase/package.json +0 -17
  2333. data/node_modules/lodash.isplainobject/LICENSE +0 -47
  2334. data/node_modules/lodash.isplainobject/README.md +0 -18
  2335. data/node_modules/lodash.isplainobject/index.js +0 -139
  2336. data/node_modules/lodash.isplainobject/package.json +0 -17
  2337. data/node_modules/lodash.kebabcase/LICENSE +0 -47
  2338. data/node_modules/lodash.kebabcase/README.md +0 -18
  2339. data/node_modules/lodash.kebabcase/index.js +0 -435
  2340. data/node_modules/lodash.kebabcase/package.json +0 -17
  2341. data/node_modules/lodash.merge/LICENSE +0 -47
  2342. data/node_modules/lodash.merge/README.md +0 -18
  2343. data/node_modules/lodash.merge/index.js +0 -1977
  2344. data/node_modules/lodash.merge/package.json +0 -16
  2345. data/node_modules/lodash.mergewith/LICENSE +0 -47
  2346. data/node_modules/lodash.mergewith/README.md +0 -18
  2347. data/node_modules/lodash.mergewith/index.js +0 -1977
  2348. data/node_modules/lodash.mergewith/package.json +0 -16
  2349. data/node_modules/lodash.snakecase/LICENSE +0 -47
  2350. data/node_modules/lodash.snakecase/README.md +0 -18
  2351. data/node_modules/lodash.snakecase/index.js +0 -435
  2352. data/node_modules/lodash.snakecase/package.json +0 -17
  2353. data/node_modules/lodash.startcase/LICENSE +0 -47
  2354. data/node_modules/lodash.startcase/README.md +0 -18
  2355. data/node_modules/lodash.startcase/index.js +0 -580
  2356. data/node_modules/lodash.startcase/package.json +0 -17
  2357. data/node_modules/lodash.uniq/LICENSE +0 -47
  2358. data/node_modules/lodash.uniq/README.md +0 -18
  2359. data/node_modules/lodash.uniq/index.js +0 -896
  2360. data/node_modules/lodash.uniq/package.json +0 -17
  2361. data/node_modules/lodash.upperfirst/LICENSE +0 -47
  2362. data/node_modules/lodash.upperfirst/README.md +0 -18
  2363. data/node_modules/lodash.upperfirst/index.js +0 -303
  2364. data/node_modules/lodash.upperfirst/package.json +0 -17
  2365. data/node_modules/lru-cache/LICENSE +0 -15
  2366. data/node_modules/lru-cache/README.md +0 -331
  2367. data/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
  2368. data/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  2369. data/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
  2370. data/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  2371. data/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  2372. data/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  2373. data/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  2374. data/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
  2375. data/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  2376. data/node_modules/lru-cache/dist/esm/index.js +0 -1542
  2377. data/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  2378. data/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  2379. data/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  2380. data/node_modules/lru-cache/dist/esm/package.json +0 -3
  2381. data/node_modules/lru-cache/package.json +0 -116
  2382. data/node_modules/meow/build/dependencies.js +0 -8828
  2383. data/node_modules/meow/build/index.d.ts +0 -1425
  2384. data/node_modules/meow/build/index.js +0 -95
  2385. data/node_modules/meow/build/licenses.md +0 -1620
  2386. data/node_modules/meow/build/options.js +0 -92
  2387. data/node_modules/meow/build/parser.js +0 -84
  2388. data/node_modules/meow/build/utils.js +0 -7
  2389. data/node_modules/meow/build/validate.js +0 -122
  2390. data/node_modules/meow/license +0 -9
  2391. data/node_modules/meow/package.json +0 -105
  2392. data/node_modules/meow/readme.md +0 -314
  2393. data/node_modules/merge-stream/LICENSE +0 -21
  2394. data/node_modules/merge-stream/README.md +0 -78
  2395. data/node_modules/merge-stream/index.js +0 -41
  2396. data/node_modules/merge-stream/package.json +0 -19
  2397. data/node_modules/mimic-fn/index.d.ts +0 -52
  2398. data/node_modules/mimic-fn/index.js +0 -71
  2399. data/node_modules/mimic-fn/license +0 -9
  2400. data/node_modules/mimic-fn/package.json +0 -45
  2401. data/node_modules/mimic-fn/readme.md +0 -90
  2402. data/node_modules/minimist/.eslintrc +0 -29
  2403. data/node_modules/minimist/.github/FUNDING.yml +0 -12
  2404. data/node_modules/minimist/.nycrc +0 -14
  2405. data/node_modules/minimist/CHANGELOG.md +0 -298
  2406. data/node_modules/minimist/LICENSE +0 -18
  2407. data/node_modules/minimist/README.md +0 -121
  2408. data/node_modules/minimist/example/parse.js +0 -4
  2409. data/node_modules/minimist/index.js +0 -263
  2410. data/node_modules/minimist/package.json +0 -75
  2411. data/node_modules/minimist/test/all_bool.js +0 -34
  2412. data/node_modules/minimist/test/bool.js +0 -177
  2413. data/node_modules/minimist/test/dash.js +0 -43
  2414. data/node_modules/minimist/test/default_bool.js +0 -37
  2415. data/node_modules/minimist/test/dotted.js +0 -24
  2416. data/node_modules/minimist/test/kv_short.js +0 -32
  2417. data/node_modules/minimist/test/long.js +0 -33
  2418. data/node_modules/minimist/test/num.js +0 -38
  2419. data/node_modules/minimist/test/parse.js +0 -209
  2420. data/node_modules/minimist/test/parse_modified.js +0 -11
  2421. data/node_modules/minimist/test/proto.js +0 -64
  2422. data/node_modules/minimist/test/short.js +0 -69
  2423. data/node_modules/minimist/test/stop_early.js +0 -17
  2424. data/node_modules/minimist/test/unknown.js +0 -104
  2425. data/node_modules/minimist/test/whitespace.js +0 -10
  2426. data/node_modules/neo-async/LICENSE +0 -22
  2427. data/node_modules/neo-async/README.md +0 -273
  2428. data/node_modules/neo-async/all.js +0 -3
  2429. data/node_modules/neo-async/allLimit.js +0 -3
  2430. data/node_modules/neo-async/allSeries.js +0 -3
  2431. data/node_modules/neo-async/angelFall.js +0 -3
  2432. data/node_modules/neo-async/any.js +0 -3
  2433. data/node_modules/neo-async/anyLimit.js +0 -3
  2434. data/node_modules/neo-async/anySeries.js +0 -3
  2435. data/node_modules/neo-async/apply.js +0 -3
  2436. data/node_modules/neo-async/applyEach.js +0 -3
  2437. data/node_modules/neo-async/applyEachSeries.js +0 -3
  2438. data/node_modules/neo-async/async.js +0 -9184
  2439. data/node_modules/neo-async/async.min.js +0 -80
  2440. data/node_modules/neo-async/asyncify.js +0 -3
  2441. data/node_modules/neo-async/auto.js +0 -3
  2442. data/node_modules/neo-async/autoInject.js +0 -3
  2443. data/node_modules/neo-async/cargo.js +0 -3
  2444. data/node_modules/neo-async/compose.js +0 -3
  2445. data/node_modules/neo-async/concat.js +0 -3
  2446. data/node_modules/neo-async/concatLimit.js +0 -3
  2447. data/node_modules/neo-async/concatSeries.js +0 -3
  2448. data/node_modules/neo-async/constant.js +0 -3
  2449. data/node_modules/neo-async/createLogger.js +0 -3
  2450. data/node_modules/neo-async/detect.js +0 -3
  2451. data/node_modules/neo-async/detectLimit.js +0 -3
  2452. data/node_modules/neo-async/detectSeries.js +0 -3
  2453. data/node_modules/neo-async/dir.js +0 -3
  2454. data/node_modules/neo-async/doDuring.js +0 -3
  2455. data/node_modules/neo-async/doUntil.js +0 -3
  2456. data/node_modules/neo-async/doWhilst.js +0 -3
  2457. data/node_modules/neo-async/during.js +0 -3
  2458. data/node_modules/neo-async/each.js +0 -3
  2459. data/node_modules/neo-async/eachLimit.js +0 -3
  2460. data/node_modules/neo-async/eachOf.js +0 -3
  2461. data/node_modules/neo-async/eachOfLimit.js +0 -3
  2462. data/node_modules/neo-async/eachOfSeries.js +0 -3
  2463. data/node_modules/neo-async/eachSeries.js +0 -3
  2464. data/node_modules/neo-async/ensureAsync.js +0 -3
  2465. data/node_modules/neo-async/every.js +0 -3
  2466. data/node_modules/neo-async/everyLimit.js +0 -3
  2467. data/node_modules/neo-async/everySeries.js +0 -3
  2468. data/node_modules/neo-async/fast.js +0 -3
  2469. data/node_modules/neo-async/filter.js +0 -3
  2470. data/node_modules/neo-async/filterLimit.js +0 -3
  2471. data/node_modules/neo-async/filterSeries.js +0 -3
  2472. data/node_modules/neo-async/find.js +0 -3
  2473. data/node_modules/neo-async/findLimit.js +0 -3
  2474. data/node_modules/neo-async/findSeries.js +0 -3
  2475. data/node_modules/neo-async/foldl.js +0 -3
  2476. data/node_modules/neo-async/foldr.js +0 -3
  2477. data/node_modules/neo-async/forEach.js +0 -3
  2478. data/node_modules/neo-async/forEachLimit.js +0 -3
  2479. data/node_modules/neo-async/forEachOf.js +0 -3
  2480. data/node_modules/neo-async/forEachOfLimit.js +0 -3
  2481. data/node_modules/neo-async/forEachOfSeries.js +0 -3
  2482. data/node_modules/neo-async/forEachSeries.js +0 -3
  2483. data/node_modules/neo-async/forever.js +0 -3
  2484. data/node_modules/neo-async/groupBy.js +0 -3
  2485. data/node_modules/neo-async/groupByLimit.js +0 -3
  2486. data/node_modules/neo-async/groupBySeries.js +0 -3
  2487. data/node_modules/neo-async/inject.js +0 -3
  2488. data/node_modules/neo-async/iterator.js +0 -3
  2489. data/node_modules/neo-async/log.js +0 -3
  2490. data/node_modules/neo-async/map.js +0 -3
  2491. data/node_modules/neo-async/mapLimit.js +0 -3
  2492. data/node_modules/neo-async/mapSeries.js +0 -3
  2493. data/node_modules/neo-async/mapValues.js +0 -3
  2494. data/node_modules/neo-async/mapValuesLimit.js +0 -3
  2495. data/node_modules/neo-async/mapValuesSeries.js +0 -3
  2496. data/node_modules/neo-async/memoize.js +0 -3
  2497. data/node_modules/neo-async/nextTick.js +0 -3
  2498. data/node_modules/neo-async/omit.js +0 -3
  2499. data/node_modules/neo-async/omitLimit.js +0 -3
  2500. data/node_modules/neo-async/omitSeries.js +0 -3
  2501. data/node_modules/neo-async/package.json +0 -57
  2502. data/node_modules/neo-async/parallel.js +0 -3
  2503. data/node_modules/neo-async/parallelLimit.js +0 -3
  2504. data/node_modules/neo-async/pick.js +0 -3
  2505. data/node_modules/neo-async/pickLimit.js +0 -3
  2506. data/node_modules/neo-async/pickSeries.js +0 -3
  2507. data/node_modules/neo-async/priorityQueue.js +0 -3
  2508. data/node_modules/neo-async/queue.js +0 -3
  2509. data/node_modules/neo-async/race.js +0 -3
  2510. data/node_modules/neo-async/reduce.js +0 -3
  2511. data/node_modules/neo-async/reduceRight.js +0 -3
  2512. data/node_modules/neo-async/reflect.js +0 -3
  2513. data/node_modules/neo-async/reflectAll.js +0 -3
  2514. data/node_modules/neo-async/reject.js +0 -3
  2515. data/node_modules/neo-async/rejectLimit.js +0 -3
  2516. data/node_modules/neo-async/rejectSeries.js +0 -3
  2517. data/node_modules/neo-async/retry.js +0 -3
  2518. data/node_modules/neo-async/retryable.js +0 -3
  2519. data/node_modules/neo-async/safe.js +0 -3
  2520. data/node_modules/neo-async/select.js +0 -3
  2521. data/node_modules/neo-async/selectLimit.js +0 -3
  2522. data/node_modules/neo-async/selectSeries.js +0 -3
  2523. data/node_modules/neo-async/seq.js +0 -3
  2524. data/node_modules/neo-async/series.js +0 -3
  2525. data/node_modules/neo-async/setImmediate.js +0 -3
  2526. data/node_modules/neo-async/some.js +0 -3
  2527. data/node_modules/neo-async/someLimit.js +0 -3
  2528. data/node_modules/neo-async/someSeries.js +0 -3
  2529. data/node_modules/neo-async/sortBy.js +0 -3
  2530. data/node_modules/neo-async/sortByLimit.js +0 -3
  2531. data/node_modules/neo-async/sortBySeries.js +0 -3
  2532. data/node_modules/neo-async/timeout.js +0 -3
  2533. data/node_modules/neo-async/times.js +0 -3
  2534. data/node_modules/neo-async/timesLimit.js +0 -3
  2535. data/node_modules/neo-async/timesSeries.js +0 -3
  2536. data/node_modules/neo-async/transform.js +0 -3
  2537. data/node_modules/neo-async/transformLimit.js +0 -3
  2538. data/node_modules/neo-async/transformSeries.js +0 -3
  2539. data/node_modules/neo-async/tryEach.js +0 -3
  2540. data/node_modules/neo-async/unmemoize.js +0 -3
  2541. data/node_modules/neo-async/until.js +0 -3
  2542. data/node_modules/neo-async/waterfall.js +0 -3
  2543. data/node_modules/neo-async/whilst.js +0 -3
  2544. data/node_modules/neo-async/wrapSync.js +0 -3
  2545. data/node_modules/normalize-package-data/LICENSE +0 -15
  2546. data/node_modules/normalize-package-data/README.md +0 -108
  2547. data/node_modules/normalize-package-data/lib/extract_description.js +0 -24
  2548. data/node_modules/normalize-package-data/lib/fixer.js +0 -475
  2549. data/node_modules/normalize-package-data/lib/make_warning.js +0 -22
  2550. data/node_modules/normalize-package-data/lib/normalize.js +0 -48
  2551. data/node_modules/normalize-package-data/lib/safe_format.js +0 -11
  2552. data/node_modules/normalize-package-data/lib/typos.json +0 -25
  2553. data/node_modules/normalize-package-data/lib/warning_messages.json +0 -30
  2554. data/node_modules/normalize-package-data/package.json +0 -55
  2555. data/node_modules/npm-run-path/index.d.ts +0 -90
  2556. data/node_modules/npm-run-path/index.js +0 -52
  2557. data/node_modules/npm-run-path/license +0 -9
  2558. data/node_modules/npm-run-path/node_modules/path-key/index.d.ts +0 -31
  2559. data/node_modules/npm-run-path/node_modules/path-key/index.js +0 -12
  2560. data/node_modules/npm-run-path/node_modules/path-key/license +0 -9
  2561. data/node_modules/npm-run-path/node_modules/path-key/package.json +0 -41
  2562. data/node_modules/npm-run-path/node_modules/path-key/readme.md +0 -57
  2563. data/node_modules/npm-run-path/package.json +0 -49
  2564. data/node_modules/npm-run-path/readme.md +0 -104
  2565. data/node_modules/onetime/index.d.ts +0 -59
  2566. data/node_modules/onetime/index.js +0 -41
  2567. data/node_modules/onetime/license +0 -9
  2568. data/node_modules/onetime/package.json +0 -45
  2569. data/node_modules/onetime/readme.md +0 -94
  2570. data/node_modules/p-limit/index.d.ts +0 -40
  2571. data/node_modules/p-limit/index.js +0 -68
  2572. data/node_modules/p-limit/license +0 -9
  2573. data/node_modules/p-limit/package.json +0 -54
  2574. data/node_modules/p-limit/readme.md +0 -99
  2575. data/node_modules/p-locate/index.d.ts +0 -49
  2576. data/node_modules/p-locate/index.js +0 -48
  2577. data/node_modules/p-locate/license +0 -9
  2578. data/node_modules/p-locate/package.json +0 -56
  2579. data/node_modules/p-locate/readme.md +0 -91
  2580. data/node_modules/parent-module/index.js +0 -37
  2581. data/node_modules/parent-module/license +0 -9
  2582. data/node_modules/parent-module/package.json +0 -46
  2583. data/node_modules/parent-module/readme.md +0 -67
  2584. data/node_modules/parse-json/index.js +0 -54
  2585. data/node_modules/parse-json/license +0 -9
  2586. data/node_modules/parse-json/package.json +0 -45
  2587. data/node_modules/parse-json/readme.md +0 -119
  2588. data/node_modules/path-exists/index.d.ts +0 -31
  2589. data/node_modules/path-exists/index.js +0 -19
  2590. data/node_modules/path-exists/license +0 -9
  2591. data/node_modules/path-exists/package.json +0 -41
  2592. data/node_modules/path-exists/readme.md +0 -52
  2593. data/node_modules/path-key/index.d.ts +0 -40
  2594. data/node_modules/path-key/index.js +0 -16
  2595. data/node_modules/path-key/license +0 -9
  2596. data/node_modules/path-key/package.json +0 -39
  2597. data/node_modules/path-key/readme.md +0 -61
  2598. data/node_modules/picocolors/LICENSE +0 -15
  2599. data/node_modules/picocolors/README.md +0 -21
  2600. data/node_modules/picocolors/package.json +0 -25
  2601. data/node_modules/picocolors/picocolors.browser.js +0 -4
  2602. data/node_modules/picocolors/picocolors.d.ts +0 -5
  2603. data/node_modules/picocolors/picocolors.js +0 -65
  2604. data/node_modules/picocolors/types.ts +0 -30
  2605. data/node_modules/read-package-up/index.d.ts +0 -81
  2606. data/node_modules/read-package-up/index.js +0 -27
  2607. data/node_modules/read-package-up/license +0 -9
  2608. data/node_modules/read-package-up/package.json +0 -69
  2609. data/node_modules/read-package-up/readme.md +0 -68
  2610. data/node_modules/read-pkg/index.d.ts +0 -68
  2611. data/node_modules/read-pkg/index.js +0 -43
  2612. data/node_modules/read-pkg/license +0 -9
  2613. data/node_modules/read-pkg/node_modules/parse-json/index.d.ts +0 -126
  2614. data/node_modules/read-pkg/node_modules/parse-json/index.js +0 -96
  2615. data/node_modules/read-pkg/node_modules/parse-json/license +0 -9
  2616. data/node_modules/read-pkg/node_modules/parse-json/package.json +0 -53
  2617. data/node_modules/read-pkg/node_modules/parse-json/readme.md +0 -113
  2618. data/node_modules/read-pkg/package.json +0 -52
  2619. data/node_modules/read-pkg/readme.md +0 -81
  2620. data/node_modules/require-directory/.jshintrc +0 -67
  2621. data/node_modules/require-directory/.npmignore +0 -1
  2622. data/node_modules/require-directory/.travis.yml +0 -3
  2623. data/node_modules/require-directory/LICENSE +0 -22
  2624. data/node_modules/require-directory/README.markdown +0 -184
  2625. data/node_modules/require-directory/index.js +0 -86
  2626. data/node_modules/require-directory/package.json +0 -40
  2627. data/node_modules/require-from-string/index.js +0 -34
  2628. data/node_modules/require-from-string/license +0 -21
  2629. data/node_modules/require-from-string/package.json +0 -28
  2630. data/node_modules/require-from-string/readme.md +0 -56
  2631. data/node_modules/resolve-from/index.d.ts +0 -31
  2632. data/node_modules/resolve-from/index.js +0 -47
  2633. data/node_modules/resolve-from/license +0 -9
  2634. data/node_modules/resolve-from/package.json +0 -36
  2635. data/node_modules/resolve-from/readme.md +0 -72
  2636. data/node_modules/semver/LICENSE +0 -15
  2637. data/node_modules/semver/README.md +0 -654
  2638. data/node_modules/semver/bin/semver.js +0 -188
  2639. data/node_modules/semver/classes/comparator.js +0 -141
  2640. data/node_modules/semver/classes/index.js +0 -5
  2641. data/node_modules/semver/classes/range.js +0 -554
  2642. data/node_modules/semver/classes/semver.js +0 -302
  2643. data/node_modules/semver/functions/clean.js +0 -6
  2644. data/node_modules/semver/functions/cmp.js +0 -52
  2645. data/node_modules/semver/functions/coerce.js +0 -60
  2646. data/node_modules/semver/functions/compare-build.js +0 -7
  2647. data/node_modules/semver/functions/compare-loose.js +0 -3
  2648. data/node_modules/semver/functions/compare.js +0 -5
  2649. data/node_modules/semver/functions/diff.js +0 -65
  2650. data/node_modules/semver/functions/eq.js +0 -3
  2651. data/node_modules/semver/functions/gt.js +0 -3
  2652. data/node_modules/semver/functions/gte.js +0 -3
  2653. data/node_modules/semver/functions/inc.js +0 -19
  2654. data/node_modules/semver/functions/lt.js +0 -3
  2655. data/node_modules/semver/functions/lte.js +0 -3
  2656. data/node_modules/semver/functions/major.js +0 -3
  2657. data/node_modules/semver/functions/minor.js +0 -3
  2658. data/node_modules/semver/functions/neq.js +0 -3
  2659. data/node_modules/semver/functions/parse.js +0 -16
  2660. data/node_modules/semver/functions/patch.js +0 -3
  2661. data/node_modules/semver/functions/prerelease.js +0 -6
  2662. data/node_modules/semver/functions/rcompare.js +0 -3
  2663. data/node_modules/semver/functions/rsort.js +0 -3
  2664. data/node_modules/semver/functions/satisfies.js +0 -10
  2665. data/node_modules/semver/functions/sort.js +0 -3
  2666. data/node_modules/semver/functions/valid.js +0 -6
  2667. data/node_modules/semver/index.js +0 -89
  2668. data/node_modules/semver/internal/constants.js +0 -35
  2669. data/node_modules/semver/internal/debug.js +0 -9
  2670. data/node_modules/semver/internal/identifiers.js +0 -23
  2671. data/node_modules/semver/internal/lrucache.js +0 -40
  2672. data/node_modules/semver/internal/parse-options.js +0 -15
  2673. data/node_modules/semver/internal/re.js +0 -217
  2674. data/node_modules/semver/package.json +0 -77
  2675. data/node_modules/semver/preload.js +0 -2
  2676. data/node_modules/semver/range.bnf +0 -16
  2677. data/node_modules/semver/ranges/gtr.js +0 -4
  2678. data/node_modules/semver/ranges/intersects.js +0 -7
  2679. data/node_modules/semver/ranges/ltr.js +0 -4
  2680. data/node_modules/semver/ranges/max-satisfying.js +0 -25
  2681. data/node_modules/semver/ranges/min-satisfying.js +0 -24
  2682. data/node_modules/semver/ranges/min-version.js +0 -61
  2683. data/node_modules/semver/ranges/outside.js +0 -80
  2684. data/node_modules/semver/ranges/simplify.js +0 -47
  2685. data/node_modules/semver/ranges/subset.js +0 -247
  2686. data/node_modules/semver/ranges/to-comparators.js +0 -8
  2687. data/node_modules/semver/ranges/valid.js +0 -11
  2688. data/node_modules/shebang-command/index.js +0 -19
  2689. data/node_modules/shebang-command/license +0 -9
  2690. data/node_modules/shebang-command/package.json +0 -34
  2691. data/node_modules/shebang-command/readme.md +0 -34
  2692. data/node_modules/shebang-regex/index.d.ts +0 -22
  2693. data/node_modules/shebang-regex/index.js +0 -2
  2694. data/node_modules/shebang-regex/license +0 -9
  2695. data/node_modules/shebang-regex/package.json +0 -35
  2696. data/node_modules/shebang-regex/readme.md +0 -33
  2697. data/node_modules/signal-exit/LICENSE.txt +0 -16
  2698. data/node_modules/signal-exit/README.md +0 -74
  2699. data/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
  2700. data/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
  2701. data/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  2702. data/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
  2703. data/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
  2704. data/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
  2705. data/node_modules/signal-exit/dist/cjs/index.js +0 -279
  2706. data/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
  2707. data/node_modules/signal-exit/dist/cjs/package.json +0 -3
  2708. data/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
  2709. data/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
  2710. data/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  2711. data/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
  2712. data/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
  2713. data/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
  2714. data/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  2715. data/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
  2716. data/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
  2717. data/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
  2718. data/node_modules/signal-exit/dist/mjs/index.js +0 -275
  2719. data/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
  2720. data/node_modules/signal-exit/dist/mjs/package.json +0 -3
  2721. data/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
  2722. data/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
  2723. data/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  2724. data/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
  2725. data/node_modules/signal-exit/package.json +0 -106
  2726. data/node_modules/source-map/CHANGELOG.md +0 -301
  2727. data/node_modules/source-map/LICENSE +0 -28
  2728. data/node_modules/source-map/README.md +0 -742
  2729. data/node_modules/source-map/dist/source-map.debug.js +0 -3234
  2730. data/node_modules/source-map/dist/source-map.js +0 -3233
  2731. data/node_modules/source-map/dist/source-map.min.js +0 -2
  2732. data/node_modules/source-map/dist/source-map.min.js.map +0 -1
  2733. data/node_modules/source-map/lib/array-set.js +0 -121
  2734. data/node_modules/source-map/lib/base64-vlq.js +0 -140
  2735. data/node_modules/source-map/lib/base64.js +0 -67
  2736. data/node_modules/source-map/lib/binary-search.js +0 -111
  2737. data/node_modules/source-map/lib/mapping-list.js +0 -79
  2738. data/node_modules/source-map/lib/quick-sort.js +0 -114
  2739. data/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  2740. data/node_modules/source-map/lib/source-map-generator.js +0 -425
  2741. data/node_modules/source-map/lib/source-node.js +0 -413
  2742. data/node_modules/source-map/lib/util.js +0 -488
  2743. data/node_modules/source-map/package.json +0 -73
  2744. data/node_modules/source-map/source-map.d.ts +0 -98
  2745. data/node_modules/source-map/source-map.js +0 -8
  2746. data/node_modules/spdx-correct/LICENSE +0 -202
  2747. data/node_modules/spdx-correct/README.md +0 -22
  2748. data/node_modules/spdx-correct/index.js +0 -386
  2749. data/node_modules/spdx-correct/package.json +0 -32
  2750. data/node_modules/spdx-exceptions/README.md +0 -36
  2751. data/node_modules/spdx-exceptions/deprecated.json +0 -3
  2752. data/node_modules/spdx-exceptions/index.json +0 -68
  2753. data/node_modules/spdx-exceptions/package.json +0 -19
  2754. data/node_modules/spdx-expression-parse/AUTHORS +0 -4
  2755. data/node_modules/spdx-expression-parse/LICENSE +0 -22
  2756. data/node_modules/spdx-expression-parse/README.md +0 -91
  2757. data/node_modules/spdx-expression-parse/index.js +0 -8
  2758. data/node_modules/spdx-expression-parse/package.json +0 -39
  2759. data/node_modules/spdx-expression-parse/parse.js +0 -138
  2760. data/node_modules/spdx-expression-parse/scan.js +0 -131
  2761. data/node_modules/spdx-license-ids/README.md +0 -52
  2762. data/node_modules/spdx-license-ids/deprecated.json +0 -28
  2763. data/node_modules/spdx-license-ids/index.json +0 -636
  2764. data/node_modules/spdx-license-ids/package.json +0 -39
  2765. data/node_modules/split2/LICENSE +0 -13
  2766. data/node_modules/split2/README.md +0 -85
  2767. data/node_modules/split2/bench.js +0 -27
  2768. data/node_modules/split2/index.js +0 -141
  2769. data/node_modules/split2/package.json +0 -39
  2770. data/node_modules/split2/test.js +0 -409
  2771. data/node_modules/string-width/index.d.ts +0 -29
  2772. data/node_modules/string-width/index.js +0 -47
  2773. data/node_modules/string-width/license +0 -9
  2774. data/node_modules/string-width/package.json +0 -56
  2775. data/node_modules/string-width/readme.md +0 -50
  2776. data/node_modules/strip-ansi/index.d.ts +0 -17
  2777. data/node_modules/strip-ansi/index.js +0 -4
  2778. data/node_modules/strip-ansi/license +0 -9
  2779. data/node_modules/strip-ansi/package.json +0 -54
  2780. data/node_modules/strip-ansi/readme.md +0 -46
  2781. data/node_modules/strip-final-newline/index.js +0 -14
  2782. data/node_modules/strip-final-newline/license +0 -9
  2783. data/node_modules/strip-final-newline/package.json +0 -43
  2784. data/node_modules/strip-final-newline/readme.md +0 -35
  2785. data/node_modules/supports-color/browser.js +0 -5
  2786. data/node_modules/supports-color/index.js +0 -131
  2787. data/node_modules/supports-color/license +0 -9
  2788. data/node_modules/supports-color/package.json +0 -53
  2789. data/node_modules/supports-color/readme.md +0 -66
  2790. data/node_modules/temp-dir/index.d.ts +0 -22
  2791. data/node_modules/temp-dir/index.js +0 -6
  2792. data/node_modules/temp-dir/license +0 -9
  2793. data/node_modules/temp-dir/package.json +0 -49
  2794. data/node_modules/temp-dir/readme.md +0 -27
  2795. data/node_modules/tempfile/index.d.ts +0 -30
  2796. data/node_modules/tempfile/index.js +0 -18
  2797. data/node_modules/tempfile/license +0 -9
  2798. data/node_modules/tempfile/package.json +0 -45
  2799. data/node_modules/tempfile/readme.md +0 -49
  2800. data/node_modules/text-extensions/index.d.ts +0 -14
  2801. data/node_modules/text-extensions/index.js +0 -3
  2802. data/node_modules/text-extensions/license +0 -9
  2803. data/node_modules/text-extensions/package.json +0 -40
  2804. data/node_modules/text-extensions/readme.md +0 -37
  2805. data/node_modules/text-extensions/text-extensions.json +0 -328
  2806. data/node_modules/text-extensions/text-extensions.json.d.ts +0 -3
  2807. data/node_modules/through/.travis.yml +0 -5
  2808. data/node_modules/through/LICENSE.APACHE2 +0 -15
  2809. data/node_modules/through/LICENSE.MIT +0 -24
  2810. data/node_modules/through/index.js +0 -108
  2811. data/node_modules/through/package.json +0 -36
  2812. data/node_modules/through/readme.markdown +0 -64
  2813. data/node_modules/through/test/async.js +0 -28
  2814. data/node_modules/through/test/auto-destroy.js +0 -30
  2815. data/node_modules/through/test/buffering.js +0 -71
  2816. data/node_modules/through/test/end.js +0 -45
  2817. data/node_modules/through/test/index.js +0 -133
  2818. data/node_modules/type-fest/index.d.ts +0 -166
  2819. data/node_modules/type-fest/package.json +0 -72
  2820. data/node_modules/type-fest/readme.md +0 -1005
  2821. data/node_modules/type-fest/source/and.d.ts +0 -25
  2822. data/node_modules/type-fest/source/array-indices.d.ts +0 -23
  2823. data/node_modules/type-fest/source/array-slice.d.ts +0 -107
  2824. data/node_modules/type-fest/source/array-splice.d.ts +0 -97
  2825. data/node_modules/type-fest/source/array-tail.d.ts +0 -25
  2826. data/node_modules/type-fest/source/array-values.d.ts +0 -22
  2827. data/node_modules/type-fest/source/arrayable.d.ts +0 -26
  2828. data/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  2829. data/node_modules/type-fest/source/asyncify.d.ts +0 -32
  2830. data/node_modules/type-fest/source/basic.d.ts +0 -68
  2831. data/node_modules/type-fest/source/camel-case.d.ts +0 -80
  2832. data/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -88
  2833. data/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -36
  2834. data/node_modules/type-fest/source/conditional-except.d.ts +0 -45
  2835. data/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
  2836. data/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -104
  2837. data/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
  2838. data/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
  2839. data/node_modules/type-fest/source/delimiter-case.d.ts +0 -99
  2840. data/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -84
  2841. data/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -37
  2842. data/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
  2843. data/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
  2844. data/node_modules/type-fest/source/empty-object.d.ts +0 -46
  2845. data/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
  2846. data/node_modules/type-fest/source/entries.d.ts +0 -62
  2847. data/node_modules/type-fest/source/entry.d.ts +0 -65
  2848. data/node_modules/type-fest/source/exact.d.ts +0 -67
  2849. data/node_modules/type-fest/source/except.d.ts +0 -80
  2850. data/node_modules/type-fest/source/find-global-type.d.ts +0 -64
  2851. data/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
  2852. data/node_modules/type-fest/source/get.d.ts +0 -191
  2853. data/node_modules/type-fest/source/global-this.d.ts +0 -21
  2854. data/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
  2855. data/node_modules/type-fest/source/greater-than.d.ts +0 -51
  2856. data/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
  2857. data/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
  2858. data/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
  2859. data/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
  2860. data/node_modules/type-fest/source/if-any.d.ts +0 -24
  2861. data/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
  2862. data/node_modules/type-fest/source/if-never.d.ts +0 -24
  2863. data/node_modules/type-fest/source/if-null.d.ts +0 -24
  2864. data/node_modules/type-fest/source/if-unknown.d.ts +0 -24
  2865. data/node_modules/type-fest/source/includes.d.ts +0 -22
  2866. data/node_modules/type-fest/source/int-range.d.ts +0 -53
  2867. data/node_modules/type-fest/source/internal/array.d.ts +0 -93
  2868. data/node_modules/type-fest/source/internal/characters.d.ts +0 -33
  2869. data/node_modules/type-fest/source/internal/index.d.ts +0 -8
  2870. data/node_modules/type-fest/source/internal/keys.d.ts +0 -97
  2871. data/node_modules/type-fest/source/internal/numeric.d.ts +0 -91
  2872. data/node_modules/type-fest/source/internal/object.d.ts +0 -82
  2873. data/node_modules/type-fest/source/internal/string.d.ts +0 -210
  2874. data/node_modules/type-fest/source/internal/tuple.d.ts +0 -88
  2875. data/node_modules/type-fest/source/internal/type.d.ts +0 -113
  2876. data/node_modules/type-fest/source/invariant-of.d.ts +0 -76
  2877. data/node_modules/type-fest/source/is-any.d.ts +0 -29
  2878. data/node_modules/type-fest/source/is-equal.d.ts +0 -31
  2879. data/node_modules/type-fest/source/is-float.d.ts +0 -33
  2880. data/node_modules/type-fest/source/is-integer.d.ts +0 -48
  2881. data/node_modules/type-fest/source/is-literal.d.ts +0 -258
  2882. data/node_modules/type-fest/source/is-never.d.ts +0 -42
  2883. data/node_modules/type-fest/source/is-null.d.ts +0 -20
  2884. data/node_modules/type-fest/source/is-unknown.d.ts +0 -52
  2885. data/node_modules/type-fest/source/iterable-element.d.ts +0 -64
  2886. data/node_modules/type-fest/source/join.d.ts +0 -68
  2887. data/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
  2888. data/node_modules/type-fest/source/jsonify.d.ts +0 -122
  2889. data/node_modules/type-fest/source/kebab-case.d.ts +0 -38
  2890. data/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -47
  2891. data/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -30
  2892. data/node_modules/type-fest/source/keys-of-union.d.ts +0 -40
  2893. data/node_modules/type-fest/source/last-array-element.d.ts +0 -38
  2894. data/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
  2895. data/node_modules/type-fest/source/less-than.d.ts +0 -22
  2896. data/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
  2897. data/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
  2898. data/node_modules/type-fest/source/literal-union.d.ts +0 -35
  2899. data/node_modules/type-fest/source/merge-deep.d.ts +0 -486
  2900. data/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
  2901. data/node_modules/type-fest/source/merge.d.ts +0 -48
  2902. data/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
  2903. data/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
  2904. data/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
  2905. data/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -21
  2906. data/node_modules/type-fest/source/numeric.d.ts +0 -222
  2907. data/node_modules/type-fest/source/observable-like.d.ts +0 -63
  2908. data/node_modules/type-fest/source/omit-deep.d.ts +0 -159
  2909. data/node_modules/type-fest/source/omit-index-signature.d.ts +0 -107
  2910. data/node_modules/type-fest/source/opaque.d.ts +0 -252
  2911. data/node_modules/type-fest/source/optional-keys-of.d.ts +0 -38
  2912. data/node_modules/type-fest/source/or.d.ts +0 -25
  2913. data/node_modules/type-fest/source/override-properties.d.ts +0 -36
  2914. data/node_modules/type-fest/source/package-json.d.ts +0 -676
  2915. data/node_modules/type-fest/source/partial-deep.d.ts +0 -109
  2916. data/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -71
  2917. data/node_modules/type-fest/source/pascal-case.d.ts +0 -38
  2918. data/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -55
  2919. data/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -35
  2920. data/node_modules/type-fest/source/paths.d.ts +0 -170
  2921. data/node_modules/type-fest/source/pick-deep.d.ts +0 -149
  2922. data/node_modules/type-fest/source/pick-index-signature.d.ts +0 -102
  2923. data/node_modules/type-fest/source/primitive.d.ts +0 -13
  2924. data/node_modules/type-fest/source/promisable.d.ts +0 -25
  2925. data/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
  2926. data/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -29
  2927. data/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
  2928. data/node_modules/type-fest/source/replace.d.ts +0 -67
  2929. data/node_modules/type-fest/source/require-all-or-none.d.ts +0 -42
  2930. data/node_modules/type-fest/source/require-at-least-one.d.ts +0 -34
  2931. data/node_modules/type-fest/source/require-exactly-one.d.ts +0 -34
  2932. data/node_modules/type-fest/source/require-one-or-none.d.ts +0 -37
  2933. data/node_modules/type-fest/source/required-deep.d.ts +0 -78
  2934. data/node_modules/type-fest/source/required-keys-of.d.ts +0 -29
  2935. data/node_modules/type-fest/source/schema.d.ts +0 -71
  2936. data/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -33
  2937. data/node_modules/type-fest/source/set-field-type.d.ts +0 -37
  2938. data/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
  2939. data/node_modules/type-fest/source/set-optional.d.ts +0 -35
  2940. data/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
  2941. data/node_modules/type-fest/source/set-readonly.d.ts +0 -38
  2942. data/node_modules/type-fest/source/set-required.d.ts +0 -40
  2943. data/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  2944. data/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -168
  2945. data/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
  2946. data/node_modules/type-fest/source/simplify.d.ts +0 -58
  2947. data/node_modules/type-fest/source/single-key-object.d.ts +0 -29
  2948. data/node_modules/type-fest/source/snake-case.d.ts +0 -38
  2949. data/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -47
  2950. data/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -30
  2951. data/node_modules/type-fest/source/split-words.d.ts +0 -57
  2952. data/node_modules/type-fest/source/split.d.ts +0 -29
  2953. data/node_modules/type-fest/source/spread.d.ts +0 -84
  2954. data/node_modules/type-fest/source/string-key-of.d.ts +0 -25
  2955. data/node_modules/type-fest/source/string-repeat.d.ts +0 -43
  2956. data/node_modules/type-fest/source/string-slice.d.ts +0 -37
  2957. data/node_modules/type-fest/source/stringified.d.ts +0 -23
  2958. data/node_modules/type-fest/source/structured-cloneable.d.ts +0 -92
  2959. data/node_modules/type-fest/source/subtract.d.ts +0 -70
  2960. data/node_modules/type-fest/source/sum.d.ts +0 -70
  2961. data/node_modules/type-fest/source/tagged-union.d.ts +0 -51
  2962. data/node_modules/type-fest/source/trim.d.ts +0 -27
  2963. data/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1198
  2964. data/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
  2965. data/node_modules/type-fest/source/typed-array.d.ts +0 -17
  2966. data/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -80
  2967. data/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
  2968. data/node_modules/type-fest/source/unknown-array.d.ts +0 -25
  2969. data/node_modules/type-fest/source/unknown-record.d.ts +0 -31
  2970. data/node_modules/type-fest/source/value-of.d.ts +0 -42
  2971. data/node_modules/type-fest/source/writable-deep.d.ts +0 -83
  2972. data/node_modules/type-fest/source/writable-keys-of.d.ts +0 -30
  2973. data/node_modules/type-fest/source/writable.d.ts +0 -68
  2974. data/node_modules/uglify-js/LICENSE +0 -29
  2975. data/node_modules/uglify-js/README.md +0 -1479
  2976. data/node_modules/uglify-js/bin/uglifyjs +0 -624
  2977. data/node_modules/uglify-js/lib/ast.js +0 -2357
  2978. data/node_modules/uglify-js/lib/compress.js +0 -14640
  2979. data/node_modules/uglify-js/lib/minify.js +0 -278
  2980. data/node_modules/uglify-js/lib/mozilla-ast.js +0 -1338
  2981. data/node_modules/uglify-js/lib/output.js +0 -1983
  2982. data/node_modules/uglify-js/lib/parse.js +0 -2589
  2983. data/node_modules/uglify-js/lib/propmangle.js +0 -328
  2984. data/node_modules/uglify-js/lib/scope.js +0 -883
  2985. data/node_modules/uglify-js/lib/sourcemap.js +0 -195
  2986. data/node_modules/uglify-js/lib/transform.js +0 -250
  2987. data/node_modules/uglify-js/lib/utils.js +0 -300
  2988. data/node_modules/uglify-js/package.json +0 -56
  2989. data/node_modules/uglify-js/tools/domprops.html +0 -456
  2990. data/node_modules/uglify-js/tools/domprops.json +0 -8327
  2991. data/node_modules/uglify-js/tools/exports.js +0 -8
  2992. data/node_modules/uglify-js/tools/node.js +0 -115
  2993. data/node_modules/uglify-js/tools/tty.js +0 -22
  2994. data/node_modules/undici-types/LICENSE +0 -21
  2995. data/node_modules/undici-types/README.md +0 -6
  2996. data/node_modules/undici-types/agent.d.ts +0 -31
  2997. data/node_modules/undici-types/api.d.ts +0 -43
  2998. data/node_modules/undici-types/balanced-pool.d.ts +0 -29
  2999. data/node_modules/undici-types/cache.d.ts +0 -36
  3000. data/node_modules/undici-types/client.d.ts +0 -108
  3001. data/node_modules/undici-types/connector.d.ts +0 -34
  3002. data/node_modules/undici-types/content-type.d.ts +0 -21
  3003. data/node_modules/undici-types/cookies.d.ts +0 -28
  3004. data/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  3005. data/node_modules/undici-types/dispatcher.d.ts +0 -255
  3006. data/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  3007. data/node_modules/undici-types/errors.d.ts +0 -149
  3008. data/node_modules/undici-types/eventsource.d.ts +0 -63
  3009. data/node_modules/undici-types/fetch.d.ts +0 -209
  3010. data/node_modules/undici-types/file.d.ts +0 -39
  3011. data/node_modules/undici-types/filereader.d.ts +0 -54
  3012. data/node_modules/undici-types/formdata.d.ts +0 -108
  3013. data/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  3014. data/node_modules/undici-types/global-origin.d.ts +0 -7
  3015. data/node_modules/undici-types/handlers.d.ts +0 -15
  3016. data/node_modules/undici-types/header.d.ts +0 -4
  3017. data/node_modules/undici-types/index.d.ts +0 -71
  3018. data/node_modules/undici-types/interceptors.d.ts +0 -15
  3019. data/node_modules/undici-types/mock-agent.d.ts +0 -50
  3020. data/node_modules/undici-types/mock-client.d.ts +0 -25
  3021. data/node_modules/undici-types/mock-errors.d.ts +0 -12
  3022. data/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  3023. data/node_modules/undici-types/mock-pool.d.ts +0 -25
  3024. data/node_modules/undici-types/package.json +0 -55
  3025. data/node_modules/undici-types/patch.d.ts +0 -71
  3026. data/node_modules/undici-types/pool-stats.d.ts +0 -19
  3027. data/node_modules/undici-types/pool.d.ts +0 -39
  3028. data/node_modules/undici-types/proxy-agent.d.ts +0 -28
  3029. data/node_modules/undici-types/readable.d.ts +0 -60
  3030. data/node_modules/undici-types/retry-agent.d.ts +0 -8
  3031. data/node_modules/undici-types/retry-handler.d.ts +0 -116
  3032. data/node_modules/undici-types/util.d.ts +0 -18
  3033. data/node_modules/undici-types/webidl.d.ts +0 -222
  3034. data/node_modules/undici-types/websocket.d.ts +0 -152
  3035. data/node_modules/unicorn-magic/default.js +0 -14
  3036. data/node_modules/unicorn-magic/index.d.ts +0 -29
  3037. data/node_modules/unicorn-magic/license +0 -9
  3038. data/node_modules/unicorn-magic/node.js +0 -7
  3039. data/node_modules/unicorn-magic/package.json +0 -49
  3040. data/node_modules/unicorn-magic/readme.md +0 -25
  3041. data/node_modules/validate-npm-package-license/LICENSE +0 -202
  3042. data/node_modules/validate-npm-package-license/README.md +0 -113
  3043. data/node_modules/validate-npm-package-license/index.js +0 -86
  3044. data/node_modules/validate-npm-package-license/package.json +0 -28
  3045. data/node_modules/which/CHANGELOG.md +0 -166
  3046. data/node_modules/which/LICENSE +0 -15
  3047. data/node_modules/which/README.md +0 -54
  3048. data/node_modules/which/bin/node-which +0 -52
  3049. data/node_modules/which/package.json +0 -43
  3050. data/node_modules/which/which.js +0 -125
  3051. data/node_modules/wordwrap/LICENSE +0 -18
  3052. data/node_modules/wordwrap/README.markdown +0 -70
  3053. data/node_modules/wordwrap/example/center.js +0 -10
  3054. data/node_modules/wordwrap/example/meat.js +0 -3
  3055. data/node_modules/wordwrap/index.js +0 -76
  3056. data/node_modules/wordwrap/package.json +0 -34
  3057. data/node_modules/wordwrap/test/break.js +0 -32
  3058. data/node_modules/wordwrap/test/idleness.txt +0 -63
  3059. data/node_modules/wordwrap/test/wrap.js +0 -33
  3060. data/node_modules/wrap-ansi/index.js +0 -216
  3061. data/node_modules/wrap-ansi/license +0 -9
  3062. data/node_modules/wrap-ansi/package.json +0 -62
  3063. data/node_modules/wrap-ansi/readme.md +0 -91
  3064. data/node_modules/y18n/CHANGELOG.md +0 -100
  3065. data/node_modules/y18n/LICENSE +0 -13
  3066. data/node_modules/y18n/README.md +0 -127
  3067. data/node_modules/y18n/build/index.cjs +0 -203
  3068. data/node_modules/y18n/build/lib/cjs.js +0 -6
  3069. data/node_modules/y18n/build/lib/index.js +0 -174
  3070. data/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  3071. data/node_modules/y18n/index.mjs +0 -8
  3072. data/node_modules/y18n/package.json +0 -70
  3073. data/node_modules/yargs/LICENSE +0 -21
  3074. data/node_modules/yargs/README.md +0 -204
  3075. data/node_modules/yargs/browser.d.ts +0 -5
  3076. data/node_modules/yargs/browser.mjs +0 -7
  3077. data/node_modules/yargs/build/index.cjs +0 -1
  3078. data/node_modules/yargs/build/lib/argsert.js +0 -62
  3079. data/node_modules/yargs/build/lib/command.js +0 -449
  3080. data/node_modules/yargs/build/lib/completion-templates.js +0 -48
  3081. data/node_modules/yargs/build/lib/completion.js +0 -243
  3082. data/node_modules/yargs/build/lib/middleware.js +0 -88
  3083. data/node_modules/yargs/build/lib/parse-command.js +0 -32
  3084. data/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  3085. data/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
  3086. data/node_modules/yargs/build/lib/usage.js +0 -584
  3087. data/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  3088. data/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  3089. data/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
  3090. data/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
  3091. data/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  3092. data/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  3093. data/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  3094. data/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  3095. data/node_modules/yargs/build/lib/validation.js +0 -305
  3096. data/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
  3097. data/node_modules/yargs/build/lib/yerror.js +0 -9
  3098. data/node_modules/yargs/helpers/helpers.mjs +0 -10
  3099. data/node_modules/yargs/helpers/index.js +0 -14
  3100. data/node_modules/yargs/helpers/package.json +0 -3
  3101. data/node_modules/yargs/index.cjs +0 -53
  3102. data/node_modules/yargs/index.mjs +0 -8
  3103. data/node_modules/yargs/lib/platform-shims/browser.mjs +0 -95
  3104. data/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
  3105. data/node_modules/yargs/locales/be.json +0 -46
  3106. data/node_modules/yargs/locales/cs.json +0 -51
  3107. data/node_modules/yargs/locales/de.json +0 -46
  3108. data/node_modules/yargs/locales/en.json +0 -55
  3109. data/node_modules/yargs/locales/es.json +0 -46
  3110. data/node_modules/yargs/locales/fi.json +0 -49
  3111. data/node_modules/yargs/locales/fr.json +0 -53
  3112. data/node_modules/yargs/locales/hi.json +0 -49
  3113. data/node_modules/yargs/locales/hu.json +0 -46
  3114. data/node_modules/yargs/locales/id.json +0 -50
  3115. data/node_modules/yargs/locales/it.json +0 -46
  3116. data/node_modules/yargs/locales/ja.json +0 -51
  3117. data/node_modules/yargs/locales/ko.json +0 -49
  3118. data/node_modules/yargs/locales/nb.json +0 -44
  3119. data/node_modules/yargs/locales/nl.json +0 -49
  3120. data/node_modules/yargs/locales/nn.json +0 -44
  3121. data/node_modules/yargs/locales/pirate.json +0 -13
  3122. data/node_modules/yargs/locales/pl.json +0 -49
  3123. data/node_modules/yargs/locales/pt.json +0 -45
  3124. data/node_modules/yargs/locales/pt_BR.json +0 -48
  3125. data/node_modules/yargs/locales/ru.json +0 -51
  3126. data/node_modules/yargs/locales/th.json +0 -46
  3127. data/node_modules/yargs/locales/tr.json +0 -48
  3128. data/node_modules/yargs/locales/uk_UA.json +0 -51
  3129. data/node_modules/yargs/locales/uz.json +0 -52
  3130. data/node_modules/yargs/locales/zh_CN.json +0 -48
  3131. data/node_modules/yargs/locales/zh_TW.json +0 -51
  3132. data/node_modules/yargs/package.json +0 -123
  3133. data/node_modules/yargs/yargs +0 -9
  3134. data/node_modules/yargs/yargs.mjs +0 -10
  3135. data/node_modules/yargs-parser/CHANGELOG.md +0 -308
  3136. data/node_modules/yargs-parser/LICENSE.txt +0 -14
  3137. data/node_modules/yargs-parser/README.md +0 -518
  3138. data/node_modules/yargs-parser/browser.js +0 -29
  3139. data/node_modules/yargs-parser/build/index.cjs +0 -1050
  3140. data/node_modules/yargs-parser/build/lib/index.js +0 -62
  3141. data/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  3142. data/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  3143. data/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  3144. data/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
  3145. data/node_modules/yargs-parser/package.json +0 -92
  3146. data/node_modules/yocto-queue/index.d.ts +0 -61
  3147. data/node_modules/yocto-queue/index.js +0 -78
  3148. data/node_modules/yocto-queue/license +0 -9
  3149. data/node_modules/yocto-queue/package.json +0 -48
  3150. data/node_modules/yocto-queue/readme.md +0 -70
  3151. data/pkg/pcp-server-ruby-sdk-0.1.0.gem +0 -0
@@ -1,4390 +0,0 @@
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
- }