pcp-server-ruby-sdk 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +41 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +91 -0
- data/LICENSE +21 -0
- data/PCP-server-Ruby-SDK.gemspec +42 -0
- data/README.md +190 -0
- data/Rakefile +18 -0
- data/changelog.config.js +80 -0
- data/commitlint.config.js +1 -0
- data/coverage/.last_run.json +5 -0
- data/coverage/.resultset.json +325 -0
- data/coverage/.resultset.json.lock +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
- data/coverage/assets/0.12.3/application.css +1 -0
- data/coverage/assets/0.12.3/application.js +7 -0
- data/coverage/assets/0.12.3/colorbox/border.png +0 -0
- data/coverage/assets/0.12.3/colorbox/controls.png +0 -0
- data/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
- data/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.12.3/favicon_green.png +0 -0
- data/coverage/assets/0.12.3/favicon_red.png +0 -0
- data/coverage/assets/0.12.3/favicon_yellow.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/assets/0.12.3/loading.gif +0 -0
- data/coverage/assets/0.12.3/magnify.png +0 -0
- data/coverage/coverage.json +352 -0
- data/coverage/index.html +3953 -0
- data/docs/APIError.md +28 -0
- data/docs/Address.md +30 -0
- data/docs/AddressPersonal.md +32 -0
- data/docs/AllowedPaymentActions.md +15 -0
- data/docs/AmountOfMoney.md +20 -0
- data/docs/ApplePaymentDataTokenHeaderInformation.md +20 -0
- data/docs/ApplePaymentDataTokenInformation.md +22 -0
- data/docs/AuthorizationMode.md +15 -0
- data/docs/BankAccountInformation.md +20 -0
- data/docs/CancelItem.md +20 -0
- data/docs/CancelPaymentRequest.md +18 -0
- data/docs/CancelPaymentResponse.md +18 -0
- data/docs/CancelRequest.md +22 -0
- data/docs/CancelResponse.md +20 -0
- data/docs/CancelType.md +15 -0
- data/docs/CancellationReason.md +15 -0
- data/docs/CaptureOutput.md +24 -0
- data/docs/CapturePaymentRequest.md +26 -0
- data/docs/CapturePaymentResponse.md +24 -0
- data/docs/CardFraudResults.md +18 -0
- data/docs/CardInfo.md +18 -0
- data/docs/CardPaymentDetails.md +24 -0
- data/docs/CardPaymentMethodSpecificInput.md +40 -0
- data/docs/CardPaymentMethodSpecificOutput.md +24 -0
- data/docs/CardRecurrenceDetails.md +18 -0
- data/docs/CartItemInput.md +20 -0
- data/docs/CartItemInvoiceData.md +18 -0
- data/docs/CartItemOrderStatus.md +20 -0
- data/docs/CartItemPatch.md +20 -0
- data/docs/CartItemResult.md +20 -0
- data/docs/CartItemStatus.md +15 -0
- data/docs/CheckoutApi.md +412 -0
- data/docs/CheckoutReferences.md +20 -0
- data/docs/CheckoutResponse.md +42 -0
- data/docs/CheckoutsResponse.md +20 -0
- data/docs/CommerceCaseApi.md +294 -0
- data/docs/CommerceCaseResponse.md +26 -0
- data/docs/CompanyInformation.md +18 -0
- data/docs/CompleteFinancingPaymentMethodSpecificInput.md +22 -0
- data/docs/CompletePaymentMethodSpecificInput.md +18 -0
- data/docs/CompletePaymentRequest.md +22 -0
- data/docs/CompletePaymentResponse.md +22 -0
- data/docs/ContactDetails.md +20 -0
- data/docs/CreateCheckoutRequest.md +30 -0
- data/docs/CreateCheckoutResponse.md +40 -0
- data/docs/CreateCommerceCaseRequest.md +24 -0
- data/docs/CreateCommerceCaseResponse.md +26 -0
- data/docs/CreatePaymentResponse.md +24 -0
- data/docs/Customer.md +32 -0
- data/docs/CustomerDevice.md +20 -0
- data/docs/DeliverItem.md +20 -0
- data/docs/DeliverRequest.md +24 -0
- data/docs/DeliverResponse.md +20 -0
- data/docs/DeliverType.md +15 -0
- data/docs/DeliveryInformation.md +18 -0
- data/docs/ErrorResponse.md +20 -0
- data/docs/ExtendedCheckoutStatus.md +15 -0
- data/docs/FinancingPaymentMethodSpecificInput.md +22 -0
- data/docs/FinancingPaymentMethodSpecificOutput.md +20 -0
- data/docs/InstallmentOption.md +34 -0
- data/docs/LinkInformation.md +20 -0
- data/docs/MandateRecurrenceType.md +15 -0
- data/docs/MerchantAction.md +20 -0
- data/docs/MobilePaymentMethodSpecificInput.md +28 -0
- data/docs/MobilePaymentMethodSpecificOutput.md +26 -0
- data/docs/Order.md +26 -0
- data/docs/OrderItem.md +20 -0
- data/docs/OrderLineDetailsInput.md +34 -0
- data/docs/OrderLineDetailsPatch.md +38 -0
- data/docs/OrderLineDetailsResult.md +38 -0
- data/docs/OrderManagementCheckoutActionsApi.md +295 -0
- data/docs/OrderRequest.md +24 -0
- data/docs/OrderResponse.md +20 -0
- data/docs/OrderType.md +15 -0
- data/docs/PatchCheckoutRequest.md +28 -0
- data/docs/PatchCommerceCaseRequest.md +18 -0
- data/docs/PaymentChannel.md +15 -0
- data/docs/PaymentCreationOutput.md +18 -0
- data/docs/PaymentEvent.md +26 -0
- data/docs/PaymentExecution.md +36 -0
- data/docs/PaymentExecutionApi.md +370 -0
- data/docs/PaymentExecutionRequest.md +20 -0
- data/docs/PaymentExecutionSpecificInput.md +22 -0
- data/docs/PaymentInformationApi.md +149 -0
- data/docs/PaymentInformationRequest.md +26 -0
- data/docs/PaymentInformationResponse.md +38 -0
- data/docs/PaymentMethodSpecificInput.md +30 -0
- data/docs/PaymentOutput.md +34 -0
- data/docs/PaymentProduct320SpecificInput.md +20 -0
- data/docs/PaymentProduct3391SpecificInput.md +20 -0
- data/docs/PaymentProduct3391SpecificOutput.md +18 -0
- data/docs/PaymentProduct3392SpecificInput.md +18 -0
- data/docs/PaymentProduct771SpecificOutput.md +18 -0
- data/docs/PaymentProduct840CustomerAccount.md +24 -0
- data/docs/PaymentProduct840SpecificOutput.md +22 -0
- data/docs/PaymentReferences.md +18 -0
- data/docs/PaymentResponse.md +24 -0
- data/docs/PaymentStatusOutput.md +24 -0
- data/docs/PaymentType.md +15 -0
- data/docs/PayoutOutput.md +22 -0
- data/docs/PayoutResponse.md +24 -0
- data/docs/PersonalInformation.md +22 -0
- data/docs/PersonalName.md +22 -0
- data/docs/PositiveAmountOfMoney.md +20 -0
- data/docs/ProcessingMandateInformation.md +26 -0
- data/docs/ProductType.md +15 -0
- data/docs/RedirectData.md +18 -0
- data/docs/RedirectPaymentMethodSpecificInput.md +30 -0
- data/docs/RedirectPaymentMethodSpecificOutput.md +24 -0
- data/docs/RedirectPaymentProduct840SpecificInput.md +18 -0
- data/docs/RedirectionData.md +18 -0
- data/docs/References.md +22 -0
- data/docs/RefundErrorResponse.md +20 -0
- data/docs/RefundOutput.md +24 -0
- data/docs/RefundPaymentResponse.md +24 -0
- data/docs/RefundRequest.md +22 -0
- data/docs/ReturnInformation.md +20 -0
- data/docs/ReturnItem.md +20 -0
- data/docs/ReturnRequest.md +22 -0
- data/docs/ReturnResponse.md +20 -0
- data/docs/ReturnType.md +15 -0
- data/docs/SepaDirectDebitPaymentMethodSpecificInput.md +20 -0
- data/docs/SepaDirectDebitPaymentMethodSpecificOutput.md +20 -0
- data/docs/SepaDirectDebitPaymentProduct771SpecificInput.md +20 -0
- data/docs/Shipping.md +18 -0
- data/docs/ShoppingCartInput.md +18 -0
- data/docs/ShoppingCartPatch.md +18 -0
- data/docs/ShoppingCartResult.md +18 -0
- data/docs/StatusCategoryValue.md +15 -0
- data/docs/StatusCheckout.md +15 -0
- data/docs/StatusOutput.md +30 -0
- data/docs/StatusValue.md +15 -0
- data/docs/ThreeDSecureResults.md +22 -0
- data/docs/TransactionChannel.md +15 -0
- data/docs/UnscheduledCardOnFileRequestor.md +15 -0
- data/docs/UnscheduledCardOnFileSequenceIndicator.md +15 -0
- data/example-app/commerce_case_api_example.rb +47 -0
- data/example-app/example.rb +33 -0
- data/lefthook.yml +5 -0
- data/lib/PCP-server-Ruby-SDK/api/base_api_client.rb +105 -0
- data/lib/PCP-server-Ruby-SDK/api/checkout_api_client.rb +94 -0
- data/lib/PCP-server-Ruby-SDK/api/commerce_case_api_client.rb +75 -0
- data/lib/PCP-server-Ruby-SDK/api/order_management_checkout_actions_api_client.rb +82 -0
- data/lib/PCP-server-Ruby-SDK/api/payment_execution_api_client.rb +104 -0
- data/lib/PCP-server-Ruby-SDK/api/payment_information_api_client.rb +50 -0
- data/lib/PCP-server-Ruby-SDK/communicator_configuration.rb +9 -0
- data/lib/PCP-server-Ruby-SDK/errors/api_error_response_exception.rb +15 -0
- data/lib/PCP-server-Ruby-SDK/errors/api_exception.rb +27 -0
- data/lib/PCP-server-Ruby-SDK/errors/api_response_retrieval_exception.rb +7 -0
- data/lib/PCP-server-Ruby-SDK/models/address.rb +456 -0
- data/lib/PCP-server-Ruby-SDK/models/address_personal.rb +443 -0
- data/lib/PCP-server-Ruby-SDK/models/allowed_payment_actions.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/amount_of_money.rb +294 -0
- data/lib/PCP-server-Ruby-SDK/models/api_error.rb +271 -0
- data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_header_information.rb +224 -0
- data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_information.rb +267 -0
- data/lib/PCP-server-Ruby-SDK/models/authorization_mode.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/bank_account_information.rb +276 -0
- data/lib/PCP-server-Ruby-SDK/models/cancel_item.rb +265 -0
- data/lib/PCP-server-Ruby-SDK/models/cancel_payment_request.rb +234 -0
- data/lib/PCP-server-Ruby-SDK/models/cancel_payment_response.rb +212 -0
- data/lib/PCP-server-Ruby-SDK/models/cancel_request.rb +255 -0
- data/lib/PCP-server-Ruby-SDK/models/cancel_response.rb +221 -0
- data/lib/PCP-server-Ruby-SDK/models/cancel_type.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/cancellation_reason.rb +44 -0
- data/lib/PCP-server-Ruby-SDK/models/capture_output.rb +261 -0
- data/lib/PCP-server-Ruby-SDK/models/capture_payment_request.rb +303 -0
- data/lib/PCP-server-Ruby-SDK/models/capture_payment_response.rb +262 -0
- data/lib/PCP-server-Ruby-SDK/models/card_fraud_results.rb +214 -0
- data/lib/PCP-server-Ruby-SDK/models/card_info.rb +214 -0
- data/lib/PCP-server-Ruby-SDK/models/card_payment_details.rb +320 -0
- data/lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_input.rb +467 -0
- data/lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_output.rb +270 -0
- data/lib/PCP-server-Ruby-SDK/models/card_recurrence_details.rb +214 -0
- data/lib/PCP-server-Ruby-SDK/models/cart_item_input.rb +222 -0
- data/lib/PCP-server-Ruby-SDK/models/cart_item_invoice_data.rb +214 -0
- data/lib/PCP-server-Ruby-SDK/models/cart_item_order_status.rb +273 -0
- data/lib/PCP-server-Ruby-SDK/models/cart_item_patch.rb +222 -0
- data/lib/PCP-server-Ruby-SDK/models/cart_item_result.rb +222 -0
- data/lib/PCP-server-Ruby-SDK/models/cart_item_status.rb +43 -0
- data/lib/PCP-server-Ruby-SDK/models/checkout_references.rb +262 -0
- data/lib/PCP-server-Ruby-SDK/models/checkout_response.rb +372 -0
- data/lib/PCP-server-Ruby-SDK/models/checkouts_response.rb +245 -0
- data/lib/PCP-server-Ruby-SDK/models/commerce_case_response.rb +272 -0
- data/lib/PCP-server-Ruby-SDK/models/company_information.rb +214 -0
- data/lib/PCP-server-Ruby-SDK/models/complete_financing_payment_method_specific_input.rb +261 -0
- data/lib/PCP-server-Ruby-SDK/models/complete_payment_method_specific_input.rb +213 -0
- data/lib/PCP-server-Ruby-SDK/models/complete_payment_request.rb +231 -0
- data/lib/PCP-server-Ruby-SDK/models/complete_payment_response.rb +230 -0
- data/lib/PCP-server-Ruby-SDK/models/contact_details.rb +224 -0
- data/lib/PCP-server-Ruby-SDK/models/create_checkout_request.rb +271 -0
- data/lib/PCP-server-Ruby-SDK/models/create_checkout_response.rb +338 -0
- data/lib/PCP-server-Ruby-SDK/models/create_commerce_case_request.rb +260 -0
- data/lib/PCP-server-Ruby-SDK/models/create_commerce_case_response.rb +271 -0
- data/lib/PCP-server-Ruby-SDK/models/create_payment_response.rb +241 -0
- data/lib/PCP-server-Ruby-SDK/models/customer.rb +337 -0
- data/lib/PCP-server-Ruby-SDK/models/customer_device.rb +262 -0
- data/lib/PCP-server-Ruby-SDK/models/deliver_item.rb +265 -0
- data/lib/PCP-server-Ruby-SDK/models/deliver_request.rb +267 -0
- data/lib/PCP-server-Ruby-SDK/models/deliver_response.rb +221 -0
- data/lib/PCP-server-Ruby-SDK/models/deliver_type.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/delivery_information.rb +216 -0
- data/lib/PCP-server-Ruby-SDK/models/error_response.rb +224 -0
- data/lib/PCP-server-Ruby-SDK/models/extended_checkout_status.rb +47 -0
- data/lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_input.rb +261 -0
- data/lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_output.rb +251 -0
- data/lib/PCP-server-Ruby-SDK/models/installment_option.rb +386 -0
- data/lib/PCP-server-Ruby-SDK/models/link_information.rb +238 -0
- data/lib/PCP-server-Ruby-SDK/models/mandate_recurrence_type.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/merchant_action.rb +223 -0
- data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_input.rb +312 -0
- data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_output.rb +280 -0
- data/lib/PCP-server-Ruby-SDK/models/order.rb +256 -0
- data/lib/PCP-server-Ruby-SDK/models/order_item.rb +266 -0
- data/lib/PCP-server-Ruby-SDK/models/order_line_details_input.rb +470 -0
- data/lib/PCP-server-Ruby-SDK/models/order_line_details_patch.rb +498 -0
- data/lib/PCP-server-Ruby-SDK/models/order_line_details_result.rb +498 -0
- data/lib/PCP-server-Ruby-SDK/models/order_request.rb +264 -0
- data/lib/PCP-server-Ruby-SDK/models/order_response.rb +222 -0
- data/lib/PCP-server-Ruby-SDK/models/order_type.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/patch_checkout_request.rb +258 -0
- data/lib/PCP-server-Ruby-SDK/models/patch_commerce_case_request.rb +213 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_channel.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_creation_output.rb +214 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_event.rb +291 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_execution.rb +320 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_execution_request.rb +222 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_execution_specific_input.rb +238 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_information_request.rb +347 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_information_response.rb +448 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_method_specific_input.rb +289 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_output.rb +306 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_product320_specific_input.rb +256 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_input.rb +237 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_output.rb +216 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_product3392_specific_input.rb +220 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_product771_specific_output.rb +214 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_product840_customer_account.rb +244 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_product840_specific_output.rb +231 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_references.rb +233 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_response.rb +263 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_status_output.rb +265 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_type.rb +46 -0
- data/lib/PCP-server-Ruby-SDK/models/payout_output.rb +232 -0
- data/lib/PCP-server-Ruby-SDK/models/payout_response.rb +263 -0
- data/lib/PCP-server-Ruby-SDK/models/personal_information.rb +297 -0
- data/lib/PCP-server-Ruby-SDK/models/personal_name.rb +234 -0
- data/lib/PCP-server-Ruby-SDK/models/positive_amount_of_money.rb +294 -0
- data/lib/PCP-server-Ruby-SDK/models/processing_mandate_information.rb +399 -0
- data/lib/PCP-server-Ruby-SDK/models/product_type.rb +42 -0
- data/lib/PCP-server-Ruby-SDK/models/redirect_data.rb +214 -0
- data/lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_input.rb +338 -0
- data/lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_output.rb +309 -0
- data/lib/PCP-server-Ruby-SDK/models/redirect_payment_product840_specific_input.rb +214 -0
- data/lib/PCP-server-Ruby-SDK/models/redirection_data.rb +240 -0
- data/lib/PCP-server-Ruby-SDK/models/references.rb +298 -0
- data/lib/PCP-server-Ruby-SDK/models/refund_error_response.rb +224 -0
- data/lib/PCP-server-Ruby-SDK/models/refund_output.rb +261 -0
- data/lib/PCP-server-Ruby-SDK/models/refund_payment_response.rb +263 -0
- data/lib/PCP-server-Ruby-SDK/models/refund_request.rb +231 -0
- data/lib/PCP-server-Ruby-SDK/models/return_information.rb +245 -0
- data/lib/PCP-server-Ruby-SDK/models/return_item.rb +265 -0
- data/lib/PCP-server-Ruby-SDK/models/return_request.rb +275 -0
- data/lib/PCP-server-Ruby-SDK/models/return_response.rb +221 -0
- data/lib/PCP-server-Ruby-SDK/models/return_type.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_input.rb +251 -0
- data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_output.rb +251 -0
- data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_product771_specific_input.rb +223 -0
- data/lib/PCP-server-Ruby-SDK/models/shipping.rb +213 -0
- data/lib/PCP-server-Ruby-SDK/models/shopping_cart_input.rb +215 -0
- data/lib/PCP-server-Ruby-SDK/models/shopping_cart_patch.rb +215 -0
- data/lib/PCP-server-Ruby-SDK/models/shopping_cart_result.rb +215 -0
- data/lib/PCP-server-Ruby-SDK/models/status_category_value.rb +46 -0
- data/lib/PCP-server-Ruby-SDK/models/status_checkout.rb +44 -0
- data/lib/PCP-server-Ruby-SDK/models/status_output.rb +448 -0
- data/lib/PCP-server-Ruby-SDK/models/status_value.rb +61 -0
- data/lib/PCP-server-Ruby-SDK/models/three_d_secure_results.rb +287 -0
- data/lib/PCP-server-Ruby-SDK/models/transaction_channel.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_requestor.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_sequence_indicator.rb +40 -0
- data/lib/PCP-server-Ruby-SDK/queries/get_checkouts_query.rb +61 -0
- data/lib/PCP-server-Ruby-SDK/queries/get_commerce_cases_query.rb +71 -0
- data/lib/PCP-server-Ruby-SDK/request_header_generator.rb +74 -0
- data/lib/PCP-server-Ruby-SDK/utils/server_meta_info.rb +22 -0
- data/lib/PCP-server-Ruby-SDK/version.rb +15 -0
- data/lib/PCP-server-Ruby-SDK.rb +175 -0
- data/node_modules/.bin/JSONStream +1 -0
- data/node_modules/.bin/commitlint +1 -0
- data/node_modules/.bin/conventional-changelog +1 -0
- data/node_modules/.bin/conventional-changelog-writer +1 -0
- data/node_modules/.bin/conventional-commits-parser +1 -0
- data/node_modules/.bin/git-raw-commits +1 -0
- data/node_modules/.bin/git-semver-tags +1 -0
- data/node_modules/.bin/handlebars +1 -0
- data/node_modules/.bin/jiti +1 -0
- data/node_modules/.bin/js-yaml +1 -0
- data/node_modules/.bin/lefthook +1 -0
- data/node_modules/.bin/node-which +1 -0
- data/node_modules/.bin/semver +1 -0
- data/node_modules/.bin/uglifyjs +1 -0
- data/node_modules/.package-lock.json +2010 -0
- data/node_modules/@babel/code-frame/LICENSE +22 -0
- data/node_modules/@babel/code-frame/README.md +19 -0
- data/node_modules/@babel/code-frame/lib/index.js +156 -0
- data/node_modules/@babel/code-frame/lib/index.js.map +1 -0
- data/node_modules/@babel/code-frame/package.json +30 -0
- data/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
- data/node_modules/@babel/helper-validator-identifier/README.md +19 -0
- data/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
- data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- data/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
- data/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
- data/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- data/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- data/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +73 -0
- data/node_modules/@babel/highlight/LICENSE +22 -0
- data/node_modules/@babel/highlight/README.md +19 -0
- data/node_modules/@babel/highlight/lib/index.js +119 -0
- data/node_modules/@babel/highlight/lib/index.js.map +1 -0
- data/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +165 -0
- data/node_modules/@babel/highlight/node_modules/ansi-styles/license +9 -0
- data/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +56 -0
- data/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +147 -0
- data/node_modules/@babel/highlight/node_modules/chalk/index.js +228 -0
- data/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +93 -0
- data/node_modules/@babel/highlight/node_modules/chalk/license +9 -0
- data/node_modules/@babel/highlight/node_modules/chalk/package.json +71 -0
- data/node_modules/@babel/highlight/node_modules/chalk/readme.md +314 -0
- data/node_modules/@babel/highlight/node_modules/chalk/templates.js +128 -0
- data/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +97 -0
- data/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +54 -0
- data/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +21 -0
- data/node_modules/@babel/highlight/node_modules/color-convert/README.md +68 -0
- data/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +868 -0
- data/node_modules/@babel/highlight/node_modules/color-convert/index.js +78 -0
- data/node_modules/@babel/highlight/node_modules/color-convert/package.json +46 -0
- data/node_modules/@babel/highlight/node_modules/color-convert/route.js +97 -0
- data/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +43 -0
- data/node_modules/@babel/highlight/node_modules/color-name/.npmignore +107 -0
- data/node_modules/@babel/highlight/node_modules/color-name/LICENSE +8 -0
- data/node_modules/@babel/highlight/node_modules/color-name/README.md +11 -0
- data/node_modules/@babel/highlight/node_modules/color-name/index.js +152 -0
- data/node_modules/@babel/highlight/node_modules/color-name/package.json +25 -0
- data/node_modules/@babel/highlight/node_modules/color-name/test.js +7 -0
- data/node_modules/@babel/highlight/package.json +30 -0
- data/node_modules/@commitlint/cli/README.md +11 -0
- data/node_modules/@commitlint/cli/cli.js +2 -0
- data/node_modules/@commitlint/cli/index.cjs +3 -0
- data/node_modules/@commitlint/cli/lib/cli-error.d.ts +7 -0
- data/node_modules/@commitlint/cli/lib/cli-error.d.ts.map +1 -0
- data/node_modules/@commitlint/cli/lib/cli-error.js +12 -0
- data/node_modules/@commitlint/cli/lib/cli-error.js.map +1 -0
- data/node_modules/@commitlint/cli/lib/cli.d.ts +2 -0
- data/node_modules/@commitlint/cli/lib/cli.d.ts.map +1 -0
- data/node_modules/@commitlint/cli/lib/cli.js +386 -0
- data/node_modules/@commitlint/cli/lib/cli.js.map +1 -0
- data/node_modules/@commitlint/cli/lib/types.d.ts +26 -0
- data/node_modules/@commitlint/cli/lib/types.d.ts.map +1 -0
- data/node_modules/@commitlint/cli/lib/types.js +2 -0
- data/node_modules/@commitlint/cli/lib/types.js.map +1 -0
- data/node_modules/@commitlint/cli/license.md +21 -0
- data/node_modules/@commitlint/cli/package.json +60 -0
- data/node_modules/@commitlint/config-conventional/README.md +209 -0
- data/node_modules/@commitlint/config-conventional/lib/index.d.ts +111 -0
- data/node_modules/@commitlint/config-conventional/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/config-conventional/lib/index.js +134 -0
- data/node_modules/@commitlint/config-conventional/lib/index.js.map +1 -0
- data/node_modules/@commitlint/config-conventional/license.md +21 -0
- data/node_modules/@commitlint/config-conventional/package.json +46 -0
- data/node_modules/@commitlint/config-validator/lib/commitlint.schema.json +105 -0
- data/node_modules/@commitlint/config-validator/lib/formatErrors.d.ts +9 -0
- data/node_modules/@commitlint/config-validator/lib/formatErrors.d.ts.map +1 -0
- data/node_modules/@commitlint/config-validator/lib/formatErrors.js +35 -0
- data/node_modules/@commitlint/config-validator/lib/formatErrors.js.map +1 -0
- data/node_modules/@commitlint/config-validator/lib/validate.d.ts +3 -0
- data/node_modules/@commitlint/config-validator/lib/validate.d.ts.map +1 -0
- data/node_modules/@commitlint/config-validator/lib/validate.js +39 -0
- data/node_modules/@commitlint/config-validator/lib/validate.js.map +1 -0
- data/node_modules/@commitlint/config-validator/license.md +21 -0
- data/node_modules/@commitlint/config-validator/package.json +46 -0
- data/node_modules/@commitlint/ensure/lib/case.d.ts +4 -0
- data/node_modules/@commitlint/ensure/lib/case.d.ts.map +1 -0
- data/node_modules/@commitlint/ensure/lib/case.js +15 -0
- data/node_modules/@commitlint/ensure/lib/case.js.map +1 -0
- data/node_modules/@commitlint/ensure/lib/enum.d.ts +3 -0
- data/node_modules/@commitlint/ensure/lib/enum.d.ts.map +1 -0
- data/node_modules/@commitlint/ensure/lib/enum.js +10 -0
- data/node_modules/@commitlint/ensure/lib/enum.js.map +1 -0
- data/node_modules/@commitlint/ensure/lib/index.d.ts +11 -0
- data/node_modules/@commitlint/ensure/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/ensure/lib/index.js +11 -0
- data/node_modules/@commitlint/ensure/lib/index.js.map +1 -0
- data/node_modules/@commitlint/ensure/lib/max-length.d.ts +3 -0
- data/node_modules/@commitlint/ensure/lib/max-length.d.ts.map +1 -0
- data/node_modules/@commitlint/ensure/lib/max-length.js +2 -0
- data/node_modules/@commitlint/ensure/lib/max-length.js.map +1 -0
- data/node_modules/@commitlint/ensure/lib/max-line-length.d.ts +3 -0
- data/node_modules/@commitlint/ensure/lib/max-line-length.d.ts.map +1 -0
- data/node_modules/@commitlint/ensure/lib/max-line-length.js +4 -0
- data/node_modules/@commitlint/ensure/lib/max-line-length.js.map +1 -0
- data/node_modules/@commitlint/ensure/lib/min-length.d.ts +3 -0
- data/node_modules/@commitlint/ensure/lib/min-length.d.ts.map +1 -0
- data/node_modules/@commitlint/ensure/lib/min-length.js +2 -0
- data/node_modules/@commitlint/ensure/lib/min-length.js.map +1 -0
- data/node_modules/@commitlint/ensure/lib/not-empty.d.ts +3 -0
- data/node_modules/@commitlint/ensure/lib/not-empty.d.ts.map +1 -0
- data/node_modules/@commitlint/ensure/lib/not-empty.js +2 -0
- data/node_modules/@commitlint/ensure/lib/not-empty.js.map +1 -0
- data/node_modules/@commitlint/ensure/lib/to-case.d.ts +3 -0
- data/node_modules/@commitlint/ensure/lib/to-case.d.ts.map +1 -0
- data/node_modules/@commitlint/ensure/lib/to-case.js +32 -0
- data/node_modules/@commitlint/ensure/lib/to-case.js.map +1 -0
- data/node_modules/@commitlint/ensure/license.md +21 -0
- data/node_modules/@commitlint/ensure/package.json +56 -0
- data/node_modules/@commitlint/execute-rule/lib/index.d.ts +7 -0
- data/node_modules/@commitlint/execute-rule/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/execute-rule/lib/index.js +13 -0
- data/node_modules/@commitlint/execute-rule/lib/index.js.map +1 -0
- data/node_modules/@commitlint/execute-rule/license.md +21 -0
- data/node_modules/@commitlint/execute-rule/package.json +42 -0
- data/node_modules/@commitlint/format/README.md +15 -0
- data/node_modules/@commitlint/format/lib/format.d.ts +5 -0
- data/node_modules/@commitlint/format/lib/format.d.ts.map +1 -0
- data/node_modules/@commitlint/format/lib/format.js +74 -0
- data/node_modules/@commitlint/format/lib/format.js.map +1 -0
- data/node_modules/@commitlint/format/lib/index.d.ts +3 -0
- data/node_modules/@commitlint/format/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/format/lib/index.js +3 -0
- data/node_modules/@commitlint/format/lib/index.js.map +1 -0
- data/node_modules/@commitlint/format/license.md +21 -0
- data/node_modules/@commitlint/format/package.json +46 -0
- data/node_modules/@commitlint/is-ignored/lib/defaults.d.ts +3 -0
- data/node_modules/@commitlint/is-ignored/lib/defaults.d.ts.map +1 -0
- data/node_modules/@commitlint/is-ignored/lib/defaults.js +22 -0
- data/node_modules/@commitlint/is-ignored/lib/defaults.js.map +1 -0
- data/node_modules/@commitlint/is-ignored/lib/index.d.ts +3 -0
- data/node_modules/@commitlint/is-ignored/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/is-ignored/lib/index.js +3 -0
- data/node_modules/@commitlint/is-ignored/lib/index.js.map +1 -0
- data/node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts +3 -0
- data/node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts.map +1 -0
- data/node_modules/@commitlint/is-ignored/lib/is-ignored.js +16 -0
- data/node_modules/@commitlint/is-ignored/lib/is-ignored.js.map +1 -0
- data/node_modules/@commitlint/is-ignored/license.md +21 -0
- data/node_modules/@commitlint/is-ignored/package.json +49 -0
- data/node_modules/@commitlint/lint/README.md +15 -0
- data/node_modules/@commitlint/lint/lib/commit-message.d.ts +7 -0
- data/node_modules/@commitlint/lint/lib/commit-message.d.ts.map +1 -0
- data/node_modules/@commitlint/lint/lib/commit-message.js +7 -0
- data/node_modules/@commitlint/lint/lib/commit-message.js.map +1 -0
- data/node_modules/@commitlint/lint/lib/lint.d.ts +3 -0
- data/node_modules/@commitlint/lint/lib/lint.d.ts.map +1 -0
- data/node_modules/@commitlint/lint/lib/lint.js +115 -0
- data/node_modules/@commitlint/lint/lib/lint.js.map +1 -0
- data/node_modules/@commitlint/lint/license.md +21 -0
- data/node_modules/@commitlint/lint/package.json +49 -0
- data/node_modules/@commitlint/load/README.md +15 -0
- data/node_modules/@commitlint/load/lib/load.d.ts +5 -0
- data/node_modules/@commitlint/load/lib/load.d.ts.map +1 -0
- data/node_modules/@commitlint/load/lib/load.js +97 -0
- data/node_modules/@commitlint/load/lib/load.js.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/load-config.d.ts +9 -0
- data/node_modules/@commitlint/load/lib/utils/load-config.d.ts.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/load-config.js +78 -0
- data/node_modules/@commitlint/load/lib/utils/load-config.js.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts +5 -0
- data/node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/load-parser-opts.js +56 -0
- data/node_modules/@commitlint/load/lib/utils/load-parser-opts.js.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/load-plugin.d.ts +3 -0
- data/node_modules/@commitlint/load/lib/utils/load-plugin.d.ts.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/load-plugin.js +63 -0
- data/node_modules/@commitlint/load/lib/utils/load-plugin.js.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/plugin-errors.d.ts +13 -0
- data/node_modules/@commitlint/load/lib/utils/plugin-errors.d.ts.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/plugin-errors.js +21 -0
- data/node_modules/@commitlint/load/lib/utils/plugin-errors.js.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/plugin-naming.d.ts +20 -0
- data/node_modules/@commitlint/load/lib/utils/plugin-naming.d.ts.map +1 -0
- data/node_modules/@commitlint/load/lib/utils/plugin-naming.js +80 -0
- data/node_modules/@commitlint/load/lib/utils/plugin-naming.js.map +1 -0
- data/node_modules/@commitlint/load/license.md +21 -0
- data/node_modules/@commitlint/load/package.json +60 -0
- data/node_modules/@commitlint/message/lib/index.d.ts +2 -0
- data/node_modules/@commitlint/message/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/message/lib/index.js +4 -0
- data/node_modules/@commitlint/message/lib/index.js.map +1 -0
- data/node_modules/@commitlint/message/license.md +21 -0
- data/node_modules/@commitlint/message/package.json +43 -0
- data/node_modules/@commitlint/parse/README.md +29 -0
- data/node_modules/@commitlint/parse/lib/index.d.ts +5 -0
- data/node_modules/@commitlint/parse/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/parse/lib/index.js +13 -0
- data/node_modules/@commitlint/parse/lib/index.js.map +1 -0
- data/node_modules/@commitlint/parse/license.md +21 -0
- data/node_modules/@commitlint/parse/package.json +49 -0
- data/node_modules/@commitlint/read/README.md +15 -0
- data/node_modules/@commitlint/read/lib/get-edit-commit.d.ts +2 -0
- data/node_modules/@commitlint/read/lib/get-edit-commit.d.ts.map +1 -0
- data/node_modules/@commitlint/read/lib/get-edit-commit.js +14 -0
- data/node_modules/@commitlint/read/lib/get-edit-commit.js.map +1 -0
- data/node_modules/@commitlint/read/lib/get-edit-file-path.d.ts +2 -0
- data/node_modules/@commitlint/read/lib/get-edit-file-path.d.ts.map +1 -0
- data/node_modules/@commitlint/read/lib/get-edit-file-path.js +19 -0
- data/node_modules/@commitlint/read/lib/get-edit-file-path.js.map +1 -0
- data/node_modules/@commitlint/read/lib/get-history-commits.d.ts +5 -0
- data/node_modules/@commitlint/read/lib/get-history-commits.d.ts.map +1 -0
- data/node_modules/@commitlint/read/lib/get-history-commits.js +7 -0
- data/node_modules/@commitlint/read/lib/get-history-commits.js.map +1 -0
- data/node_modules/@commitlint/read/lib/read.d.ts +12 -0
- data/node_modules/@commitlint/read/lib/read.d.ts.map +1 -0
- data/node_modules/@commitlint/read/lib/read.js +52 -0
- data/node_modules/@commitlint/read/lib/read.js.map +1 -0
- data/node_modules/@commitlint/read/lib/stream-to-promise.d.ts +3 -0
- data/node_modules/@commitlint/read/lib/stream-to-promise.d.ts.map +1 -0
- data/node_modules/@commitlint/read/lib/stream-to-promise.js +8 -0
- data/node_modules/@commitlint/read/lib/stream-to-promise.js.map +1 -0
- data/node_modules/@commitlint/read/license.md +21 -0
- data/node_modules/@commitlint/read/package.json +52 -0
- data/node_modules/@commitlint/resolve-extends/lib/index.d.ts +29 -0
- data/node_modules/@commitlint/resolve-extends/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/resolve-extends/lib/index.js +182 -0
- data/node_modules/@commitlint/resolve-extends/lib/index.js.map +1 -0
- data/node_modules/@commitlint/resolve-extends/license.md +21 -0
- data/node_modules/@commitlint/resolve-extends/package.json +51 -0
- data/node_modules/@commitlint/rules/lib/body-case.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/body-case.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-case.js +28 -0
- data/node_modules/@commitlint/rules/lib/body-case.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-empty.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/body-empty.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-empty.js +11 -0
- data/node_modules/@commitlint/rules/lib/body-empty.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-full-stop.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/body-full-stop.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-full-stop.js +14 -0
- data/node_modules/@commitlint/rules/lib/body-full-stop.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-leading-blank.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/body-leading-blank.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-leading-blank.js +17 -0
- data/node_modules/@commitlint/rules/lib/body-leading-blank.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-max-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/body-max-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-max-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/body-max-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-max-line-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/body-max-line-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-max-line-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/body-max-line-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-min-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/body-min-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/body-min-length.js +11 -0
- data/node_modules/@commitlint/rules/lib/body-min-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-empty.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/footer-empty.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-empty.js +11 -0
- data/node_modules/@commitlint/rules/lib/footer-empty.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-leading-blank.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/footer-leading-blank.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-leading-blank.js +24 -0
- data/node_modules/@commitlint/rules/lib/footer-leading-blank.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-max-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/footer-max-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-max-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/footer-max-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-max-line-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/footer-max-line-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-max-line-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/footer-max-line-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-min-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/footer-min-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/footer-min-length.js +11 -0
- data/node_modules/@commitlint/rules/lib/footer-min-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-case.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/header-case.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-case.js +28 -0
- data/node_modules/@commitlint/rules/lib/header-case.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-full-stop.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/header-full-stop.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-full-stop.js +11 -0
- data/node_modules/@commitlint/rules/lib/header-full-stop.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-max-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/header-max-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-max-length.js +8 -0
- data/node_modules/@commitlint/rules/lib/header-max-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-min-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/header-min-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-min-length.js +8 -0
- data/node_modules/@commitlint/rules/lib/header-min-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-trim.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/header-trim.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/header-trim.js +23 -0
- data/node_modules/@commitlint/rules/lib/header-trim.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/index.d.ts +40 -0
- data/node_modules/@commitlint/rules/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/index.js +75 -0
- data/node_modules/@commitlint/rules/lib/index.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/references-empty.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/references-empty.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/references-empty.js +10 -0
- data/node_modules/@commitlint/rules/lib/references-empty.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-case.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/scope-case.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-case.js +32 -0
- data/node_modules/@commitlint/rules/lib/scope-case.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-empty.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/scope-empty.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-empty.js +11 -0
- data/node_modules/@commitlint/rules/lib/scope-empty.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-enum.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/scope-enum.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-enum.js +23 -0
- data/node_modules/@commitlint/rules/lib/scope-enum.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-max-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/scope-max-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-max-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/scope-max-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-min-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/scope-min-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/scope-min-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/scope-min-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/signed-off-by.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/signed-off-by.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/signed-off-by.js +19 -0
- data/node_modules/@commitlint/rules/lib/signed-off-by.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-case.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/subject-case.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-case.js +44 -0
- data/node_modules/@commitlint/rules/lib/subject-case.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-empty.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/subject-empty.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-empty.js +11 -0
- data/node_modules/@commitlint/rules/lib/subject-empty.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.js +18 -0
- data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-full-stop.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/subject-full-stop.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-full-stop.js +18 -0
- data/node_modules/@commitlint/rules/lib/subject-full-stop.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-max-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/subject-max-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-max-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/subject-max-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-min-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/subject-min-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/subject-min-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/subject-min-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/trailer-exists.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/trailer-exists.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/trailer-exists.js +20 -0
- data/node_modules/@commitlint/rules/lib/trailer-exists.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-case.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/type-case.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-case.js +28 -0
- data/node_modules/@commitlint/rules/lib/type-case.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-empty.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/type-empty.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-empty.js +11 -0
- data/node_modules/@commitlint/rules/lib/type-empty.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-enum.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/type-enum.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-enum.js +19 -0
- data/node_modules/@commitlint/rules/lib/type-enum.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-max-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/type-max-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-max-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/type-max-length.js.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-min-length.d.ts +3 -0
- data/node_modules/@commitlint/rules/lib/type-min-length.d.ts.map +1 -0
- data/node_modules/@commitlint/rules/lib/type-min-length.js +12 -0
- data/node_modules/@commitlint/rules/lib/type-min-length.js.map +1 -0
- data/node_modules/@commitlint/rules/license.md +21 -0
- data/node_modules/@commitlint/rules/package.json +53 -0
- data/node_modules/@commitlint/to-lines/lib/index.d.ts +2 -0
- data/node_modules/@commitlint/to-lines/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/to-lines/lib/index.js +7 -0
- data/node_modules/@commitlint/to-lines/lib/index.js.map +1 -0
- data/node_modules/@commitlint/to-lines/license.md +21 -0
- data/node_modules/@commitlint/to-lines/package.json +42 -0
- data/node_modules/@commitlint/top-level/lib/index.d.ts +6 -0
- data/node_modules/@commitlint/top-level/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/top-level/lib/index.js +22 -0
- data/node_modules/@commitlint/top-level/lib/index.js.map +1 -0
- data/node_modules/@commitlint/top-level/license.md +21 -0
- data/node_modules/@commitlint/top-level/package.json +45 -0
- data/node_modules/@commitlint/types/lib/ensure.d.ts +2 -0
- data/node_modules/@commitlint/types/lib/ensure.d.ts.map +1 -0
- data/node_modules/@commitlint/types/lib/ensure.js +2 -0
- data/node_modules/@commitlint/types/lib/ensure.js.map +1 -0
- data/node_modules/@commitlint/types/lib/format.d.ts +28 -0
- data/node_modules/@commitlint/types/lib/format.d.ts.map +1 -0
- data/node_modules/@commitlint/types/lib/format.js +2 -0
- data/node_modules/@commitlint/types/lib/format.js.map +1 -0
- data/node_modules/@commitlint/types/lib/index.d.ts +9 -0
- data/node_modules/@commitlint/types/lib/index.d.ts.map +1 -0
- data/node_modules/@commitlint/types/lib/index.js +9 -0
- data/node_modules/@commitlint/types/lib/index.js.map +1 -0
- data/node_modules/@commitlint/types/lib/is-ignored.d.ts +6 -0
- data/node_modules/@commitlint/types/lib/is-ignored.d.ts.map +1 -0
- data/node_modules/@commitlint/types/lib/is-ignored.js +2 -0
- data/node_modules/@commitlint/types/lib/is-ignored.js.map +1 -0
- data/node_modules/@commitlint/types/lib/lint.d.ts +36 -0
- data/node_modules/@commitlint/types/lib/lint.d.ts.map +1 -0
- data/node_modules/@commitlint/types/lib/lint.js +2 -0
- data/node_modules/@commitlint/types/lib/lint.js.map +1 -0
- data/node_modules/@commitlint/types/lib/load.d.ts +42 -0
- data/node_modules/@commitlint/types/lib/load.d.ts.map +1 -0
- data/node_modules/@commitlint/types/lib/load.js +2 -0
- data/node_modules/@commitlint/types/lib/load.js.map +1 -0
- data/node_modules/@commitlint/types/lib/parse.d.ts +3 -0
- data/node_modules/@commitlint/types/lib/parse.d.ts.map +1 -0
- data/node_modules/@commitlint/types/lib/parse.js +2 -0
- data/node_modules/@commitlint/types/lib/parse.js.map +1 -0
- data/node_modules/@commitlint/types/lib/prompt.d.ts +39 -0
- data/node_modules/@commitlint/types/lib/prompt.d.ts.map +1 -0
- data/node_modules/@commitlint/types/lib/prompt.js +2 -0
- data/node_modules/@commitlint/types/lib/prompt.js.map +1 -0
- data/node_modules/@commitlint/types/lib/rules.d.ts +85 -0
- data/node_modules/@commitlint/types/lib/rules.d.ts.map +1 -0
- data/node_modules/@commitlint/types/lib/rules.js +19 -0
- data/node_modules/@commitlint/types/lib/rules.js.map +1 -0
- data/node_modules/@commitlint/types/license.md +21 -0
- data/node_modules/@commitlint/types/package.json +39 -0
- data/node_modules/@hutson/parse-repository-url/license.md +202 -0
- data/node_modules/@hutson/parse-repository-url/package.json +62 -0
- data/node_modules/@hutson/parse-repository-url/readme.md +130 -0
- data/node_modules/@hutson/parse-repository-url/src/index.js +62 -0
- data/node_modules/@types/conventional-commits-parser/LICENSE +21 -0
- data/node_modules/@types/conventional-commits-parser/README.md +15 -0
- data/node_modules/@types/conventional-commits-parser/index.d.ts +305 -0
- data/node_modules/@types/conventional-commits-parser/package.json +34 -0
- data/node_modules/@types/conventional-commits-parser/ts4.9/index.d.ts +305 -0
- data/node_modules/@types/node/LICENSE +21 -0
- data/node_modules/@types/node/README.md +15 -0
- data/node_modules/@types/node/assert/strict.d.ts +8 -0
- data/node_modules/@types/node/assert.d.ts +1040 -0
- data/node_modules/@types/node/async_hooks.d.ts +541 -0
- data/node_modules/@types/node/buffer.d.ts +2293 -0
- data/node_modules/@types/node/child_process.d.ts +1544 -0
- data/node_modules/@types/node/cluster.d.ts +578 -0
- data/node_modules/@types/node/console.d.ts +452 -0
- data/node_modules/@types/node/constants.d.ts +19 -0
- data/node_modules/@types/node/crypto.d.ts +4451 -0
- data/node_modules/@types/node/dgram.d.ts +596 -0
- data/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
- data/node_modules/@types/node/dns/promises.d.ts +476 -0
- data/node_modules/@types/node/dns.d.ts +865 -0
- data/node_modules/@types/node/dom-events.d.ts +124 -0
- data/node_modules/@types/node/domain.d.ts +170 -0
- data/node_modules/@types/node/events.d.ts +931 -0
- data/node_modules/@types/node/fs/promises.d.ts +1264 -0
- data/node_modules/@types/node/fs.d.ts +4390 -0
- data/node_modules/@types/node/globals.d.ts +510 -0
- data/node_modules/@types/node/globals.global.d.ts +1 -0
- data/node_modules/@types/node/http.d.ts +1921 -0
- data/node_modules/@types/node/http2.d.ts +2418 -0
- data/node_modules/@types/node/https.d.ts +550 -0
- data/node_modules/@types/node/index.d.ts +90 -0
- data/node_modules/@types/node/inspector.d.ts +3696 -0
- data/node_modules/@types/node/module.d.ts +301 -0
- data/node_modules/@types/node/net.d.ts +999 -0
- data/node_modules/@types/node/os.d.ts +495 -0
- data/node_modules/@types/node/package.json +217 -0
- data/node_modules/@types/node/path.d.ts +200 -0
- data/node_modules/@types/node/perf_hooks.d.ts +941 -0
- data/node_modules/@types/node/process.d.ts +1912 -0
- data/node_modules/@types/node/punycode.d.ts +117 -0
- data/node_modules/@types/node/querystring.d.ts +153 -0
- data/node_modules/@types/node/readline/promises.d.ts +150 -0
- data/node_modules/@types/node/readline.d.ts +540 -0
- data/node_modules/@types/node/repl.d.ts +430 -0
- data/node_modules/@types/node/sea.d.ts +153 -0
- data/node_modules/@types/node/sqlite.d.ts +213 -0
- data/node_modules/@types/node/stream/consumers.d.ts +12 -0
- data/node_modules/@types/node/stream/promises.d.ts +83 -0
- data/node_modules/@types/node/stream/web.d.ts +367 -0
- data/node_modules/@types/node/stream.d.ts +1707 -0
- data/node_modules/@types/node/string_decoder.d.ts +67 -0
- data/node_modules/@types/node/test.d.ts +2006 -0
- data/node_modules/@types/node/timers/promises.d.ts +97 -0
- data/node_modules/@types/node/timers.d.ts +240 -0
- data/node_modules/@types/node/tls.d.ts +1220 -0
- data/node_modules/@types/node/trace_events.d.ts +197 -0
- data/node_modules/@types/node/tty.d.ts +208 -0
- data/node_modules/@types/node/url.d.ts +969 -0
- data/node_modules/@types/node/util.d.ts +2298 -0
- data/node_modules/@types/node/v8.d.ts +808 -0
- data/node_modules/@types/node/vm.d.ts +922 -0
- data/node_modules/@types/node/wasi.d.ts +181 -0
- data/node_modules/@types/node/worker_threads.d.ts +712 -0
- data/node_modules/@types/node/zlib.d.ts +539 -0
- data/node_modules/@types/normalize-package-data/LICENSE +21 -0
- data/node_modules/@types/normalize-package-data/README.md +62 -0
- data/node_modules/@types/normalize-package-data/index.d.ts +43 -0
- data/node_modules/@types/normalize-package-data/package.json +25 -0
- data/node_modules/@types/semver/LICENSE +21 -0
- data/node_modules/@types/semver/README.md +15 -0
- data/node_modules/@types/semver/classes/comparator.d.ts +17 -0
- data/node_modules/@types/semver/classes/range.d.ts +21 -0
- data/node_modules/@types/semver/classes/semver.d.ts +64 -0
- data/node_modules/@types/semver/functions/clean.d.ts +8 -0
- data/node_modules/@types/semver/functions/cmp.d.ts +16 -0
- data/node_modules/@types/semver/functions/coerce.d.ts +12 -0
- data/node_modules/@types/semver/functions/compare-build.d.ts +21 -0
- data/node_modules/@types/semver/functions/compare-loose.d.ts +5 -0
- data/node_modules/@types/semver/functions/compare.d.ts +20 -0
- data/node_modules/@types/semver/functions/diff.d.ts +9 -0
- data/node_modules/@types/semver/functions/eq.d.ts +9 -0
- data/node_modules/@types/semver/functions/gt.d.ts +9 -0
- data/node_modules/@types/semver/functions/gte.d.ts +9 -0
- data/node_modules/@types/semver/functions/inc.d.ts +25 -0
- data/node_modules/@types/semver/functions/lt.d.ts +9 -0
- data/node_modules/@types/semver/functions/lte.d.ts +8 -0
- data/node_modules/@types/semver/functions/major.d.ts +9 -0
- data/node_modules/@types/semver/functions/minor.d.ts +9 -0
- data/node_modules/@types/semver/functions/neq.d.ts +9 -0
- data/node_modules/@types/semver/functions/parse.d.ts +12 -0
- data/node_modules/@types/semver/functions/patch.d.ts +9 -0
- data/node_modules/@types/semver/functions/prerelease.d.ts +12 -0
- data/node_modules/@types/semver/functions/rcompare.d.ts +15 -0
- data/node_modules/@types/semver/functions/rsort.d.ts +9 -0
- data/node_modules/@types/semver/functions/satisfies.d.ts +14 -0
- data/node_modules/@types/semver/functions/sort.d.ts +9 -0
- data/node_modules/@types/semver/functions/valid.d.ts +11 -0
- data/node_modules/@types/semver/index.d.ts +129 -0
- data/node_modules/@types/semver/internals/identifiers.d.ts +13 -0
- data/node_modules/@types/semver/package.json +50 -0
- data/node_modules/@types/semver/preload.d.ts +2 -0
- data/node_modules/@types/semver/ranges/gtr.d.ts +14 -0
- data/node_modules/@types/semver/ranges/intersects.d.ts +13 -0
- data/node_modules/@types/semver/ranges/ltr.d.ts +14 -0
- data/node_modules/@types/semver/ranges/max-satisfying.d.ts +14 -0
- data/node_modules/@types/semver/ranges/min-satisfying.d.ts +14 -0
- data/node_modules/@types/semver/ranges/min-version.d.ts +10 -0
- data/node_modules/@types/semver/ranges/outside.d.ts +15 -0
- data/node_modules/@types/semver/ranges/simplify.d.ts +14 -0
- data/node_modules/@types/semver/ranges/subset.d.ts +9 -0
- data/node_modules/@types/semver/ranges/to-comparators.d.ts +9 -0
- data/node_modules/@types/semver/ranges/valid.d.ts +12 -0
- data/node_modules/JSONStream/.travis.yml +8 -0
- data/node_modules/JSONStream/LICENSE.APACHE2 +15 -0
- data/node_modules/JSONStream/LICENSE.MIT +24 -0
- data/node_modules/JSONStream/bin.js +12 -0
- data/node_modules/JSONStream/examples/all_docs.js +13 -0
- data/node_modules/JSONStream/index.js +247 -0
- data/node_modules/JSONStream/package.json +40 -0
- data/node_modules/JSONStream/readme.markdown +207 -0
- data/node_modules/JSONStream/test/bool.js +41 -0
- data/node_modules/JSONStream/test/browser.js +18 -0
- data/node_modules/JSONStream/test/destroy_missing.js +27 -0
- data/node_modules/JSONStream/test/doubledot1.js +29 -0
- data/node_modules/JSONStream/test/doubledot2.js +30 -0
- data/node_modules/JSONStream/test/empty.js +44 -0
- data/node_modules/JSONStream/test/error_contents.js +45 -0
- data/node_modules/JSONStream/test/fixtures/all_npm.json +4030 -0
- data/node_modules/JSONStream/test/fixtures/couch_sample.json +18 -0
- data/node_modules/JSONStream/test/fixtures/depth.json +15 -0
- data/node_modules/JSONStream/test/fixtures/error.json +1 -0
- data/node_modules/JSONStream/test/fixtures/header_footer.json +19 -0
- data/node_modules/JSONStream/test/fn.js +39 -0
- data/node_modules/JSONStream/test/gen.js +135 -0
- data/node_modules/JSONStream/test/header_footer.js +55 -0
- data/node_modules/JSONStream/test/issues.js +34 -0
- data/node_modules/JSONStream/test/keys.js +105 -0
- data/node_modules/JSONStream/test/map.js +40 -0
- data/node_modules/JSONStream/test/multiple_objects.js +36 -0
- data/node_modules/JSONStream/test/multiple_objects_error.js +29 -0
- data/node_modules/JSONStream/test/null.js +28 -0
- data/node_modules/JSONStream/test/parsejson.js +29 -0
- data/node_modules/JSONStream/test/run.js +13 -0
- data/node_modules/JSONStream/test/stringify.js +41 -0
- data/node_modules/JSONStream/test/stringify_object.js +47 -0
- data/node_modules/JSONStream/test/test.js +35 -0
- data/node_modules/JSONStream/test/test2.js +29 -0
- data/node_modules/JSONStream/test/two-ways.js +41 -0
- data/node_modules/add-stream/.jshintrc +25 -0
- data/node_modules/add-stream/.npmignore +7 -0
- data/node_modules/add-stream/.travis.yml +4 -0
- data/node_modules/add-stream/README.md +38 -0
- data/node_modules/add-stream/index.js +56 -0
- data/node_modules/add-stream/package.json +34 -0
- data/node_modules/add-stream/test/spec.js +64 -0
- data/node_modules/ajv/.runkit_example.js +23 -0
- data/node_modules/ajv/LICENSE +22 -0
- data/node_modules/ajv/README.md +207 -0
- data/node_modules/ajv/dist/2019.d.ts +19 -0
- data/node_modules/ajv/dist/2019.js +61 -0
- data/node_modules/ajv/dist/2019.js.map +1 -0
- data/node_modules/ajv/dist/2020.d.ts +19 -0
- data/node_modules/ajv/dist/2020.js +55 -0
- data/node_modules/ajv/dist/2020.js.map +1 -0
- data/node_modules/ajv/dist/ajv.d.ts +18 -0
- data/node_modules/ajv/dist/ajv.js +50 -0
- data/node_modules/ajv/dist/ajv.js.map +1 -0
- data/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- data/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- data/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- data/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- data/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- data/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- data/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- data/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- data/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- data/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- data/node_modules/ajv/dist/compile/errors.js +123 -0
- data/node_modules/ajv/dist/compile/errors.js.map +1 -0
- data/node_modules/ajv/dist/compile/index.d.ts +80 -0
- data/node_modules/ajv/dist/compile/index.js +242 -0
- data/node_modules/ajv/dist/compile/index.js.map +1 -0
- data/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- data/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- data/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- data/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- data/node_modules/ajv/dist/compile/jtd/serialize.js +229 -0
- data/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- data/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- data/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- data/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- data/node_modules/ajv/dist/compile/names.d.ts +20 -0
- data/node_modules/ajv/dist/compile/names.js +28 -0
- data/node_modules/ajv/dist/compile/names.js.map +1 -0
- data/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- data/node_modules/ajv/dist/compile/ref_error.js +12 -0
- data/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- data/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- data/node_modules/ajv/dist/compile/resolve.js +155 -0
- data/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- data/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- data/node_modules/ajv/dist/compile/rules.js +26 -0
- data/node_modules/ajv/dist/compile/rules.js.map +1 -0
- data/node_modules/ajv/dist/compile/util.d.ts +40 -0
- data/node_modules/ajv/dist/compile/util.js +178 -0
- data/node_modules/ajv/dist/compile/util.js.map +1 -0
- data/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- data/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- data/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- data/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- data/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- data/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- data/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- data/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- data/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- data/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- data/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- data/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- data/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- data/node_modules/ajv/dist/compile/validate/index.js +520 -0
- data/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- data/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- data/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- data/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- data/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- data/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- data/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- data/node_modules/ajv/dist/core.d.ts +173 -0
- data/node_modules/ajv/dist/core.js +618 -0
- data/node_modules/ajv/dist/core.js.map +1 -0
- data/node_modules/ajv/dist/jtd.d.ts +47 -0
- data/node_modules/ajv/dist/jtd.js +72 -0
- data/node_modules/ajv/dist/jtd.js.map +1 -0
- data/node_modules/ajv/dist/refs/data.json +13 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- data/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- data/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- data/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- data/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- data/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- data/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- data/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- data/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- data/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- data/node_modules/ajv/dist/runtime/equal.js +7 -0
- data/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- data/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- data/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- data/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- data/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- data/node_modules/ajv/dist/runtime/quote.js +30 -0
- data/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- data/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- data/node_modules/ajv/dist/runtime/re2.js +6 -0
- data/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- data/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- data/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- data/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- data/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- data/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- data/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- data/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- data/node_modules/ajv/dist/runtime/uri.js +6 -0
- data/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- data/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- data/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- data/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- data/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- data/node_modules/ajv/dist/standalone/index.js +90 -0
- data/node_modules/ajv/dist/standalone/index.js.map +1 -0
- data/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- data/node_modules/ajv/dist/standalone/instance.js +35 -0
- data/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- data/node_modules/ajv/dist/types/index.d.ts +183 -0
- data/node_modules/ajv/dist/types/index.js +3 -0
- data/node_modules/ajv/dist/types/index.js.map +1 -0
- data/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- data/node_modules/ajv/dist/types/json-schema.js +3 -0
- data/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- data/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- data/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- data/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- data/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- data/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- data/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- data/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- data/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- data/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- data/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- data/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- data/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- data/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- data/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- data/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- data/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- data/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- data/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- data/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- data/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- data/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- data/node_modules/ajv/dist/vocabularies/code.js +131 -0
- data/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- data/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- data/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- data/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- data/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- data/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- data/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- data/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- data/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- data/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- data/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- data/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- data/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- data/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- data/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- data/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- data/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- data/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- data/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- data/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- data/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- data/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- data/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- data/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- data/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- data/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- data/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- data/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- data/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- data/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- data/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- data/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- data/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- data/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- data/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- data/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- data/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- data/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/next.js +8 -0
- data/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- data/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- data/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- data/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- data/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- data/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- data/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- data/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- data/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- data/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- data/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- data/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- data/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- data/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- data/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- data/node_modules/ajv/lib/2019.ts +81 -0
- data/node_modules/ajv/lib/2020.ts +75 -0
- data/node_modules/ajv/lib/ajv.ts +70 -0
- data/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- data/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- data/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- data/node_modules/ajv/lib/compile/errors.ts +184 -0
- data/node_modules/ajv/lib/compile/index.ts +324 -0
- data/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- data/node_modules/ajv/lib/compile/jtd/serialize.ts +266 -0
- data/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- data/node_modules/ajv/lib/compile/names.ts +27 -0
- data/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- data/node_modules/ajv/lib/compile/resolve.ts +149 -0
- data/node_modules/ajv/lib/compile/rules.ts +50 -0
- data/node_modules/ajv/lib/compile/util.ts +213 -0
- data/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- data/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- data/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- data/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- data/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- data/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- data/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- data/node_modules/ajv/lib/core.ts +891 -0
- data/node_modules/ajv/lib/jtd.ts +132 -0
- data/node_modules/ajv/lib/refs/data.json +13 -0
- data/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- data/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- data/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- data/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- data/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- data/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- data/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- data/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- data/node_modules/ajv/lib/runtime/equal.ts +7 -0
- data/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- data/node_modules/ajv/lib/runtime/quote.ts +31 -0
- data/node_modules/ajv/lib/runtime/re2.ts +6 -0
- data/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- data/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- data/node_modules/ajv/lib/runtime/uri.ts +6 -0
- data/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- data/node_modules/ajv/lib/standalone/index.ts +100 -0
- data/node_modules/ajv/lib/standalone/instance.ts +36 -0
- data/node_modules/ajv/lib/types/index.ts +244 -0
- data/node_modules/ajv/lib/types/json-schema.ts +187 -0
- data/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- data/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- data/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- data/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- data/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- data/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- data/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- data/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- data/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- data/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- data/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- data/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- data/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- data/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- data/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- data/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- data/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- data/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- data/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- data/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- data/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- data/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- data/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- data/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- data/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- data/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- data/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- data/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- data/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- data/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- data/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- data/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- data/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- data/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- data/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- data/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- data/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- data/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- data/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- data/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- data/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- data/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- data/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- data/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- data/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- data/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- data/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- data/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- data/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- data/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- data/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- data/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- data/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- data/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- data/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- data/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- data/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- data/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- data/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- data/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- data/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- data/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- data/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- data/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- data/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- data/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- data/node_modules/ajv/package.json +126 -0
- data/node_modules/ansi-regex/index.d.ts +37 -0
- data/node_modules/ansi-regex/index.js +10 -0
- data/node_modules/ansi-regex/license +9 -0
- data/node_modules/ansi-regex/package.json +55 -0
- data/node_modules/ansi-regex/readme.md +78 -0
- data/node_modules/ansi-styles/index.d.ts +345 -0
- data/node_modules/ansi-styles/index.js +163 -0
- data/node_modules/ansi-styles/license +9 -0
- data/node_modules/ansi-styles/package.json +56 -0
- data/node_modules/ansi-styles/readme.md +152 -0
- data/node_modules/argparse/CHANGELOG.md +216 -0
- data/node_modules/argparse/LICENSE +254 -0
- data/node_modules/argparse/README.md +84 -0
- data/node_modules/argparse/argparse.js +3707 -0
- data/node_modules/argparse/lib/sub.js +67 -0
- data/node_modules/argparse/lib/textwrap.js +440 -0
- data/node_modules/argparse/package.json +31 -0
- data/node_modules/array-ify/README.md +51 -0
- data/node_modules/array-ify/index.js +4 -0
- data/node_modules/array-ify/package.json +37 -0
- data/node_modules/callsites/index.d.ts +96 -0
- data/node_modules/callsites/index.js +13 -0
- data/node_modules/callsites/license +9 -0
- data/node_modules/callsites/package.json +39 -0
- data/node_modules/callsites/readme.md +48 -0
- data/node_modules/chalk/license +9 -0
- data/node_modules/chalk/package.json +83 -0
- data/node_modules/chalk/readme.md +325 -0
- data/node_modules/chalk/source/index.d.ts +320 -0
- data/node_modules/chalk/source/index.js +225 -0
- data/node_modules/chalk/source/utilities.js +33 -0
- data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- data/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- data/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- data/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- data/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- data/node_modules/cliui/CHANGELOG.md +139 -0
- data/node_modules/cliui/LICENSE.txt +14 -0
- data/node_modules/cliui/README.md +141 -0
- data/node_modules/cliui/build/index.cjs +302 -0
- data/node_modules/cliui/build/index.d.cts +43 -0
- data/node_modules/cliui/build/lib/index.js +287 -0
- data/node_modules/cliui/build/lib/string-utils.js +27 -0
- data/node_modules/cliui/index.mjs +13 -0
- data/node_modules/cliui/package.json +83 -0
- data/node_modules/color-convert/CHANGELOG.md +54 -0
- data/node_modules/color-convert/LICENSE +21 -0
- data/node_modules/color-convert/README.md +68 -0
- data/node_modules/color-convert/conversions.js +839 -0
- data/node_modules/color-convert/index.js +81 -0
- data/node_modules/color-convert/package.json +48 -0
- data/node_modules/color-convert/route.js +97 -0
- data/node_modules/color-name/LICENSE +8 -0
- data/node_modules/color-name/README.md +11 -0
- data/node_modules/color-name/index.js +152 -0
- data/node_modules/color-name/package.json +28 -0
- data/node_modules/compare-func/LICENSE +21 -0
- data/node_modules/compare-func/README.md +70 -0
- data/node_modules/compare-func/index.js +42 -0
- data/node_modules/compare-func/package.json +47 -0
- data/node_modules/conventional-changelog/LICENSE.md +21 -0
- data/node_modules/conventional-changelog/README.md +66 -0
- data/node_modules/conventional-changelog/index.js +22 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/LICENSE.md +15 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/README.md +134 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/package.json +32 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/index.js +11 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/parser.js +13 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/commit.hbs +61 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/footer.hbs +11 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/header.hbs +25 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/template.hbs +16 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/whatBump.js +24 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/writer.js +114 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/LICENSE.md +15 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/README.md +80 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/package.json +32 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/constants.js +14 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/index.js +18 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/parser.js +17 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/commit.hbs +30 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/footer.hbs +0 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/header.hbs +9 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/template.hbs +21 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/utils.js +18 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/whatBump.js +36 -0
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/writer.js +195 -0
- data/node_modules/conventional-changelog/package.json +54 -0
- data/node_modules/conventional-changelog-angular/LICENSE.md +15 -0
- data/node_modules/conventional-changelog-angular/README.md +126 -0
- data/node_modules/conventional-changelog-angular/conventionalChangelog.js +10 -0
- data/node_modules/conventional-changelog-angular/conventionalRecommendedBump.js +34 -0
- data/node_modules/conventional-changelog-angular/index.js +22 -0
- data/node_modules/conventional-changelog-angular/package.json +35 -0
- data/node_modules/conventional-changelog-angular/parserOpts.js +17 -0
- data/node_modules/conventional-changelog-angular/templates/commit.hbs +61 -0
- data/node_modules/conventional-changelog-angular/templates/footer.hbs +11 -0
- data/node_modules/conventional-changelog-angular/templates/header.hbs +25 -0
- data/node_modules/conventional-changelog-angular/templates/template.hbs +16 -0
- data/node_modules/conventional-changelog-angular/writerOpts.js +110 -0
- data/node_modules/conventional-changelog-atom/LICENSE.md +15 -0
- data/node_modules/conventional-changelog-atom/README.md +72 -0
- data/node_modules/conventional-changelog-atom/package.json +29 -0
- data/node_modules/conventional-changelog-atom/src/index.js +11 -0
- data/node_modules/conventional-changelog-atom/src/parser.js +9 -0
- data/node_modules/conventional-changelog-atom/src/templates/commit.hbs +5 -0
- data/node_modules/conventional-changelog-atom/src/templates/header.hbs +1 -0
- data/node_modules/conventional-changelog-atom/src/templates/template.hbs +15 -0
- data/node_modules/conventional-changelog-atom/src/whatBump.js +22 -0
- data/node_modules/conventional-changelog-atom/src/writer.js +48 -0
- data/node_modules/conventional-changelog-cli/LICENSE +21 -0
- data/node_modules/conventional-changelog-cli/README.md +128 -0
- data/node_modules/conventional-changelog-cli/cli.js +279 -0
- data/node_modules/conventional-changelog-cli/package.json +44 -0
- data/node_modules/conventional-changelog-codemirror/LICENSE.md +15 -0
- data/node_modules/conventional-changelog-codemirror/README.md +45 -0
- data/node_modules/conventional-changelog-codemirror/package.json +29 -0
- data/node_modules/conventional-changelog-codemirror/src/index.js +11 -0
- data/node_modules/conventional-changelog-codemirror/src/parser.js +10 -0
- data/node_modules/conventional-changelog-codemirror/src/templates/commit.hbs +5 -0
- data/node_modules/conventional-changelog-codemirror/src/templates/header.hbs +1 -0
- data/node_modules/conventional-changelog-codemirror/src/templates/template.hbs +15 -0
- data/node_modules/conventional-changelog-codemirror/src/whatBump.js +22 -0
- data/node_modules/conventional-changelog-codemirror/src/writer.js +41 -0
- data/node_modules/conventional-changelog-conventionalcommits/LICENSE.md +15 -0
- data/node_modules/conventional-changelog-conventionalcommits/README.md +72 -0
- data/node_modules/conventional-changelog-conventionalcommits/constants.js +18 -0
- data/node_modules/conventional-changelog-conventionalcommits/conventionalChangelog.js +10 -0
- data/node_modules/conventional-changelog-conventionalcommits/conventionalRecommendedBump.js +44 -0
- data/node_modules/conventional-changelog-conventionalcommits/index.js +29 -0
- data/node_modules/conventional-changelog-conventionalcommits/package.json +37 -0
- data/node_modules/conventional-changelog-conventionalcommits/parserOpts.js +21 -0
- data/node_modules/conventional-changelog-conventionalcommits/templates/commit.hbs +30 -0
- data/node_modules/conventional-changelog-conventionalcommits/templates/footer.hbs +0 -0
- data/node_modules/conventional-changelog-conventionalcommits/templates/header.hbs +9 -0
- data/node_modules/conventional-changelog-conventionalcommits/templates/template.hbs +23 -0
- data/node_modules/conventional-changelog-conventionalcommits/utils.js +15 -0
- data/node_modules/conventional-changelog-conventionalcommits/writerOpts.js +192 -0
- data/node_modules/conventional-changelog-core/LICENSE.md +21 -0
- data/node_modules/conventional-changelog-core/README.md +255 -0
- data/node_modules/conventional-changelog-core/hosts/bitbucket.json +21 -0
- data/node_modules/conventional-changelog-core/hosts/github.json +19 -0
- data/node_modules/conventional-changelog-core/hosts/gitlab.json +17 -0
- data/node_modules/conventional-changelog-core/index.js +156 -0
- data/node_modules/conventional-changelog-core/lib/merge-config.js +372 -0
- data/node_modules/conventional-changelog-core/node_modules/.bin/conventional-commits-parser +1 -0
- data/node_modules/conventional-changelog-core/node_modules/.bin/git-raw-commits +1 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/LICENSE.md +21 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/README.md +134 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts +49 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js +124 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts +75 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.js +160 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.d.ts +4 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.js +4 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.d.ts +58 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.js +2 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.d.ts +34 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.js +141 -0
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/package.json +53 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/LICENSE.md +21 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/README.md +437 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.d.ts +40 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.js +317 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.d.ts +3 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.js +103 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.d.ts +3 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.js +40 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.d.ts +8 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.js +64 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.d.ts +4 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.js +4 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.d.ts +3 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.js +25 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.d.ts +8 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.js +49 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.d.ts +16 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.js +38 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.d.ts +98 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.js +2 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.d.ts +32 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.d.ts.map +1 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.js +59 -0
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/package.json +45 -0
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/LICENSE.md +21 -0
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/README.md +60 -0
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/package.json +44 -0
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/src/cli.js +37 -0
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/src/index.js +59 -0
- data/node_modules/conventional-changelog-core/package.json +44 -0
- data/node_modules/conventional-changelog-ember/LICENSE.md +15 -0
- data/node_modules/conventional-changelog-ember/README.md +94 -0
- data/node_modules/conventional-changelog-ember/package.json +29 -0
- data/node_modules/conventional-changelog-ember/src/index.js +14 -0
- data/node_modules/conventional-changelog-ember/src/parser.js +12 -0
- data/node_modules/conventional-changelog-ember/src/templates/commit.hbs +3 -0
- data/node_modules/conventional-changelog-ember/src/templates/header.hbs +1 -0
- data/node_modules/conventional-changelog-ember/src/templates/template.hbs +15 -0
- data/node_modules/conventional-changelog-ember/src/whatBump.js +22 -0
- data/node_modules/conventional-changelog-ember/src/writer.js +58 -0
- data/node_modules/conventional-changelog-eslint/LICENSE.md +15 -0
- data/node_modules/conventional-changelog-eslint/README.md +84 -0
- data/node_modules/conventional-changelog-eslint/package.json +29 -0
- data/node_modules/conventional-changelog-eslint/src/index.js +11 -0
- data/node_modules/conventional-changelog-eslint/src/parser.js +9 -0
- data/node_modules/conventional-changelog-eslint/src/templates/commit.hbs +5 -0
- data/node_modules/conventional-changelog-eslint/src/templates/header.hbs +1 -0
- data/node_modules/conventional-changelog-eslint/src/templates/template.hbs +15 -0
- data/node_modules/conventional-changelog-eslint/src/whatBump.js +24 -0
- data/node_modules/conventional-changelog-eslint/src/writer.js +39 -0
- data/node_modules/conventional-changelog-express/LICENSE.md +15 -0
- data/node_modules/conventional-changelog-express/README.md +45 -0
- data/node_modules/conventional-changelog-express/package.json +29 -0
- data/node_modules/conventional-changelog-express/src/index.js +11 -0
- data/node_modules/conventional-changelog-express/src/parser.js +9 -0
- data/node_modules/conventional-changelog-express/src/templates/commit.hbs +9 -0
- data/node_modules/conventional-changelog-express/src/templates/header.hbs +2 -0
- data/node_modules/conventional-changelog-express/src/templates/template.hbs +14 -0
- data/node_modules/conventional-changelog-express/src/whatBump.js +22 -0
- data/node_modules/conventional-changelog-express/src/writer.js +43 -0
- data/node_modules/conventional-changelog-jquery/LICENSE.md +15 -0
- data/node_modules/conventional-changelog-jquery/README.md +83 -0
- data/node_modules/conventional-changelog-jquery/package.json +29 -0
- data/node_modules/conventional-changelog-jquery/src/index.js +11 -0
- data/node_modules/conventional-changelog-jquery/src/parser.js +9 -0
- data/node_modules/conventional-changelog-jquery/src/templates/commit.hbs +56 -0
- data/node_modules/conventional-changelog-jquery/src/templates/header.hbs +17 -0
- data/node_modules/conventional-changelog-jquery/src/templates/template.hbs +16 -0
- data/node_modules/conventional-changelog-jquery/src/whatBump.js +22 -0
- data/node_modules/conventional-changelog-jquery/src/writer.js +50 -0
- data/node_modules/conventional-changelog-jshint/LICENSE.md +15 -0
- data/node_modules/conventional-changelog-jshint/README.md +121 -0
- data/node_modules/conventional-changelog-jshint/package.json +32 -0
- data/node_modules/conventional-changelog-jshint/src/index.js +11 -0
- data/node_modules/conventional-changelog-jshint/src/parser.js +10 -0
- data/node_modules/conventional-changelog-jshint/src/templates/commit.hbs +5 -0
- data/node_modules/conventional-changelog-jshint/src/templates/footer.hbs +11 -0
- data/node_modules/conventional-changelog-jshint/src/templates/header.hbs +1 -0
- data/node_modules/conventional-changelog-jshint/src/templates/template.hbs +16 -0
- data/node_modules/conventional-changelog-jshint/src/whatBump.js +22 -0
- data/node_modules/conventional-changelog-jshint/src/writer.js +62 -0
- data/node_modules/conventional-changelog-preset-loader/LICENSE.md +21 -0
- data/node_modules/conventional-changelog-preset-loader/README.md +121 -0
- data/node_modules/conventional-changelog-preset-loader/dist/index.d.ts +3 -0
- data/node_modules/conventional-changelog-preset-loader/dist/index.d.ts.map +1 -0
- data/node_modules/conventional-changelog-preset-loader/dist/index.js +3 -0
- data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.d.ts +12 -0
- data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.d.ts.map +1 -0
- data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.js +102 -0
- data/node_modules/conventional-changelog-preset-loader/dist/types.d.ts +15 -0
- data/node_modules/conventional-changelog-preset-loader/dist/types.d.ts.map +1 -0
- data/node_modules/conventional-changelog-preset-loader/dist/types.js +3 -0
- data/node_modules/conventional-changelog-preset-loader/package.json +32 -0
- data/node_modules/conventional-changelog-writer/LICENSE.md +21 -0
- data/node_modules/conventional-changelog-writer/README.md +383 -0
- data/node_modules/conventional-changelog-writer/dist/cli/index.d.ts +3 -0
- data/node_modules/conventional-changelog-writer/dist/cli/index.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/cli/index.js +70 -0
- data/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts +7 -0
- data/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/cli/utils.js +64 -0
- data/node_modules/conventional-changelog-writer/dist/commit.d.ts +11 -0
- data/node_modules/conventional-changelog-writer/dist/commit.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/commit.js +40 -0
- data/node_modules/conventional-changelog-writer/dist/context.d.ts +26 -0
- data/node_modules/conventional-changelog-writer/dist/context.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/context.js +114 -0
- data/node_modules/conventional-changelog-writer/dist/index.d.ts +4 -0
- data/node_modules/conventional-changelog-writer/dist/index.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/index.js +4 -0
- data/node_modules/conventional-changelog-writer/dist/options.d.ts +25 -0
- data/node_modules/conventional-changelog-writer/dist/options.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/options.js +75 -0
- data/node_modules/conventional-changelog-writer/dist/template.d.ts +21 -0
- data/node_modules/conventional-changelog-writer/dist/template.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/template.js +77 -0
- data/node_modules/conventional-changelog-writer/dist/types/commit.d.ts +26 -0
- data/node_modules/conventional-changelog-writer/dist/types/commit.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/types/commit.js +2 -0
- data/node_modules/conventional-changelog-writer/dist/types/context.d.ts +69 -0
- data/node_modules/conventional-changelog-writer/dist/types/context.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/types/context.js +2 -0
- data/node_modules/conventional-changelog-writer/dist/types/index.d.ts +10 -0
- data/node_modules/conventional-changelog-writer/dist/types/index.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/types/index.js +5 -0
- data/node_modules/conventional-changelog-writer/dist/types/options.d.ts +108 -0
- data/node_modules/conventional-changelog-writer/dist/types/options.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/types/options.js +2 -0
- data/node_modules/conventional-changelog-writer/dist/types/utils.d.ts +10 -0
- data/node_modules/conventional-changelog-writer/dist/types/utils.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/types/utils.js +2 -0
- data/node_modules/conventional-changelog-writer/dist/utils.d.ts +20 -0
- data/node_modules/conventional-changelog-writer/dist/utils.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/utils.js +70 -0
- data/node_modules/conventional-changelog-writer/dist/writers.d.ts +29 -0
- data/node_modules/conventional-changelog-writer/dist/writers.d.ts.map +1 -0
- data/node_modules/conventional-changelog-writer/dist/writers.js +102 -0
- data/node_modules/conventional-changelog-writer/package.json +52 -0
- data/node_modules/conventional-changelog-writer/templates/commit.hbs +54 -0
- data/node_modules/conventional-changelog-writer/templates/footer.hbs +10 -0
- data/node_modules/conventional-changelog-writer/templates/header.hbs +9 -0
- data/node_modules/conventional-changelog-writer/templates/template.hbs +11 -0
- data/node_modules/conventional-commits-filter/LICENSE +21 -0
- data/node_modules/conventional-commits-filter/README.md +235 -0
- data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts +17 -0
- data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts.map +1 -0
- data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.js +46 -0
- data/node_modules/conventional-commits-filter/dist/filters.d.ts +20 -0
- data/node_modules/conventional-commits-filter/dist/filters.d.ts.map +1 -0
- data/node_modules/conventional-commits-filter/dist/filters.js +34 -0
- data/node_modules/conventional-commits-filter/dist/index.d.ts +4 -0
- data/node_modules/conventional-commits-filter/dist/index.d.ts.map +1 -0
- data/node_modules/conventional-commits-filter/dist/index.js +3 -0
- data/node_modules/conventional-commits-filter/dist/types.d.ts +6 -0
- data/node_modules/conventional-commits-filter/dist/types.d.ts.map +1 -0
- data/node_modules/conventional-commits-filter/dist/types.js +2 -0
- data/node_modules/conventional-commits-filter/dist/utils.d.ts +16 -0
- data/node_modules/conventional-commits-filter/dist/utils.d.ts.map +1 -0
- data/node_modules/conventional-commits-filter/dist/utils.js +43 -0
- data/node_modules/conventional-commits-filter/package.json +37 -0
- data/node_modules/conventional-commits-parser/LICENSE.md +21 -0
- data/node_modules/conventional-commits-parser/README.md +383 -0
- data/node_modules/conventional-commits-parser/cli.mjs +170 -0
- data/node_modules/conventional-commits-parser/index.js +105 -0
- data/node_modules/conventional-commits-parser/lib/parser.js +316 -0
- data/node_modules/conventional-commits-parser/lib/regex.js +61 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/build/dependencies.js +11036 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/build/index.d.ts +1416 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/build/index.js +100 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/build/licenses.md +1767 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/build/options.js +92 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/build/parser.js +84 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/build/utils.js +7 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/build/validate.js +122 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/license +9 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/package.json +107 -0
- data/node_modules/conventional-commits-parser/node_modules/meow/readme.md +314 -0
- data/node_modules/conventional-commits-parser/package.json +47 -0
- data/node_modules/cosmiconfig/LICENSE +22 -0
- data/node_modules/cosmiconfig/README.md +782 -0
- data/node_modules/cosmiconfig/dist/Explorer.d.ts +2 -0
- data/node_modules/cosmiconfig/dist/Explorer.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/Explorer.js +170 -0
- data/node_modules/cosmiconfig/dist/Explorer.js.map +1 -0
- data/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +2 -0
- data/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/ExplorerBase.js +126 -0
- data/node_modules/cosmiconfig/dist/ExplorerBase.js.map +1 -0
- data/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +2 -0
- data/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/ExplorerSync.js +184 -0
- data/node_modules/cosmiconfig/dist/ExplorerSync.js.map +1 -0
- data/node_modules/cosmiconfig/dist/cacheWrapper.d.ts +5 -0
- data/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/cacheWrapper.js +32 -0
- data/node_modules/cosmiconfig/dist/cacheWrapper.js.map +1 -0
- data/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts +3 -0
- data/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/canUseDynamicImport.js +23 -0
- data/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map +1 -0
- data/node_modules/cosmiconfig/dist/defaults.d.ts +25 -0
- data/node_modules/cosmiconfig/dist/defaults.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/defaults.js +105 -0
- data/node_modules/cosmiconfig/dist/defaults.js.map +1 -0
- data/node_modules/cosmiconfig/dist/getDirectory.d.ts +4 -0
- data/node_modules/cosmiconfig/dist/getDirectory.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/getDirectory.js +38 -0
- data/node_modules/cosmiconfig/dist/getDirectory.js.map +1 -0
- data/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts +5 -0
- data/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/getPropertyByPath.js +28 -0
- data/node_modules/cosmiconfig/dist/getPropertyByPath.js.map +1 -0
- data/node_modules/cosmiconfig/dist/index.d.ts +6 -0
- data/node_modules/cosmiconfig/dist/index.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/index.js +148 -0
- data/node_modules/cosmiconfig/dist/index.js.map +1 -0
- data/node_modules/cosmiconfig/dist/loaders.d.ts +8 -0
- data/node_modules/cosmiconfig/dist/loaders.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/loaders.js +148 -0
- data/node_modules/cosmiconfig/dist/loaders.js.map +1 -0
- data/node_modules/cosmiconfig/dist/merge.d.ts +9 -0
- data/node_modules/cosmiconfig/dist/merge.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/merge.js +40 -0
- data/node_modules/cosmiconfig/dist/merge.js.map +1 -0
- data/node_modules/cosmiconfig/dist/readFile.d.ts +7 -0
- data/node_modules/cosmiconfig/dist/readFile.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/readFile.js +56 -0
- data/node_modules/cosmiconfig/dist/readFile.js.map +1 -0
- data/node_modules/cosmiconfig/dist/types.d.ts +98 -0
- data/node_modules/cosmiconfig/dist/types.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/types.js +3 -0
- data/node_modules/cosmiconfig/dist/types.js.map +1 -0
- data/node_modules/cosmiconfig/dist/util.d.ts +2 -0
- data/node_modules/cosmiconfig/dist/util.d.ts.map +1 -0
- data/node_modules/cosmiconfig/dist/util.js +99 -0
- data/node_modules/cosmiconfig/dist/util.js.map +1 -0
- data/node_modules/cosmiconfig/package.json +102 -0
- data/node_modules/cosmiconfig-typescript-loader/LICENCE +21 -0
- data/node_modules/cosmiconfig-typescript-loader/README.md +64 -0
- data/node_modules/cosmiconfig-typescript-loader/dist/cjs/index.cjs +30 -0
- data/node_modules/cosmiconfig-typescript-loader/dist/cjs/loader.cjs +55 -0
- data/node_modules/cosmiconfig-typescript-loader/dist/cjs/typescript-compile-error.cjs +43 -0
- data/node_modules/cosmiconfig-typescript-loader/dist/esm/index.mjs +5 -0
- data/node_modules/cosmiconfig-typescript-loader/dist/esm/loader.mjs +20 -0
- data/node_modules/cosmiconfig-typescript-loader/dist/esm/typescript-compile-error.mjs +18 -0
- data/node_modules/cosmiconfig-typescript-loader/dist/types/index.d.ts +2 -0
- data/node_modules/cosmiconfig-typescript-loader/dist/types/loader.d.ts +3 -0
- data/node_modules/cosmiconfig-typescript-loader/dist/types/typescript-compile-error.d.ts +4 -0
- data/node_modules/cosmiconfig-typescript-loader/package.json +79 -0
- data/node_modules/cross-spawn/CHANGELOG.md +130 -0
- data/node_modules/cross-spawn/LICENSE +21 -0
- data/node_modules/cross-spawn/README.md +96 -0
- data/node_modules/cross-spawn/index.js +39 -0
- data/node_modules/cross-spawn/lib/enoent.js +59 -0
- data/node_modules/cross-spawn/lib/parse.js +91 -0
- data/node_modules/cross-spawn/lib/util/escape.js +45 -0
- data/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- data/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- data/node_modules/cross-spawn/package.json +73 -0
- data/node_modules/dargs/index.d.ts +159 -0
- data/node_modules/dargs/index.js +116 -0
- data/node_modules/dargs/license +9 -0
- data/node_modules/dargs/package.json +51 -0
- data/node_modules/dargs/readme.md +195 -0
- data/node_modules/dot-prop/index.d.ts +101 -0
- data/node_modules/dot-prop/index.js +142 -0
- data/node_modules/dot-prop/license +9 -0
- data/node_modules/dot-prop/package.json +45 -0
- data/node_modules/dot-prop/readme.md +117 -0
- data/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- data/node_modules/emoji-regex/README.md +73 -0
- data/node_modules/emoji-regex/es2015/index.js +6 -0
- data/node_modules/emoji-regex/es2015/text.js +6 -0
- data/node_modules/emoji-regex/index.d.ts +23 -0
- data/node_modules/emoji-regex/index.js +6 -0
- data/node_modules/emoji-regex/package.json +50 -0
- data/node_modules/emoji-regex/text.js +6 -0
- data/node_modules/env-paths/index.d.ts +101 -0
- data/node_modules/env-paths/index.js +74 -0
- data/node_modules/env-paths/license +9 -0
- data/node_modules/env-paths/package.json +45 -0
- data/node_modules/env-paths/readme.md +115 -0
- data/node_modules/error-ex/LICENSE +21 -0
- data/node_modules/error-ex/README.md +144 -0
- data/node_modules/error-ex/index.js +141 -0
- data/node_modules/error-ex/package.json +46 -0
- data/node_modules/escalade/dist/index.js +22 -0
- data/node_modules/escalade/dist/index.mjs +22 -0
- data/node_modules/escalade/index.d.ts +3 -0
- data/node_modules/escalade/license +9 -0
- data/node_modules/escalade/package.json +63 -0
- data/node_modules/escalade/readme.md +211 -0
- data/node_modules/escalade/sync/index.d.ts +2 -0
- data/node_modules/escalade/sync/index.js +18 -0
- data/node_modules/escalade/sync/index.mjs +18 -0
- data/node_modules/escape-string-regexp/index.js +11 -0
- data/node_modules/escape-string-regexp/license +21 -0
- data/node_modules/escape-string-regexp/package.json +41 -0
- data/node_modules/escape-string-regexp/readme.md +27 -0
- data/node_modules/execa/index.d.ts +955 -0
- data/node_modules/execa/index.js +309 -0
- data/node_modules/execa/lib/command.js +119 -0
- data/node_modules/execa/lib/error.js +87 -0
- data/node_modules/execa/lib/kill.js +102 -0
- data/node_modules/execa/lib/pipe.js +42 -0
- data/node_modules/execa/lib/promise.js +36 -0
- data/node_modules/execa/lib/stdio.js +49 -0
- data/node_modules/execa/lib/stream.js +133 -0
- data/node_modules/execa/lib/verbose.js +19 -0
- data/node_modules/execa/license +9 -0
- data/node_modules/execa/package.json +90 -0
- data/node_modules/execa/readme.md +822 -0
- data/node_modules/fast-deep-equal/LICENSE +21 -0
- data/node_modules/fast-deep-equal/README.md +96 -0
- data/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- data/node_modules/fast-deep-equal/es6/index.js +72 -0
- data/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- data/node_modules/fast-deep-equal/es6/react.js +79 -0
- data/node_modules/fast-deep-equal/index.d.ts +4 -0
- data/node_modules/fast-deep-equal/index.js +46 -0
- data/node_modules/fast-deep-equal/package.json +61 -0
- data/node_modules/fast-deep-equal/react.d.ts +2 -0
- data/node_modules/fast-deep-equal/react.js +53 -0
- data/node_modules/fast-uri/.gitattributes +2 -0
- data/node_modules/fast-uri/.github/.stale.yml +21 -0
- data/node_modules/fast-uri/.github/dependabot.yml +13 -0
- data/node_modules/fast-uri/.github/tests_checker.yml +8 -0
- data/node_modules/fast-uri/.github/workflows/ci.yml +23 -0
- data/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +20 -0
- data/node_modules/fast-uri/.taprc +3 -0
- data/node_modules/fast-uri/LICENSE +30 -0
- data/node_modules/fast-uri/README.md +125 -0
- data/node_modules/fast-uri/benchmark.js +105 -0
- data/node_modules/fast-uri/index.js +309 -0
- data/node_modules/fast-uri/lib/schemes.js +188 -0
- data/node_modules/fast-uri/lib/scopedChars.js +30 -0
- data/node_modules/fast-uri/lib/utils.js +242 -0
- data/node_modules/fast-uri/package.json +39 -0
- data/node_modules/fast-uri/test/.gitkeep +0 -0
- data/node_modules/fast-uri/test/ajv.test.js +39 -0
- data/node_modules/fast-uri/test/compatibility.test.js +130 -0
- data/node_modules/fast-uri/test/equal.test.js +104 -0
- data/node_modules/fast-uri/test/parse.test.js +319 -0
- data/node_modules/fast-uri/test/resolve.test.js +76 -0
- data/node_modules/fast-uri/test/serialize.test.js +144 -0
- data/node_modules/fast-uri/test/uri-js.test.js +940 -0
- data/node_modules/fast-uri/test/util.test.js +24 -0
- data/node_modules/fast-uri/types/index.d.ts +53 -0
- data/node_modules/fast-uri/types/index.test-d.ts +17 -0
- data/node_modules/find-up/index.d.ts +247 -0
- data/node_modules/find-up/index.js +107 -0
- data/node_modules/find-up/license +9 -0
- data/node_modules/find-up/package.json +61 -0
- data/node_modules/find-up/readme.md +160 -0
- data/node_modules/find-up-simple/index.d.ts +74 -0
- data/node_modules/find-up-simple/index.js +53 -0
- data/node_modules/find-up-simple/license +9 -0
- data/node_modules/find-up-simple/package.json +53 -0
- data/node_modules/find-up-simple/readme.md +93 -0
- data/node_modules/get-caller-file/LICENSE.md +6 -0
- data/node_modules/get-caller-file/README.md +41 -0
- data/node_modules/get-caller-file/index.d.ts +2 -0
- data/node_modules/get-caller-file/index.js +22 -0
- data/node_modules/get-caller-file/index.js.map +1 -0
- data/node_modules/get-caller-file/package.json +42 -0
- data/node_modules/get-stream/license +9 -0
- data/node_modules/get-stream/package.json +53 -0
- data/node_modules/get-stream/readme.md +291 -0
- data/node_modules/get-stream/source/array-buffer.js +84 -0
- data/node_modules/get-stream/source/array.js +32 -0
- data/node_modules/get-stream/source/buffer.js +20 -0
- data/node_modules/get-stream/source/contents.js +101 -0
- data/node_modules/get-stream/source/index.d.ts +119 -0
- data/node_modules/get-stream/source/index.js +5 -0
- data/node_modules/get-stream/source/string.js +36 -0
- data/node_modules/get-stream/source/utils.js +11 -0
- data/node_modules/git-raw-commits/LICENSE.md +21 -0
- data/node_modules/git-raw-commits/README.md +101 -0
- data/node_modules/git-raw-commits/cli.mjs +20 -0
- data/node_modules/git-raw-commits/index.js +110 -0
- data/node_modules/git-raw-commits/node_modules/meow/build/dependencies.js +11036 -0
- data/node_modules/git-raw-commits/node_modules/meow/build/index.d.ts +1416 -0
- data/node_modules/git-raw-commits/node_modules/meow/build/index.js +100 -0
- data/node_modules/git-raw-commits/node_modules/meow/build/licenses.md +1767 -0
- data/node_modules/git-raw-commits/node_modules/meow/build/options.js +92 -0
- data/node_modules/git-raw-commits/node_modules/meow/build/parser.js +84 -0
- data/node_modules/git-raw-commits/node_modules/meow/build/utils.js +7 -0
- data/node_modules/git-raw-commits/node_modules/meow/build/validate.js +122 -0
- data/node_modules/git-raw-commits/node_modules/meow/license +9 -0
- data/node_modules/git-raw-commits/node_modules/meow/package.json +107 -0
- data/node_modules/git-raw-commits/node_modules/meow/readme.md +314 -0
- data/node_modules/git-raw-commits/package.json +43 -0
- data/node_modules/git-semver-tags/LICENSE.md +21 -0
- data/node_modules/git-semver-tags/README.md +65 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/LICENSE.md +21 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/README.md +134 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts +49 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts.map +1 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js +124 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts +75 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts.map +1 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.js +160 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.d.ts +4 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.d.ts.map +1 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.js +4 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.d.ts +58 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.d.ts.map +1 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.js +2 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.d.ts +34 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.d.ts.map +1 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.js +141 -0
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/package.json +53 -0
- data/node_modules/git-semver-tags/package.json +43 -0
- data/node_modules/git-semver-tags/src/cli.js +43 -0
- data/node_modules/git-semver-tags/src/index.js +42 -0
- data/node_modules/global-directory/index.d.ts +58 -0
- data/node_modules/global-directory/index.js +121 -0
- data/node_modules/global-directory/license +9 -0
- data/node_modules/global-directory/package.json +61 -0
- data/node_modules/global-directory/readme.md +60 -0
- data/node_modules/handlebars/LICENSE +19 -0
- data/node_modules/handlebars/README.markdown +169 -0
- data/node_modules/handlebars/bin/.eslintrc.js +6 -0
- data/node_modules/handlebars/bin/handlebars +176 -0
- data/node_modules/handlebars/dist/amd/handlebars/base.js +106 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/ast.js +31 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/base.js +45 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/code-gen.js +165 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/compiler.js +562 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/helpers.js +228 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/javascript-compiler.js +1150 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/parser.js +737 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/printer.js +186 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/visitor.js +138 -0
- data/node_modules/handlebars/dist/amd/handlebars/compiler/whitespace-control.js +219 -0
- data/node_modules/handlebars/dist/amd/handlebars/decorators/inline.js +25 -0
- data/node_modules/handlebars/dist/amd/handlebars/decorators.js +16 -0
- data/node_modules/handlebars/dist/amd/handlebars/exception.js +64 -0
- data/node_modules/handlebars/dist/amd/handlebars/helpers/block-helper-missing.js +35 -0
- data/node_modules/handlebars/dist/amd/handlebars/helpers/each.js +99 -0
- data/node_modules/handlebars/dist/amd/handlebars/helpers/helper-missing.js +22 -0
- data/node_modules/handlebars/dist/amd/handlebars/helpers/if.js +41 -0
- data/node_modules/handlebars/dist/amd/handlebars/helpers/log.js +24 -0
- data/node_modules/handlebars/dist/amd/handlebars/helpers/lookup.js +14 -0
- data/node_modules/handlebars/dist/amd/handlebars/helpers/with.js +38 -0
- data/node_modules/handlebars/dist/amd/handlebars/helpers.js +44 -0
- data/node_modules/handlebars/dist/amd/handlebars/internal/create-new-lookup-object.js +22 -0
- data/node_modules/handlebars/dist/amd/handlebars/internal/proto-access.js +71 -0
- data/node_modules/handlebars/dist/amd/handlebars/internal/wrapHelper.js +21 -0
- data/node_modules/handlebars/dist/amd/handlebars/logger.js +44 -0
- data/node_modules/handlebars/dist/amd/handlebars/no-conflict.js +28 -0
- data/node_modules/handlebars/dist/amd/handlebars/runtime.js +356 -0
- data/node_modules/handlebars/dist/amd/handlebars/safe-string.js +15 -0
- data/node_modules/handlebars/dist/amd/handlebars/utils.js +126 -0
- data/node_modules/handlebars/dist/amd/handlebars.js +52 -0
- data/node_modules/handlebars/dist/amd/handlebars.runtime.js +44 -0
- data/node_modules/handlebars/dist/amd/precompiler.js +314 -0
- data/node_modules/handlebars/dist/cjs/handlebars/base.js +116 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +31 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +57 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +168 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +566 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +228 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +1158 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +737 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +186 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +140 -0
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +221 -0
- data/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +29 -0
- data/node_modules/handlebars/dist/cjs/handlebars/decorators.js +16 -0
- data/node_modules/handlebars/dist/cjs/handlebars/exception.js +64 -0
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +39 -0
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +104 -0
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +25 -0
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +46 -0
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +26 -0
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +16 -0
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +43 -0
- data/node_modules/handlebars/dist/cjs/handlebars/helpers.js +56 -0
- data/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js +22 -0
- data/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +73 -0
- data/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +19 -0
- data/node_modules/handlebars/dist/cjs/handlebars/logger.js +47 -0
- data/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +30 -0
- data/node_modules/handlebars/dist/cjs/handlebars/runtime.js +372 -0
- data/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +15 -0
- data/node_modules/handlebars/dist/cjs/handlebars/utils.js +124 -0
- data/node_modules/handlebars/dist/cjs/handlebars.js +66 -0
- data/node_modules/handlebars/dist/cjs/handlebars.runtime.js +66 -0
- data/node_modules/handlebars/dist/cjs/precompiler.js +328 -0
- data/node_modules/handlebars/dist/handlebars.amd.js +4639 -0
- data/node_modules/handlebars/dist/handlebars.amd.min.js +29 -0
- data/node_modules/handlebars/dist/handlebars.js +5972 -0
- data/node_modules/handlebars/dist/handlebars.min.js +29 -0
- data/node_modules/handlebars/dist/handlebars.runtime.amd.js +1302 -0
- data/node_modules/handlebars/dist/handlebars.runtime.amd.min.js +27 -0
- data/node_modules/handlebars/dist/handlebars.runtime.js +2563 -0
- data/node_modules/handlebars/dist/handlebars.runtime.min.js +27 -0
- data/node_modules/handlebars/lib/.eslintrc.js +8 -0
- data/node_modules/handlebars/lib/handlebars/base.js +94 -0
- data/node_modules/handlebars/lib/handlebars/compiler/ast.js +32 -0
- data/node_modules/handlebars/lib/handlebars/compiler/base.js +34 -0
- data/node_modules/handlebars/lib/handlebars/compiler/code-gen.js +171 -0
- data/node_modules/handlebars/lib/handlebars/compiler/compiler.js +594 -0
- data/node_modules/handlebars/lib/handlebars/compiler/helpers.js +219 -0
- data/node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js +1293 -0
- data/node_modules/handlebars/lib/handlebars/compiler/parser.js +622 -0
- data/node_modules/handlebars/lib/handlebars/compiler/printer.js +178 -0
- data/node_modules/handlebars/lib/handlebars/compiler/visitor.js +136 -0
- data/node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js +234 -0
- data/node_modules/handlebars/lib/handlebars/decorators/inline.js +22 -0
- data/node_modules/handlebars/lib/handlebars/decorators.js +5 -0
- data/node_modules/handlebars/lib/handlebars/exception.js +68 -0
- data/node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js +35 -0
- data/node_modules/handlebars/lib/handlebars/helpers/each.js +101 -0
- data/node_modules/handlebars/lib/handlebars/helpers/helper-missing.js +15 -0
- data/node_modules/handlebars/lib/handlebars/helpers/if.js +33 -0
- data/node_modules/handlebars/lib/handlebars/helpers/log.js +19 -0
- data/node_modules/handlebars/lib/handlebars/helpers/lookup.js +9 -0
- data/node_modules/handlebars/lib/handlebars/helpers/with.js +39 -0
- data/node_modules/handlebars/lib/handlebars/helpers.js +26 -0
- data/node_modules/handlebars/lib/handlebars/internal/create-new-lookup-object.js +11 -0
- data/node_modules/handlebars/lib/handlebars/internal/proto-access.js +70 -0
- data/node_modules/handlebars/lib/handlebars/internal/wrapHelper.js +13 -0
- data/node_modules/handlebars/lib/handlebars/logger.js +39 -0
- data/node_modules/handlebars/lib/handlebars/no-conflict.js +23 -0
- data/node_modules/handlebars/lib/handlebars/runtime.js +450 -0
- data/node_modules/handlebars/lib/handlebars/safe-string.js +10 -0
- data/node_modules/handlebars/lib/handlebars/utils.js +116 -0
- data/node_modules/handlebars/lib/handlebars.js +46 -0
- data/node_modules/handlebars/lib/handlebars.runtime.js +37 -0
- data/node_modules/handlebars/lib/index.js +26 -0
- data/node_modules/handlebars/lib/precompiler.js +341 -0
- data/node_modules/handlebars/package.json +135 -0
- data/node_modules/handlebars/release-notes.md +1102 -0
- data/node_modules/handlebars/runtime.d.ts +5 -0
- data/node_modules/handlebars/runtime.js +3 -0
- data/node_modules/handlebars/types/index.d.ts +422 -0
- data/node_modules/has-flag/index.js +8 -0
- data/node_modules/has-flag/license +9 -0
- data/node_modules/has-flag/package.json +44 -0
- data/node_modules/has-flag/readme.md +70 -0
- data/node_modules/hosted-git-info/LICENSE +13 -0
- data/node_modules/hosted-git-info/README.md +133 -0
- data/node_modules/hosted-git-info/lib/from-url.js +122 -0
- data/node_modules/hosted-git-info/lib/hosts.js +227 -0
- data/node_modules/hosted-git-info/lib/index.js +179 -0
- data/node_modules/hosted-git-info/lib/parse-url.js +78 -0
- data/node_modules/hosted-git-info/package.json +60 -0
- data/node_modules/human-signals/LICENSE +201 -0
- data/node_modules/human-signals/README.md +168 -0
- data/node_modules/human-signals/build/src/core.js +273 -0
- data/node_modules/human-signals/build/src/main.d.ts +73 -0
- data/node_modules/human-signals/build/src/main.js +70 -0
- data/node_modules/human-signals/build/src/realtime.js +16 -0
- data/node_modules/human-signals/build/src/signals.js +34 -0
- data/node_modules/human-signals/package.json +61 -0
- data/node_modules/import-fresh/index.d.ts +30 -0
- data/node_modules/import-fresh/index.js +33 -0
- data/node_modules/import-fresh/license +9 -0
- data/node_modules/import-fresh/node_modules/resolve-from/index.js +47 -0
- data/node_modules/import-fresh/node_modules/resolve-from/license +9 -0
- data/node_modules/import-fresh/node_modules/resolve-from/package.json +34 -0
- data/node_modules/import-fresh/node_modules/resolve-from/readme.md +72 -0
- data/node_modules/import-fresh/package.json +43 -0
- data/node_modules/import-fresh/readme.md +48 -0
- data/node_modules/import-meta-resolve/index.d.ts +18 -0
- data/node_modules/import-meta-resolve/index.js +47 -0
- data/node_modules/import-meta-resolve/lib/errors.d.ts +23 -0
- data/node_modules/import-meta-resolve/lib/errors.js +507 -0
- data/node_modules/import-meta-resolve/lib/get-format.d.ts +12 -0
- data/node_modules/import-meta-resolve/lib/get-format.js +159 -0
- data/node_modules/import-meta-resolve/lib/package-json-reader.d.ts +31 -0
- data/node_modules/import-meta-resolve/lib/package-json-reader.js +177 -0
- data/node_modules/import-meta-resolve/lib/resolve.d.ts +33 -0
- data/node_modules/import-meta-resolve/lib/resolve.js +1297 -0
- data/node_modules/import-meta-resolve/lib/utils.d.ts +5 -0
- data/node_modules/import-meta-resolve/lib/utils.js +47 -0
- data/node_modules/import-meta-resolve/license +74 -0
- data/node_modules/import-meta-resolve/package.json +95 -0
- data/node_modules/import-meta-resolve/readme.md +252 -0
- data/node_modules/index-to-position/index.d.ts +21 -0
- data/node_modules/index-to-position/index.js +29 -0
- data/node_modules/index-to-position/license +9 -0
- data/node_modules/index-to-position/package.json +47 -0
- data/node_modules/index-to-position/readme.md +45 -0
- data/node_modules/ini/LICENSE +15 -0
- data/node_modules/ini/README.md +125 -0
- data/node_modules/ini/lib/ini.js +278 -0
- data/node_modules/ini/package.json +45 -0
- data/node_modules/is-arrayish/.editorconfig +18 -0
- data/node_modules/is-arrayish/.istanbul.yml +4 -0
- data/node_modules/is-arrayish/.npmignore +5 -0
- data/node_modules/is-arrayish/.travis.yml +17 -0
- data/node_modules/is-arrayish/LICENSE +21 -0
- data/node_modules/is-arrayish/README.md +16 -0
- data/node_modules/is-arrayish/index.js +10 -0
- data/node_modules/is-arrayish/package.json +34 -0
- data/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- data/node_modules/is-fullwidth-code-point/index.js +50 -0
- data/node_modules/is-fullwidth-code-point/license +9 -0
- data/node_modules/is-fullwidth-code-point/package.json +42 -0
- data/node_modules/is-fullwidth-code-point/readme.md +39 -0
- data/node_modules/is-obj/index.d.ts +22 -0
- data/node_modules/is-obj/index.js +6 -0
- data/node_modules/is-obj/license +9 -0
- data/node_modules/is-obj/package.json +34 -0
- data/node_modules/is-obj/readme.md +39 -0
- data/node_modules/is-stream/index.d.ts +81 -0
- data/node_modules/is-stream/index.js +29 -0
- data/node_modules/is-stream/license +9 -0
- data/node_modules/is-stream/package.json +44 -0
- data/node_modules/is-stream/readme.md +60 -0
- data/node_modules/is-text-path/index.d.ts +17 -0
- data/node_modules/is-text-path/index.js +7 -0
- data/node_modules/is-text-path/license +9 -0
- data/node_modules/is-text-path/package.json +40 -0
- data/node_modules/is-text-path/readme.md +34 -0
- data/node_modules/isexe/.npmignore +2 -0
- data/node_modules/isexe/LICENSE +15 -0
- data/node_modules/isexe/README.md +51 -0
- data/node_modules/isexe/index.js +57 -0
- data/node_modules/isexe/mode.js +41 -0
- data/node_modules/isexe/package.json +31 -0
- data/node_modules/isexe/test/basic.js +221 -0
- data/node_modules/isexe/windows.js +42 -0
- data/node_modules/jiti/LICENSE +21 -0
- data/node_modules/jiti/README.md +164 -0
- data/node_modules/jiti/bin/jiti.js +16 -0
- data/node_modules/jiti/dist/babel.d.ts +2 -0
- data/node_modules/jiti/dist/babel.js +202 -0
- data/node_modules/jiti/dist/jiti.d.ts +22 -0
- data/node_modules/jiti/dist/jiti.js +1 -0
- data/node_modules/jiti/dist/plugins/babel-plugin-transform-import-meta.d.ts +4 -0
- data/node_modules/jiti/dist/plugins/import-meta-env.d.ts +5 -0
- data/node_modules/jiti/dist/types.d.ts +35 -0
- data/node_modules/jiti/dist/utils.d.ts +8 -0
- data/node_modules/jiti/lib/index.js +15 -0
- data/node_modules/jiti/package.json +81 -0
- data/node_modules/jiti/register.js +3 -0
- data/node_modules/js-tokens/CHANGELOG.md +151 -0
- data/node_modules/js-tokens/LICENSE +21 -0
- data/node_modules/js-tokens/README.md +240 -0
- data/node_modules/js-tokens/index.js +23 -0
- data/node_modules/js-tokens/package.json +30 -0
- data/node_modules/js-yaml/CHANGELOG.md +616 -0
- data/node_modules/js-yaml/LICENSE +21 -0
- data/node_modules/js-yaml/README.md +246 -0
- data/node_modules/js-yaml/bin/js-yaml.js +126 -0
- data/node_modules/js-yaml/dist/js-yaml.js +3874 -0
- data/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
- data/node_modules/js-yaml/dist/js-yaml.mjs +3851 -0
- data/node_modules/js-yaml/index.js +47 -0
- data/node_modules/js-yaml/lib/common.js +59 -0
- data/node_modules/js-yaml/lib/dumper.js +965 -0
- data/node_modules/js-yaml/lib/exception.js +55 -0
- data/node_modules/js-yaml/lib/loader.js +1727 -0
- data/node_modules/js-yaml/lib/schema/core.js +11 -0
- data/node_modules/js-yaml/lib/schema/default.js +22 -0
- data/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
- data/node_modules/js-yaml/lib/schema/json.js +19 -0
- data/node_modules/js-yaml/lib/schema.js +121 -0
- data/node_modules/js-yaml/lib/snippet.js +101 -0
- data/node_modules/js-yaml/lib/type/binary.js +125 -0
- data/node_modules/js-yaml/lib/type/bool.js +35 -0
- data/node_modules/js-yaml/lib/type/float.js +97 -0
- data/node_modules/js-yaml/lib/type/int.js +156 -0
- data/node_modules/js-yaml/lib/type/map.js +8 -0
- data/node_modules/js-yaml/lib/type/merge.js +12 -0
- data/node_modules/js-yaml/lib/type/null.js +35 -0
- data/node_modules/js-yaml/lib/type/omap.js +44 -0
- data/node_modules/js-yaml/lib/type/pairs.js +53 -0
- data/node_modules/js-yaml/lib/type/seq.js +8 -0
- data/node_modules/js-yaml/lib/type/set.js +29 -0
- data/node_modules/js-yaml/lib/type/str.js +8 -0
- data/node_modules/js-yaml/lib/type/timestamp.js +88 -0
- data/node_modules/js-yaml/lib/type.js +66 -0
- data/node_modules/js-yaml/package.json +66 -0
- data/node_modules/json-parse-even-better-errors/CHANGELOG.md +50 -0
- data/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
- data/node_modules/json-parse-even-better-errors/README.md +96 -0
- data/node_modules/json-parse-even-better-errors/index.js +121 -0
- data/node_modules/json-parse-even-better-errors/package.json +33 -0
- data/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- data/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- data/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- data/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- data/node_modules/json-schema-traverse/LICENSE +21 -0
- data/node_modules/json-schema-traverse/README.md +95 -0
- data/node_modules/json-schema-traverse/index.d.ts +40 -0
- data/node_modules/json-schema-traverse/index.js +93 -0
- data/node_modules/json-schema-traverse/package.json +43 -0
- data/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- data/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- data/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- data/node_modules/jsonparse/.npmignore +1 -0
- data/node_modules/jsonparse/LICENSE +24 -0
- data/node_modules/jsonparse/README.markdown +11 -0
- data/node_modules/jsonparse/bench.js +26 -0
- data/node_modules/jsonparse/examples/twitterfeed.js +30 -0
- data/node_modules/jsonparse/jsonparse.js +413 -0
- data/node_modules/jsonparse/package.json +22 -0
- data/node_modules/jsonparse/samplejson/basic.json +167 -0
- data/node_modules/jsonparse/samplejson/basic2.json +180 -0
- data/node_modules/jsonparse/test/big-token.js +24 -0
- data/node_modules/jsonparse/test/boundary.js +110 -0
- data/node_modules/jsonparse/test/offset.js +67 -0
- data/node_modules/jsonparse/test/primitives.js +57 -0
- data/node_modules/jsonparse/test/surrogate.js +26 -0
- data/node_modules/jsonparse/test/unvalid.js +15 -0
- data/node_modules/jsonparse/test/utf8.js +38 -0
- data/node_modules/lefthook/README.md +243 -0
- data/node_modules/lefthook/bin/index.js +17 -0
- data/node_modules/lefthook/get-exe.js +20 -0
- data/node_modules/lefthook/package.json +40 -0
- data/node_modules/lefthook/postinstall.js +21 -0
- data/node_modules/lefthook-darwin-arm64/README.md +243 -0
- data/node_modules/lefthook-darwin-arm64/bin/lefthook +0 -0
- data/node_modules/lefthook-darwin-arm64/package.json +22 -0
- data/node_modules/lines-and-columns/LICENSE +21 -0
- data/node_modules/lines-and-columns/README.md +33 -0
- data/node_modules/lines-and-columns/build/index.d.ts +13 -0
- data/node_modules/lines-and-columns/build/index.js +62 -0
- data/node_modules/lines-and-columns/package.json +49 -0
- data/node_modules/locate-path/index.d.ts +92 -0
- data/node_modules/locate-path/index.js +77 -0
- data/node_modules/locate-path/license +9 -0
- data/node_modules/locate-path/package.json +48 -0
- data/node_modules/locate-path/readme.md +123 -0
- data/node_modules/lodash.camelcase/LICENSE +47 -0
- data/node_modules/lodash.camelcase/README.md +18 -0
- data/node_modules/lodash.camelcase/index.js +599 -0
- data/node_modules/lodash.camelcase/package.json +17 -0
- data/node_modules/lodash.isplainobject/LICENSE +47 -0
- data/node_modules/lodash.isplainobject/README.md +18 -0
- data/node_modules/lodash.isplainobject/index.js +139 -0
- data/node_modules/lodash.isplainobject/package.json +17 -0
- data/node_modules/lodash.kebabcase/LICENSE +47 -0
- data/node_modules/lodash.kebabcase/README.md +18 -0
- data/node_modules/lodash.kebabcase/index.js +435 -0
- data/node_modules/lodash.kebabcase/package.json +17 -0
- data/node_modules/lodash.merge/LICENSE +47 -0
- data/node_modules/lodash.merge/README.md +18 -0
- data/node_modules/lodash.merge/index.js +1977 -0
- data/node_modules/lodash.merge/package.json +16 -0
- data/node_modules/lodash.mergewith/LICENSE +47 -0
- data/node_modules/lodash.mergewith/README.md +18 -0
- data/node_modules/lodash.mergewith/index.js +1977 -0
- data/node_modules/lodash.mergewith/package.json +16 -0
- data/node_modules/lodash.snakecase/LICENSE +47 -0
- data/node_modules/lodash.snakecase/README.md +18 -0
- data/node_modules/lodash.snakecase/index.js +435 -0
- data/node_modules/lodash.snakecase/package.json +17 -0
- data/node_modules/lodash.startcase/LICENSE +47 -0
- data/node_modules/lodash.startcase/README.md +18 -0
- data/node_modules/lodash.startcase/index.js +580 -0
- data/node_modules/lodash.startcase/package.json +17 -0
- data/node_modules/lodash.uniq/LICENSE +47 -0
- data/node_modules/lodash.uniq/README.md +18 -0
- data/node_modules/lodash.uniq/index.js +896 -0
- data/node_modules/lodash.uniq/package.json +17 -0
- data/node_modules/lodash.upperfirst/LICENSE +47 -0
- data/node_modules/lodash.upperfirst/README.md +18 -0
- data/node_modules/lodash.upperfirst/index.js +303 -0
- data/node_modules/lodash.upperfirst/package.json +17 -0
- data/node_modules/lru-cache/LICENSE +15 -0
- data/node_modules/lru-cache/README.md +331 -0
- data/node_modules/lru-cache/dist/commonjs/index.d.ts +1277 -0
- data/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- data/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
- data/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- data/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- data/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- data/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- data/node_modules/lru-cache/dist/esm/index.d.ts +1277 -0
- data/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- data/node_modules/lru-cache/dist/esm/index.js +1542 -0
- data/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- data/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- data/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- data/node_modules/lru-cache/dist/esm/package.json +3 -0
- data/node_modules/lru-cache/package.json +116 -0
- data/node_modules/meow/build/dependencies.js +8828 -0
- data/node_modules/meow/build/index.d.ts +1425 -0
- data/node_modules/meow/build/index.js +95 -0
- data/node_modules/meow/build/licenses.md +1620 -0
- data/node_modules/meow/build/options.js +92 -0
- data/node_modules/meow/build/parser.js +84 -0
- data/node_modules/meow/build/utils.js +7 -0
- data/node_modules/meow/build/validate.js +122 -0
- data/node_modules/meow/license +9 -0
- data/node_modules/meow/package.json +105 -0
- data/node_modules/meow/readme.md +314 -0
- data/node_modules/merge-stream/LICENSE +21 -0
- data/node_modules/merge-stream/README.md +78 -0
- data/node_modules/merge-stream/index.js +41 -0
- data/node_modules/merge-stream/package.json +19 -0
- data/node_modules/mimic-fn/index.d.ts +52 -0
- data/node_modules/mimic-fn/index.js +71 -0
- data/node_modules/mimic-fn/license +9 -0
- data/node_modules/mimic-fn/package.json +45 -0
- data/node_modules/mimic-fn/readme.md +90 -0
- data/node_modules/minimist/.eslintrc +29 -0
- data/node_modules/minimist/.github/FUNDING.yml +12 -0
- data/node_modules/minimist/.nycrc +14 -0
- data/node_modules/minimist/CHANGELOG.md +298 -0
- data/node_modules/minimist/LICENSE +18 -0
- data/node_modules/minimist/README.md +121 -0
- data/node_modules/minimist/example/parse.js +4 -0
- data/node_modules/minimist/index.js +263 -0
- data/node_modules/minimist/package.json +75 -0
- data/node_modules/minimist/test/all_bool.js +34 -0
- data/node_modules/minimist/test/bool.js +177 -0
- data/node_modules/minimist/test/dash.js +43 -0
- data/node_modules/minimist/test/default_bool.js +37 -0
- data/node_modules/minimist/test/dotted.js +24 -0
- data/node_modules/minimist/test/kv_short.js +32 -0
- data/node_modules/minimist/test/long.js +33 -0
- data/node_modules/minimist/test/num.js +38 -0
- data/node_modules/minimist/test/parse.js +209 -0
- data/node_modules/minimist/test/parse_modified.js +11 -0
- data/node_modules/minimist/test/proto.js +64 -0
- data/node_modules/minimist/test/short.js +69 -0
- data/node_modules/minimist/test/stop_early.js +17 -0
- data/node_modules/minimist/test/unknown.js +104 -0
- data/node_modules/minimist/test/whitespace.js +10 -0
- data/node_modules/neo-async/LICENSE +22 -0
- data/node_modules/neo-async/README.md +273 -0
- data/node_modules/neo-async/all.js +3 -0
- data/node_modules/neo-async/allLimit.js +3 -0
- data/node_modules/neo-async/allSeries.js +3 -0
- data/node_modules/neo-async/angelFall.js +3 -0
- data/node_modules/neo-async/any.js +3 -0
- data/node_modules/neo-async/anyLimit.js +3 -0
- data/node_modules/neo-async/anySeries.js +3 -0
- data/node_modules/neo-async/apply.js +3 -0
- data/node_modules/neo-async/applyEach.js +3 -0
- data/node_modules/neo-async/applyEachSeries.js +3 -0
- data/node_modules/neo-async/async.js +9184 -0
- data/node_modules/neo-async/async.min.js +80 -0
- data/node_modules/neo-async/asyncify.js +3 -0
- data/node_modules/neo-async/auto.js +3 -0
- data/node_modules/neo-async/autoInject.js +3 -0
- data/node_modules/neo-async/cargo.js +3 -0
- data/node_modules/neo-async/compose.js +3 -0
- data/node_modules/neo-async/concat.js +3 -0
- data/node_modules/neo-async/concatLimit.js +3 -0
- data/node_modules/neo-async/concatSeries.js +3 -0
- data/node_modules/neo-async/constant.js +3 -0
- data/node_modules/neo-async/createLogger.js +3 -0
- data/node_modules/neo-async/detect.js +3 -0
- data/node_modules/neo-async/detectLimit.js +3 -0
- data/node_modules/neo-async/detectSeries.js +3 -0
- data/node_modules/neo-async/dir.js +3 -0
- data/node_modules/neo-async/doDuring.js +3 -0
- data/node_modules/neo-async/doUntil.js +3 -0
- data/node_modules/neo-async/doWhilst.js +3 -0
- data/node_modules/neo-async/during.js +3 -0
- data/node_modules/neo-async/each.js +3 -0
- data/node_modules/neo-async/eachLimit.js +3 -0
- data/node_modules/neo-async/eachOf.js +3 -0
- data/node_modules/neo-async/eachOfLimit.js +3 -0
- data/node_modules/neo-async/eachOfSeries.js +3 -0
- data/node_modules/neo-async/eachSeries.js +3 -0
- data/node_modules/neo-async/ensureAsync.js +3 -0
- data/node_modules/neo-async/every.js +3 -0
- data/node_modules/neo-async/everyLimit.js +3 -0
- data/node_modules/neo-async/everySeries.js +3 -0
- data/node_modules/neo-async/fast.js +3 -0
- data/node_modules/neo-async/filter.js +3 -0
- data/node_modules/neo-async/filterLimit.js +3 -0
- data/node_modules/neo-async/filterSeries.js +3 -0
- data/node_modules/neo-async/find.js +3 -0
- data/node_modules/neo-async/findLimit.js +3 -0
- data/node_modules/neo-async/findSeries.js +3 -0
- data/node_modules/neo-async/foldl.js +3 -0
- data/node_modules/neo-async/foldr.js +3 -0
- data/node_modules/neo-async/forEach.js +3 -0
- data/node_modules/neo-async/forEachLimit.js +3 -0
- data/node_modules/neo-async/forEachOf.js +3 -0
- data/node_modules/neo-async/forEachOfLimit.js +3 -0
- data/node_modules/neo-async/forEachOfSeries.js +3 -0
- data/node_modules/neo-async/forEachSeries.js +3 -0
- data/node_modules/neo-async/forever.js +3 -0
- data/node_modules/neo-async/groupBy.js +3 -0
- data/node_modules/neo-async/groupByLimit.js +3 -0
- data/node_modules/neo-async/groupBySeries.js +3 -0
- data/node_modules/neo-async/inject.js +3 -0
- data/node_modules/neo-async/iterator.js +3 -0
- data/node_modules/neo-async/log.js +3 -0
- data/node_modules/neo-async/map.js +3 -0
- data/node_modules/neo-async/mapLimit.js +3 -0
- data/node_modules/neo-async/mapSeries.js +3 -0
- data/node_modules/neo-async/mapValues.js +3 -0
- data/node_modules/neo-async/mapValuesLimit.js +3 -0
- data/node_modules/neo-async/mapValuesSeries.js +3 -0
- data/node_modules/neo-async/memoize.js +3 -0
- data/node_modules/neo-async/nextTick.js +3 -0
- data/node_modules/neo-async/omit.js +3 -0
- data/node_modules/neo-async/omitLimit.js +3 -0
- data/node_modules/neo-async/omitSeries.js +3 -0
- data/node_modules/neo-async/package.json +57 -0
- data/node_modules/neo-async/parallel.js +3 -0
- data/node_modules/neo-async/parallelLimit.js +3 -0
- data/node_modules/neo-async/pick.js +3 -0
- data/node_modules/neo-async/pickLimit.js +3 -0
- data/node_modules/neo-async/pickSeries.js +3 -0
- data/node_modules/neo-async/priorityQueue.js +3 -0
- data/node_modules/neo-async/queue.js +3 -0
- data/node_modules/neo-async/race.js +3 -0
- data/node_modules/neo-async/reduce.js +3 -0
- data/node_modules/neo-async/reduceRight.js +3 -0
- data/node_modules/neo-async/reflect.js +3 -0
- data/node_modules/neo-async/reflectAll.js +3 -0
- data/node_modules/neo-async/reject.js +3 -0
- data/node_modules/neo-async/rejectLimit.js +3 -0
- data/node_modules/neo-async/rejectSeries.js +3 -0
- data/node_modules/neo-async/retry.js +3 -0
- data/node_modules/neo-async/retryable.js +3 -0
- data/node_modules/neo-async/safe.js +3 -0
- data/node_modules/neo-async/select.js +3 -0
- data/node_modules/neo-async/selectLimit.js +3 -0
- data/node_modules/neo-async/selectSeries.js +3 -0
- data/node_modules/neo-async/seq.js +3 -0
- data/node_modules/neo-async/series.js +3 -0
- data/node_modules/neo-async/setImmediate.js +3 -0
- data/node_modules/neo-async/some.js +3 -0
- data/node_modules/neo-async/someLimit.js +3 -0
- data/node_modules/neo-async/someSeries.js +3 -0
- data/node_modules/neo-async/sortBy.js +3 -0
- data/node_modules/neo-async/sortByLimit.js +3 -0
- data/node_modules/neo-async/sortBySeries.js +3 -0
- data/node_modules/neo-async/timeout.js +3 -0
- data/node_modules/neo-async/times.js +3 -0
- data/node_modules/neo-async/timesLimit.js +3 -0
- data/node_modules/neo-async/timesSeries.js +3 -0
- data/node_modules/neo-async/transform.js +3 -0
- data/node_modules/neo-async/transformLimit.js +3 -0
- data/node_modules/neo-async/transformSeries.js +3 -0
- data/node_modules/neo-async/tryEach.js +3 -0
- data/node_modules/neo-async/unmemoize.js +3 -0
- data/node_modules/neo-async/until.js +3 -0
- data/node_modules/neo-async/waterfall.js +3 -0
- data/node_modules/neo-async/whilst.js +3 -0
- data/node_modules/neo-async/wrapSync.js +3 -0
- data/node_modules/normalize-package-data/LICENSE +15 -0
- data/node_modules/normalize-package-data/README.md +108 -0
- data/node_modules/normalize-package-data/lib/extract_description.js +24 -0
- data/node_modules/normalize-package-data/lib/fixer.js +475 -0
- data/node_modules/normalize-package-data/lib/make_warning.js +22 -0
- data/node_modules/normalize-package-data/lib/normalize.js +48 -0
- data/node_modules/normalize-package-data/lib/safe_format.js +11 -0
- data/node_modules/normalize-package-data/lib/typos.json +25 -0
- data/node_modules/normalize-package-data/lib/warning_messages.json +30 -0
- data/node_modules/normalize-package-data/package.json +55 -0
- data/node_modules/npm-run-path/index.d.ts +90 -0
- data/node_modules/npm-run-path/index.js +52 -0
- data/node_modules/npm-run-path/license +9 -0
- data/node_modules/npm-run-path/node_modules/path-key/index.d.ts +31 -0
- data/node_modules/npm-run-path/node_modules/path-key/index.js +12 -0
- data/node_modules/npm-run-path/node_modules/path-key/license +9 -0
- data/node_modules/npm-run-path/node_modules/path-key/package.json +41 -0
- data/node_modules/npm-run-path/node_modules/path-key/readme.md +57 -0
- data/node_modules/npm-run-path/package.json +49 -0
- data/node_modules/npm-run-path/readme.md +104 -0
- data/node_modules/onetime/index.d.ts +59 -0
- data/node_modules/onetime/index.js +41 -0
- data/node_modules/onetime/license +9 -0
- data/node_modules/onetime/package.json +45 -0
- data/node_modules/onetime/readme.md +94 -0
- data/node_modules/p-limit/index.d.ts +40 -0
- data/node_modules/p-limit/index.js +68 -0
- data/node_modules/p-limit/license +9 -0
- data/node_modules/p-limit/package.json +54 -0
- data/node_modules/p-limit/readme.md +99 -0
- data/node_modules/p-locate/index.d.ts +49 -0
- data/node_modules/p-locate/index.js +48 -0
- data/node_modules/p-locate/license +9 -0
- data/node_modules/p-locate/package.json +56 -0
- data/node_modules/p-locate/readme.md +91 -0
- data/node_modules/parent-module/index.js +37 -0
- data/node_modules/parent-module/license +9 -0
- data/node_modules/parent-module/package.json +46 -0
- data/node_modules/parent-module/readme.md +67 -0
- data/node_modules/parse-json/index.js +54 -0
- data/node_modules/parse-json/license +9 -0
- data/node_modules/parse-json/package.json +45 -0
- data/node_modules/parse-json/readme.md +119 -0
- data/node_modules/path-exists/index.d.ts +31 -0
- data/node_modules/path-exists/index.js +19 -0
- data/node_modules/path-exists/license +9 -0
- data/node_modules/path-exists/package.json +41 -0
- data/node_modules/path-exists/readme.md +52 -0
- data/node_modules/path-key/index.d.ts +40 -0
- data/node_modules/path-key/index.js +16 -0
- data/node_modules/path-key/license +9 -0
- data/node_modules/path-key/package.json +39 -0
- data/node_modules/path-key/readme.md +61 -0
- data/node_modules/picocolors/LICENSE +15 -0
- data/node_modules/picocolors/README.md +21 -0
- data/node_modules/picocolors/package.json +25 -0
- data/node_modules/picocolors/picocolors.browser.js +4 -0
- data/node_modules/picocolors/picocolors.d.ts +5 -0
- data/node_modules/picocolors/picocolors.js +65 -0
- data/node_modules/picocolors/types.ts +30 -0
- data/node_modules/read-package-up/index.d.ts +81 -0
- data/node_modules/read-package-up/index.js +27 -0
- data/node_modules/read-package-up/license +9 -0
- data/node_modules/read-package-up/package.json +69 -0
- data/node_modules/read-package-up/readme.md +68 -0
- data/node_modules/read-pkg/index.d.ts +68 -0
- data/node_modules/read-pkg/index.js +43 -0
- data/node_modules/read-pkg/license +9 -0
- data/node_modules/read-pkg/node_modules/parse-json/index.d.ts +126 -0
- data/node_modules/read-pkg/node_modules/parse-json/index.js +96 -0
- data/node_modules/read-pkg/node_modules/parse-json/license +9 -0
- data/node_modules/read-pkg/node_modules/parse-json/package.json +53 -0
- data/node_modules/read-pkg/node_modules/parse-json/readme.md +113 -0
- data/node_modules/read-pkg/package.json +52 -0
- data/node_modules/read-pkg/readme.md +81 -0
- data/node_modules/require-directory/.jshintrc +67 -0
- data/node_modules/require-directory/.npmignore +1 -0
- data/node_modules/require-directory/.travis.yml +3 -0
- data/node_modules/require-directory/LICENSE +22 -0
- data/node_modules/require-directory/README.markdown +184 -0
- data/node_modules/require-directory/index.js +86 -0
- data/node_modules/require-directory/package.json +40 -0
- data/node_modules/require-from-string/index.js +34 -0
- data/node_modules/require-from-string/license +21 -0
- data/node_modules/require-from-string/package.json +28 -0
- data/node_modules/require-from-string/readme.md +56 -0
- data/node_modules/resolve-from/index.d.ts +31 -0
- data/node_modules/resolve-from/index.js +47 -0
- data/node_modules/resolve-from/license +9 -0
- data/node_modules/resolve-from/package.json +36 -0
- data/node_modules/resolve-from/readme.md +72 -0
- data/node_modules/semver/LICENSE +15 -0
- data/node_modules/semver/README.md +654 -0
- data/node_modules/semver/bin/semver.js +188 -0
- data/node_modules/semver/classes/comparator.js +141 -0
- data/node_modules/semver/classes/index.js +5 -0
- data/node_modules/semver/classes/range.js +554 -0
- data/node_modules/semver/classes/semver.js +302 -0
- data/node_modules/semver/functions/clean.js +6 -0
- data/node_modules/semver/functions/cmp.js +52 -0
- data/node_modules/semver/functions/coerce.js +60 -0
- data/node_modules/semver/functions/compare-build.js +7 -0
- data/node_modules/semver/functions/compare-loose.js +3 -0
- data/node_modules/semver/functions/compare.js +5 -0
- data/node_modules/semver/functions/diff.js +65 -0
- data/node_modules/semver/functions/eq.js +3 -0
- data/node_modules/semver/functions/gt.js +3 -0
- data/node_modules/semver/functions/gte.js +3 -0
- data/node_modules/semver/functions/inc.js +19 -0
- data/node_modules/semver/functions/lt.js +3 -0
- data/node_modules/semver/functions/lte.js +3 -0
- data/node_modules/semver/functions/major.js +3 -0
- data/node_modules/semver/functions/minor.js +3 -0
- data/node_modules/semver/functions/neq.js +3 -0
- data/node_modules/semver/functions/parse.js +16 -0
- data/node_modules/semver/functions/patch.js +3 -0
- data/node_modules/semver/functions/prerelease.js +6 -0
- data/node_modules/semver/functions/rcompare.js +3 -0
- data/node_modules/semver/functions/rsort.js +3 -0
- data/node_modules/semver/functions/satisfies.js +10 -0
- data/node_modules/semver/functions/sort.js +3 -0
- data/node_modules/semver/functions/valid.js +6 -0
- data/node_modules/semver/index.js +89 -0
- data/node_modules/semver/internal/constants.js +35 -0
- data/node_modules/semver/internal/debug.js +9 -0
- data/node_modules/semver/internal/identifiers.js +23 -0
- data/node_modules/semver/internal/lrucache.js +40 -0
- data/node_modules/semver/internal/parse-options.js +15 -0
- data/node_modules/semver/internal/re.js +217 -0
- data/node_modules/semver/package.json +77 -0
- data/node_modules/semver/preload.js +2 -0
- data/node_modules/semver/range.bnf +16 -0
- data/node_modules/semver/ranges/gtr.js +4 -0
- data/node_modules/semver/ranges/intersects.js +7 -0
- data/node_modules/semver/ranges/ltr.js +4 -0
- data/node_modules/semver/ranges/max-satisfying.js +25 -0
- data/node_modules/semver/ranges/min-satisfying.js +24 -0
- data/node_modules/semver/ranges/min-version.js +61 -0
- data/node_modules/semver/ranges/outside.js +80 -0
- data/node_modules/semver/ranges/simplify.js +47 -0
- data/node_modules/semver/ranges/subset.js +247 -0
- data/node_modules/semver/ranges/to-comparators.js +8 -0
- data/node_modules/semver/ranges/valid.js +11 -0
- data/node_modules/shebang-command/index.js +19 -0
- data/node_modules/shebang-command/license +9 -0
- data/node_modules/shebang-command/package.json +34 -0
- data/node_modules/shebang-command/readme.md +34 -0
- data/node_modules/shebang-regex/index.d.ts +22 -0
- data/node_modules/shebang-regex/index.js +2 -0
- data/node_modules/shebang-regex/license +9 -0
- data/node_modules/shebang-regex/package.json +35 -0
- data/node_modules/shebang-regex/readme.md +33 -0
- data/node_modules/signal-exit/LICENSE.txt +16 -0
- data/node_modules/signal-exit/README.md +74 -0
- data/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- data/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- data/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- data/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- data/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/cjs/index.js +279 -0
- data/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- data/node_modules/signal-exit/dist/cjs/package.json +3 -0
- data/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- data/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- data/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- data/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- data/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- data/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- data/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- data/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/mjs/index.js +275 -0
- data/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- data/node_modules/signal-exit/dist/mjs/package.json +3 -0
- data/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- data/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- data/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- data/node_modules/signal-exit/package.json +106 -0
- data/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/source-map/LICENSE +28 -0
- data/node_modules/source-map/README.md +742 -0
- data/node_modules/source-map/dist/source-map.debug.js +3234 -0
- data/node_modules/source-map/dist/source-map.js +3233 -0
- data/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/source-map/lib/array-set.js +121 -0
- data/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- data/node_modules/source-map/lib/source-map-generator.js +425 -0
- data/node_modules/source-map/lib/source-node.js +413 -0
- data/node_modules/source-map/lib/util.js +488 -0
- data/node_modules/source-map/package.json +73 -0
- data/node_modules/source-map/source-map.d.ts +98 -0
- data/node_modules/source-map/source-map.js +8 -0
- data/node_modules/spdx-correct/LICENSE +202 -0
- data/node_modules/spdx-correct/README.md +22 -0
- data/node_modules/spdx-correct/index.js +386 -0
- data/node_modules/spdx-correct/package.json +32 -0
- data/node_modules/spdx-exceptions/README.md +36 -0
- data/node_modules/spdx-exceptions/deprecated.json +3 -0
- data/node_modules/spdx-exceptions/index.json +68 -0
- data/node_modules/spdx-exceptions/package.json +19 -0
- data/node_modules/spdx-expression-parse/AUTHORS +4 -0
- data/node_modules/spdx-expression-parse/LICENSE +22 -0
- data/node_modules/spdx-expression-parse/README.md +91 -0
- data/node_modules/spdx-expression-parse/index.js +8 -0
- data/node_modules/spdx-expression-parse/package.json +39 -0
- data/node_modules/spdx-expression-parse/parse.js +138 -0
- data/node_modules/spdx-expression-parse/scan.js +131 -0
- data/node_modules/spdx-license-ids/README.md +52 -0
- data/node_modules/spdx-license-ids/deprecated.json +28 -0
- data/node_modules/spdx-license-ids/index.json +636 -0
- data/node_modules/spdx-license-ids/package.json +39 -0
- data/node_modules/split2/LICENSE +13 -0
- data/node_modules/split2/README.md +85 -0
- data/node_modules/split2/bench.js +27 -0
- data/node_modules/split2/index.js +141 -0
- data/node_modules/split2/package.json +39 -0
- data/node_modules/split2/test.js +409 -0
- data/node_modules/string-width/index.d.ts +29 -0
- data/node_modules/string-width/index.js +47 -0
- data/node_modules/string-width/license +9 -0
- data/node_modules/string-width/package.json +56 -0
- data/node_modules/string-width/readme.md +50 -0
- data/node_modules/strip-ansi/index.d.ts +17 -0
- data/node_modules/strip-ansi/index.js +4 -0
- data/node_modules/strip-ansi/license +9 -0
- data/node_modules/strip-ansi/package.json +54 -0
- data/node_modules/strip-ansi/readme.md +46 -0
- data/node_modules/strip-final-newline/index.js +14 -0
- data/node_modules/strip-final-newline/license +9 -0
- data/node_modules/strip-final-newline/package.json +43 -0
- data/node_modules/strip-final-newline/readme.md +35 -0
- data/node_modules/supports-color/browser.js +5 -0
- data/node_modules/supports-color/index.js +131 -0
- data/node_modules/supports-color/license +9 -0
- data/node_modules/supports-color/package.json +53 -0
- data/node_modules/supports-color/readme.md +66 -0
- data/node_modules/temp-dir/index.d.ts +22 -0
- data/node_modules/temp-dir/index.js +6 -0
- data/node_modules/temp-dir/license +9 -0
- data/node_modules/temp-dir/package.json +49 -0
- data/node_modules/temp-dir/readme.md +27 -0
- data/node_modules/tempfile/index.d.ts +30 -0
- data/node_modules/tempfile/index.js +18 -0
- data/node_modules/tempfile/license +9 -0
- data/node_modules/tempfile/package.json +45 -0
- data/node_modules/tempfile/readme.md +49 -0
- data/node_modules/text-extensions/index.d.ts +14 -0
- data/node_modules/text-extensions/index.js +3 -0
- data/node_modules/text-extensions/license +9 -0
- data/node_modules/text-extensions/package.json +40 -0
- data/node_modules/text-extensions/readme.md +37 -0
- data/node_modules/text-extensions/text-extensions.json +328 -0
- data/node_modules/text-extensions/text-extensions.json.d.ts +3 -0
- data/node_modules/through/.travis.yml +5 -0
- data/node_modules/through/LICENSE.APACHE2 +15 -0
- data/node_modules/through/LICENSE.MIT +24 -0
- data/node_modules/through/index.js +108 -0
- data/node_modules/through/package.json +36 -0
- data/node_modules/through/readme.markdown +64 -0
- data/node_modules/through/test/async.js +28 -0
- data/node_modules/through/test/auto-destroy.js +30 -0
- data/node_modules/through/test/buffering.js +71 -0
- data/node_modules/through/test/end.js +45 -0
- data/node_modules/through/test/index.js +133 -0
- data/node_modules/type-fest/index.d.ts +166 -0
- data/node_modules/type-fest/package.json +72 -0
- data/node_modules/type-fest/readme.md +1005 -0
- data/node_modules/type-fest/source/and.d.ts +25 -0
- data/node_modules/type-fest/source/array-indices.d.ts +23 -0
- data/node_modules/type-fest/source/array-slice.d.ts +107 -0
- data/node_modules/type-fest/source/array-splice.d.ts +97 -0
- data/node_modules/type-fest/source/array-tail.d.ts +25 -0
- data/node_modules/type-fest/source/array-values.d.ts +22 -0
- data/node_modules/type-fest/source/arrayable.d.ts +26 -0
- data/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- data/node_modules/type-fest/source/asyncify.d.ts +32 -0
- data/node_modules/type-fest/source/basic.d.ts +68 -0
- data/node_modules/type-fest/source/camel-case.d.ts +80 -0
- data/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +88 -0
- data/node_modules/type-fest/source/camel-cased-properties.d.ts +36 -0
- data/node_modules/type-fest/source/conditional-except.d.ts +45 -0
- data/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
- data/node_modules/type-fest/source/conditional-pick-deep.d.ts +104 -0
- data/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
- data/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
- data/node_modules/type-fest/source/delimiter-case.d.ts +99 -0
- data/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +84 -0
- data/node_modules/type-fest/source/delimiter-cased-properties.d.ts +37 -0
- data/node_modules/type-fest/source/distributed-omit.d.ts +89 -0
- data/node_modules/type-fest/source/distributed-pick.d.ts +85 -0
- data/node_modules/type-fest/source/empty-object.d.ts +46 -0
- data/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
- data/node_modules/type-fest/source/entries.d.ts +62 -0
- data/node_modules/type-fest/source/entry.d.ts +65 -0
- data/node_modules/type-fest/source/exact.d.ts +67 -0
- data/node_modules/type-fest/source/except.d.ts +80 -0
- data/node_modules/type-fest/source/find-global-type.d.ts +64 -0
- data/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
- data/node_modules/type-fest/source/get.d.ts +191 -0
- data/node_modules/type-fest/source/global-this.d.ts +21 -0
- data/node_modules/type-fest/source/greater-than-or-equal.d.ts +22 -0
- data/node_modules/type-fest/source/greater-than.d.ts +51 -0
- data/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
- data/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
- data/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
- data/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
- data/node_modules/type-fest/source/if-any.d.ts +24 -0
- data/node_modules/type-fest/source/if-empty-object.d.ts +26 -0
- data/node_modules/type-fest/source/if-never.d.ts +24 -0
- data/node_modules/type-fest/source/if-null.d.ts +24 -0
- data/node_modules/type-fest/source/if-unknown.d.ts +24 -0
- data/node_modules/type-fest/source/includes.d.ts +22 -0
- data/node_modules/type-fest/source/int-range.d.ts +53 -0
- data/node_modules/type-fest/source/internal/array.d.ts +93 -0
- data/node_modules/type-fest/source/internal/characters.d.ts +33 -0
- data/node_modules/type-fest/source/internal/index.d.ts +8 -0
- data/node_modules/type-fest/source/internal/keys.d.ts +97 -0
- data/node_modules/type-fest/source/internal/numeric.d.ts +91 -0
- data/node_modules/type-fest/source/internal/object.d.ts +82 -0
- data/node_modules/type-fest/source/internal/string.d.ts +210 -0
- data/node_modules/type-fest/source/internal/tuple.d.ts +88 -0
- data/node_modules/type-fest/source/internal/type.d.ts +113 -0
- data/node_modules/type-fest/source/invariant-of.d.ts +76 -0
- data/node_modules/type-fest/source/is-any.d.ts +29 -0
- data/node_modules/type-fest/source/is-equal.d.ts +31 -0
- data/node_modules/type-fest/source/is-float.d.ts +33 -0
- data/node_modules/type-fest/source/is-integer.d.ts +48 -0
- data/node_modules/type-fest/source/is-literal.d.ts +258 -0
- data/node_modules/type-fest/source/is-never.d.ts +42 -0
- data/node_modules/type-fest/source/is-null.d.ts +20 -0
- data/node_modules/type-fest/source/is-unknown.d.ts +52 -0
- data/node_modules/type-fest/source/iterable-element.d.ts +64 -0
- data/node_modules/type-fest/source/join.d.ts +68 -0
- data/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- data/node_modules/type-fest/source/jsonify.d.ts +122 -0
- data/node_modules/type-fest/source/kebab-case.d.ts +38 -0
- data/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +47 -0
- data/node_modules/type-fest/source/kebab-cased-properties.d.ts +30 -0
- data/node_modules/type-fest/source/keys-of-union.d.ts +40 -0
- data/node_modules/type-fest/source/last-array-element.d.ts +38 -0
- data/node_modules/type-fest/source/less-than-or-equal.d.ts +22 -0
- data/node_modules/type-fest/source/less-than.d.ts +22 -0
- data/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
- data/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
- data/node_modules/type-fest/source/literal-union.d.ts +35 -0
- data/node_modules/type-fest/source/merge-deep.d.ts +486 -0
- data/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
- data/node_modules/type-fest/source/merge.d.ts +48 -0
- data/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
- data/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
- data/node_modules/type-fest/source/non-empty-object.d.ts +35 -0
- data/node_modules/type-fest/source/non-empty-tuple.d.ts +21 -0
- data/node_modules/type-fest/source/numeric.d.ts +222 -0
- data/node_modules/type-fest/source/observable-like.d.ts +63 -0
- data/node_modules/type-fest/source/omit-deep.d.ts +159 -0
- data/node_modules/type-fest/source/omit-index-signature.d.ts +107 -0
- data/node_modules/type-fest/source/opaque.d.ts +252 -0
- data/node_modules/type-fest/source/optional-keys-of.d.ts +38 -0
- data/node_modules/type-fest/source/or.d.ts +25 -0
- data/node_modules/type-fest/source/override-properties.d.ts +36 -0
- data/node_modules/type-fest/source/package-json.d.ts +676 -0
- data/node_modules/type-fest/source/partial-deep.d.ts +109 -0
- data/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +71 -0
- data/node_modules/type-fest/source/pascal-case.d.ts +38 -0
- data/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +55 -0
- data/node_modules/type-fest/source/pascal-cased-properties.d.ts +35 -0
- data/node_modules/type-fest/source/paths.d.ts +170 -0
- data/node_modules/type-fest/source/pick-deep.d.ts +149 -0
- data/node_modules/type-fest/source/pick-index-signature.d.ts +102 -0
- data/node_modules/type-fest/source/primitive.d.ts +13 -0
- data/node_modules/type-fest/source/promisable.d.ts +25 -0
- data/node_modules/type-fest/source/readonly-deep.d.ts +81 -0
- data/node_modules/type-fest/source/readonly-keys-of.d.ts +29 -0
- data/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
- data/node_modules/type-fest/source/replace.d.ts +67 -0
- data/node_modules/type-fest/source/require-all-or-none.d.ts +42 -0
- data/node_modules/type-fest/source/require-at-least-one.d.ts +34 -0
- data/node_modules/type-fest/source/require-exactly-one.d.ts +34 -0
- data/node_modules/type-fest/source/require-one-or-none.d.ts +37 -0
- data/node_modules/type-fest/source/required-deep.d.ts +78 -0
- data/node_modules/type-fest/source/required-keys-of.d.ts +29 -0
- data/node_modules/type-fest/source/schema.d.ts +71 -0
- data/node_modules/type-fest/source/screaming-snake-case.d.ts +33 -0
- data/node_modules/type-fest/source/set-field-type.d.ts +37 -0
- data/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
- data/node_modules/type-fest/source/set-optional.d.ts +35 -0
- data/node_modules/type-fest/source/set-parameter-type.d.ts +117 -0
- data/node_modules/type-fest/source/set-readonly.d.ts +38 -0
- data/node_modules/type-fest/source/set-required.d.ts +40 -0
- data/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- data/node_modules/type-fest/source/shared-union-fields-deep.d.ts +168 -0
- data/node_modules/type-fest/source/simplify-deep.d.ts +115 -0
- data/node_modules/type-fest/source/simplify.d.ts +58 -0
- data/node_modules/type-fest/source/single-key-object.d.ts +29 -0
- data/node_modules/type-fest/source/snake-case.d.ts +38 -0
- data/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +47 -0
- data/node_modules/type-fest/source/snake-cased-properties.d.ts +30 -0
- data/node_modules/type-fest/source/split-words.d.ts +57 -0
- data/node_modules/type-fest/source/split.d.ts +29 -0
- data/node_modules/type-fest/source/spread.d.ts +84 -0
- data/node_modules/type-fest/source/string-key-of.d.ts +25 -0
- data/node_modules/type-fest/source/string-repeat.d.ts +43 -0
- data/node_modules/type-fest/source/string-slice.d.ts +37 -0
- data/node_modules/type-fest/source/stringified.d.ts +23 -0
- data/node_modules/type-fest/source/structured-cloneable.d.ts +92 -0
- data/node_modules/type-fest/source/subtract.d.ts +70 -0
- data/node_modules/type-fest/source/sum.d.ts +70 -0
- data/node_modules/type-fest/source/tagged-union.d.ts +51 -0
- data/node_modules/type-fest/source/trim.d.ts +27 -0
- data/node_modules/type-fest/source/tsconfig-json.d.ts +1198 -0
- data/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
- data/node_modules/type-fest/source/typed-array.d.ts +17 -0
- data/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +80 -0
- data/node_modules/type-fest/source/union-to-intersection.d.ts +61 -0
- data/node_modules/type-fest/source/unknown-array.d.ts +25 -0
- data/node_modules/type-fest/source/unknown-record.d.ts +31 -0
- data/node_modules/type-fest/source/value-of.d.ts +42 -0
- data/node_modules/type-fest/source/writable-deep.d.ts +83 -0
- data/node_modules/type-fest/source/writable-keys-of.d.ts +30 -0
- data/node_modules/type-fest/source/writable.d.ts +68 -0
- data/node_modules/uglify-js/LICENSE +29 -0
- data/node_modules/uglify-js/README.md +1479 -0
- data/node_modules/uglify-js/bin/uglifyjs +624 -0
- data/node_modules/uglify-js/lib/ast.js +2357 -0
- data/node_modules/uglify-js/lib/compress.js +14640 -0
- data/node_modules/uglify-js/lib/minify.js +278 -0
- data/node_modules/uglify-js/lib/mozilla-ast.js +1338 -0
- data/node_modules/uglify-js/lib/output.js +1983 -0
- data/node_modules/uglify-js/lib/parse.js +2589 -0
- data/node_modules/uglify-js/lib/propmangle.js +328 -0
- data/node_modules/uglify-js/lib/scope.js +883 -0
- data/node_modules/uglify-js/lib/sourcemap.js +195 -0
- data/node_modules/uglify-js/lib/transform.js +250 -0
- data/node_modules/uglify-js/lib/utils.js +300 -0
- data/node_modules/uglify-js/package.json +56 -0
- data/node_modules/uglify-js/tools/domprops.html +456 -0
- data/node_modules/uglify-js/tools/domprops.json +8327 -0
- data/node_modules/uglify-js/tools/exports.js +8 -0
- data/node_modules/uglify-js/tools/node.js +115 -0
- data/node_modules/uglify-js/tools/tty.js +22 -0
- data/node_modules/undici-types/LICENSE +21 -0
- data/node_modules/undici-types/README.md +6 -0
- data/node_modules/undici-types/agent.d.ts +31 -0
- data/node_modules/undici-types/api.d.ts +43 -0
- data/node_modules/undici-types/balanced-pool.d.ts +29 -0
- data/node_modules/undici-types/cache.d.ts +36 -0
- data/node_modules/undici-types/client.d.ts +108 -0
- data/node_modules/undici-types/connector.d.ts +34 -0
- data/node_modules/undici-types/content-type.d.ts +21 -0
- data/node_modules/undici-types/cookies.d.ts +28 -0
- data/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- data/node_modules/undici-types/dispatcher.d.ts +255 -0
- data/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- data/node_modules/undici-types/errors.d.ts +149 -0
- data/node_modules/undici-types/eventsource.d.ts +63 -0
- data/node_modules/undici-types/fetch.d.ts +209 -0
- data/node_modules/undici-types/file.d.ts +39 -0
- data/node_modules/undici-types/filereader.d.ts +54 -0
- data/node_modules/undici-types/formdata.d.ts +108 -0
- data/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- data/node_modules/undici-types/global-origin.d.ts +7 -0
- data/node_modules/undici-types/handlers.d.ts +15 -0
- data/node_modules/undici-types/header.d.ts +4 -0
- data/node_modules/undici-types/index.d.ts +71 -0
- data/node_modules/undici-types/interceptors.d.ts +15 -0
- data/node_modules/undici-types/mock-agent.d.ts +50 -0
- data/node_modules/undici-types/mock-client.d.ts +25 -0
- data/node_modules/undici-types/mock-errors.d.ts +12 -0
- data/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- data/node_modules/undici-types/mock-pool.d.ts +25 -0
- data/node_modules/undici-types/package.json +55 -0
- data/node_modules/undici-types/patch.d.ts +71 -0
- data/node_modules/undici-types/pool-stats.d.ts +19 -0
- data/node_modules/undici-types/pool.d.ts +39 -0
- data/node_modules/undici-types/proxy-agent.d.ts +28 -0
- data/node_modules/undici-types/readable.d.ts +60 -0
- data/node_modules/undici-types/retry-agent.d.ts +8 -0
- data/node_modules/undici-types/retry-handler.d.ts +116 -0
- data/node_modules/undici-types/util.d.ts +18 -0
- data/node_modules/undici-types/webidl.d.ts +222 -0
- data/node_modules/undici-types/websocket.d.ts +152 -0
- data/node_modules/unicorn-magic/default.js +14 -0
- data/node_modules/unicorn-magic/index.d.ts +29 -0
- data/node_modules/unicorn-magic/license +9 -0
- data/node_modules/unicorn-magic/node.js +7 -0
- data/node_modules/unicorn-magic/package.json +49 -0
- data/node_modules/unicorn-magic/readme.md +25 -0
- data/node_modules/validate-npm-package-license/LICENSE +202 -0
- data/node_modules/validate-npm-package-license/README.md +113 -0
- data/node_modules/validate-npm-package-license/index.js +86 -0
- data/node_modules/validate-npm-package-license/package.json +28 -0
- data/node_modules/which/CHANGELOG.md +166 -0
- data/node_modules/which/LICENSE +15 -0
- data/node_modules/which/README.md +54 -0
- data/node_modules/which/bin/node-which +52 -0
- data/node_modules/which/package.json +43 -0
- data/node_modules/which/which.js +125 -0
- data/node_modules/wordwrap/LICENSE +18 -0
- data/node_modules/wordwrap/README.markdown +70 -0
- data/node_modules/wordwrap/example/center.js +10 -0
- data/node_modules/wordwrap/example/meat.js +3 -0
- data/node_modules/wordwrap/index.js +76 -0
- data/node_modules/wordwrap/package.json +34 -0
- data/node_modules/wordwrap/test/break.js +32 -0
- data/node_modules/wordwrap/test/idleness.txt +63 -0
- data/node_modules/wordwrap/test/wrap.js +33 -0
- data/node_modules/wrap-ansi/index.js +216 -0
- data/node_modules/wrap-ansi/license +9 -0
- data/node_modules/wrap-ansi/package.json +62 -0
- data/node_modules/wrap-ansi/readme.md +91 -0
- data/node_modules/y18n/CHANGELOG.md +100 -0
- data/node_modules/y18n/LICENSE +13 -0
- data/node_modules/y18n/README.md +127 -0
- data/node_modules/y18n/build/index.cjs +203 -0
- data/node_modules/y18n/build/lib/cjs.js +6 -0
- data/node_modules/y18n/build/lib/index.js +174 -0
- data/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
- data/node_modules/y18n/index.mjs +8 -0
- data/node_modules/y18n/package.json +70 -0
- data/node_modules/yargs/LICENSE +21 -0
- data/node_modules/yargs/README.md +204 -0
- data/node_modules/yargs/browser.d.ts +5 -0
- data/node_modules/yargs/browser.mjs +7 -0
- data/node_modules/yargs/build/index.cjs +1 -0
- data/node_modules/yargs/build/lib/argsert.js +62 -0
- data/node_modules/yargs/build/lib/command.js +449 -0
- data/node_modules/yargs/build/lib/completion-templates.js +48 -0
- data/node_modules/yargs/build/lib/completion.js +243 -0
- data/node_modules/yargs/build/lib/middleware.js +88 -0
- data/node_modules/yargs/build/lib/parse-command.js +32 -0
- data/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- data/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- data/node_modules/yargs/build/lib/usage.js +584 -0
- data/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- data/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- data/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
- data/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- data/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- data/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- data/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- data/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- data/node_modules/yargs/build/lib/validation.js +305 -0
- data/node_modules/yargs/build/lib/yargs-factory.js +1512 -0
- data/node_modules/yargs/build/lib/yerror.js +9 -0
- data/node_modules/yargs/helpers/helpers.mjs +10 -0
- data/node_modules/yargs/helpers/index.js +14 -0
- data/node_modules/yargs/helpers/package.json +3 -0
- data/node_modules/yargs/index.cjs +53 -0
- data/node_modules/yargs/index.mjs +8 -0
- data/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
- data/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
- data/node_modules/yargs/locales/be.json +46 -0
- data/node_modules/yargs/locales/cs.json +51 -0
- data/node_modules/yargs/locales/de.json +46 -0
- data/node_modules/yargs/locales/en.json +55 -0
- data/node_modules/yargs/locales/es.json +46 -0
- data/node_modules/yargs/locales/fi.json +49 -0
- data/node_modules/yargs/locales/fr.json +53 -0
- data/node_modules/yargs/locales/hi.json +49 -0
- data/node_modules/yargs/locales/hu.json +46 -0
- data/node_modules/yargs/locales/id.json +50 -0
- data/node_modules/yargs/locales/it.json +46 -0
- data/node_modules/yargs/locales/ja.json +51 -0
- data/node_modules/yargs/locales/ko.json +49 -0
- data/node_modules/yargs/locales/nb.json +44 -0
- data/node_modules/yargs/locales/nl.json +49 -0
- data/node_modules/yargs/locales/nn.json +44 -0
- data/node_modules/yargs/locales/pirate.json +13 -0
- data/node_modules/yargs/locales/pl.json +49 -0
- data/node_modules/yargs/locales/pt.json +45 -0
- data/node_modules/yargs/locales/pt_BR.json +48 -0
- data/node_modules/yargs/locales/ru.json +51 -0
- data/node_modules/yargs/locales/th.json +46 -0
- data/node_modules/yargs/locales/tr.json +48 -0
- data/node_modules/yargs/locales/uk_UA.json +51 -0
- data/node_modules/yargs/locales/uz.json +52 -0
- data/node_modules/yargs/locales/zh_CN.json +48 -0
- data/node_modules/yargs/locales/zh_TW.json +51 -0
- data/node_modules/yargs/package.json +123 -0
- data/node_modules/yargs/yargs +9 -0
- data/node_modules/yargs/yargs.mjs +10 -0
- data/node_modules/yargs-parser/CHANGELOG.md +308 -0
- data/node_modules/yargs-parser/LICENSE.txt +14 -0
- data/node_modules/yargs-parser/README.md +518 -0
- data/node_modules/yargs-parser/browser.js +29 -0
- data/node_modules/yargs-parser/build/index.cjs +1050 -0
- data/node_modules/yargs-parser/build/lib/index.js +62 -0
- data/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- data/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- data/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- data/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
- data/node_modules/yargs-parser/package.json +92 -0
- data/node_modules/yocto-queue/index.d.ts +61 -0
- data/node_modules/yocto-queue/index.js +78 -0
- data/node_modules/yocto-queue/license +9 -0
- data/node_modules/yocto-queue/package.json +48 -0
- data/node_modules/yocto-queue/readme.md +70 -0
- data/package-lock.json +2137 -0
- data/package.json +18 -0
- data/pkg/pcp-server-ruby-sdk-0.0.6.gem +0 -0
- data/pkg/pcp-server-ruby-sdk-0.1.0.gem +0 -0
- data/scripts.sh +125 -0
- data/sonar-project.properties +10 -0
- data/spec/communicator_configuration_spec.rb +23 -0
- data/spec/errors/api_error_response_exception_spec.rb +34 -0
- data/spec/errors/api_exception_spec.rb +36 -0
- data/spec/errors/api_response_retrieval_exception_spec.rb +31 -0
- data/spec/queries/get_checkouts_query_spec.rb +184 -0
- data/spec/queries/get_commerce_cases_query_spec.rb +104 -0
- data/spec/request_header_generator_spec.rb +98 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/utils/server_meta_info_spec.rb +47 -0
- metadata +3249 -0
@@ -0,0 +1,2589 @@
|
|
1
|
+
/***********************************************************************
|
2
|
+
|
3
|
+
A JavaScript tokenizer / parser / beautifier / compressor.
|
4
|
+
https://github.com/mishoo/UglifyJS
|
5
|
+
|
6
|
+
-------------------------------- (C) ---------------------------------
|
7
|
+
|
8
|
+
Author: Mihai Bazon
|
9
|
+
<mihai.bazon@gmail.com>
|
10
|
+
http://mihai.bazon.net/blog
|
11
|
+
|
12
|
+
Distributed under the BSD license:
|
13
|
+
|
14
|
+
Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>
|
15
|
+
Parser based on parse-js (http://marijn.haverbeke.nl/parse-js/).
|
16
|
+
|
17
|
+
Redistribution and use in source and binary forms, with or without
|
18
|
+
modification, are permitted provided that the following conditions
|
19
|
+
are met:
|
20
|
+
|
21
|
+
* Redistributions of source code must retain the above
|
22
|
+
copyright notice, this list of conditions and the following
|
23
|
+
disclaimer.
|
24
|
+
|
25
|
+
* Redistributions in binary form must reproduce the above
|
26
|
+
copyright notice, this list of conditions and the following
|
27
|
+
disclaimer in the documentation and/or other materials
|
28
|
+
provided with the distribution.
|
29
|
+
|
30
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
|
31
|
+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
32
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
33
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE
|
34
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
35
|
+
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
36
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
37
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
38
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
39
|
+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
40
|
+
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
41
|
+
SUCH DAMAGE.
|
42
|
+
|
43
|
+
***********************************************************************/
|
44
|
+
|
45
|
+
"use strict";
|
46
|
+
|
47
|
+
var KEYWORDS = "break case catch class const continue debugger default delete do else extends finally for function if in instanceof new return switch throw try typeof var void while with";
|
48
|
+
var KEYWORDS_ATOM = "false null true";
|
49
|
+
var RESERVED_WORDS = [
|
50
|
+
"abstract async await boolean byte char double enum export final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield",
|
51
|
+
KEYWORDS_ATOM,
|
52
|
+
KEYWORDS,
|
53
|
+
].join(" ");
|
54
|
+
var KEYWORDS_BEFORE_EXPRESSION = "return new delete throw else case";
|
55
|
+
|
56
|
+
KEYWORDS = makePredicate(KEYWORDS);
|
57
|
+
RESERVED_WORDS = makePredicate(RESERVED_WORDS);
|
58
|
+
KEYWORDS_BEFORE_EXPRESSION = makePredicate(KEYWORDS_BEFORE_EXPRESSION);
|
59
|
+
KEYWORDS_ATOM = makePredicate(KEYWORDS_ATOM);
|
60
|
+
|
61
|
+
var RE_BIN_NUMBER = /^0b([01]+)$/i;
|
62
|
+
var RE_HEX_NUMBER = /^0x([0-9a-f]+)$/i;
|
63
|
+
var RE_OCT_NUMBER = /^0o?([0-7]+)$/i;
|
64
|
+
|
65
|
+
var OPERATORS = makePredicate([
|
66
|
+
"in",
|
67
|
+
"instanceof",
|
68
|
+
"typeof",
|
69
|
+
"new",
|
70
|
+
"void",
|
71
|
+
"delete",
|
72
|
+
"++",
|
73
|
+
"--",
|
74
|
+
"+",
|
75
|
+
"-",
|
76
|
+
"!",
|
77
|
+
"~",
|
78
|
+
"&",
|
79
|
+
"|",
|
80
|
+
"^",
|
81
|
+
"*",
|
82
|
+
"/",
|
83
|
+
"%",
|
84
|
+
"**",
|
85
|
+
">>",
|
86
|
+
"<<",
|
87
|
+
">>>",
|
88
|
+
"<",
|
89
|
+
">",
|
90
|
+
"<=",
|
91
|
+
">=",
|
92
|
+
"==",
|
93
|
+
"===",
|
94
|
+
"!=",
|
95
|
+
"!==",
|
96
|
+
"?",
|
97
|
+
"=",
|
98
|
+
"+=",
|
99
|
+
"-=",
|
100
|
+
"/=",
|
101
|
+
"*=",
|
102
|
+
"%=",
|
103
|
+
"**=",
|
104
|
+
">>=",
|
105
|
+
"<<=",
|
106
|
+
">>>=",
|
107
|
+
"&=",
|
108
|
+
"|=",
|
109
|
+
"^=",
|
110
|
+
"&&",
|
111
|
+
"||",
|
112
|
+
"??",
|
113
|
+
"&&=",
|
114
|
+
"||=",
|
115
|
+
"??=",
|
116
|
+
]);
|
117
|
+
|
118
|
+
var NEWLINE_CHARS = "\n\r\u2028\u2029";
|
119
|
+
var OPERATOR_CHARS = "+-*&%=<>!?|~^";
|
120
|
+
var PUNC_OPENERS = "[{(";
|
121
|
+
var PUNC_SEPARATORS = ",;:";
|
122
|
+
var PUNC_CLOSERS = ")}]";
|
123
|
+
var PUNC_AFTER_EXPRESSION = PUNC_SEPARATORS + PUNC_CLOSERS;
|
124
|
+
var PUNC_BEFORE_EXPRESSION = PUNC_OPENERS + PUNC_SEPARATORS;
|
125
|
+
var PUNC_CHARS = PUNC_BEFORE_EXPRESSION + "`" + PUNC_CLOSERS;
|
126
|
+
var WHITESPACE_CHARS = NEWLINE_CHARS + " \u00a0\t\f\u000b\u200b\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\uFEFF";
|
127
|
+
var NON_IDENTIFIER_CHARS = makePredicate(characters("./'\"#" + OPERATOR_CHARS + PUNC_CHARS + WHITESPACE_CHARS));
|
128
|
+
|
129
|
+
NEWLINE_CHARS = makePredicate(characters(NEWLINE_CHARS));
|
130
|
+
OPERATOR_CHARS = makePredicate(characters(OPERATOR_CHARS));
|
131
|
+
PUNC_AFTER_EXPRESSION = makePredicate(characters(PUNC_AFTER_EXPRESSION));
|
132
|
+
PUNC_BEFORE_EXPRESSION = makePredicate(characters(PUNC_BEFORE_EXPRESSION));
|
133
|
+
PUNC_CHARS = makePredicate(characters(PUNC_CHARS));
|
134
|
+
WHITESPACE_CHARS = makePredicate(characters(WHITESPACE_CHARS));
|
135
|
+
|
136
|
+
/* -----[ Tokenizer ]----- */
|
137
|
+
|
138
|
+
function is_surrogate_pair_head(code) {
|
139
|
+
return code >= 0xd800 && code <= 0xdbff;
|
140
|
+
}
|
141
|
+
|
142
|
+
function is_surrogate_pair_tail(code) {
|
143
|
+
return code >= 0xdc00 && code <= 0xdfff;
|
144
|
+
}
|
145
|
+
|
146
|
+
function is_digit(code) {
|
147
|
+
return code >= 48 && code <= 57;
|
148
|
+
}
|
149
|
+
|
150
|
+
function is_identifier_char(ch) {
|
151
|
+
return !NON_IDENTIFIER_CHARS[ch];
|
152
|
+
}
|
153
|
+
|
154
|
+
function is_identifier_string(str) {
|
155
|
+
return /^[a-z_$][a-z0-9_$]*$/i.test(str);
|
156
|
+
}
|
157
|
+
|
158
|
+
function decode_escape_sequence(seq) {
|
159
|
+
switch (seq[0]) {
|
160
|
+
case "b": return "\b";
|
161
|
+
case "f": return "\f";
|
162
|
+
case "n": return "\n";
|
163
|
+
case "r": return "\r";
|
164
|
+
case "t": return "\t";
|
165
|
+
case "u":
|
166
|
+
var code;
|
167
|
+
if (seq[1] == "{" && seq.slice(-1) == "}") {
|
168
|
+
code = seq.slice(2, -1);
|
169
|
+
} else if (seq.length == 5) {
|
170
|
+
code = seq.slice(1);
|
171
|
+
} else {
|
172
|
+
return;
|
173
|
+
}
|
174
|
+
var num = parseInt(code, 16);
|
175
|
+
if (num < 0 || isNaN(num)) return;
|
176
|
+
if (num < 0x10000) return String.fromCharCode(num);
|
177
|
+
if (num > 0x10ffff) return;
|
178
|
+
return String.fromCharCode((num >> 10) + 0xd7c0) + String.fromCharCode((num & 0x03ff) + 0xdc00);
|
179
|
+
case "v": return "\u000b";
|
180
|
+
case "x":
|
181
|
+
if (seq.length != 3) return;
|
182
|
+
var num = parseInt(seq.slice(1), 16);
|
183
|
+
if (num < 0 || isNaN(num)) return;
|
184
|
+
return String.fromCharCode(num);
|
185
|
+
case "\r":
|
186
|
+
case "\n":
|
187
|
+
return "";
|
188
|
+
default:
|
189
|
+
if (seq == "0") return "\0";
|
190
|
+
if (seq[0] >= "0" && seq[0] <= "9") return;
|
191
|
+
return seq;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
function parse_js_number(num) {
|
196
|
+
var match;
|
197
|
+
if (match = RE_BIN_NUMBER.exec(num)) return parseInt(match[1], 2);
|
198
|
+
if (match = RE_HEX_NUMBER.exec(num)) return parseInt(match[1], 16);
|
199
|
+
if (match = RE_OCT_NUMBER.exec(num)) return parseInt(match[1], 8);
|
200
|
+
var val = parseFloat(num);
|
201
|
+
if (val == num) return val;
|
202
|
+
}
|
203
|
+
|
204
|
+
function JS_Parse_Error(message, filename, line, col, pos) {
|
205
|
+
this.message = message;
|
206
|
+
this.filename = filename;
|
207
|
+
this.line = line;
|
208
|
+
this.col = col;
|
209
|
+
this.pos = pos;
|
210
|
+
try {
|
211
|
+
throw new SyntaxError(message, filename, line, col);
|
212
|
+
} catch (cause) {
|
213
|
+
configure_error_stack(this, cause);
|
214
|
+
}
|
215
|
+
}
|
216
|
+
JS_Parse_Error.prototype = Object.create(SyntaxError.prototype);
|
217
|
+
JS_Parse_Error.prototype.constructor = JS_Parse_Error;
|
218
|
+
|
219
|
+
function js_error(message, filename, line, col, pos) {
|
220
|
+
throw new JS_Parse_Error(message, filename, line, col, pos);
|
221
|
+
}
|
222
|
+
|
223
|
+
function is_token(token, type, val) {
|
224
|
+
return token.type == type && (val == null || token.value == val);
|
225
|
+
}
|
226
|
+
|
227
|
+
var EX_EOF = {};
|
228
|
+
|
229
|
+
function tokenizer($TEXT, filename, html5_comments, shebang) {
|
230
|
+
|
231
|
+
var S = {
|
232
|
+
text : $TEXT,
|
233
|
+
filename : filename,
|
234
|
+
pos : 0,
|
235
|
+
tokpos : 0,
|
236
|
+
line : 1,
|
237
|
+
tokline : 0,
|
238
|
+
col : 0,
|
239
|
+
tokcol : 0,
|
240
|
+
newline_before : false,
|
241
|
+
regex_allowed : false,
|
242
|
+
comments_before : [],
|
243
|
+
directives : Object.create(null),
|
244
|
+
read_template : with_eof_error("Unterminated template literal", function(strings) {
|
245
|
+
var s = "";
|
246
|
+
for (;;) {
|
247
|
+
var ch = read();
|
248
|
+
switch (ch) {
|
249
|
+
case "\\":
|
250
|
+
ch += read();
|
251
|
+
break;
|
252
|
+
case "`":
|
253
|
+
strings.push(s);
|
254
|
+
return;
|
255
|
+
case "$":
|
256
|
+
if (peek() == "{") {
|
257
|
+
next();
|
258
|
+
strings.push(s);
|
259
|
+
S.regex_allowed = true;
|
260
|
+
return true;
|
261
|
+
}
|
262
|
+
}
|
263
|
+
s += ch;
|
264
|
+
}
|
265
|
+
|
266
|
+
function read() {
|
267
|
+
var ch = next(true, true);
|
268
|
+
return ch == "\r" ? "\n" : ch;
|
269
|
+
}
|
270
|
+
}),
|
271
|
+
};
|
272
|
+
var prev_was_dot = false;
|
273
|
+
|
274
|
+
function peek() {
|
275
|
+
return S.text.charAt(S.pos);
|
276
|
+
}
|
277
|
+
|
278
|
+
function next(signal_eof, in_string) {
|
279
|
+
var ch = S.text.charAt(S.pos++);
|
280
|
+
if (signal_eof && !ch)
|
281
|
+
throw EX_EOF;
|
282
|
+
if (NEWLINE_CHARS[ch]) {
|
283
|
+
S.col = 0;
|
284
|
+
S.line++;
|
285
|
+
if (!in_string) S.newline_before = true;
|
286
|
+
if (ch == "\r" && peek() == "\n") {
|
287
|
+
// treat `\r\n` as `\n`
|
288
|
+
S.pos++;
|
289
|
+
ch = "\n";
|
290
|
+
}
|
291
|
+
} else {
|
292
|
+
S.col++;
|
293
|
+
}
|
294
|
+
return ch;
|
295
|
+
}
|
296
|
+
|
297
|
+
function forward(i) {
|
298
|
+
while (i-- > 0) next();
|
299
|
+
}
|
300
|
+
|
301
|
+
function looking_at(str) {
|
302
|
+
return S.text.substr(S.pos, str.length) == str;
|
303
|
+
}
|
304
|
+
|
305
|
+
function find_eol() {
|
306
|
+
var text = S.text;
|
307
|
+
for (var i = S.pos; i < S.text.length; ++i) {
|
308
|
+
if (NEWLINE_CHARS[text[i]]) return i;
|
309
|
+
}
|
310
|
+
return -1;
|
311
|
+
}
|
312
|
+
|
313
|
+
function find(what, signal_eof) {
|
314
|
+
var pos = S.text.indexOf(what, S.pos);
|
315
|
+
if (signal_eof && pos == -1) throw EX_EOF;
|
316
|
+
return pos;
|
317
|
+
}
|
318
|
+
|
319
|
+
function start_token() {
|
320
|
+
S.tokline = S.line;
|
321
|
+
S.tokcol = S.col;
|
322
|
+
S.tokpos = S.pos;
|
323
|
+
}
|
324
|
+
|
325
|
+
function token(type, value, is_comment) {
|
326
|
+
S.regex_allowed = type == "operator" && !UNARY_POSTFIX[value]
|
327
|
+
|| type == "keyword" && KEYWORDS_BEFORE_EXPRESSION[value]
|
328
|
+
|| type == "punc" && PUNC_BEFORE_EXPRESSION[value];
|
329
|
+
if (type == "punc" && value == ".") prev_was_dot = true;
|
330
|
+
else if (!is_comment) prev_was_dot = false;
|
331
|
+
var ret = {
|
332
|
+
type : type,
|
333
|
+
value : value,
|
334
|
+
line : S.tokline,
|
335
|
+
col : S.tokcol,
|
336
|
+
pos : S.tokpos,
|
337
|
+
endline : S.line,
|
338
|
+
endcol : S.col,
|
339
|
+
endpos : S.pos,
|
340
|
+
nlb : S.newline_before,
|
341
|
+
file : filename
|
342
|
+
};
|
343
|
+
if (/^(?:num|string|regexp)$/i.test(type)) {
|
344
|
+
ret.raw = $TEXT.substring(ret.pos, ret.endpos);
|
345
|
+
}
|
346
|
+
if (!is_comment) {
|
347
|
+
ret.comments_before = S.comments_before;
|
348
|
+
ret.comments_after = S.comments_before = [];
|
349
|
+
}
|
350
|
+
S.newline_before = false;
|
351
|
+
return new AST_Token(ret);
|
352
|
+
}
|
353
|
+
|
354
|
+
function skip_whitespace() {
|
355
|
+
while (WHITESPACE_CHARS[peek()])
|
356
|
+
next();
|
357
|
+
}
|
358
|
+
|
359
|
+
function read_while(pred) {
|
360
|
+
var ret = "", ch;
|
361
|
+
while ((ch = peek()) && pred(ch, ret)) ret += next();
|
362
|
+
return ret;
|
363
|
+
}
|
364
|
+
|
365
|
+
function parse_error(err) {
|
366
|
+
js_error(err, filename, S.tokline, S.tokcol, S.tokpos);
|
367
|
+
}
|
368
|
+
|
369
|
+
function is_octal(num) {
|
370
|
+
return /^0[0-7_]+$/.test(num);
|
371
|
+
}
|
372
|
+
|
373
|
+
function read_num(prefix) {
|
374
|
+
var has_e = false, after_e = false, has_x = false, has_dot = prefix == ".";
|
375
|
+
var num = read_while(function(ch, str) {
|
376
|
+
switch (ch) {
|
377
|
+
case "x": case "X":
|
378
|
+
return has_x ? false : (has_x = true);
|
379
|
+
case "e": case "E":
|
380
|
+
return has_x ? true : has_e ? false : (has_e = after_e = true);
|
381
|
+
case "+": case "-":
|
382
|
+
return after_e;
|
383
|
+
case (after_e = false, "."):
|
384
|
+
return has_dot || has_e || has_x || is_octal(str) ? false : (has_dot = true);
|
385
|
+
}
|
386
|
+
return /[_0-9a-dfo]/i.test(ch);
|
387
|
+
});
|
388
|
+
if (prefix) num = prefix + num;
|
389
|
+
if (is_octal(num)) {
|
390
|
+
if (next_token.has_directive("use strict")) parse_error("Legacy octal literals are not allowed in strict mode");
|
391
|
+
} else {
|
392
|
+
num = num.replace(has_x ? /([1-9a-f]|.0)_(?=[0-9a-f])/gi : /([1-9]|.0)_(?=[0-9])/gi, "$1");
|
393
|
+
}
|
394
|
+
var valid = parse_js_number(num);
|
395
|
+
if (isNaN(valid)) parse_error("Invalid syntax: " + num);
|
396
|
+
if (has_dot || has_e || peek() != "n") return token("num", valid);
|
397
|
+
next();
|
398
|
+
return token("bigint", num.toLowerCase());
|
399
|
+
}
|
400
|
+
|
401
|
+
function read_escaped_char(in_string) {
|
402
|
+
var seq = next(true, in_string);
|
403
|
+
if (seq >= "0" && seq <= "7") return read_octal_escape_sequence(seq);
|
404
|
+
if (seq == "u") {
|
405
|
+
var ch = next(true, in_string);
|
406
|
+
seq += ch;
|
407
|
+
if (ch != "{") {
|
408
|
+
seq += next(true, in_string) + next(true, in_string) + next(true, in_string);
|
409
|
+
} else do {
|
410
|
+
ch = next(true, in_string);
|
411
|
+
seq += ch;
|
412
|
+
} while (ch != "}");
|
413
|
+
} else if (seq == "x") {
|
414
|
+
seq += next(true, in_string) + next(true, in_string);
|
415
|
+
}
|
416
|
+
var str = decode_escape_sequence(seq);
|
417
|
+
if (typeof str != "string") parse_error("Invalid escape sequence: \\" + seq);
|
418
|
+
return str;
|
419
|
+
}
|
420
|
+
|
421
|
+
function read_octal_escape_sequence(ch) {
|
422
|
+
// Read
|
423
|
+
var p = peek();
|
424
|
+
if (p >= "0" && p <= "7") {
|
425
|
+
ch += next(true);
|
426
|
+
if (ch[0] <= "3" && (p = peek()) >= "0" && p <= "7")
|
427
|
+
ch += next(true);
|
428
|
+
}
|
429
|
+
|
430
|
+
// Parse
|
431
|
+
if (ch === "0") return "\0";
|
432
|
+
if (ch.length > 0 && next_token.has_directive("use strict"))
|
433
|
+
parse_error("Legacy octal escape sequences are not allowed in strict mode");
|
434
|
+
return String.fromCharCode(parseInt(ch, 8));
|
435
|
+
}
|
436
|
+
|
437
|
+
var read_string = with_eof_error("Unterminated string constant", function(quote_char) {
|
438
|
+
var quote = next(), ret = "";
|
439
|
+
for (;;) {
|
440
|
+
var ch = next(true, true);
|
441
|
+
if (ch == "\\") ch = read_escaped_char(true);
|
442
|
+
else if (NEWLINE_CHARS[ch]) parse_error("Unterminated string constant");
|
443
|
+
else if (ch == quote) break;
|
444
|
+
ret += ch;
|
445
|
+
}
|
446
|
+
var tok = token("string", ret);
|
447
|
+
tok.quote = quote_char;
|
448
|
+
return tok;
|
449
|
+
});
|
450
|
+
|
451
|
+
function skip_line_comment(type) {
|
452
|
+
var regex_allowed = S.regex_allowed;
|
453
|
+
var i = find_eol(), ret;
|
454
|
+
if (i == -1) {
|
455
|
+
ret = S.text.substr(S.pos);
|
456
|
+
S.pos = S.text.length;
|
457
|
+
} else {
|
458
|
+
ret = S.text.substring(S.pos, i);
|
459
|
+
S.pos = i;
|
460
|
+
}
|
461
|
+
S.col = S.tokcol + (S.pos - S.tokpos);
|
462
|
+
S.comments_before.push(token(type, ret, true));
|
463
|
+
S.regex_allowed = regex_allowed;
|
464
|
+
return next_token;
|
465
|
+
}
|
466
|
+
|
467
|
+
var skip_multiline_comment = with_eof_error("Unterminated multiline comment", function() {
|
468
|
+
var regex_allowed = S.regex_allowed;
|
469
|
+
var i = find("*/", true);
|
470
|
+
var text = S.text.substring(S.pos, i).replace(/\r\n|\r|\u2028|\u2029/g, "\n");
|
471
|
+
// update stream position
|
472
|
+
forward(text.length /* doesn't count \r\n as 2 char while S.pos - i does */ + 2);
|
473
|
+
S.comments_before.push(token("comment2", text, true));
|
474
|
+
S.regex_allowed = regex_allowed;
|
475
|
+
return next_token;
|
476
|
+
});
|
477
|
+
|
478
|
+
function read_name() {
|
479
|
+
var backslash = false, ch, escaped = false, name = peek() == "#" ? next() : "";
|
480
|
+
while (ch = peek()) {
|
481
|
+
if (!backslash) {
|
482
|
+
if (ch == "\\") escaped = backslash = true, next();
|
483
|
+
else if (is_identifier_char(ch)) name += next();
|
484
|
+
else break;
|
485
|
+
} else {
|
486
|
+
if (ch != "u") parse_error("Expecting UnicodeEscapeSequence -- uXXXX");
|
487
|
+
ch = read_escaped_char();
|
488
|
+
if (!is_identifier_char(ch)) parse_error("Unicode char: " + ch.charCodeAt(0) + " is not valid in identifier");
|
489
|
+
name += ch;
|
490
|
+
backslash = false;
|
491
|
+
}
|
492
|
+
}
|
493
|
+
if (KEYWORDS[name] && escaped) {
|
494
|
+
var hex = name.charCodeAt(0).toString(16).toUpperCase();
|
495
|
+
name = "\\u" + "0000".substr(hex.length) + hex + name.slice(1);
|
496
|
+
}
|
497
|
+
return name;
|
498
|
+
}
|
499
|
+
|
500
|
+
var read_regexp = with_eof_error("Unterminated regular expression", function(source) {
|
501
|
+
var prev_backslash = false, ch, in_class = false;
|
502
|
+
while ((ch = next(true))) if (NEWLINE_CHARS[ch]) {
|
503
|
+
parse_error("Unexpected line terminator");
|
504
|
+
} else if (prev_backslash) {
|
505
|
+
source += "\\" + ch;
|
506
|
+
prev_backslash = false;
|
507
|
+
} else if (ch == "[") {
|
508
|
+
in_class = true;
|
509
|
+
source += ch;
|
510
|
+
} else if (ch == "]" && in_class) {
|
511
|
+
in_class = false;
|
512
|
+
source += ch;
|
513
|
+
} else if (ch == "/" && !in_class) {
|
514
|
+
break;
|
515
|
+
} else if (ch == "\\") {
|
516
|
+
prev_backslash = true;
|
517
|
+
} else {
|
518
|
+
source += ch;
|
519
|
+
}
|
520
|
+
var mods = read_name();
|
521
|
+
try {
|
522
|
+
var regexp = new RegExp(source, mods);
|
523
|
+
regexp.raw_source = source;
|
524
|
+
return token("regexp", regexp);
|
525
|
+
} catch (e) {
|
526
|
+
parse_error(e.message);
|
527
|
+
}
|
528
|
+
});
|
529
|
+
|
530
|
+
function read_operator(prefix) {
|
531
|
+
function grow(op) {
|
532
|
+
if (!peek()) return op;
|
533
|
+
var bigger = op + peek();
|
534
|
+
if (OPERATORS[bigger]) {
|
535
|
+
next();
|
536
|
+
return grow(bigger);
|
537
|
+
} else {
|
538
|
+
return op;
|
539
|
+
}
|
540
|
+
}
|
541
|
+
return token("operator", grow(prefix || next()));
|
542
|
+
}
|
543
|
+
|
544
|
+
function handle_slash() {
|
545
|
+
next();
|
546
|
+
switch (peek()) {
|
547
|
+
case "/":
|
548
|
+
next();
|
549
|
+
return skip_line_comment("comment1");
|
550
|
+
case "*":
|
551
|
+
next();
|
552
|
+
return skip_multiline_comment();
|
553
|
+
}
|
554
|
+
return S.regex_allowed ? read_regexp("") : read_operator("/");
|
555
|
+
}
|
556
|
+
|
557
|
+
function handle_dot() {
|
558
|
+
next();
|
559
|
+
if (looking_at("..")) return token("operator", "." + next() + next());
|
560
|
+
return is_digit(peek().charCodeAt(0)) ? read_num(".") : token("punc", ".");
|
561
|
+
}
|
562
|
+
|
563
|
+
function read_word() {
|
564
|
+
var word = read_name();
|
565
|
+
if (prev_was_dot) return token("name", word);
|
566
|
+
return KEYWORDS_ATOM[word] ? token("atom", word)
|
567
|
+
: !KEYWORDS[word] ? token("name", word)
|
568
|
+
: OPERATORS[word] ? token("operator", word)
|
569
|
+
: token("keyword", word);
|
570
|
+
}
|
571
|
+
|
572
|
+
function with_eof_error(eof_error, cont) {
|
573
|
+
return function(x) {
|
574
|
+
try {
|
575
|
+
return cont(x);
|
576
|
+
} catch (ex) {
|
577
|
+
if (ex === EX_EOF) parse_error(eof_error);
|
578
|
+
else throw ex;
|
579
|
+
}
|
580
|
+
};
|
581
|
+
}
|
582
|
+
|
583
|
+
function next_token(force_regexp) {
|
584
|
+
if (force_regexp != null)
|
585
|
+
return read_regexp(force_regexp);
|
586
|
+
if (shebang && S.pos == 0 && looking_at("#!")) {
|
587
|
+
start_token();
|
588
|
+
forward(2);
|
589
|
+
skip_line_comment("comment5");
|
590
|
+
}
|
591
|
+
for (;;) {
|
592
|
+
skip_whitespace();
|
593
|
+
start_token();
|
594
|
+
if (html5_comments) {
|
595
|
+
if (looking_at("<!--")) {
|
596
|
+
forward(4);
|
597
|
+
skip_line_comment("comment3");
|
598
|
+
continue;
|
599
|
+
}
|
600
|
+
if (looking_at("-->") && S.newline_before) {
|
601
|
+
forward(3);
|
602
|
+
skip_line_comment("comment4");
|
603
|
+
continue;
|
604
|
+
}
|
605
|
+
}
|
606
|
+
var ch = peek();
|
607
|
+
if (!ch) return token("eof");
|
608
|
+
var code = ch.charCodeAt(0);
|
609
|
+
switch (code) {
|
610
|
+
case 34: case 39: return read_string(ch);
|
611
|
+
case 46: return handle_dot();
|
612
|
+
case 47:
|
613
|
+
var tok = handle_slash();
|
614
|
+
if (tok === next_token) continue;
|
615
|
+
return tok;
|
616
|
+
}
|
617
|
+
if (is_digit(code)) return read_num();
|
618
|
+
if (PUNC_CHARS[ch]) return token("punc", next());
|
619
|
+
if (looking_at("=>")) return token("punc", next() + next());
|
620
|
+
if (OPERATOR_CHARS[ch]) return read_operator();
|
621
|
+
if (code == 35 || code == 92 || !NON_IDENTIFIER_CHARS[ch]) return read_word();
|
622
|
+
break;
|
623
|
+
}
|
624
|
+
parse_error("Unexpected character '" + ch + "'");
|
625
|
+
}
|
626
|
+
|
627
|
+
next_token.context = function(nc) {
|
628
|
+
if (nc) S = nc;
|
629
|
+
return S;
|
630
|
+
};
|
631
|
+
|
632
|
+
next_token.add_directive = function(directive) {
|
633
|
+
S.directives[directive] = true;
|
634
|
+
}
|
635
|
+
|
636
|
+
next_token.push_directives_stack = function() {
|
637
|
+
S.directives = Object.create(S.directives);
|
638
|
+
}
|
639
|
+
|
640
|
+
next_token.pop_directives_stack = function() {
|
641
|
+
S.directives = Object.getPrototypeOf(S.directives);
|
642
|
+
}
|
643
|
+
|
644
|
+
next_token.has_directive = function(directive) {
|
645
|
+
return !!S.directives[directive];
|
646
|
+
}
|
647
|
+
|
648
|
+
return next_token;
|
649
|
+
}
|
650
|
+
|
651
|
+
/* -----[ Parser (constants) ]----- */
|
652
|
+
|
653
|
+
var UNARY_PREFIX = makePredicate("typeof void delete -- ++ ! ~ - +");
|
654
|
+
|
655
|
+
var UNARY_POSTFIX = makePredicate("-- ++");
|
656
|
+
|
657
|
+
var ASSIGNMENT = makePredicate("= += -= /= *= %= **= >>= <<= >>>= &= |= ^= &&= ||= ??=");
|
658
|
+
|
659
|
+
var PRECEDENCE = function(a, ret) {
|
660
|
+
for (var i = 0; i < a.length;) {
|
661
|
+
var b = a[i++];
|
662
|
+
for (var j = 0; j < b.length; j++) {
|
663
|
+
ret[b[j]] = i;
|
664
|
+
}
|
665
|
+
}
|
666
|
+
return ret;
|
667
|
+
}([
|
668
|
+
["??"],
|
669
|
+
["||"],
|
670
|
+
["&&"],
|
671
|
+
["|"],
|
672
|
+
["^"],
|
673
|
+
["&"],
|
674
|
+
["==", "===", "!=", "!=="],
|
675
|
+
["<", ">", "<=", ">=", "in", "instanceof"],
|
676
|
+
[">>", "<<", ">>>"],
|
677
|
+
["+", "-"],
|
678
|
+
["*", "/", "%"],
|
679
|
+
["**"],
|
680
|
+
], {});
|
681
|
+
|
682
|
+
var ATOMIC_START_TOKEN = makePredicate("atom bigint num regexp string");
|
683
|
+
|
684
|
+
/* -----[ Parser ]----- */
|
685
|
+
|
686
|
+
function parse($TEXT, options) {
|
687
|
+
options = defaults(options, {
|
688
|
+
bare_returns : false,
|
689
|
+
expression : false,
|
690
|
+
filename : null,
|
691
|
+
html5_comments : true,
|
692
|
+
module : false,
|
693
|
+
shebang : true,
|
694
|
+
strict : false,
|
695
|
+
toplevel : null,
|
696
|
+
}, true);
|
697
|
+
|
698
|
+
var S = {
|
699
|
+
input : typeof $TEXT == "string"
|
700
|
+
? tokenizer($TEXT, options.filename, options.html5_comments, options.shebang)
|
701
|
+
: $TEXT,
|
702
|
+
in_async : false,
|
703
|
+
in_directives : true,
|
704
|
+
in_funarg : -1,
|
705
|
+
in_function : 0,
|
706
|
+
in_generator : false,
|
707
|
+
in_loop : 0,
|
708
|
+
labels : [],
|
709
|
+
peeked : null,
|
710
|
+
prev : null,
|
711
|
+
token : null,
|
712
|
+
};
|
713
|
+
|
714
|
+
S.token = next();
|
715
|
+
|
716
|
+
function is(type, value) {
|
717
|
+
return is_token(S.token, type, value);
|
718
|
+
}
|
719
|
+
|
720
|
+
function peek() {
|
721
|
+
return S.peeked || (S.peeked = S.input());
|
722
|
+
}
|
723
|
+
|
724
|
+
function next() {
|
725
|
+
S.prev = S.token;
|
726
|
+
if (S.peeked) {
|
727
|
+
S.token = S.peeked;
|
728
|
+
S.peeked = null;
|
729
|
+
} else {
|
730
|
+
S.token = S.input();
|
731
|
+
}
|
732
|
+
S.in_directives = S.in_directives && (
|
733
|
+
S.token.type == "string" || is("punc", ";")
|
734
|
+
);
|
735
|
+
return S.token;
|
736
|
+
}
|
737
|
+
|
738
|
+
function prev() {
|
739
|
+
return S.prev;
|
740
|
+
}
|
741
|
+
|
742
|
+
function croak(msg, line, col, pos) {
|
743
|
+
var ctx = S.input.context();
|
744
|
+
js_error(msg,
|
745
|
+
ctx.filename,
|
746
|
+
line != null ? line : ctx.tokline,
|
747
|
+
col != null ? col : ctx.tokcol,
|
748
|
+
pos != null ? pos : ctx.tokpos);
|
749
|
+
}
|
750
|
+
|
751
|
+
function token_error(token, msg) {
|
752
|
+
croak(msg, token.line, token.col);
|
753
|
+
}
|
754
|
+
|
755
|
+
function token_to_string(type, value) {
|
756
|
+
return type + (value === undefined ? "" : " «" + value + "»");
|
757
|
+
}
|
758
|
+
|
759
|
+
function unexpected(token) {
|
760
|
+
if (token == null) token = S.token;
|
761
|
+
token_error(token, "Unexpected token: " + token_to_string(token.type, token.value));
|
762
|
+
}
|
763
|
+
|
764
|
+
function expect_token(type, val) {
|
765
|
+
if (is(type, val)) return next();
|
766
|
+
token_error(S.token, "Unexpected token: " + token_to_string(S.token.type, S.token.value) + ", expected: " + token_to_string(type, val));
|
767
|
+
}
|
768
|
+
|
769
|
+
function expect(punc) {
|
770
|
+
return expect_token("punc", punc);
|
771
|
+
}
|
772
|
+
|
773
|
+
function has_newline_before(token) {
|
774
|
+
return token.nlb || !all(token.comments_before, function(comment) {
|
775
|
+
return !comment.nlb;
|
776
|
+
});
|
777
|
+
}
|
778
|
+
|
779
|
+
function can_insert_semicolon() {
|
780
|
+
return !options.strict
|
781
|
+
&& (is("eof") || is("punc", "}") || has_newline_before(S.token));
|
782
|
+
}
|
783
|
+
|
784
|
+
function semicolon(optional) {
|
785
|
+
if (is("punc", ";")) next();
|
786
|
+
else if (!optional && !can_insert_semicolon()) expect(";");
|
787
|
+
}
|
788
|
+
|
789
|
+
function parenthesized() {
|
790
|
+
expect("(");
|
791
|
+
var exp = expression();
|
792
|
+
expect(")");
|
793
|
+
return exp;
|
794
|
+
}
|
795
|
+
|
796
|
+
function embed_tokens(parser) {
|
797
|
+
return function() {
|
798
|
+
var start = S.token;
|
799
|
+
var expr = parser.apply(null, arguments);
|
800
|
+
var end = prev();
|
801
|
+
expr.start = start;
|
802
|
+
expr.end = end;
|
803
|
+
return expr;
|
804
|
+
};
|
805
|
+
}
|
806
|
+
|
807
|
+
function handle_regexp() {
|
808
|
+
if (is("operator", "/") || is("operator", "/=")) {
|
809
|
+
S.peeked = null;
|
810
|
+
S.token = S.input(S.token.value.substr(1)); // force regexp
|
811
|
+
}
|
812
|
+
}
|
813
|
+
|
814
|
+
var statement = embed_tokens(function(toplevel) {
|
815
|
+
handle_regexp();
|
816
|
+
switch (S.token.type) {
|
817
|
+
case "string":
|
818
|
+
var dir = S.in_directives;
|
819
|
+
var body = expression();
|
820
|
+
if (dir) {
|
821
|
+
if (body instanceof AST_String) {
|
822
|
+
var value = body.start.raw.slice(1, -1);
|
823
|
+
S.input.add_directive(value);
|
824
|
+
body.value = value;
|
825
|
+
} else {
|
826
|
+
S.in_directives = dir = false;
|
827
|
+
}
|
828
|
+
}
|
829
|
+
semicolon();
|
830
|
+
return dir ? new AST_Directive(body) : new AST_SimpleStatement({ body: body });
|
831
|
+
case "num":
|
832
|
+
case "bigint":
|
833
|
+
case "regexp":
|
834
|
+
case "operator":
|
835
|
+
case "atom":
|
836
|
+
return simple_statement();
|
837
|
+
|
838
|
+
case "name":
|
839
|
+
switch (S.token.value) {
|
840
|
+
case "async":
|
841
|
+
if (is_token(peek(), "keyword", "function")) {
|
842
|
+
next();
|
843
|
+
next();
|
844
|
+
if (!is("operator", "*")) return function_(AST_AsyncDefun);
|
845
|
+
next();
|
846
|
+
return function_(AST_AsyncGeneratorDefun);
|
847
|
+
}
|
848
|
+
break;
|
849
|
+
case "await":
|
850
|
+
if (S.in_async) return simple_statement();
|
851
|
+
break;
|
852
|
+
case "export":
|
853
|
+
if (!toplevel && options.module !== "") unexpected();
|
854
|
+
next();
|
855
|
+
return export_();
|
856
|
+
case "import":
|
857
|
+
var token = peek();
|
858
|
+
if (token.type == "punc" && /^[(.]$/.test(token.value)) break;
|
859
|
+
if (!toplevel && options.module !== "") unexpected();
|
860
|
+
next();
|
861
|
+
return import_();
|
862
|
+
case "let":
|
863
|
+
if (is_vardefs()) {
|
864
|
+
next();
|
865
|
+
var node = let_();
|
866
|
+
semicolon();
|
867
|
+
return node;
|
868
|
+
}
|
869
|
+
break;
|
870
|
+
case "yield":
|
871
|
+
if (S.in_generator) return simple_statement();
|
872
|
+
break;
|
873
|
+
}
|
874
|
+
return is_token(peek(), "punc", ":")
|
875
|
+
? labeled_statement()
|
876
|
+
: simple_statement();
|
877
|
+
|
878
|
+
case "punc":
|
879
|
+
switch (S.token.value) {
|
880
|
+
case "{":
|
881
|
+
return new AST_BlockStatement({
|
882
|
+
start : S.token,
|
883
|
+
body : block_(),
|
884
|
+
end : prev()
|
885
|
+
});
|
886
|
+
case "[":
|
887
|
+
case "(":
|
888
|
+
case "`":
|
889
|
+
return simple_statement();
|
890
|
+
case ";":
|
891
|
+
S.in_directives = false;
|
892
|
+
next();
|
893
|
+
return new AST_EmptyStatement();
|
894
|
+
default:
|
895
|
+
unexpected();
|
896
|
+
}
|
897
|
+
|
898
|
+
case "keyword":
|
899
|
+
switch (S.token.value) {
|
900
|
+
case "break":
|
901
|
+
next();
|
902
|
+
return break_cont(AST_Break);
|
903
|
+
|
904
|
+
case "class":
|
905
|
+
next();
|
906
|
+
return class_(AST_DefClass);
|
907
|
+
|
908
|
+
case "const":
|
909
|
+
next();
|
910
|
+
var node = const_();
|
911
|
+
semicolon();
|
912
|
+
return node;
|
913
|
+
|
914
|
+
case "continue":
|
915
|
+
next();
|
916
|
+
return break_cont(AST_Continue);
|
917
|
+
|
918
|
+
case "debugger":
|
919
|
+
next();
|
920
|
+
semicolon();
|
921
|
+
return new AST_Debugger();
|
922
|
+
|
923
|
+
case "do":
|
924
|
+
next();
|
925
|
+
var body = in_loop(statement);
|
926
|
+
expect_token("keyword", "while");
|
927
|
+
var condition = parenthesized();
|
928
|
+
semicolon(true);
|
929
|
+
return new AST_Do({
|
930
|
+
body : body,
|
931
|
+
condition : condition,
|
932
|
+
});
|
933
|
+
|
934
|
+
case "while":
|
935
|
+
next();
|
936
|
+
return new AST_While({
|
937
|
+
condition : parenthesized(),
|
938
|
+
body : in_loop(statement),
|
939
|
+
});
|
940
|
+
|
941
|
+
case "for":
|
942
|
+
next();
|
943
|
+
return for_();
|
944
|
+
|
945
|
+
case "function":
|
946
|
+
next();
|
947
|
+
if (!is("operator", "*")) return function_(AST_Defun);
|
948
|
+
next();
|
949
|
+
return function_(AST_GeneratorDefun);
|
950
|
+
|
951
|
+
case "if":
|
952
|
+
next();
|
953
|
+
return if_();
|
954
|
+
|
955
|
+
case "return":
|
956
|
+
if (S.in_function == 0 && !options.bare_returns)
|
957
|
+
croak("'return' outside of function");
|
958
|
+
next();
|
959
|
+
var value = null;
|
960
|
+
if (is("punc", ";")) {
|
961
|
+
next();
|
962
|
+
} else if (!can_insert_semicolon()) {
|
963
|
+
value = expression();
|
964
|
+
semicolon();
|
965
|
+
}
|
966
|
+
return new AST_Return({ value: value });
|
967
|
+
|
968
|
+
case "switch":
|
969
|
+
next();
|
970
|
+
return new AST_Switch({
|
971
|
+
expression : parenthesized(),
|
972
|
+
body : in_loop(switch_body_),
|
973
|
+
});
|
974
|
+
|
975
|
+
case "throw":
|
976
|
+
next();
|
977
|
+
if (has_newline_before(S.token))
|
978
|
+
croak("Illegal newline after 'throw'");
|
979
|
+
var value = expression();
|
980
|
+
semicolon();
|
981
|
+
return new AST_Throw({ value: value });
|
982
|
+
|
983
|
+
case "try":
|
984
|
+
next();
|
985
|
+
return try_();
|
986
|
+
|
987
|
+
case "var":
|
988
|
+
next();
|
989
|
+
var node = var_();
|
990
|
+
semicolon();
|
991
|
+
return node;
|
992
|
+
|
993
|
+
case "with":
|
994
|
+
if (S.input.has_directive("use strict")) {
|
995
|
+
croak("Strict mode may not include a with statement");
|
996
|
+
}
|
997
|
+
next();
|
998
|
+
return new AST_With({
|
999
|
+
expression : parenthesized(),
|
1000
|
+
body : statement(),
|
1001
|
+
});
|
1002
|
+
}
|
1003
|
+
}
|
1004
|
+
unexpected();
|
1005
|
+
});
|
1006
|
+
|
1007
|
+
function labeled_statement() {
|
1008
|
+
var label = as_symbol(AST_Label);
|
1009
|
+
if (!all(S.labels, function(l) {
|
1010
|
+
return l.name != label.name;
|
1011
|
+
})) {
|
1012
|
+
// ECMA-262, 12.12: An ECMAScript program is considered
|
1013
|
+
// syntactically incorrect if it contains a
|
1014
|
+
// LabelledStatement that is enclosed by a
|
1015
|
+
// LabelledStatement with the same Identifier as label.
|
1016
|
+
croak("Label " + label.name + " defined twice");
|
1017
|
+
}
|
1018
|
+
expect(":");
|
1019
|
+
S.labels.push(label);
|
1020
|
+
var stat = statement();
|
1021
|
+
S.labels.pop();
|
1022
|
+
if (!(stat instanceof AST_IterationStatement)) {
|
1023
|
+
// check for `continue` that refers to this label.
|
1024
|
+
// those should be reported as syntax errors.
|
1025
|
+
// https://github.com/mishoo/UglifyJS/issues/287
|
1026
|
+
label.references.forEach(function(ref) {
|
1027
|
+
if (ref instanceof AST_Continue) {
|
1028
|
+
token_error(ref.label.start, "Continue label `" + label.name + "` must refer to IterationStatement");
|
1029
|
+
}
|
1030
|
+
});
|
1031
|
+
}
|
1032
|
+
return new AST_LabeledStatement({ body: stat, label: label });
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
function simple_statement() {
|
1036
|
+
var body = expression();
|
1037
|
+
semicolon();
|
1038
|
+
return new AST_SimpleStatement({ body: body });
|
1039
|
+
}
|
1040
|
+
|
1041
|
+
function break_cont(type) {
|
1042
|
+
var label = null, ldef;
|
1043
|
+
if (!can_insert_semicolon()) {
|
1044
|
+
label = as_symbol(AST_LabelRef, true);
|
1045
|
+
}
|
1046
|
+
if (label != null) {
|
1047
|
+
ldef = find_if(function(l) {
|
1048
|
+
return l.name == label.name;
|
1049
|
+
}, S.labels);
|
1050
|
+
if (!ldef) token_error(label.start, "Undefined label " + label.name);
|
1051
|
+
label.thedef = ldef;
|
1052
|
+
} else if (S.in_loop == 0) croak(type.TYPE + " not inside a loop or switch");
|
1053
|
+
semicolon();
|
1054
|
+
var stat = new type({ label: label });
|
1055
|
+
if (ldef) ldef.references.push(stat);
|
1056
|
+
return stat;
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
function has_modifier(name, no_nlb) {
|
1060
|
+
if (!is("name", name)) return;
|
1061
|
+
var token = peek();
|
1062
|
+
if (!token) return;
|
1063
|
+
if (is_token(token, "operator", "=")) return;
|
1064
|
+
if (token.type == "punc" && /^[(;}]$/.test(token.value)) return;
|
1065
|
+
if (no_nlb && has_newline_before(token)) return;
|
1066
|
+
return next();
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
function class_(ctor) {
|
1070
|
+
var was_async = S.in_async;
|
1071
|
+
var was_gen = S.in_generator;
|
1072
|
+
S.input.push_directives_stack();
|
1073
|
+
S.input.add_directive("use strict");
|
1074
|
+
var name;
|
1075
|
+
if (ctor === AST_DefClass) {
|
1076
|
+
name = as_symbol(AST_SymbolDefClass);
|
1077
|
+
} else {
|
1078
|
+
name = as_symbol(AST_SymbolClass, true);
|
1079
|
+
}
|
1080
|
+
var parent = null;
|
1081
|
+
if (is("keyword", "extends")) {
|
1082
|
+
next();
|
1083
|
+
handle_regexp();
|
1084
|
+
parent = expr_atom(true);
|
1085
|
+
}
|
1086
|
+
expect("{");
|
1087
|
+
var props = [];
|
1088
|
+
while (!is("punc", "}")) {
|
1089
|
+
if (is("punc", ";")) {
|
1090
|
+
next();
|
1091
|
+
continue;
|
1092
|
+
}
|
1093
|
+
var start = S.token;
|
1094
|
+
var fixed = !!has_modifier("static");
|
1095
|
+
var async = has_modifier("async", true);
|
1096
|
+
if (is("operator", "*")) {
|
1097
|
+
next();
|
1098
|
+
var internal = is("name") && /^#/.test(S.token.value);
|
1099
|
+
var key = as_property_key();
|
1100
|
+
var gen_start = S.token;
|
1101
|
+
var gen = function_(async ? AST_AsyncGeneratorFunction : AST_GeneratorFunction);
|
1102
|
+
gen.start = gen_start;
|
1103
|
+
gen.end = prev();
|
1104
|
+
props.push(new AST_ClassMethod({
|
1105
|
+
start: start,
|
1106
|
+
static: fixed,
|
1107
|
+
private: internal,
|
1108
|
+
key: key,
|
1109
|
+
value: gen,
|
1110
|
+
end: prev(),
|
1111
|
+
}));
|
1112
|
+
continue;
|
1113
|
+
}
|
1114
|
+
if (fixed && is("punc", "{")) {
|
1115
|
+
props.push(new AST_ClassInit({
|
1116
|
+
start: start,
|
1117
|
+
value: new AST_ClassInitBlock({
|
1118
|
+
start: start,
|
1119
|
+
body: block_(),
|
1120
|
+
end: prev(),
|
1121
|
+
}),
|
1122
|
+
end: prev(),
|
1123
|
+
}));
|
1124
|
+
continue;
|
1125
|
+
}
|
1126
|
+
var internal = is("name") && /^#/.test(S.token.value);
|
1127
|
+
var key = as_property_key();
|
1128
|
+
if (is("punc", "(")) {
|
1129
|
+
var func_start = S.token;
|
1130
|
+
var func = function_(async ? AST_AsyncFunction : AST_Function);
|
1131
|
+
func.start = func_start;
|
1132
|
+
func.end = prev();
|
1133
|
+
props.push(new AST_ClassMethod({
|
1134
|
+
start: start,
|
1135
|
+
static: fixed,
|
1136
|
+
private: internal,
|
1137
|
+
key: key,
|
1138
|
+
value: func,
|
1139
|
+
end: prev(),
|
1140
|
+
}));
|
1141
|
+
continue;
|
1142
|
+
}
|
1143
|
+
if (async) unexpected(async);
|
1144
|
+
var value = null;
|
1145
|
+
if (is("operator", "=")) {
|
1146
|
+
next();
|
1147
|
+
S.in_async = false;
|
1148
|
+
S.in_generator = false;
|
1149
|
+
value = maybe_assign();
|
1150
|
+
S.in_generator = was_gen;
|
1151
|
+
S.in_async = was_async;
|
1152
|
+
} else if (!(is("punc", ";") || is("punc", "}"))) {
|
1153
|
+
var type = null;
|
1154
|
+
switch (key) {
|
1155
|
+
case "get":
|
1156
|
+
type = AST_ClassGetter;
|
1157
|
+
break;
|
1158
|
+
case "set":
|
1159
|
+
type = AST_ClassSetter;
|
1160
|
+
break;
|
1161
|
+
}
|
1162
|
+
if (type) {
|
1163
|
+
props.push(new type({
|
1164
|
+
start: start,
|
1165
|
+
static: fixed,
|
1166
|
+
private: is("name") && /^#/.test(S.token.value),
|
1167
|
+
key: as_property_key(),
|
1168
|
+
value: create_accessor(),
|
1169
|
+
end: prev(),
|
1170
|
+
}));
|
1171
|
+
continue;
|
1172
|
+
}
|
1173
|
+
}
|
1174
|
+
semicolon();
|
1175
|
+
props.push(new AST_ClassField({
|
1176
|
+
start: start,
|
1177
|
+
static: fixed,
|
1178
|
+
private: internal,
|
1179
|
+
key: key,
|
1180
|
+
value: value,
|
1181
|
+
end: prev(),
|
1182
|
+
}));
|
1183
|
+
}
|
1184
|
+
next();
|
1185
|
+
S.input.pop_directives_stack();
|
1186
|
+
S.in_generator = was_gen;
|
1187
|
+
S.in_async = was_async;
|
1188
|
+
return new ctor({
|
1189
|
+
extends: parent,
|
1190
|
+
name: name,
|
1191
|
+
properties: props,
|
1192
|
+
});
|
1193
|
+
}
|
1194
|
+
|
1195
|
+
function for_() {
|
1196
|
+
var await_token = is("name", "await") && next();
|
1197
|
+
expect("(");
|
1198
|
+
var init = null;
|
1199
|
+
if (await_token || !is("punc", ";")) {
|
1200
|
+
init = is("keyword", "const")
|
1201
|
+
? (next(), const_(true))
|
1202
|
+
: is("name", "let") && is_vardefs()
|
1203
|
+
? (next(), let_(true))
|
1204
|
+
: is("keyword", "var")
|
1205
|
+
? (next(), var_(true))
|
1206
|
+
: expression(true);
|
1207
|
+
var ctor;
|
1208
|
+
if (await_token) {
|
1209
|
+
expect_token("name", "of");
|
1210
|
+
ctor = AST_ForAwaitOf;
|
1211
|
+
} else if (is("operator", "in")) {
|
1212
|
+
next();
|
1213
|
+
ctor = AST_ForIn;
|
1214
|
+
} else if (is("name", "of")) {
|
1215
|
+
next();
|
1216
|
+
ctor = AST_ForOf;
|
1217
|
+
}
|
1218
|
+
if (ctor) {
|
1219
|
+
if (init instanceof AST_Definitions) {
|
1220
|
+
if (init.definitions.length > 1) {
|
1221
|
+
token_error(init.start, "Only one variable declaration allowed in for..in/of loop");
|
1222
|
+
}
|
1223
|
+
if (ctor !== AST_ForIn && init.definitions[0].value) {
|
1224
|
+
token_error(init.definitions[0].value.start, "No initializers allowed in for..of loop");
|
1225
|
+
}
|
1226
|
+
} else if (!(is_assignable(init) || (init = to_destructured(init)) instanceof AST_Destructured)) {
|
1227
|
+
token_error(init.start, "Invalid left-hand side in for..in/of loop");
|
1228
|
+
}
|
1229
|
+
return for_enum(ctor, init);
|
1230
|
+
}
|
1231
|
+
}
|
1232
|
+
return regular_for(init);
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
function regular_for(init) {
|
1236
|
+
expect(";");
|
1237
|
+
var test = is("punc", ";") ? null : expression();
|
1238
|
+
expect(";");
|
1239
|
+
var step = is("punc", ")") ? null : expression();
|
1240
|
+
expect(")");
|
1241
|
+
return new AST_For({
|
1242
|
+
init : init,
|
1243
|
+
condition : test,
|
1244
|
+
step : step,
|
1245
|
+
body : in_loop(statement)
|
1246
|
+
});
|
1247
|
+
}
|
1248
|
+
|
1249
|
+
function for_enum(ctor, init) {
|
1250
|
+
handle_regexp();
|
1251
|
+
var obj = expression();
|
1252
|
+
expect(")");
|
1253
|
+
return new ctor({
|
1254
|
+
init : init,
|
1255
|
+
object : obj,
|
1256
|
+
body : in_loop(statement)
|
1257
|
+
});
|
1258
|
+
}
|
1259
|
+
|
1260
|
+
function to_funarg(node) {
|
1261
|
+
if (node instanceof AST_Array) {
|
1262
|
+
var rest = null;
|
1263
|
+
if (node.elements[node.elements.length - 1] instanceof AST_Spread) {
|
1264
|
+
rest = to_funarg(node.elements.pop().expression);
|
1265
|
+
}
|
1266
|
+
return new AST_DestructuredArray({
|
1267
|
+
start: node.start,
|
1268
|
+
elements: node.elements.map(to_funarg),
|
1269
|
+
rest: rest,
|
1270
|
+
end: node.end,
|
1271
|
+
});
|
1272
|
+
}
|
1273
|
+
if (node instanceof AST_Assign) return new AST_DefaultValue({
|
1274
|
+
start: node.start,
|
1275
|
+
name: to_funarg(node.left),
|
1276
|
+
value: node.right,
|
1277
|
+
end: node.end,
|
1278
|
+
});
|
1279
|
+
if (node instanceof AST_DefaultValue) {
|
1280
|
+
node.name = to_funarg(node.name);
|
1281
|
+
return node;
|
1282
|
+
}
|
1283
|
+
if (node instanceof AST_DestructuredArray) {
|
1284
|
+
node.elements = node.elements.map(to_funarg);
|
1285
|
+
if (node.rest) node.rest = to_funarg(node.rest);
|
1286
|
+
return node;
|
1287
|
+
}
|
1288
|
+
if (node instanceof AST_DestructuredObject) {
|
1289
|
+
node.properties.forEach(function(prop) {
|
1290
|
+
prop.value = to_funarg(prop.value);
|
1291
|
+
});
|
1292
|
+
if (node.rest) node.rest = to_funarg(node.rest);
|
1293
|
+
return node;
|
1294
|
+
}
|
1295
|
+
if (node instanceof AST_Hole) return node;
|
1296
|
+
if (node instanceof AST_Object) {
|
1297
|
+
var rest = null;
|
1298
|
+
if (node.properties[node.properties.length - 1] instanceof AST_Spread) {
|
1299
|
+
rest = to_funarg(node.properties.pop().expression);
|
1300
|
+
}
|
1301
|
+
return new AST_DestructuredObject({
|
1302
|
+
start: node.start,
|
1303
|
+
properties: node.properties.map(function(prop) {
|
1304
|
+
if (!(prop instanceof AST_ObjectKeyVal)) token_error(prop.start, "Invalid destructuring assignment");
|
1305
|
+
return new AST_DestructuredKeyVal({
|
1306
|
+
start: prop.start,
|
1307
|
+
key: prop.key,
|
1308
|
+
value: to_funarg(prop.value),
|
1309
|
+
end: prop.end,
|
1310
|
+
});
|
1311
|
+
}),
|
1312
|
+
rest: rest,
|
1313
|
+
end: node.end,
|
1314
|
+
});
|
1315
|
+
}
|
1316
|
+
if (node instanceof AST_SymbolFunarg) return node;
|
1317
|
+
if (node instanceof AST_SymbolRef) return new AST_SymbolFunarg(node);
|
1318
|
+
if (node instanceof AST_Yield) return new AST_SymbolFunarg({
|
1319
|
+
start: node.start,
|
1320
|
+
name: "yield",
|
1321
|
+
end: node.end,
|
1322
|
+
});
|
1323
|
+
token_error(node.start, "Invalid arrow parameter");
|
1324
|
+
}
|
1325
|
+
|
1326
|
+
function arrow(exprs, start, async) {
|
1327
|
+
var was_async = S.in_async;
|
1328
|
+
var was_gen = S.in_generator;
|
1329
|
+
S.in_async = async;
|
1330
|
+
S.in_generator = false;
|
1331
|
+
var was_funarg = S.in_funarg;
|
1332
|
+
S.in_funarg = S.in_function;
|
1333
|
+
var argnames = exprs.map(to_funarg);
|
1334
|
+
var rest = exprs.rest || null;
|
1335
|
+
if (rest) rest = to_funarg(rest);
|
1336
|
+
S.in_funarg = was_funarg;
|
1337
|
+
expect("=>");
|
1338
|
+
var body, value;
|
1339
|
+
var loop = S.in_loop;
|
1340
|
+
var labels = S.labels;
|
1341
|
+
++S.in_function;
|
1342
|
+
S.input.push_directives_stack();
|
1343
|
+
S.in_loop = 0;
|
1344
|
+
S.labels = [];
|
1345
|
+
if (is("punc", "{")) {
|
1346
|
+
S.in_directives = true;
|
1347
|
+
body = block_();
|
1348
|
+
value = null;
|
1349
|
+
} else {
|
1350
|
+
body = [];
|
1351
|
+
handle_regexp();
|
1352
|
+
value = maybe_assign();
|
1353
|
+
}
|
1354
|
+
var is_strict = S.input.has_directive("use strict");
|
1355
|
+
S.input.pop_directives_stack();
|
1356
|
+
--S.in_function;
|
1357
|
+
S.in_loop = loop;
|
1358
|
+
S.labels = labels;
|
1359
|
+
S.in_generator = was_gen;
|
1360
|
+
S.in_async = was_async;
|
1361
|
+
var node = new (async ? AST_AsyncArrow : AST_Arrow)({
|
1362
|
+
start: start,
|
1363
|
+
argnames: argnames,
|
1364
|
+
rest: rest,
|
1365
|
+
body: body,
|
1366
|
+
value: value,
|
1367
|
+
end: prev(),
|
1368
|
+
});
|
1369
|
+
if (is_strict) node.each_argname(strict_verify_symbol);
|
1370
|
+
return node;
|
1371
|
+
}
|
1372
|
+
|
1373
|
+
var function_ = function(ctor) {
|
1374
|
+
var was_async = S.in_async;
|
1375
|
+
var was_gen = S.in_generator;
|
1376
|
+
var name;
|
1377
|
+
if (/Defun$/.test(ctor.TYPE)) {
|
1378
|
+
name = as_symbol(AST_SymbolDefun);
|
1379
|
+
S.in_async = /^Async/.test(ctor.TYPE);
|
1380
|
+
S.in_generator = /Generator/.test(ctor.TYPE);
|
1381
|
+
} else {
|
1382
|
+
S.in_async = /^Async/.test(ctor.TYPE);
|
1383
|
+
S.in_generator = /Generator/.test(ctor.TYPE);
|
1384
|
+
name = as_symbol(AST_SymbolLambda, true);
|
1385
|
+
}
|
1386
|
+
if (name && ctor !== AST_Accessor && !(name instanceof AST_SymbolDeclaration))
|
1387
|
+
unexpected(prev());
|
1388
|
+
expect("(");
|
1389
|
+
var was_funarg = S.in_funarg;
|
1390
|
+
S.in_funarg = S.in_function;
|
1391
|
+
var argnames = expr_list(")", !options.strict, false, function() {
|
1392
|
+
return maybe_default(AST_SymbolFunarg);
|
1393
|
+
});
|
1394
|
+
S.in_funarg = was_funarg;
|
1395
|
+
var loop = S.in_loop;
|
1396
|
+
var labels = S.labels;
|
1397
|
+
++S.in_function;
|
1398
|
+
S.in_directives = true;
|
1399
|
+
S.input.push_directives_stack();
|
1400
|
+
S.in_loop = 0;
|
1401
|
+
S.labels = [];
|
1402
|
+
var body = block_();
|
1403
|
+
var is_strict = S.input.has_directive("use strict");
|
1404
|
+
S.input.pop_directives_stack();
|
1405
|
+
--S.in_function;
|
1406
|
+
S.in_loop = loop;
|
1407
|
+
S.labels = labels;
|
1408
|
+
S.in_generator = was_gen;
|
1409
|
+
S.in_async = was_async;
|
1410
|
+
var node = new ctor({
|
1411
|
+
name: name,
|
1412
|
+
argnames: argnames,
|
1413
|
+
rest: argnames.rest || null,
|
1414
|
+
body: body,
|
1415
|
+
});
|
1416
|
+
if (is_strict) {
|
1417
|
+
if (name) strict_verify_symbol(name);
|
1418
|
+
node.each_argname(strict_verify_symbol);
|
1419
|
+
}
|
1420
|
+
return node;
|
1421
|
+
};
|
1422
|
+
|
1423
|
+
function if_() {
|
1424
|
+
var cond = parenthesized(), body = statement(), alt = null;
|
1425
|
+
if (is("keyword", "else")) {
|
1426
|
+
next();
|
1427
|
+
alt = statement();
|
1428
|
+
}
|
1429
|
+
return new AST_If({
|
1430
|
+
condition : cond,
|
1431
|
+
body : body,
|
1432
|
+
alternative : alt,
|
1433
|
+
});
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
function is_alias() {
|
1437
|
+
return is("name") || is("string") || is_identifier_string(S.token.value);
|
1438
|
+
}
|
1439
|
+
|
1440
|
+
function make_string(token) {
|
1441
|
+
return new AST_String({
|
1442
|
+
start: token,
|
1443
|
+
quote: token.quote,
|
1444
|
+
value: token.value,
|
1445
|
+
end: token,
|
1446
|
+
});
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
function as_path() {
|
1450
|
+
var path = S.token;
|
1451
|
+
expect_token("string");
|
1452
|
+
semicolon();
|
1453
|
+
return make_string(path);
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
function export_() {
|
1457
|
+
if (is("operator", "*")) {
|
1458
|
+
var key = S.token;
|
1459
|
+
var alias = key;
|
1460
|
+
next();
|
1461
|
+
if (is("name", "as")) {
|
1462
|
+
next();
|
1463
|
+
if (!is_alias()) expect_token("name");
|
1464
|
+
alias = S.token;
|
1465
|
+
next();
|
1466
|
+
}
|
1467
|
+
expect_token("name", "from");
|
1468
|
+
return new AST_ExportForeign({
|
1469
|
+
aliases: [ make_string(alias) ],
|
1470
|
+
keys: [ make_string(key) ],
|
1471
|
+
path: as_path(),
|
1472
|
+
});
|
1473
|
+
}
|
1474
|
+
if (is("punc", "{")) {
|
1475
|
+
next();
|
1476
|
+
var aliases = [];
|
1477
|
+
var keys = [];
|
1478
|
+
while (is_alias()) {
|
1479
|
+
var key = S.token;
|
1480
|
+
next();
|
1481
|
+
keys.push(key);
|
1482
|
+
if (is("name", "as")) {
|
1483
|
+
next();
|
1484
|
+
if (!is_alias()) expect_token("name");
|
1485
|
+
aliases.push(S.token);
|
1486
|
+
next();
|
1487
|
+
} else {
|
1488
|
+
aliases.push(key);
|
1489
|
+
}
|
1490
|
+
if (!is("punc", "}")) expect(",");
|
1491
|
+
}
|
1492
|
+
expect("}");
|
1493
|
+
if (is("name", "from")) {
|
1494
|
+
next();
|
1495
|
+
return new AST_ExportForeign({
|
1496
|
+
aliases: aliases.map(make_string),
|
1497
|
+
keys: keys.map(make_string),
|
1498
|
+
path: as_path(),
|
1499
|
+
});
|
1500
|
+
}
|
1501
|
+
semicolon();
|
1502
|
+
return new AST_ExportReferences({
|
1503
|
+
properties: keys.map(function(token, index) {
|
1504
|
+
if (!is_token(token, "name")) token_error(token, "Name expected");
|
1505
|
+
var sym = _make_symbol(AST_SymbolExport, token);
|
1506
|
+
sym.alias = make_string(aliases[index]);
|
1507
|
+
return sym;
|
1508
|
+
}),
|
1509
|
+
});
|
1510
|
+
}
|
1511
|
+
if (is("keyword", "default")) {
|
1512
|
+
next();
|
1513
|
+
var start = S.token;
|
1514
|
+
var body = export_default_decl();
|
1515
|
+
if (body) {
|
1516
|
+
body.start = start;
|
1517
|
+
body.end = prev();
|
1518
|
+
} else {
|
1519
|
+
handle_regexp();
|
1520
|
+
body = expression();
|
1521
|
+
semicolon();
|
1522
|
+
}
|
1523
|
+
return new AST_ExportDefault({ body: body });
|
1524
|
+
}
|
1525
|
+
return new AST_ExportDeclaration({ body: export_decl() });
|
1526
|
+
}
|
1527
|
+
|
1528
|
+
function maybe_named(def, expr) {
|
1529
|
+
if (expr.name) {
|
1530
|
+
expr = new def(expr);
|
1531
|
+
expr.name = new (def === AST_DefClass ? AST_SymbolDefClass : AST_SymbolDefun)(expr.name);
|
1532
|
+
}
|
1533
|
+
return expr;
|
1534
|
+
}
|
1535
|
+
|
1536
|
+
function export_default_decl() {
|
1537
|
+
if (is("name", "async")) {
|
1538
|
+
if (!is_token(peek(), "keyword", "function")) return;
|
1539
|
+
next();
|
1540
|
+
next();
|
1541
|
+
if (!is("operator", "*")) return maybe_named(AST_AsyncDefun, function_(AST_AsyncFunction));
|
1542
|
+
next();
|
1543
|
+
return maybe_named(AST_AsyncGeneratorDefun, function_(AST_AsyncGeneratorFunction));
|
1544
|
+
} else if (is("keyword")) switch (S.token.value) {
|
1545
|
+
case "class":
|
1546
|
+
next();
|
1547
|
+
return maybe_named(AST_DefClass, class_(AST_ClassExpression));
|
1548
|
+
case "function":
|
1549
|
+
next();
|
1550
|
+
if (!is("operator", "*")) return maybe_named(AST_Defun, function_(AST_Function));
|
1551
|
+
next();
|
1552
|
+
return maybe_named(AST_GeneratorDefun, function_(AST_GeneratorFunction));
|
1553
|
+
}
|
1554
|
+
}
|
1555
|
+
|
1556
|
+
var export_decl = embed_tokens(function() {
|
1557
|
+
if (is("name")) switch (S.token.value) {
|
1558
|
+
case "async":
|
1559
|
+
next();
|
1560
|
+
expect_token("keyword", "function");
|
1561
|
+
if (!is("operator", "*")) return function_(AST_AsyncDefun);
|
1562
|
+
next();
|
1563
|
+
return function_(AST_AsyncGeneratorDefun);
|
1564
|
+
case "let":
|
1565
|
+
next();
|
1566
|
+
var node = let_();
|
1567
|
+
semicolon();
|
1568
|
+
return node;
|
1569
|
+
} else if (is("keyword")) switch (S.token.value) {
|
1570
|
+
case "class":
|
1571
|
+
next();
|
1572
|
+
return class_(AST_DefClass);
|
1573
|
+
case "const":
|
1574
|
+
next();
|
1575
|
+
var node = const_();
|
1576
|
+
semicolon();
|
1577
|
+
return node;
|
1578
|
+
case "function":
|
1579
|
+
next();
|
1580
|
+
if (!is("operator", "*")) return function_(AST_Defun);
|
1581
|
+
next();
|
1582
|
+
return function_(AST_GeneratorDefun);
|
1583
|
+
case "var":
|
1584
|
+
next();
|
1585
|
+
var node = var_();
|
1586
|
+
semicolon();
|
1587
|
+
return node;
|
1588
|
+
}
|
1589
|
+
unexpected();
|
1590
|
+
});
|
1591
|
+
|
1592
|
+
function import_() {
|
1593
|
+
var all = null;
|
1594
|
+
var def = as_symbol(AST_SymbolImport, true);
|
1595
|
+
var props = null;
|
1596
|
+
var cont;
|
1597
|
+
if (def) {
|
1598
|
+
def.key = new AST_String({
|
1599
|
+
start: def.start,
|
1600
|
+
value: "",
|
1601
|
+
end: def.end,
|
1602
|
+
});
|
1603
|
+
if (cont = is("punc", ",")) next();
|
1604
|
+
} else {
|
1605
|
+
cont = !is("string");
|
1606
|
+
}
|
1607
|
+
if (cont) {
|
1608
|
+
if (is("operator", "*")) {
|
1609
|
+
var key = S.token;
|
1610
|
+
next();
|
1611
|
+
expect_token("name", "as");
|
1612
|
+
all = as_symbol(AST_SymbolImport);
|
1613
|
+
all.key = make_string(key);
|
1614
|
+
} else {
|
1615
|
+
expect("{");
|
1616
|
+
props = [];
|
1617
|
+
while (is_alias()) {
|
1618
|
+
var alias;
|
1619
|
+
if (is_token(peek(), "name", "as")) {
|
1620
|
+
var key = S.token;
|
1621
|
+
next();
|
1622
|
+
next();
|
1623
|
+
alias = as_symbol(AST_SymbolImport);
|
1624
|
+
alias.key = make_string(key);
|
1625
|
+
} else {
|
1626
|
+
alias = as_symbol(AST_SymbolImport);
|
1627
|
+
alias.key = new AST_String({
|
1628
|
+
start: alias.start,
|
1629
|
+
value: alias.name,
|
1630
|
+
end: alias.end,
|
1631
|
+
});
|
1632
|
+
}
|
1633
|
+
props.push(alias);
|
1634
|
+
if (!is("punc", "}")) expect(",");
|
1635
|
+
}
|
1636
|
+
expect("}");
|
1637
|
+
}
|
1638
|
+
}
|
1639
|
+
if (all || def || props) expect_token("name", "from");
|
1640
|
+
return new AST_Import({
|
1641
|
+
all: all,
|
1642
|
+
default: def,
|
1643
|
+
path: as_path(),
|
1644
|
+
properties: props,
|
1645
|
+
});
|
1646
|
+
}
|
1647
|
+
|
1648
|
+
function block_() {
|
1649
|
+
expect("{");
|
1650
|
+
var a = [];
|
1651
|
+
while (!is("punc", "}")) {
|
1652
|
+
if (is("eof")) expect("}");
|
1653
|
+
a.push(statement());
|
1654
|
+
}
|
1655
|
+
next();
|
1656
|
+
return a;
|
1657
|
+
}
|
1658
|
+
|
1659
|
+
function switch_body_() {
|
1660
|
+
expect("{");
|
1661
|
+
var a = [], branch, cur, default_branch, tmp;
|
1662
|
+
while (!is("punc", "}")) {
|
1663
|
+
if (is("eof")) expect("}");
|
1664
|
+
if (is("keyword", "case")) {
|
1665
|
+
if (branch) branch.end = prev();
|
1666
|
+
cur = [];
|
1667
|
+
branch = new AST_Case({
|
1668
|
+
start : (tmp = S.token, next(), tmp),
|
1669
|
+
expression : expression(),
|
1670
|
+
body : cur
|
1671
|
+
});
|
1672
|
+
a.push(branch);
|
1673
|
+
expect(":");
|
1674
|
+
} else if (is("keyword", "default")) {
|
1675
|
+
if (branch) branch.end = prev();
|
1676
|
+
if (default_branch) croak("More than one default clause in switch statement");
|
1677
|
+
cur = [];
|
1678
|
+
branch = new AST_Default({
|
1679
|
+
start : (tmp = S.token, next(), expect(":"), tmp),
|
1680
|
+
body : cur
|
1681
|
+
});
|
1682
|
+
a.push(branch);
|
1683
|
+
default_branch = branch;
|
1684
|
+
} else {
|
1685
|
+
if (!cur) unexpected();
|
1686
|
+
cur.push(statement());
|
1687
|
+
}
|
1688
|
+
}
|
1689
|
+
if (branch) branch.end = prev();
|
1690
|
+
next();
|
1691
|
+
return a;
|
1692
|
+
}
|
1693
|
+
|
1694
|
+
function try_() {
|
1695
|
+
var body = block_(), bcatch = null, bfinally = null;
|
1696
|
+
if (is("keyword", "catch")) {
|
1697
|
+
var start = S.token;
|
1698
|
+
next();
|
1699
|
+
var name = null;
|
1700
|
+
if (is("punc", "(")) {
|
1701
|
+
next();
|
1702
|
+
name = maybe_destructured(AST_SymbolCatch);
|
1703
|
+
expect(")");
|
1704
|
+
}
|
1705
|
+
bcatch = new AST_Catch({
|
1706
|
+
start : start,
|
1707
|
+
argname : name,
|
1708
|
+
body : block_(),
|
1709
|
+
end : prev()
|
1710
|
+
});
|
1711
|
+
}
|
1712
|
+
if (is("keyword", "finally")) {
|
1713
|
+
var start = S.token;
|
1714
|
+
next();
|
1715
|
+
bfinally = new AST_Finally({
|
1716
|
+
start : start,
|
1717
|
+
body : block_(),
|
1718
|
+
end : prev()
|
1719
|
+
});
|
1720
|
+
}
|
1721
|
+
if (!bcatch && !bfinally)
|
1722
|
+
croak("Missing catch/finally blocks");
|
1723
|
+
return new AST_Try({
|
1724
|
+
body : body,
|
1725
|
+
bcatch : bcatch,
|
1726
|
+
bfinally : bfinally
|
1727
|
+
});
|
1728
|
+
}
|
1729
|
+
|
1730
|
+
function vardefs(type, no_in) {
|
1731
|
+
var a = [];
|
1732
|
+
for (;;) {
|
1733
|
+
var start = S.token;
|
1734
|
+
var name = maybe_destructured(type);
|
1735
|
+
var value = null;
|
1736
|
+
if (is("operator", "=")) {
|
1737
|
+
next();
|
1738
|
+
value = maybe_assign(no_in);
|
1739
|
+
} else if (!no_in && (type === AST_SymbolConst || name instanceof AST_Destructured)) {
|
1740
|
+
croak("Missing initializer in declaration");
|
1741
|
+
}
|
1742
|
+
a.push(new AST_VarDef({
|
1743
|
+
start : start,
|
1744
|
+
name : name,
|
1745
|
+
value : value,
|
1746
|
+
end : prev()
|
1747
|
+
}));
|
1748
|
+
if (!is("punc", ","))
|
1749
|
+
break;
|
1750
|
+
next();
|
1751
|
+
}
|
1752
|
+
return a;
|
1753
|
+
}
|
1754
|
+
|
1755
|
+
function is_vardefs() {
|
1756
|
+
var token = peek();
|
1757
|
+
return is_token(token, "name") || is_token(token, "punc", "[") || is_token(token, "punc", "{");
|
1758
|
+
}
|
1759
|
+
|
1760
|
+
var const_ = function(no_in) {
|
1761
|
+
return new AST_Const({
|
1762
|
+
start : prev(),
|
1763
|
+
definitions : vardefs(AST_SymbolConst, no_in),
|
1764
|
+
end : prev()
|
1765
|
+
});
|
1766
|
+
};
|
1767
|
+
|
1768
|
+
var let_ = function(no_in) {
|
1769
|
+
return new AST_Let({
|
1770
|
+
start : prev(),
|
1771
|
+
definitions : vardefs(AST_SymbolLet, no_in),
|
1772
|
+
end : prev()
|
1773
|
+
});
|
1774
|
+
};
|
1775
|
+
|
1776
|
+
var var_ = function(no_in) {
|
1777
|
+
return new AST_Var({
|
1778
|
+
start : prev(),
|
1779
|
+
definitions : vardefs(AST_SymbolVar, no_in),
|
1780
|
+
end : prev()
|
1781
|
+
});
|
1782
|
+
};
|
1783
|
+
|
1784
|
+
var new_ = function(allow_calls) {
|
1785
|
+
var start = S.token;
|
1786
|
+
expect_token("operator", "new");
|
1787
|
+
var call;
|
1788
|
+
if (is("punc", ".") && is_token(peek(), "name", "target")) {
|
1789
|
+
next();
|
1790
|
+
next();
|
1791
|
+
call = new AST_NewTarget();
|
1792
|
+
} else {
|
1793
|
+
var exp = expr_atom(false), args;
|
1794
|
+
if (is("punc", "(")) {
|
1795
|
+
next();
|
1796
|
+
args = expr_list(")", !options.strict);
|
1797
|
+
} else {
|
1798
|
+
args = [];
|
1799
|
+
}
|
1800
|
+
call = new AST_New({ expression: exp, args: args });
|
1801
|
+
}
|
1802
|
+
call.start = start;
|
1803
|
+
call.end = prev();
|
1804
|
+
return subscripts(call, allow_calls);
|
1805
|
+
};
|
1806
|
+
|
1807
|
+
function as_atom_node() {
|
1808
|
+
var ret, tok = S.token, value = tok.value;
|
1809
|
+
switch (tok.type) {
|
1810
|
+
case "num":
|
1811
|
+
if (isFinite(value)) {
|
1812
|
+
ret = new AST_Number({ value: value });
|
1813
|
+
} else {
|
1814
|
+
ret = new AST_Infinity();
|
1815
|
+
if (value < 0) ret = new AST_UnaryPrefix({ operator: "-", expression: ret });
|
1816
|
+
}
|
1817
|
+
break;
|
1818
|
+
case "bigint":
|
1819
|
+
ret = new AST_BigInt({ value: value });
|
1820
|
+
break;
|
1821
|
+
case "string":
|
1822
|
+
ret = new AST_String({ value: value, quote: tok.quote });
|
1823
|
+
break;
|
1824
|
+
case "regexp":
|
1825
|
+
ret = new AST_RegExp({ value: value });
|
1826
|
+
break;
|
1827
|
+
case "atom":
|
1828
|
+
switch (value) {
|
1829
|
+
case "false":
|
1830
|
+
ret = new AST_False();
|
1831
|
+
break;
|
1832
|
+
case "true":
|
1833
|
+
ret = new AST_True();
|
1834
|
+
break;
|
1835
|
+
case "null":
|
1836
|
+
ret = new AST_Null();
|
1837
|
+
break;
|
1838
|
+
default:
|
1839
|
+
unexpected();
|
1840
|
+
}
|
1841
|
+
break;
|
1842
|
+
default:
|
1843
|
+
unexpected();
|
1844
|
+
}
|
1845
|
+
next();
|
1846
|
+
ret.start = ret.end = tok;
|
1847
|
+
return ret;
|
1848
|
+
}
|
1849
|
+
|
1850
|
+
var expr_atom = function(allow_calls) {
|
1851
|
+
if (is("operator", "new")) {
|
1852
|
+
return new_(allow_calls);
|
1853
|
+
}
|
1854
|
+
var start = S.token;
|
1855
|
+
if (is("punc")) {
|
1856
|
+
switch (start.value) {
|
1857
|
+
case "`":
|
1858
|
+
return subscripts(template(null), allow_calls);
|
1859
|
+
case "(":
|
1860
|
+
next();
|
1861
|
+
if (is("punc", ")")) {
|
1862
|
+
next();
|
1863
|
+
return arrow([], start);
|
1864
|
+
}
|
1865
|
+
var ex = expression(false, true);
|
1866
|
+
var len = start.comments_before.length;
|
1867
|
+
[].unshift.apply(ex.start.comments_before, start.comments_before);
|
1868
|
+
start.comments_before.length = 0;
|
1869
|
+
start.comments_before = ex.start.comments_before;
|
1870
|
+
start.comments_before_length = len;
|
1871
|
+
if (len == 0 && start.comments_before.length > 0) {
|
1872
|
+
var comment = start.comments_before[0];
|
1873
|
+
if (!comment.nlb) {
|
1874
|
+
comment.nlb = start.nlb;
|
1875
|
+
start.nlb = false;
|
1876
|
+
}
|
1877
|
+
}
|
1878
|
+
start.comments_after = ex.start.comments_after;
|
1879
|
+
ex.start = start;
|
1880
|
+
expect(")");
|
1881
|
+
var end = prev();
|
1882
|
+
end.comments_before = ex.end.comments_before;
|
1883
|
+
end.comments_after.forEach(function(comment) {
|
1884
|
+
ex.end.comments_after.push(comment);
|
1885
|
+
if (comment.nlb) S.token.nlb = true;
|
1886
|
+
});
|
1887
|
+
end.comments_after.length = 0;
|
1888
|
+
end.comments_after = ex.end.comments_after;
|
1889
|
+
ex.end = end;
|
1890
|
+
if (is("punc", "=>")) return arrow(ex instanceof AST_Sequence ? ex.expressions : [ ex ], start);
|
1891
|
+
return subscripts(ex, allow_calls);
|
1892
|
+
case "[":
|
1893
|
+
return subscripts(array_(), allow_calls);
|
1894
|
+
case "{":
|
1895
|
+
return subscripts(object_(), allow_calls);
|
1896
|
+
}
|
1897
|
+
unexpected();
|
1898
|
+
}
|
1899
|
+
if (is("keyword")) switch (start.value) {
|
1900
|
+
case "class":
|
1901
|
+
next();
|
1902
|
+
var clazz = class_(AST_ClassExpression);
|
1903
|
+
clazz.start = start;
|
1904
|
+
clazz.end = prev();
|
1905
|
+
return subscripts(clazz, allow_calls);
|
1906
|
+
case "function":
|
1907
|
+
next();
|
1908
|
+
var func;
|
1909
|
+
if (is("operator", "*")) {
|
1910
|
+
next();
|
1911
|
+
func = function_(AST_GeneratorFunction);
|
1912
|
+
} else {
|
1913
|
+
func = function_(AST_Function);
|
1914
|
+
}
|
1915
|
+
func.start = start;
|
1916
|
+
func.end = prev();
|
1917
|
+
return subscripts(func, allow_calls);
|
1918
|
+
}
|
1919
|
+
if (is("name")) {
|
1920
|
+
var sym = _make_symbol(AST_SymbolRef, start);
|
1921
|
+
next();
|
1922
|
+
if (sym.name == "async") {
|
1923
|
+
if (is("keyword", "function")) {
|
1924
|
+
next();
|
1925
|
+
var func;
|
1926
|
+
if (is("operator", "*")) {
|
1927
|
+
next();
|
1928
|
+
func = function_(AST_AsyncGeneratorFunction);
|
1929
|
+
} else {
|
1930
|
+
func = function_(AST_AsyncFunction);
|
1931
|
+
}
|
1932
|
+
func.start = start;
|
1933
|
+
func.end = prev();
|
1934
|
+
return subscripts(func, allow_calls);
|
1935
|
+
}
|
1936
|
+
if (is("name") && is_token(peek(), "punc", "=>")) {
|
1937
|
+
start = S.token;
|
1938
|
+
sym = _make_symbol(AST_SymbolRef, start);
|
1939
|
+
next();
|
1940
|
+
return arrow([ sym ], start, true);
|
1941
|
+
}
|
1942
|
+
if (is("punc", "(")) {
|
1943
|
+
var call = subscripts(sym, allow_calls);
|
1944
|
+
if (!is("punc", "=>")) return call;
|
1945
|
+
var args = call.args;
|
1946
|
+
if (args[args.length - 1] instanceof AST_Spread) {
|
1947
|
+
args.rest = args.pop().expression;
|
1948
|
+
}
|
1949
|
+
return arrow(args, start, true);
|
1950
|
+
}
|
1951
|
+
}
|
1952
|
+
return is("punc", "=>") ? arrow([ sym ], start) : subscripts(sym, allow_calls);
|
1953
|
+
}
|
1954
|
+
if (ATOMIC_START_TOKEN[S.token.type]) {
|
1955
|
+
return subscripts(as_atom_node(), allow_calls);
|
1956
|
+
}
|
1957
|
+
unexpected();
|
1958
|
+
};
|
1959
|
+
|
1960
|
+
function expr_list(closing, allow_trailing_comma, allow_empty, parser) {
|
1961
|
+
if (!parser) parser = maybe_assign;
|
1962
|
+
var first = true, a = [];
|
1963
|
+
while (!is("punc", closing)) {
|
1964
|
+
if (first) first = false; else expect(",");
|
1965
|
+
if (allow_trailing_comma && is("punc", closing)) break;
|
1966
|
+
if (allow_empty && is("punc", ",")) {
|
1967
|
+
a.push(new AST_Hole({ start: S.token, end: S.token }));
|
1968
|
+
} else if (!is("operator", "...")) {
|
1969
|
+
a.push(parser());
|
1970
|
+
} else if (parser === maybe_assign) {
|
1971
|
+
a.push(new AST_Spread({
|
1972
|
+
start: S.token,
|
1973
|
+
expression: (next(), parser()),
|
1974
|
+
end: prev(),
|
1975
|
+
}));
|
1976
|
+
} else {
|
1977
|
+
next();
|
1978
|
+
a.rest = parser();
|
1979
|
+
if (a.rest instanceof AST_DefaultValue) token_error(a.rest.start, "Invalid rest parameter");
|
1980
|
+
break;
|
1981
|
+
}
|
1982
|
+
}
|
1983
|
+
expect(closing);
|
1984
|
+
return a;
|
1985
|
+
}
|
1986
|
+
|
1987
|
+
var array_ = embed_tokens(function() {
|
1988
|
+
expect("[");
|
1989
|
+
return new AST_Array({
|
1990
|
+
elements: expr_list("]", !options.strict, true)
|
1991
|
+
});
|
1992
|
+
});
|
1993
|
+
|
1994
|
+
var create_accessor = embed_tokens(function() {
|
1995
|
+
return function_(AST_Accessor);
|
1996
|
+
});
|
1997
|
+
|
1998
|
+
var object_ = embed_tokens(function() {
|
1999
|
+
expect("{");
|
2000
|
+
var first = true, a = [];
|
2001
|
+
while (!is("punc", "}")) {
|
2002
|
+
if (first) first = false; else expect(",");
|
2003
|
+
// allow trailing comma
|
2004
|
+
if (!options.strict && is("punc", "}")) break;
|
2005
|
+
var start = S.token;
|
2006
|
+
if (is("operator", "*")) {
|
2007
|
+
next();
|
2008
|
+
var key = as_property_key();
|
2009
|
+
var gen_start = S.token;
|
2010
|
+
var gen = function_(AST_GeneratorFunction);
|
2011
|
+
gen.start = gen_start;
|
2012
|
+
gen.end = prev();
|
2013
|
+
a.push(new AST_ObjectMethod({
|
2014
|
+
start: start,
|
2015
|
+
key: key,
|
2016
|
+
value: gen,
|
2017
|
+
end: prev(),
|
2018
|
+
}));
|
2019
|
+
continue;
|
2020
|
+
}
|
2021
|
+
if (is("operator", "...")) {
|
2022
|
+
next();
|
2023
|
+
a.push(new AST_Spread({
|
2024
|
+
start: start,
|
2025
|
+
expression: maybe_assign(),
|
2026
|
+
end: prev(),
|
2027
|
+
}));
|
2028
|
+
continue;
|
2029
|
+
}
|
2030
|
+
if (is_token(peek(), "operator", "=")) {
|
2031
|
+
var name = as_symbol(AST_SymbolRef);
|
2032
|
+
next();
|
2033
|
+
a.push(new AST_ObjectKeyVal({
|
2034
|
+
start: start,
|
2035
|
+
key: start.value,
|
2036
|
+
value: new AST_Assign({
|
2037
|
+
start: start,
|
2038
|
+
left: name,
|
2039
|
+
operator: "=",
|
2040
|
+
right: maybe_assign(),
|
2041
|
+
end: prev(),
|
2042
|
+
}),
|
2043
|
+
end: prev(),
|
2044
|
+
}));
|
2045
|
+
continue;
|
2046
|
+
}
|
2047
|
+
if (is_token(peek(), "punc", ",") || is_token(peek(), "punc", "}")) {
|
2048
|
+
a.push(new AST_ObjectKeyVal({
|
2049
|
+
start: start,
|
2050
|
+
key: start.value,
|
2051
|
+
value: as_symbol(AST_SymbolRef),
|
2052
|
+
end: prev(),
|
2053
|
+
}));
|
2054
|
+
continue;
|
2055
|
+
}
|
2056
|
+
var key = as_property_key();
|
2057
|
+
if (is("punc", "(")) {
|
2058
|
+
var func_start = S.token;
|
2059
|
+
var func = function_(AST_Function);
|
2060
|
+
func.start = func_start;
|
2061
|
+
func.end = prev();
|
2062
|
+
a.push(new AST_ObjectMethod({
|
2063
|
+
start: start,
|
2064
|
+
key: key,
|
2065
|
+
value: func,
|
2066
|
+
end: prev(),
|
2067
|
+
}));
|
2068
|
+
continue;
|
2069
|
+
}
|
2070
|
+
if (is("punc", ":")) {
|
2071
|
+
next();
|
2072
|
+
a.push(new AST_ObjectKeyVal({
|
2073
|
+
start: start,
|
2074
|
+
key: key,
|
2075
|
+
value: maybe_assign(),
|
2076
|
+
end: prev(),
|
2077
|
+
}));
|
2078
|
+
continue;
|
2079
|
+
}
|
2080
|
+
if (start.type == "name") switch (key) {
|
2081
|
+
case "async":
|
2082
|
+
var is_gen = is("operator", "*") && next();
|
2083
|
+
key = as_property_key();
|
2084
|
+
var func_start = S.token;
|
2085
|
+
var func = function_(is_gen ? AST_AsyncGeneratorFunction : AST_AsyncFunction);
|
2086
|
+
func.start = func_start;
|
2087
|
+
func.end = prev();
|
2088
|
+
a.push(new AST_ObjectMethod({
|
2089
|
+
start: start,
|
2090
|
+
key: key,
|
2091
|
+
value: func,
|
2092
|
+
end: prev(),
|
2093
|
+
}));
|
2094
|
+
continue;
|
2095
|
+
case "get":
|
2096
|
+
a.push(new AST_ObjectGetter({
|
2097
|
+
start: start,
|
2098
|
+
key: as_property_key(),
|
2099
|
+
value: create_accessor(),
|
2100
|
+
end: prev(),
|
2101
|
+
}));
|
2102
|
+
continue;
|
2103
|
+
case "set":
|
2104
|
+
a.push(new AST_ObjectSetter({
|
2105
|
+
start: start,
|
2106
|
+
key: as_property_key(),
|
2107
|
+
value: create_accessor(),
|
2108
|
+
end: prev(),
|
2109
|
+
}));
|
2110
|
+
continue;
|
2111
|
+
}
|
2112
|
+
unexpected();
|
2113
|
+
}
|
2114
|
+
next();
|
2115
|
+
return new AST_Object({ properties: a });
|
2116
|
+
});
|
2117
|
+
|
2118
|
+
function as_property_key() {
|
2119
|
+
var tmp = S.token;
|
2120
|
+
switch (tmp.type) {
|
2121
|
+
case "operator":
|
2122
|
+
if (!KEYWORDS[tmp.value]) unexpected();
|
2123
|
+
case "num":
|
2124
|
+
case "string":
|
2125
|
+
case "name":
|
2126
|
+
case "keyword":
|
2127
|
+
case "atom":
|
2128
|
+
next();
|
2129
|
+
return "" + tmp.value;
|
2130
|
+
case "punc":
|
2131
|
+
expect("[");
|
2132
|
+
var key = maybe_assign();
|
2133
|
+
expect("]");
|
2134
|
+
return key;
|
2135
|
+
default:
|
2136
|
+
unexpected();
|
2137
|
+
}
|
2138
|
+
}
|
2139
|
+
|
2140
|
+
function as_name() {
|
2141
|
+
var name = S.token.value;
|
2142
|
+
expect_token("name");
|
2143
|
+
return name;
|
2144
|
+
}
|
2145
|
+
|
2146
|
+
function _make_symbol(type, token) {
|
2147
|
+
var name = token.value;
|
2148
|
+
switch (name) {
|
2149
|
+
case "await":
|
2150
|
+
if (S.in_async) unexpected(token);
|
2151
|
+
break;
|
2152
|
+
case "super":
|
2153
|
+
type = AST_Super;
|
2154
|
+
break;
|
2155
|
+
case "this":
|
2156
|
+
type = AST_This;
|
2157
|
+
break;
|
2158
|
+
case "yield":
|
2159
|
+
if (S.in_generator) unexpected(token);
|
2160
|
+
break;
|
2161
|
+
}
|
2162
|
+
return new type({
|
2163
|
+
name: "" + name,
|
2164
|
+
start: token,
|
2165
|
+
end: token,
|
2166
|
+
});
|
2167
|
+
}
|
2168
|
+
|
2169
|
+
function strict_verify_symbol(sym) {
|
2170
|
+
if (sym.name == "arguments" || sym.name == "eval" || sym.name == "let")
|
2171
|
+
token_error(sym.start, "Unexpected " + sym.name + " in strict mode");
|
2172
|
+
}
|
2173
|
+
|
2174
|
+
function as_symbol(type, no_error) {
|
2175
|
+
if (!is("name")) {
|
2176
|
+
if (!no_error) croak("Name expected");
|
2177
|
+
return null;
|
2178
|
+
}
|
2179
|
+
var sym = _make_symbol(type, S.token);
|
2180
|
+
if (S.input.has_directive("use strict") && sym instanceof AST_SymbolDeclaration) {
|
2181
|
+
strict_verify_symbol(sym);
|
2182
|
+
}
|
2183
|
+
next();
|
2184
|
+
return sym;
|
2185
|
+
}
|
2186
|
+
|
2187
|
+
function maybe_destructured(type) {
|
2188
|
+
var start = S.token;
|
2189
|
+
if (is("punc", "[")) {
|
2190
|
+
next();
|
2191
|
+
var elements = expr_list("]", !options.strict, true, function() {
|
2192
|
+
return maybe_default(type);
|
2193
|
+
});
|
2194
|
+
return new AST_DestructuredArray({
|
2195
|
+
start: start,
|
2196
|
+
elements: elements,
|
2197
|
+
rest: elements.rest || null,
|
2198
|
+
end: prev(),
|
2199
|
+
});
|
2200
|
+
}
|
2201
|
+
if (is("punc", "{")) {
|
2202
|
+
next();
|
2203
|
+
var first = true, a = [], rest = null;
|
2204
|
+
while (!is("punc", "}")) {
|
2205
|
+
if (first) first = false; else expect(",");
|
2206
|
+
// allow trailing comma
|
2207
|
+
if (!options.strict && is("punc", "}")) break;
|
2208
|
+
var key_start = S.token;
|
2209
|
+
if (is("punc", "[") || is_token(peek(), "punc", ":")) {
|
2210
|
+
var key = as_property_key();
|
2211
|
+
expect(":");
|
2212
|
+
a.push(new AST_DestructuredKeyVal({
|
2213
|
+
start: key_start,
|
2214
|
+
key: key,
|
2215
|
+
value: maybe_default(type),
|
2216
|
+
end: prev(),
|
2217
|
+
}));
|
2218
|
+
continue;
|
2219
|
+
}
|
2220
|
+
if (is("operator", "...")) {
|
2221
|
+
next();
|
2222
|
+
rest = maybe_destructured(type);
|
2223
|
+
break;
|
2224
|
+
}
|
2225
|
+
var name = as_symbol(type);
|
2226
|
+
if (is("operator", "=")) {
|
2227
|
+
next();
|
2228
|
+
name = new AST_DefaultValue({
|
2229
|
+
start: name.start,
|
2230
|
+
name: name,
|
2231
|
+
value: maybe_assign(),
|
2232
|
+
end: prev(),
|
2233
|
+
});
|
2234
|
+
}
|
2235
|
+
a.push(new AST_DestructuredKeyVal({
|
2236
|
+
start: key_start,
|
2237
|
+
key: key_start.value,
|
2238
|
+
value: name,
|
2239
|
+
end: prev(),
|
2240
|
+
}));
|
2241
|
+
}
|
2242
|
+
expect("}");
|
2243
|
+
return new AST_DestructuredObject({
|
2244
|
+
start: start,
|
2245
|
+
properties: a,
|
2246
|
+
rest: rest,
|
2247
|
+
end: prev(),
|
2248
|
+
});
|
2249
|
+
}
|
2250
|
+
return as_symbol(type);
|
2251
|
+
}
|
2252
|
+
|
2253
|
+
function maybe_default(type) {
|
2254
|
+
var start = S.token;
|
2255
|
+
var name = maybe_destructured(type);
|
2256
|
+
if (!is("operator", "=")) return name;
|
2257
|
+
next();
|
2258
|
+
return new AST_DefaultValue({
|
2259
|
+
start: start,
|
2260
|
+
name: name,
|
2261
|
+
value: maybe_assign(),
|
2262
|
+
end: prev(),
|
2263
|
+
});
|
2264
|
+
}
|
2265
|
+
|
2266
|
+
function template(tag) {
|
2267
|
+
var start = tag ? tag.start : S.token;
|
2268
|
+
var read = S.input.context().read_template;
|
2269
|
+
var strings = [];
|
2270
|
+
var expressions = [];
|
2271
|
+
while (read(strings)) {
|
2272
|
+
next();
|
2273
|
+
expressions.push(expression());
|
2274
|
+
if (!is("punc", "}")) unexpected();
|
2275
|
+
}
|
2276
|
+
next();
|
2277
|
+
return new AST_Template({
|
2278
|
+
start: start,
|
2279
|
+
expressions: expressions,
|
2280
|
+
strings: strings,
|
2281
|
+
tag: tag,
|
2282
|
+
end: prev(),
|
2283
|
+
});
|
2284
|
+
}
|
2285
|
+
|
2286
|
+
function subscripts(expr, allow_calls) {
|
2287
|
+
var start = expr.start;
|
2288
|
+
var optional = null;
|
2289
|
+
while (true) {
|
2290
|
+
if (is("operator", "?") && is_token(peek(), "punc", ".")) {
|
2291
|
+
next();
|
2292
|
+
next();
|
2293
|
+
optional = expr;
|
2294
|
+
}
|
2295
|
+
if (is("punc", "[")) {
|
2296
|
+
next();
|
2297
|
+
var prop = expression();
|
2298
|
+
expect("]");
|
2299
|
+
expr = new AST_Sub({
|
2300
|
+
start: start,
|
2301
|
+
optional: optional === expr,
|
2302
|
+
expression: expr,
|
2303
|
+
property: prop,
|
2304
|
+
end: prev(),
|
2305
|
+
});
|
2306
|
+
} else if (allow_calls && is("punc", "(")) {
|
2307
|
+
next();
|
2308
|
+
expr = new AST_Call({
|
2309
|
+
start: start,
|
2310
|
+
optional: optional === expr,
|
2311
|
+
expression: expr,
|
2312
|
+
args: expr_list(")", !options.strict),
|
2313
|
+
end: prev(),
|
2314
|
+
});
|
2315
|
+
} else if (optional === expr || is("punc", ".")) {
|
2316
|
+
if (optional !== expr) next();
|
2317
|
+
expr = new AST_Dot({
|
2318
|
+
start: start,
|
2319
|
+
optional: optional === expr,
|
2320
|
+
expression: expr,
|
2321
|
+
property: as_name(),
|
2322
|
+
end: prev(),
|
2323
|
+
});
|
2324
|
+
} else if (is("punc", "`")) {
|
2325
|
+
if (optional) croak("Invalid template on optional chain");
|
2326
|
+
expr = template(expr);
|
2327
|
+
} else {
|
2328
|
+
break;
|
2329
|
+
}
|
2330
|
+
}
|
2331
|
+
if (optional) expr.terminal = true;
|
2332
|
+
if (expr instanceof AST_Call && !expr.pure) {
|
2333
|
+
var start = expr.start;
|
2334
|
+
var comments = start.comments_before;
|
2335
|
+
var i = HOP(start, "comments_before_length") ? start.comments_before_length : comments.length;
|
2336
|
+
while (--i >= 0) {
|
2337
|
+
if (/[@#]__PURE__/.test(comments[i].value)) {
|
2338
|
+
expr.pure = true;
|
2339
|
+
break;
|
2340
|
+
}
|
2341
|
+
}
|
2342
|
+
}
|
2343
|
+
return expr;
|
2344
|
+
}
|
2345
|
+
|
2346
|
+
function maybe_unary(no_in) {
|
2347
|
+
var start = S.token;
|
2348
|
+
if (S.in_async && is("name", "await")) {
|
2349
|
+
if (S.in_funarg === S.in_function) croak("Invalid use of await in function argument");
|
2350
|
+
S.input.context().regex_allowed = true;
|
2351
|
+
next();
|
2352
|
+
return new AST_Await({
|
2353
|
+
start: start,
|
2354
|
+
expression: maybe_unary(no_in),
|
2355
|
+
end: prev(),
|
2356
|
+
});
|
2357
|
+
}
|
2358
|
+
if (S.in_generator && is("name", "yield")) {
|
2359
|
+
if (S.in_funarg === S.in_function) croak("Invalid use of yield in function argument");
|
2360
|
+
S.input.context().regex_allowed = true;
|
2361
|
+
next();
|
2362
|
+
var exp = null;
|
2363
|
+
var nested = false;
|
2364
|
+
if (is("operator", "*")) {
|
2365
|
+
next();
|
2366
|
+
exp = maybe_assign(no_in);
|
2367
|
+
nested = true;
|
2368
|
+
} else if (is("punc") ? !PUNC_AFTER_EXPRESSION[S.token.value] : !can_insert_semicolon()) {
|
2369
|
+
exp = maybe_assign(no_in);
|
2370
|
+
}
|
2371
|
+
return new AST_Yield({
|
2372
|
+
start: start,
|
2373
|
+
expression: exp,
|
2374
|
+
nested: nested,
|
2375
|
+
end: prev(),
|
2376
|
+
});
|
2377
|
+
}
|
2378
|
+
if (is("operator") && UNARY_PREFIX[start.value]) {
|
2379
|
+
next();
|
2380
|
+
handle_regexp();
|
2381
|
+
var ex = make_unary(AST_UnaryPrefix, start, maybe_unary(no_in));
|
2382
|
+
ex.start = start;
|
2383
|
+
ex.end = prev();
|
2384
|
+
return ex;
|
2385
|
+
}
|
2386
|
+
var val = expr_atom(true);
|
2387
|
+
while (is("operator") && UNARY_POSTFIX[S.token.value] && !has_newline_before(S.token)) {
|
2388
|
+
val = make_unary(AST_UnaryPostfix, S.token, val);
|
2389
|
+
val.start = start;
|
2390
|
+
val.end = S.token;
|
2391
|
+
next();
|
2392
|
+
}
|
2393
|
+
return val;
|
2394
|
+
}
|
2395
|
+
|
2396
|
+
function make_unary(ctor, token, expr) {
|
2397
|
+
var op = token.value;
|
2398
|
+
switch (op) {
|
2399
|
+
case "++":
|
2400
|
+
case "--":
|
2401
|
+
if (!is_assignable(expr))
|
2402
|
+
token_error(token, "Invalid use of " + op + " operator");
|
2403
|
+
break;
|
2404
|
+
case "delete":
|
2405
|
+
if (expr instanceof AST_SymbolRef && S.input.has_directive("use strict"))
|
2406
|
+
token_error(expr.start, "Calling delete on expression not allowed in strict mode");
|
2407
|
+
break;
|
2408
|
+
}
|
2409
|
+
return new ctor({ operator: op, expression: expr });
|
2410
|
+
}
|
2411
|
+
|
2412
|
+
var expr_op = function(left, min_precision, no_in) {
|
2413
|
+
var op = is("operator") ? S.token.value : null;
|
2414
|
+
if (op == "in" && no_in) op = null;
|
2415
|
+
var precision = op != null ? PRECEDENCE[op] : null;
|
2416
|
+
if (precision != null && precision > min_precision) {
|
2417
|
+
next();
|
2418
|
+
var right = expr_op(maybe_unary(no_in), op == "**" ? precision - 1 : precision, no_in);
|
2419
|
+
return expr_op(new AST_Binary({
|
2420
|
+
start : left.start,
|
2421
|
+
left : left,
|
2422
|
+
operator : op,
|
2423
|
+
right : right,
|
2424
|
+
end : right.end,
|
2425
|
+
}), min_precision, no_in);
|
2426
|
+
}
|
2427
|
+
return left;
|
2428
|
+
};
|
2429
|
+
|
2430
|
+
function expr_ops(no_in) {
|
2431
|
+
return expr_op(maybe_unary(no_in), 0, no_in);
|
2432
|
+
}
|
2433
|
+
|
2434
|
+
var maybe_conditional = function(no_in) {
|
2435
|
+
var start = S.token;
|
2436
|
+
var expr = expr_ops(no_in);
|
2437
|
+
if (is("operator", "?")) {
|
2438
|
+
next();
|
2439
|
+
var yes = maybe_assign();
|
2440
|
+
expect(":");
|
2441
|
+
return new AST_Conditional({
|
2442
|
+
start : start,
|
2443
|
+
condition : expr,
|
2444
|
+
consequent : yes,
|
2445
|
+
alternative : maybe_assign(no_in),
|
2446
|
+
end : prev()
|
2447
|
+
});
|
2448
|
+
}
|
2449
|
+
return expr;
|
2450
|
+
};
|
2451
|
+
|
2452
|
+
function is_assignable(expr) {
|
2453
|
+
return expr instanceof AST_PropAccess && !expr.optional || expr instanceof AST_SymbolRef;
|
2454
|
+
}
|
2455
|
+
|
2456
|
+
function to_destructured(node) {
|
2457
|
+
if (node instanceof AST_Array) {
|
2458
|
+
var rest = null;
|
2459
|
+
if (node.elements[node.elements.length - 1] instanceof AST_Spread) {
|
2460
|
+
rest = to_destructured(node.elements.pop().expression);
|
2461
|
+
if (!(rest instanceof AST_Destructured || is_assignable(rest))) return node;
|
2462
|
+
}
|
2463
|
+
var elements = node.elements.map(to_destructured);
|
2464
|
+
return all(elements, function(node) {
|
2465
|
+
return node instanceof AST_DefaultValue
|
2466
|
+
|| node instanceof AST_Destructured
|
2467
|
+
|| node instanceof AST_Hole
|
2468
|
+
|| is_assignable(node);
|
2469
|
+
}) ? new AST_DestructuredArray({
|
2470
|
+
start: node.start,
|
2471
|
+
elements: elements,
|
2472
|
+
rest: rest,
|
2473
|
+
end: node.end,
|
2474
|
+
}) : node;
|
2475
|
+
}
|
2476
|
+
if (node instanceof AST_Assign) {
|
2477
|
+
var name = to_destructured(node.left);
|
2478
|
+
return name instanceof AST_Destructured || is_assignable(name) ? new AST_DefaultValue({
|
2479
|
+
start: node.start,
|
2480
|
+
name: name,
|
2481
|
+
value: node.right,
|
2482
|
+
end: node.end,
|
2483
|
+
}) : node;
|
2484
|
+
}
|
2485
|
+
if (!(node instanceof AST_Object)) return node;
|
2486
|
+
var rest = null;
|
2487
|
+
if (node.properties[node.properties.length - 1] instanceof AST_Spread) {
|
2488
|
+
rest = to_destructured(node.properties.pop().expression);
|
2489
|
+
if (!(rest instanceof AST_Destructured || is_assignable(rest))) return node;
|
2490
|
+
}
|
2491
|
+
var props = [];
|
2492
|
+
for (var i = 0; i < node.properties.length; i++) {
|
2493
|
+
var prop = node.properties[i];
|
2494
|
+
if (!(prop instanceof AST_ObjectKeyVal)) return node;
|
2495
|
+
var value = to_destructured(prop.value);
|
2496
|
+
if (!(value instanceof AST_DefaultValue || value instanceof AST_Destructured || is_assignable(value))) {
|
2497
|
+
return node;
|
2498
|
+
}
|
2499
|
+
props.push(new AST_DestructuredKeyVal({
|
2500
|
+
start: prop.start,
|
2501
|
+
key: prop.key,
|
2502
|
+
value: value,
|
2503
|
+
end: prop.end,
|
2504
|
+
}));
|
2505
|
+
}
|
2506
|
+
return new AST_DestructuredObject({
|
2507
|
+
start: node.start,
|
2508
|
+
properties: props,
|
2509
|
+
rest: rest,
|
2510
|
+
end: node.end,
|
2511
|
+
});
|
2512
|
+
}
|
2513
|
+
|
2514
|
+
function maybe_assign(no_in) {
|
2515
|
+
var start = S.token;
|
2516
|
+
var left = maybe_conditional(no_in), val = S.token.value;
|
2517
|
+
if (is("operator") && ASSIGNMENT[val]) {
|
2518
|
+
if (is_assignable(left) || val == "=" && (left = to_destructured(left)) instanceof AST_Destructured) {
|
2519
|
+
next();
|
2520
|
+
return new AST_Assign({
|
2521
|
+
start : start,
|
2522
|
+
left : left,
|
2523
|
+
operator : val,
|
2524
|
+
right : maybe_assign(no_in),
|
2525
|
+
end : prev()
|
2526
|
+
});
|
2527
|
+
}
|
2528
|
+
croak("Invalid assignment");
|
2529
|
+
}
|
2530
|
+
return left;
|
2531
|
+
}
|
2532
|
+
|
2533
|
+
function expression(no_in, maybe_arrow) {
|
2534
|
+
var start = S.token;
|
2535
|
+
var exprs = [];
|
2536
|
+
while (true) {
|
2537
|
+
if (maybe_arrow && is("operator", "...")) {
|
2538
|
+
next();
|
2539
|
+
exprs.rest = maybe_destructured(AST_SymbolFunarg);
|
2540
|
+
break;
|
2541
|
+
}
|
2542
|
+
exprs.push(maybe_assign(no_in));
|
2543
|
+
if (!is("punc", ",")) break;
|
2544
|
+
next();
|
2545
|
+
if (maybe_arrow && is("punc", ")") && is_token(peek(), "punc", "=>")) break;
|
2546
|
+
}
|
2547
|
+
return exprs.length == 1 && !exprs.rest ? exprs[0] : new AST_Sequence({
|
2548
|
+
start: start,
|
2549
|
+
expressions: exprs,
|
2550
|
+
end: prev(),
|
2551
|
+
});
|
2552
|
+
}
|
2553
|
+
|
2554
|
+
function in_loop(cont) {
|
2555
|
+
++S.in_loop;
|
2556
|
+
var ret = cont();
|
2557
|
+
--S.in_loop;
|
2558
|
+
return ret;
|
2559
|
+
}
|
2560
|
+
|
2561
|
+
if (options.expression) {
|
2562
|
+
handle_regexp();
|
2563
|
+
var exp = expression();
|
2564
|
+
expect_token("eof");
|
2565
|
+
return exp;
|
2566
|
+
}
|
2567
|
+
|
2568
|
+
return function() {
|
2569
|
+
var start = S.token;
|
2570
|
+
var body = [];
|
2571
|
+
if (options.module) {
|
2572
|
+
S.in_async = true;
|
2573
|
+
S.input.add_directive("use strict");
|
2574
|
+
}
|
2575
|
+
S.input.push_directives_stack();
|
2576
|
+
while (!is("eof"))
|
2577
|
+
body.push(statement(true));
|
2578
|
+
S.input.pop_directives_stack();
|
2579
|
+
var end = prev() || start;
|
2580
|
+
var toplevel = options.toplevel;
|
2581
|
+
if (toplevel) {
|
2582
|
+
toplevel.body = toplevel.body.concat(body);
|
2583
|
+
toplevel.end = end;
|
2584
|
+
} else {
|
2585
|
+
toplevel = new AST_Toplevel({ start: start, body: body, end: end });
|
2586
|
+
}
|
2587
|
+
return toplevel;
|
2588
|
+
}();
|
2589
|
+
}
|