pcp-server-ruby-sdk 0.1.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/PCP-server-Ruby-SDK.gemspec +0 -11
- data/README.md +16 -13
- data/Rakefile +2 -4
- data/api-definition.yaml +4737 -0
- data/example-app/commerce_case_api_example.rb +9 -7
- data/example-app/example.rb +4 -4
- data/lib/PCP-server-Ruby-SDK/communicator_configuration.rb +14 -7
- data/lib/PCP-server-Ruby-SDK/endpoints/base_api_client.rb +111 -0
- data/lib/PCP-server-Ruby-SDK/endpoints/checkout_api_client.rb +153 -0
- data/lib/PCP-server-Ruby-SDK/endpoints/commerce_case_api_client.rb +99 -0
- data/lib/PCP-server-Ruby-SDK/endpoints/order_management_checkout_actions_api_client.rb +110 -0
- data/lib/PCP-server-Ruby-SDK/endpoints/payment_execution_api_client.rb +189 -0
- data/lib/PCP-server-Ruby-SDK/endpoints/payment_information_api_client.rb +94 -0
- data/lib/PCP-server-Ruby-SDK/errors/api_error_response_exception.rb +19 -8
- data/lib/PCP-server-Ruby-SDK/errors/api_exception.rb +30 -20
- data/lib/PCP-server-Ruby-SDK/errors/api_response_retrieval_exception.rb +12 -3
- data/lib/PCP-server-Ruby-SDK/models/address.rb +219 -425
- data/lib/PCP-server-Ruby-SDK/models/address_personal.rb +227 -411
- data/lib/PCP-server-Ruby-SDK/models/allowed_payment_actions.rb +23 -33
- data/lib/PCP-server-Ruby-SDK/models/amount_of_money.rb +171 -262
- data/lib/PCP-server-Ruby-SDK/models/api_error.rb +199 -229
- data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_header_information.rb +164 -189
- data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_information.rb +187 -224
- data/lib/PCP-server-Ruby-SDK/models/apple_payment_token_version.rb +20 -0
- data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment.rb +62 -0
- data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_contact.rb +42 -0
- data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_data.rb +21 -0
- data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_data_header.rb +22 -0
- data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb +21 -0
- data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method_type.rb +19 -0
- data/lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_token.rb +17 -0
- data/lib/PCP-server-Ruby-SDK/models/authorization_mode.rb +23 -33
- data/lib/PCP-server-Ruby-SDK/models/bank_account_information.rb +173 -234
- data/lib/PCP-server-Ruby-SDK/models/bank_payout_method_specific_input.rb +198 -0
- data/lib/PCP-server-Ruby-SDK/models/cancel_item.rb +162 -225
- data/lib/PCP-server-Ruby-SDK/models/cancel_payment_request.rb +163 -196
- data/lib/PCP-server-Ruby-SDK/models/cancel_payment_response.rb +153 -178
- data/lib/PCP-server-Ruby-SDK/models/cancel_request.rb +188 -213
- data/lib/PCP-server-Ruby-SDK/models/cancel_response.rb +160 -185
- data/lib/PCP-server-Ruby-SDK/models/cancel_type.rb +23 -33
- data/lib/PCP-server-Ruby-SDK/models/cancellation_reason.rb +27 -37
- data/lib/PCP-server-Ruby-SDK/models/capture_output.rb +178 -218
- data/lib/PCP-server-Ruby-SDK/models/capture_payment_request.rb +211 -264
- data/lib/PCP-server-Ruby-SDK/models/capture_payment_response.rb +193 -218
- data/lib/PCP-server-Ruby-SDK/models/card_fraud_results.rb +155 -180
- data/lib/PCP-server-Ruby-SDK/models/card_info.rb +155 -180
- data/lib/PCP-server-Ruby-SDK/models/card_payment_details.rb +181 -282
- data/lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_input.rb +262 -414
- data/lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_output.rb +175 -228
- data/lib/PCP-server-Ruby-SDK/models/card_recurrence_details.rb +155 -180
- data/lib/PCP-server-Ruby-SDK/models/cart_item_input.rb +162 -187
- data/lib/PCP-server-Ruby-SDK/models/cart_item_invoice_data.rb +155 -180
- data/lib/PCP-server-Ruby-SDK/models/cart_item_order_status.rb +175 -228
- data/lib/PCP-server-Ruby-SDK/models/cart_item_patch.rb +162 -187
- data/lib/PCP-server-Ruby-SDK/models/cart_item_result.rb +162 -187
- data/lib/PCP-server-Ruby-SDK/models/cart_item_status.rb +26 -36
- data/lib/PCP-server-Ruby-SDK/models/checkout_references.rb +158 -220
- data/lib/PCP-server-Ruby-SDK/models/checkout_response.rb +257 -301
- data/lib/PCP-server-Ruby-SDK/models/checkouts_response.rb +162 -206
- data/lib/PCP-server-Ruby-SDK/models/commerce_case_response.rb +186 -230
- data/lib/PCP-server-Ruby-SDK/models/company_information.rb +155 -180
- data/lib/PCP-server-Ruby-SDK/models/complete_financing_payment_method_specific_input.rb +167 -220
- data/lib/PCP-server-Ruby-SDK/models/complete_payment_method_specific_input.rb +154 -179
- data/lib/PCP-server-Ruby-SDK/models/complete_payment_request.rb +169 -194
- data/lib/PCP-server-Ruby-SDK/models/complete_payment_response.rb +166 -191
- data/lib/PCP-server-Ruby-SDK/models/contact_details.rb +164 -189
- data/lib/PCP-server-Ruby-SDK/models/create_checkout_request.rb +199 -224
- data/lib/PCP-server-Ruby-SDK/models/create_checkout_response.rb +249 -274
- data/lib/PCP-server-Ruby-SDK/models/create_commerce_case_request.rb +176 -220
- data/lib/PCP-server-Ruby-SDK/models/create_commerce_case_response.rb +186 -230
- data/lib/PCP-server-Ruby-SDK/models/create_payment_response.rb +176 -201
- data/lib/PCP-server-Ruby-SDK/models/customer.rb +209 -291
- data/lib/PCP-server-Ruby-SDK/models/customer_device.rb +158 -221
- data/lib/PCP-server-Ruby-SDK/models/deliver_item.rb +162 -225
- data/lib/PCP-server-Ruby-SDK/models/deliver_request.rb +195 -218
- data/lib/PCP-server-Ruby-SDK/models/deliver_response.rb +160 -184
- data/lib/PCP-server-Ruby-SDK/models/deliver_type.rb +24 -32
- data/lib/PCP-server-Ruby-SDK/models/delivery_information.rb +156 -180
- data/lib/PCP-server-Ruby-SDK/models/error_response.rb +163 -187
- data/lib/PCP-server-Ruby-SDK/models/extended_checkout_status.rb +30 -39
- data/lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_input.rb +167 -219
- data/lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_output.rb +162 -211
- data/lib/PCP-server-Ruby-SDK/models/installment_option.rb +238 -337
- data/lib/PCP-server-Ruby-SDK/models/link_information.rb +166 -200
- data/lib/PCP-server-Ruby-SDK/models/mandate_recurrence_type.rb +23 -32
- data/lib/PCP-server-Ruby-SDK/models/merchant_action.rb +163 -187
- data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_input.rb +209 -276
- data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_output.rb +184 -236
- data/lib/PCP-server-Ruby-SDK/models/mobile_payment_three_dsecure.rb +185 -0
- data/lib/PCP-server-Ruby-SDK/models/network.rb +24 -0
- data/lib/PCP-server-Ruby-SDK/models/order.rb +182 -211
- data/lib/PCP-server-Ruby-SDK/models/order_item.rb +163 -225
- data/lib/PCP-server-Ruby-SDK/models/order_line_details_input.rb +255 -422
- data/lib/PCP-server-Ruby-SDK/models/order_line_details_patch.rb +273 -445
- data/lib/PCP-server-Ruby-SDK/models/order_line_details_result.rb +273 -445
- data/lib/PCP-server-Ruby-SDK/models/order_request.rb +192 -214
- data/lib/PCP-server-Ruby-SDK/models/order_response.rb +162 -186
- data/lib/PCP-server-Ruby-SDK/models/order_type.rb +23 -32
- data/lib/PCP-server-Ruby-SDK/models/patch_checkout_request.rb +188 -212
- data/lib/PCP-server-Ruby-SDK/models/patch_commerce_case_request.rb +154 -178
- data/lib/PCP-server-Ruby-SDK/models/pause_payment_request.rb +204 -0
- data/lib/PCP-server-Ruby-SDK/models/pause_payment_response.rb +192 -0
- data/lib/PCP-server-Ruby-SDK/models/payee.rb +212 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_channel.rb +23 -32
- data/lib/PCP-server-Ruby-SDK/models/payment_creation_output.rb +155 -179
- data/lib/PCP-server-Ruby-SDK/models/payment_event.rb +197 -238
- data/lib/PCP-server-Ruby-SDK/models/payment_execution.rb +268 -256
- data/lib/PCP-server-Ruby-SDK/models/payment_execution_request.rb +162 -187
- data/lib/PCP-server-Ruby-SDK/models/payment_execution_specific_input.rb +168 -197
- data/lib/PCP-server-Ruby-SDK/models/payment_information_refund_request.rb +212 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_information_refund_response.rb +202 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_information_request.rb +214 -306
- data/lib/PCP-server-Ruby-SDK/models/payment_information_response.rb +286 -407
- data/lib/PCP-server-Ruby-SDK/models/payment_instructions.rb +222 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_method_specific_input.rb +212 -234
- data/lib/PCP-server-Ruby-SDK/models/payment_output.rb +208 -251
- data/lib/PCP-server-Ruby-SDK/models/payment_product302_specific_input.rb +232 -0
- data/lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_input.rb +165 -199
- data/lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_output.rb +156 -180
- data/lib/PCP-server-Ruby-SDK/models/payment_product3392_specific_input.rb +155 -184
- data/lib/PCP-server-Ruby-SDK/models/payment_product771_specific_output.rb +155 -179
- data/lib/PCP-server-Ruby-SDK/models/payment_product840_customer_account.rb +182 -206
- data/lib/PCP-server-Ruby-SDK/models/payment_product840_specific_output.rb +167 -191
- data/lib/PCP-server-Ruby-SDK/models/payment_references.rb +152 -195
- data/lib/PCP-server-Ruby-SDK/models/payment_response.rb +192 -214
- data/lib/PCP-server-Ruby-SDK/models/payment_status_output.rb +194 -216
- data/lib/PCP-server-Ruby-SDK/models/payment_type.rb +29 -38
- data/lib/PCP-server-Ruby-SDK/models/payout_output.rb +175 -195
- data/lib/PCP-server-Ruby-SDK/models/payout_response.rb +178 -219
- data/lib/PCP-server-Ruby-SDK/models/personal_information.rb +190 -254
- data/lib/PCP-server-Ruby-SDK/models/personal_name.rb +173 -197
- data/lib/PCP-server-Ruby-SDK/models/positive_amount_of_money.rb +169 -259
- data/lib/PCP-server-Ruby-SDK/models/processing_mandate_information.rb +214 -351
- data/lib/PCP-server-Ruby-SDK/models/product_type.rb +25 -34
- data/lib/PCP-server-Ruby-SDK/models/redirect_data.rb +155 -179
- data/lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_input.rb +203 -293
- data/lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_output.rb +180 -270
- data/lib/PCP-server-Ruby-SDK/models/redirect_payment_product840_specific_input.rb +155 -179
- data/lib/PCP-server-Ruby-SDK/models/redirection_data.rb +153 -201
- data/lib/PCP-server-Ruby-SDK/models/references.rb +175 -261
- data/lib/PCP-server-Ruby-SDK/models/refresh_payment_request.rb +192 -0
- data/lib/PCP-server-Ruby-SDK/models/refresh_type.rb +30 -0
- data/lib/PCP-server-Ruby-SDK/models/refund_error_response.rb +163 -187
- data/lib/PCP-server-Ruby-SDK/models/refund_output.rb +177 -220
- data/lib/PCP-server-Ruby-SDK/models/refund_payment_response.rb +192 -214
- data/lib/PCP-server-Ruby-SDK/models/refund_request.rb +167 -191
- data/lib/PCP-server-Ruby-SDK/models/return_information.rb +162 -205
- data/lib/PCP-server-Ruby-SDK/models/return_item.rb +162 -224
- data/lib/PCP-server-Ruby-SDK/models/return_request.rb +179 -226
- data/lib/PCP-server-Ruby-SDK/models/return_response.rb +160 -184
- data/lib/PCP-server-Ruby-SDK/models/return_type.rb +23 -32
- data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_input.rb +158 -210
- data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_output.rb +158 -210
- data/lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_product771_specific_input.rb +163 -187
- data/lib/PCP-server-Ruby-SDK/models/sepa_transfer_payment_product_772_specific_input.rb +192 -0
- data/lib/PCP-server-Ruby-SDK/models/shipping.rb +154 -178
- data/lib/PCP-server-Ruby-SDK/models/shopping_cart_input.rb +155 -179
- data/lib/PCP-server-Ruby-SDK/models/shopping_cart_patch.rb +155 -179
- data/lib/PCP-server-Ruby-SDK/models/shopping_cart_result.rb +155 -179
- data/lib/PCP-server-Ruby-SDK/models/status_category_value.rb +29 -38
- data/lib/PCP-server-Ruby-SDK/models/status_checkout.rb +27 -36
- data/lib/PCP-server-Ruby-SDK/models/status_output.rb +230 -404
- data/lib/PCP-server-Ruby-SDK/models/status_value.rb +47 -54
- data/lib/PCP-server-Ruby-SDK/models/three_d_secure_results.rb +184 -237
- data/lib/PCP-server-Ruby-SDK/models/transaction_channel.rb +23 -32
- data/lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_requestor.rb +23 -32
- data/lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_sequence_indicator.rb +23 -32
- data/lib/PCP-server-Ruby-SDK/queries/get_checkouts_query.rb +64 -56
- data/lib/PCP-server-Ruby-SDK/queries/get_commerce_cases_query.rb +61 -56
- data/lib/PCP-server-Ruby-SDK/request_header_generator.rb +63 -54
- data/lib/PCP-server-Ruby-SDK/transformer/apple_pay_transformer.rb +42 -0
- data/lib/PCP-server-Ruby-SDK/utils/server_meta_info.rb +22 -16
- data/lib/PCP-server-Ruby-SDK/version.rb +1 -12
- data/lib/PCP-server-Ruby-SDK.rb +32 -8
- data/package-lock.json +221 -237
- data/package.json +1 -1
- data/scripts.sh +29 -26
- data/spec/communicator_configuration_spec.rb +3 -3
- data/spec/endpoints/checkout_api_client_spec.rb +308 -0
- data/spec/endpoints/commerce_case_api_client_spec.rb +206 -0
- data/spec/endpoints/order_management_checkout_actions_api_client_spec.rb +215 -0
- data/spec/endpoints/payment_execution_api_client_spec.rb +371 -0
- data/spec/endpoints/payment_information_api_client_spec.rb +167 -0
- data/spec/errors/api_error_response_exception_spec.rb +6 -6
- data/spec/errors/api_exception_spec.rb +6 -6
- data/spec/errors/api_response_retrieval_exception_spec.rb +6 -6
- data/spec/queries/get_checkouts_query_spec.rb +4 -4
- data/spec/queries/get_commerce_cases_query_spec.rb +3 -3
- data/spec/request_header_generator_spec.rb +17 -17
- data/spec/spec_helper.rb +7 -1
- data/spec/transformer/apple_pay_transformer_spec.rb +73 -0
- data/spec/utils/server_meta_info_spec.rb +5 -5
- metadata +38 -2973
- data/Gemfile.lock +0 -91
- data/coverage/.last_run.json +0 -5
- data/coverage/.resultset.json +0 -325
- 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 +0 -1
- data/coverage/assets/0.12.3/application.js +0 -7
- 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 +0 -352
- data/coverage/index.html +0 -3953
- data/docs/APIError.md +0 -28
- data/docs/Address.md +0 -30
- data/docs/AddressPersonal.md +0 -32
- data/docs/AllowedPaymentActions.md +0 -15
- data/docs/AmountOfMoney.md +0 -20
- data/docs/ApplePaymentDataTokenHeaderInformation.md +0 -20
- data/docs/ApplePaymentDataTokenInformation.md +0 -22
- data/docs/AuthorizationMode.md +0 -15
- data/docs/BankAccountInformation.md +0 -20
- data/docs/CancelItem.md +0 -20
- data/docs/CancelPaymentRequest.md +0 -18
- data/docs/CancelPaymentResponse.md +0 -18
- data/docs/CancelRequest.md +0 -22
- data/docs/CancelResponse.md +0 -20
- data/docs/CancelType.md +0 -15
- data/docs/CancellationReason.md +0 -15
- data/docs/CaptureOutput.md +0 -24
- data/docs/CapturePaymentRequest.md +0 -26
- data/docs/CapturePaymentResponse.md +0 -24
- data/docs/CardFraudResults.md +0 -18
- data/docs/CardInfo.md +0 -18
- data/docs/CardPaymentDetails.md +0 -24
- data/docs/CardPaymentMethodSpecificInput.md +0 -40
- data/docs/CardPaymentMethodSpecificOutput.md +0 -24
- data/docs/CardRecurrenceDetails.md +0 -18
- data/docs/CartItemInput.md +0 -20
- data/docs/CartItemInvoiceData.md +0 -18
- data/docs/CartItemOrderStatus.md +0 -20
- data/docs/CartItemPatch.md +0 -20
- data/docs/CartItemResult.md +0 -20
- data/docs/CartItemStatus.md +0 -15
- data/docs/CheckoutApi.md +0 -412
- data/docs/CheckoutReferences.md +0 -20
- data/docs/CheckoutResponse.md +0 -42
- data/docs/CheckoutsResponse.md +0 -20
- data/docs/CommerceCaseApi.md +0 -294
- data/docs/CommerceCaseResponse.md +0 -26
- data/docs/CompanyInformation.md +0 -18
- data/docs/CompleteFinancingPaymentMethodSpecificInput.md +0 -22
- data/docs/CompletePaymentMethodSpecificInput.md +0 -18
- data/docs/CompletePaymentRequest.md +0 -22
- data/docs/CompletePaymentResponse.md +0 -22
- data/docs/ContactDetails.md +0 -20
- data/docs/CreateCheckoutRequest.md +0 -30
- data/docs/CreateCheckoutResponse.md +0 -40
- data/docs/CreateCommerceCaseRequest.md +0 -24
- data/docs/CreateCommerceCaseResponse.md +0 -26
- data/docs/CreatePaymentResponse.md +0 -24
- data/docs/Customer.md +0 -32
- data/docs/CustomerDevice.md +0 -20
- data/docs/DeliverItem.md +0 -20
- data/docs/DeliverRequest.md +0 -24
- data/docs/DeliverResponse.md +0 -20
- data/docs/DeliverType.md +0 -15
- data/docs/DeliveryInformation.md +0 -18
- data/docs/ErrorResponse.md +0 -20
- data/docs/ExtendedCheckoutStatus.md +0 -15
- data/docs/FinancingPaymentMethodSpecificInput.md +0 -22
- data/docs/FinancingPaymentMethodSpecificOutput.md +0 -20
- data/docs/InstallmentOption.md +0 -34
- data/docs/LinkInformation.md +0 -20
- data/docs/MandateRecurrenceType.md +0 -15
- data/docs/MerchantAction.md +0 -20
- data/docs/MobilePaymentMethodSpecificInput.md +0 -28
- data/docs/MobilePaymentMethodSpecificOutput.md +0 -26
- data/docs/Order.md +0 -26
- data/docs/OrderItem.md +0 -20
- data/docs/OrderLineDetailsInput.md +0 -34
- data/docs/OrderLineDetailsPatch.md +0 -38
- data/docs/OrderLineDetailsResult.md +0 -38
- data/docs/OrderManagementCheckoutActionsApi.md +0 -295
- data/docs/OrderRequest.md +0 -24
- data/docs/OrderResponse.md +0 -20
- data/docs/OrderType.md +0 -15
- data/docs/PatchCheckoutRequest.md +0 -28
- data/docs/PatchCommerceCaseRequest.md +0 -18
- data/docs/PaymentChannel.md +0 -15
- data/docs/PaymentCreationOutput.md +0 -18
- data/docs/PaymentEvent.md +0 -26
- data/docs/PaymentExecution.md +0 -36
- data/docs/PaymentExecutionApi.md +0 -370
- data/docs/PaymentExecutionRequest.md +0 -20
- data/docs/PaymentExecutionSpecificInput.md +0 -22
- data/docs/PaymentInformationApi.md +0 -149
- data/docs/PaymentInformationRequest.md +0 -26
- data/docs/PaymentInformationResponse.md +0 -38
- data/docs/PaymentMethodSpecificInput.md +0 -30
- data/docs/PaymentOutput.md +0 -34
- data/docs/PaymentProduct320SpecificInput.md +0 -20
- data/docs/PaymentProduct3391SpecificInput.md +0 -20
- data/docs/PaymentProduct3391SpecificOutput.md +0 -18
- data/docs/PaymentProduct3392SpecificInput.md +0 -18
- data/docs/PaymentProduct771SpecificOutput.md +0 -18
- data/docs/PaymentProduct840CustomerAccount.md +0 -24
- data/docs/PaymentProduct840SpecificOutput.md +0 -22
- data/docs/PaymentReferences.md +0 -18
- data/docs/PaymentResponse.md +0 -24
- data/docs/PaymentStatusOutput.md +0 -24
- data/docs/PaymentType.md +0 -15
- data/docs/PayoutOutput.md +0 -22
- data/docs/PayoutResponse.md +0 -24
- data/docs/PersonalInformation.md +0 -22
- data/docs/PersonalName.md +0 -22
- data/docs/PositiveAmountOfMoney.md +0 -20
- data/docs/ProcessingMandateInformation.md +0 -26
- data/docs/ProductType.md +0 -15
- data/docs/RedirectData.md +0 -18
- data/docs/RedirectPaymentMethodSpecificInput.md +0 -30
- data/docs/RedirectPaymentMethodSpecificOutput.md +0 -24
- data/docs/RedirectPaymentProduct840SpecificInput.md +0 -18
- data/docs/RedirectionData.md +0 -18
- data/docs/References.md +0 -22
- data/docs/RefundErrorResponse.md +0 -20
- data/docs/RefundOutput.md +0 -24
- data/docs/RefundPaymentResponse.md +0 -24
- data/docs/RefundRequest.md +0 -22
- data/docs/ReturnInformation.md +0 -20
- data/docs/ReturnItem.md +0 -20
- data/docs/ReturnRequest.md +0 -22
- data/docs/ReturnResponse.md +0 -20
- data/docs/ReturnType.md +0 -15
- data/docs/SepaDirectDebitPaymentMethodSpecificInput.md +0 -20
- data/docs/SepaDirectDebitPaymentMethodSpecificOutput.md +0 -20
- data/docs/SepaDirectDebitPaymentProduct771SpecificInput.md +0 -20
- data/docs/Shipping.md +0 -18
- data/docs/ShoppingCartInput.md +0 -18
- data/docs/ShoppingCartPatch.md +0 -18
- data/docs/ShoppingCartResult.md +0 -18
- data/docs/StatusCategoryValue.md +0 -15
- data/docs/StatusCheckout.md +0 -15
- data/docs/StatusOutput.md +0 -30
- data/docs/StatusValue.md +0 -15
- data/docs/ThreeDSecureResults.md +0 -22
- data/docs/TransactionChannel.md +0 -15
- data/docs/UnscheduledCardOnFileRequestor.md +0 -15
- data/docs/UnscheduledCardOnFileSequenceIndicator.md +0 -15
- data/lib/PCP-server-Ruby-SDK/api/base_api_client.rb +0 -105
- data/lib/PCP-server-Ruby-SDK/api/checkout_api_client.rb +0 -94
- data/lib/PCP-server-Ruby-SDK/api/commerce_case_api_client.rb +0 -75
- data/lib/PCP-server-Ruby-SDK/api/order_management_checkout_actions_api_client.rb +0 -82
- data/lib/PCP-server-Ruby-SDK/api/payment_execution_api_client.rb +0 -104
- data/lib/PCP-server-Ruby-SDK/api/payment_information_api_client.rb +0 -50
- data/lib/PCP-server-Ruby-SDK/models/payment_product320_specific_input.rb +0 -256
- data/node_modules/.bin/JSONStream +0 -1
- data/node_modules/.bin/commitlint +0 -1
- data/node_modules/.bin/conventional-changelog +0 -1
- data/node_modules/.bin/conventional-changelog-writer +0 -1
- data/node_modules/.bin/conventional-commits-parser +0 -1
- data/node_modules/.bin/git-raw-commits +0 -1
- data/node_modules/.bin/git-semver-tags +0 -1
- data/node_modules/.bin/handlebars +0 -1
- data/node_modules/.bin/jiti +0 -1
- data/node_modules/.bin/js-yaml +0 -1
- data/node_modules/.bin/lefthook +0 -1
- data/node_modules/.bin/node-which +0 -1
- data/node_modules/.bin/semver +0 -1
- data/node_modules/.bin/uglifyjs +0 -1
- data/node_modules/.package-lock.json +0 -2010
- data/node_modules/@babel/code-frame/LICENSE +0 -22
- data/node_modules/@babel/code-frame/README.md +0 -19
- data/node_modules/@babel/code-frame/lib/index.js +0 -156
- data/node_modules/@babel/code-frame/lib/index.js.map +0 -1
- data/node_modules/@babel/code-frame/package.json +0 -30
- data/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
- data/node_modules/@babel/helper-validator-identifier/README.md +0 -19
- data/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- data/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- data/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- data/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- data/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- data/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +0 -73
- data/node_modules/@babel/highlight/LICENSE +0 -22
- data/node_modules/@babel/highlight/README.md +0 -19
- data/node_modules/@babel/highlight/lib/index.js +0 -119
- data/node_modules/@babel/highlight/lib/index.js.map +0 -1
- data/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +0 -165
- data/node_modules/@babel/highlight/node_modules/ansi-styles/license +0 -9
- data/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +0 -56
- data/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +0 -147
- data/node_modules/@babel/highlight/node_modules/chalk/index.js +0 -228
- data/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +0 -93
- data/node_modules/@babel/highlight/node_modules/chalk/license +0 -9
- data/node_modules/@babel/highlight/node_modules/chalk/package.json +0 -71
- data/node_modules/@babel/highlight/node_modules/chalk/readme.md +0 -314
- data/node_modules/@babel/highlight/node_modules/chalk/templates.js +0 -128
- data/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +0 -97
- data/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +0 -54
- data/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +0 -21
- data/node_modules/@babel/highlight/node_modules/color-convert/README.md +0 -68
- data/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +0 -868
- data/node_modules/@babel/highlight/node_modules/color-convert/index.js +0 -78
- data/node_modules/@babel/highlight/node_modules/color-convert/package.json +0 -46
- data/node_modules/@babel/highlight/node_modules/color-convert/route.js +0 -97
- data/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +0 -43
- data/node_modules/@babel/highlight/node_modules/color-name/.npmignore +0 -107
- data/node_modules/@babel/highlight/node_modules/color-name/LICENSE +0 -8
- data/node_modules/@babel/highlight/node_modules/color-name/README.md +0 -11
- data/node_modules/@babel/highlight/node_modules/color-name/index.js +0 -152
- data/node_modules/@babel/highlight/node_modules/color-name/package.json +0 -25
- data/node_modules/@babel/highlight/node_modules/color-name/test.js +0 -7
- data/node_modules/@babel/highlight/package.json +0 -30
- data/node_modules/@commitlint/cli/README.md +0 -11
- data/node_modules/@commitlint/cli/cli.js +0 -2
- data/node_modules/@commitlint/cli/index.cjs +0 -3
- data/node_modules/@commitlint/cli/lib/cli-error.d.ts +0 -7
- data/node_modules/@commitlint/cli/lib/cli-error.d.ts.map +0 -1
- data/node_modules/@commitlint/cli/lib/cli-error.js +0 -12
- data/node_modules/@commitlint/cli/lib/cli-error.js.map +0 -1
- data/node_modules/@commitlint/cli/lib/cli.d.ts +0 -2
- data/node_modules/@commitlint/cli/lib/cli.d.ts.map +0 -1
- data/node_modules/@commitlint/cli/lib/cli.js +0 -386
- data/node_modules/@commitlint/cli/lib/cli.js.map +0 -1
- data/node_modules/@commitlint/cli/lib/types.d.ts +0 -26
- data/node_modules/@commitlint/cli/lib/types.d.ts.map +0 -1
- data/node_modules/@commitlint/cli/lib/types.js +0 -2
- data/node_modules/@commitlint/cli/lib/types.js.map +0 -1
- data/node_modules/@commitlint/cli/license.md +0 -21
- data/node_modules/@commitlint/cli/package.json +0 -60
- data/node_modules/@commitlint/config-conventional/README.md +0 -209
- data/node_modules/@commitlint/config-conventional/lib/index.d.ts +0 -111
- data/node_modules/@commitlint/config-conventional/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/config-conventional/lib/index.js +0 -134
- data/node_modules/@commitlint/config-conventional/lib/index.js.map +0 -1
- data/node_modules/@commitlint/config-conventional/license.md +0 -21
- data/node_modules/@commitlint/config-conventional/package.json +0 -46
- data/node_modules/@commitlint/config-validator/lib/commitlint.schema.json +0 -105
- data/node_modules/@commitlint/config-validator/lib/formatErrors.d.ts +0 -9
- data/node_modules/@commitlint/config-validator/lib/formatErrors.d.ts.map +0 -1
- data/node_modules/@commitlint/config-validator/lib/formatErrors.js +0 -35
- data/node_modules/@commitlint/config-validator/lib/formatErrors.js.map +0 -1
- data/node_modules/@commitlint/config-validator/lib/validate.d.ts +0 -3
- data/node_modules/@commitlint/config-validator/lib/validate.d.ts.map +0 -1
- data/node_modules/@commitlint/config-validator/lib/validate.js +0 -39
- data/node_modules/@commitlint/config-validator/lib/validate.js.map +0 -1
- data/node_modules/@commitlint/config-validator/license.md +0 -21
- data/node_modules/@commitlint/config-validator/package.json +0 -46
- data/node_modules/@commitlint/ensure/lib/case.d.ts +0 -4
- data/node_modules/@commitlint/ensure/lib/case.d.ts.map +0 -1
- data/node_modules/@commitlint/ensure/lib/case.js +0 -15
- data/node_modules/@commitlint/ensure/lib/case.js.map +0 -1
- data/node_modules/@commitlint/ensure/lib/enum.d.ts +0 -3
- data/node_modules/@commitlint/ensure/lib/enum.d.ts.map +0 -1
- data/node_modules/@commitlint/ensure/lib/enum.js +0 -10
- data/node_modules/@commitlint/ensure/lib/enum.js.map +0 -1
- data/node_modules/@commitlint/ensure/lib/index.d.ts +0 -11
- data/node_modules/@commitlint/ensure/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/ensure/lib/index.js +0 -11
- data/node_modules/@commitlint/ensure/lib/index.js.map +0 -1
- data/node_modules/@commitlint/ensure/lib/max-length.d.ts +0 -3
- data/node_modules/@commitlint/ensure/lib/max-length.d.ts.map +0 -1
- data/node_modules/@commitlint/ensure/lib/max-length.js +0 -2
- data/node_modules/@commitlint/ensure/lib/max-length.js.map +0 -1
- data/node_modules/@commitlint/ensure/lib/max-line-length.d.ts +0 -3
- data/node_modules/@commitlint/ensure/lib/max-line-length.d.ts.map +0 -1
- data/node_modules/@commitlint/ensure/lib/max-line-length.js +0 -4
- data/node_modules/@commitlint/ensure/lib/max-line-length.js.map +0 -1
- data/node_modules/@commitlint/ensure/lib/min-length.d.ts +0 -3
- data/node_modules/@commitlint/ensure/lib/min-length.d.ts.map +0 -1
- data/node_modules/@commitlint/ensure/lib/min-length.js +0 -2
- data/node_modules/@commitlint/ensure/lib/min-length.js.map +0 -1
- data/node_modules/@commitlint/ensure/lib/not-empty.d.ts +0 -3
- data/node_modules/@commitlint/ensure/lib/not-empty.d.ts.map +0 -1
- data/node_modules/@commitlint/ensure/lib/not-empty.js +0 -2
- data/node_modules/@commitlint/ensure/lib/not-empty.js.map +0 -1
- data/node_modules/@commitlint/ensure/lib/to-case.d.ts +0 -3
- data/node_modules/@commitlint/ensure/lib/to-case.d.ts.map +0 -1
- data/node_modules/@commitlint/ensure/lib/to-case.js +0 -32
- data/node_modules/@commitlint/ensure/lib/to-case.js.map +0 -1
- data/node_modules/@commitlint/ensure/license.md +0 -21
- data/node_modules/@commitlint/ensure/package.json +0 -56
- data/node_modules/@commitlint/execute-rule/lib/index.d.ts +0 -7
- data/node_modules/@commitlint/execute-rule/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/execute-rule/lib/index.js +0 -13
- data/node_modules/@commitlint/execute-rule/lib/index.js.map +0 -1
- data/node_modules/@commitlint/execute-rule/license.md +0 -21
- data/node_modules/@commitlint/execute-rule/package.json +0 -42
- data/node_modules/@commitlint/format/README.md +0 -15
- data/node_modules/@commitlint/format/lib/format.d.ts +0 -5
- data/node_modules/@commitlint/format/lib/format.d.ts.map +0 -1
- data/node_modules/@commitlint/format/lib/format.js +0 -74
- data/node_modules/@commitlint/format/lib/format.js.map +0 -1
- data/node_modules/@commitlint/format/lib/index.d.ts +0 -3
- data/node_modules/@commitlint/format/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/format/lib/index.js +0 -3
- data/node_modules/@commitlint/format/lib/index.js.map +0 -1
- data/node_modules/@commitlint/format/license.md +0 -21
- data/node_modules/@commitlint/format/package.json +0 -46
- data/node_modules/@commitlint/is-ignored/lib/defaults.d.ts +0 -3
- data/node_modules/@commitlint/is-ignored/lib/defaults.d.ts.map +0 -1
- data/node_modules/@commitlint/is-ignored/lib/defaults.js +0 -22
- data/node_modules/@commitlint/is-ignored/lib/defaults.js.map +0 -1
- data/node_modules/@commitlint/is-ignored/lib/index.d.ts +0 -3
- data/node_modules/@commitlint/is-ignored/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/is-ignored/lib/index.js +0 -3
- data/node_modules/@commitlint/is-ignored/lib/index.js.map +0 -1
- data/node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts +0 -3
- data/node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts.map +0 -1
- data/node_modules/@commitlint/is-ignored/lib/is-ignored.js +0 -16
- data/node_modules/@commitlint/is-ignored/lib/is-ignored.js.map +0 -1
- data/node_modules/@commitlint/is-ignored/license.md +0 -21
- data/node_modules/@commitlint/is-ignored/package.json +0 -49
- data/node_modules/@commitlint/lint/README.md +0 -15
- data/node_modules/@commitlint/lint/lib/commit-message.d.ts +0 -7
- data/node_modules/@commitlint/lint/lib/commit-message.d.ts.map +0 -1
- data/node_modules/@commitlint/lint/lib/commit-message.js +0 -7
- data/node_modules/@commitlint/lint/lib/commit-message.js.map +0 -1
- data/node_modules/@commitlint/lint/lib/lint.d.ts +0 -3
- data/node_modules/@commitlint/lint/lib/lint.d.ts.map +0 -1
- data/node_modules/@commitlint/lint/lib/lint.js +0 -115
- data/node_modules/@commitlint/lint/lib/lint.js.map +0 -1
- data/node_modules/@commitlint/lint/license.md +0 -21
- data/node_modules/@commitlint/lint/package.json +0 -49
- data/node_modules/@commitlint/load/README.md +0 -15
- data/node_modules/@commitlint/load/lib/load.d.ts +0 -5
- data/node_modules/@commitlint/load/lib/load.d.ts.map +0 -1
- data/node_modules/@commitlint/load/lib/load.js +0 -97
- data/node_modules/@commitlint/load/lib/load.js.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/load-config.d.ts +0 -9
- data/node_modules/@commitlint/load/lib/utils/load-config.d.ts.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/load-config.js +0 -78
- data/node_modules/@commitlint/load/lib/utils/load-config.js.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts +0 -5
- data/node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/load-parser-opts.js +0 -56
- data/node_modules/@commitlint/load/lib/utils/load-parser-opts.js.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/load-plugin.d.ts +0 -3
- data/node_modules/@commitlint/load/lib/utils/load-plugin.d.ts.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/load-plugin.js +0 -63
- data/node_modules/@commitlint/load/lib/utils/load-plugin.js.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/plugin-errors.d.ts +0 -13
- data/node_modules/@commitlint/load/lib/utils/plugin-errors.d.ts.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/plugin-errors.js +0 -21
- data/node_modules/@commitlint/load/lib/utils/plugin-errors.js.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/plugin-naming.d.ts +0 -20
- data/node_modules/@commitlint/load/lib/utils/plugin-naming.d.ts.map +0 -1
- data/node_modules/@commitlint/load/lib/utils/plugin-naming.js +0 -80
- data/node_modules/@commitlint/load/lib/utils/plugin-naming.js.map +0 -1
- data/node_modules/@commitlint/load/license.md +0 -21
- data/node_modules/@commitlint/load/package.json +0 -60
- data/node_modules/@commitlint/message/lib/index.d.ts +0 -2
- data/node_modules/@commitlint/message/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/message/lib/index.js +0 -4
- data/node_modules/@commitlint/message/lib/index.js.map +0 -1
- data/node_modules/@commitlint/message/license.md +0 -21
- data/node_modules/@commitlint/message/package.json +0 -43
- data/node_modules/@commitlint/parse/README.md +0 -29
- data/node_modules/@commitlint/parse/lib/index.d.ts +0 -5
- data/node_modules/@commitlint/parse/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/parse/lib/index.js +0 -13
- data/node_modules/@commitlint/parse/lib/index.js.map +0 -1
- data/node_modules/@commitlint/parse/license.md +0 -21
- data/node_modules/@commitlint/parse/package.json +0 -49
- data/node_modules/@commitlint/read/README.md +0 -15
- data/node_modules/@commitlint/read/lib/get-edit-commit.d.ts +0 -2
- data/node_modules/@commitlint/read/lib/get-edit-commit.d.ts.map +0 -1
- data/node_modules/@commitlint/read/lib/get-edit-commit.js +0 -14
- data/node_modules/@commitlint/read/lib/get-edit-commit.js.map +0 -1
- data/node_modules/@commitlint/read/lib/get-edit-file-path.d.ts +0 -2
- data/node_modules/@commitlint/read/lib/get-edit-file-path.d.ts.map +0 -1
- data/node_modules/@commitlint/read/lib/get-edit-file-path.js +0 -19
- data/node_modules/@commitlint/read/lib/get-edit-file-path.js.map +0 -1
- data/node_modules/@commitlint/read/lib/get-history-commits.d.ts +0 -5
- data/node_modules/@commitlint/read/lib/get-history-commits.d.ts.map +0 -1
- data/node_modules/@commitlint/read/lib/get-history-commits.js +0 -7
- data/node_modules/@commitlint/read/lib/get-history-commits.js.map +0 -1
- data/node_modules/@commitlint/read/lib/read.d.ts +0 -12
- data/node_modules/@commitlint/read/lib/read.d.ts.map +0 -1
- data/node_modules/@commitlint/read/lib/read.js +0 -52
- data/node_modules/@commitlint/read/lib/read.js.map +0 -1
- data/node_modules/@commitlint/read/lib/stream-to-promise.d.ts +0 -3
- data/node_modules/@commitlint/read/lib/stream-to-promise.d.ts.map +0 -1
- data/node_modules/@commitlint/read/lib/stream-to-promise.js +0 -8
- data/node_modules/@commitlint/read/lib/stream-to-promise.js.map +0 -1
- data/node_modules/@commitlint/read/license.md +0 -21
- data/node_modules/@commitlint/read/package.json +0 -52
- data/node_modules/@commitlint/resolve-extends/lib/index.d.ts +0 -29
- data/node_modules/@commitlint/resolve-extends/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/resolve-extends/lib/index.js +0 -182
- data/node_modules/@commitlint/resolve-extends/lib/index.js.map +0 -1
- data/node_modules/@commitlint/resolve-extends/license.md +0 -21
- data/node_modules/@commitlint/resolve-extends/package.json +0 -51
- data/node_modules/@commitlint/rules/lib/body-case.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/body-case.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-case.js +0 -28
- data/node_modules/@commitlint/rules/lib/body-case.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-empty.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/body-empty.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-empty.js +0 -11
- data/node_modules/@commitlint/rules/lib/body-empty.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-full-stop.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/body-full-stop.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-full-stop.js +0 -14
- data/node_modules/@commitlint/rules/lib/body-full-stop.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-leading-blank.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/body-leading-blank.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-leading-blank.js +0 -17
- data/node_modules/@commitlint/rules/lib/body-leading-blank.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-max-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/body-max-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-max-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/body-max-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-max-line-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/body-max-line-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-max-line-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/body-max-line-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-min-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/body-min-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/body-min-length.js +0 -11
- data/node_modules/@commitlint/rules/lib/body-min-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-empty.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/footer-empty.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-empty.js +0 -11
- data/node_modules/@commitlint/rules/lib/footer-empty.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-leading-blank.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/footer-leading-blank.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-leading-blank.js +0 -24
- data/node_modules/@commitlint/rules/lib/footer-leading-blank.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-max-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/footer-max-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-max-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/footer-max-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-max-line-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/footer-max-line-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-max-line-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/footer-max-line-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-min-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/footer-min-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/footer-min-length.js +0 -11
- data/node_modules/@commitlint/rules/lib/footer-min-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-case.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/header-case.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-case.js +0 -28
- data/node_modules/@commitlint/rules/lib/header-case.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-full-stop.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/header-full-stop.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-full-stop.js +0 -11
- data/node_modules/@commitlint/rules/lib/header-full-stop.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-max-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/header-max-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-max-length.js +0 -8
- data/node_modules/@commitlint/rules/lib/header-max-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-min-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/header-min-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-min-length.js +0 -8
- data/node_modules/@commitlint/rules/lib/header-min-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-trim.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/header-trim.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/header-trim.js +0 -23
- data/node_modules/@commitlint/rules/lib/header-trim.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/index.d.ts +0 -40
- data/node_modules/@commitlint/rules/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/index.js +0 -75
- data/node_modules/@commitlint/rules/lib/index.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/references-empty.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/references-empty.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/references-empty.js +0 -10
- data/node_modules/@commitlint/rules/lib/references-empty.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-case.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/scope-case.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-case.js +0 -32
- data/node_modules/@commitlint/rules/lib/scope-case.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-empty.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/scope-empty.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-empty.js +0 -11
- data/node_modules/@commitlint/rules/lib/scope-empty.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-enum.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/scope-enum.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-enum.js +0 -23
- data/node_modules/@commitlint/rules/lib/scope-enum.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-max-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/scope-max-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-max-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/scope-max-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-min-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/scope-min-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/scope-min-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/scope-min-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/signed-off-by.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/signed-off-by.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/signed-off-by.js +0 -19
- data/node_modules/@commitlint/rules/lib/signed-off-by.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-case.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/subject-case.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-case.js +0 -44
- data/node_modules/@commitlint/rules/lib/subject-case.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-empty.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/subject-empty.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-empty.js +0 -11
- data/node_modules/@commitlint/rules/lib/subject-empty.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.js +0 -18
- data/node_modules/@commitlint/rules/lib/subject-exclamation-mark.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-full-stop.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/subject-full-stop.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-full-stop.js +0 -18
- data/node_modules/@commitlint/rules/lib/subject-full-stop.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-max-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/subject-max-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-max-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/subject-max-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-min-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/subject-min-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/subject-min-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/subject-min-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/trailer-exists.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/trailer-exists.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/trailer-exists.js +0 -20
- data/node_modules/@commitlint/rules/lib/trailer-exists.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-case.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/type-case.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-case.js +0 -28
- data/node_modules/@commitlint/rules/lib/type-case.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-empty.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/type-empty.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-empty.js +0 -11
- data/node_modules/@commitlint/rules/lib/type-empty.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-enum.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/type-enum.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-enum.js +0 -19
- data/node_modules/@commitlint/rules/lib/type-enum.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-max-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/type-max-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-max-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/type-max-length.js.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-min-length.d.ts +0 -3
- data/node_modules/@commitlint/rules/lib/type-min-length.d.ts.map +0 -1
- data/node_modules/@commitlint/rules/lib/type-min-length.js +0 -12
- data/node_modules/@commitlint/rules/lib/type-min-length.js.map +0 -1
- data/node_modules/@commitlint/rules/license.md +0 -21
- data/node_modules/@commitlint/rules/package.json +0 -53
- data/node_modules/@commitlint/to-lines/lib/index.d.ts +0 -2
- data/node_modules/@commitlint/to-lines/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/to-lines/lib/index.js +0 -7
- data/node_modules/@commitlint/to-lines/lib/index.js.map +0 -1
- data/node_modules/@commitlint/to-lines/license.md +0 -21
- data/node_modules/@commitlint/to-lines/package.json +0 -42
- data/node_modules/@commitlint/top-level/lib/index.d.ts +0 -6
- data/node_modules/@commitlint/top-level/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/top-level/lib/index.js +0 -22
- data/node_modules/@commitlint/top-level/lib/index.js.map +0 -1
- data/node_modules/@commitlint/top-level/license.md +0 -21
- data/node_modules/@commitlint/top-level/package.json +0 -45
- data/node_modules/@commitlint/types/lib/ensure.d.ts +0 -2
- data/node_modules/@commitlint/types/lib/ensure.d.ts.map +0 -1
- data/node_modules/@commitlint/types/lib/ensure.js +0 -2
- data/node_modules/@commitlint/types/lib/ensure.js.map +0 -1
- data/node_modules/@commitlint/types/lib/format.d.ts +0 -28
- data/node_modules/@commitlint/types/lib/format.d.ts.map +0 -1
- data/node_modules/@commitlint/types/lib/format.js +0 -2
- data/node_modules/@commitlint/types/lib/format.js.map +0 -1
- data/node_modules/@commitlint/types/lib/index.d.ts +0 -9
- data/node_modules/@commitlint/types/lib/index.d.ts.map +0 -1
- data/node_modules/@commitlint/types/lib/index.js +0 -9
- data/node_modules/@commitlint/types/lib/index.js.map +0 -1
- data/node_modules/@commitlint/types/lib/is-ignored.d.ts +0 -6
- data/node_modules/@commitlint/types/lib/is-ignored.d.ts.map +0 -1
- data/node_modules/@commitlint/types/lib/is-ignored.js +0 -2
- data/node_modules/@commitlint/types/lib/is-ignored.js.map +0 -1
- data/node_modules/@commitlint/types/lib/lint.d.ts +0 -36
- data/node_modules/@commitlint/types/lib/lint.d.ts.map +0 -1
- data/node_modules/@commitlint/types/lib/lint.js +0 -2
- data/node_modules/@commitlint/types/lib/lint.js.map +0 -1
- data/node_modules/@commitlint/types/lib/load.d.ts +0 -42
- data/node_modules/@commitlint/types/lib/load.d.ts.map +0 -1
- data/node_modules/@commitlint/types/lib/load.js +0 -2
- data/node_modules/@commitlint/types/lib/load.js.map +0 -1
- data/node_modules/@commitlint/types/lib/parse.d.ts +0 -3
- data/node_modules/@commitlint/types/lib/parse.d.ts.map +0 -1
- data/node_modules/@commitlint/types/lib/parse.js +0 -2
- data/node_modules/@commitlint/types/lib/parse.js.map +0 -1
- data/node_modules/@commitlint/types/lib/prompt.d.ts +0 -39
- data/node_modules/@commitlint/types/lib/prompt.d.ts.map +0 -1
- data/node_modules/@commitlint/types/lib/prompt.js +0 -2
- data/node_modules/@commitlint/types/lib/prompt.js.map +0 -1
- data/node_modules/@commitlint/types/lib/rules.d.ts +0 -85
- data/node_modules/@commitlint/types/lib/rules.d.ts.map +0 -1
- data/node_modules/@commitlint/types/lib/rules.js +0 -19
- data/node_modules/@commitlint/types/lib/rules.js.map +0 -1
- data/node_modules/@commitlint/types/license.md +0 -21
- data/node_modules/@commitlint/types/package.json +0 -39
- data/node_modules/@hutson/parse-repository-url/license.md +0 -202
- data/node_modules/@hutson/parse-repository-url/package.json +0 -62
- data/node_modules/@hutson/parse-repository-url/readme.md +0 -130
- data/node_modules/@hutson/parse-repository-url/src/index.js +0 -62
- data/node_modules/@types/conventional-commits-parser/LICENSE +0 -21
- data/node_modules/@types/conventional-commits-parser/README.md +0 -15
- data/node_modules/@types/conventional-commits-parser/index.d.ts +0 -305
- data/node_modules/@types/conventional-commits-parser/package.json +0 -34
- data/node_modules/@types/conventional-commits-parser/ts4.9/index.d.ts +0 -305
- data/node_modules/@types/node/LICENSE +0 -21
- data/node_modules/@types/node/README.md +0 -15
- data/node_modules/@types/node/assert/strict.d.ts +0 -8
- data/node_modules/@types/node/assert.d.ts +0 -1040
- data/node_modules/@types/node/async_hooks.d.ts +0 -541
- data/node_modules/@types/node/buffer.d.ts +0 -2293
- data/node_modules/@types/node/child_process.d.ts +0 -1544
- data/node_modules/@types/node/cluster.d.ts +0 -578
- data/node_modules/@types/node/console.d.ts +0 -452
- data/node_modules/@types/node/constants.d.ts +0 -19
- data/node_modules/@types/node/crypto.d.ts +0 -4451
- data/node_modules/@types/node/dgram.d.ts +0 -596
- data/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
- data/node_modules/@types/node/dns/promises.d.ts +0 -476
- data/node_modules/@types/node/dns.d.ts +0 -865
- data/node_modules/@types/node/dom-events.d.ts +0 -124
- data/node_modules/@types/node/domain.d.ts +0 -170
- data/node_modules/@types/node/events.d.ts +0 -931
- data/node_modules/@types/node/fs/promises.d.ts +0 -1264
- data/node_modules/@types/node/fs.d.ts +0 -4390
- data/node_modules/@types/node/globals.d.ts +0 -510
- data/node_modules/@types/node/globals.global.d.ts +0 -1
- data/node_modules/@types/node/http.d.ts +0 -1921
- data/node_modules/@types/node/http2.d.ts +0 -2418
- data/node_modules/@types/node/https.d.ts +0 -550
- data/node_modules/@types/node/index.d.ts +0 -90
- data/node_modules/@types/node/inspector.d.ts +0 -3696
- data/node_modules/@types/node/module.d.ts +0 -301
- data/node_modules/@types/node/net.d.ts +0 -999
- data/node_modules/@types/node/os.d.ts +0 -495
- data/node_modules/@types/node/package.json +0 -217
- data/node_modules/@types/node/path.d.ts +0 -200
- data/node_modules/@types/node/perf_hooks.d.ts +0 -941
- data/node_modules/@types/node/process.d.ts +0 -1912
- data/node_modules/@types/node/punycode.d.ts +0 -117
- data/node_modules/@types/node/querystring.d.ts +0 -153
- data/node_modules/@types/node/readline/promises.d.ts +0 -150
- data/node_modules/@types/node/readline.d.ts +0 -540
- data/node_modules/@types/node/repl.d.ts +0 -430
- data/node_modules/@types/node/sea.d.ts +0 -153
- data/node_modules/@types/node/sqlite.d.ts +0 -213
- data/node_modules/@types/node/stream/consumers.d.ts +0 -12
- data/node_modules/@types/node/stream/promises.d.ts +0 -83
- data/node_modules/@types/node/stream/web.d.ts +0 -367
- data/node_modules/@types/node/stream.d.ts +0 -1707
- data/node_modules/@types/node/string_decoder.d.ts +0 -67
- data/node_modules/@types/node/test.d.ts +0 -2006
- data/node_modules/@types/node/timers/promises.d.ts +0 -97
- data/node_modules/@types/node/timers.d.ts +0 -240
- data/node_modules/@types/node/tls.d.ts +0 -1220
- data/node_modules/@types/node/trace_events.d.ts +0 -197
- data/node_modules/@types/node/tty.d.ts +0 -208
- data/node_modules/@types/node/url.d.ts +0 -969
- data/node_modules/@types/node/util.d.ts +0 -2298
- data/node_modules/@types/node/v8.d.ts +0 -808
- data/node_modules/@types/node/vm.d.ts +0 -922
- data/node_modules/@types/node/wasi.d.ts +0 -181
- data/node_modules/@types/node/worker_threads.d.ts +0 -712
- data/node_modules/@types/node/zlib.d.ts +0 -539
- data/node_modules/@types/normalize-package-data/LICENSE +0 -21
- data/node_modules/@types/normalize-package-data/README.md +0 -62
- data/node_modules/@types/normalize-package-data/index.d.ts +0 -43
- data/node_modules/@types/normalize-package-data/package.json +0 -25
- data/node_modules/@types/semver/LICENSE +0 -21
- data/node_modules/@types/semver/README.md +0 -15
- data/node_modules/@types/semver/classes/comparator.d.ts +0 -17
- data/node_modules/@types/semver/classes/range.d.ts +0 -21
- data/node_modules/@types/semver/classes/semver.d.ts +0 -64
- data/node_modules/@types/semver/functions/clean.d.ts +0 -8
- data/node_modules/@types/semver/functions/cmp.d.ts +0 -16
- data/node_modules/@types/semver/functions/coerce.d.ts +0 -12
- data/node_modules/@types/semver/functions/compare-build.d.ts +0 -21
- data/node_modules/@types/semver/functions/compare-loose.d.ts +0 -5
- data/node_modules/@types/semver/functions/compare.d.ts +0 -20
- data/node_modules/@types/semver/functions/diff.d.ts +0 -9
- data/node_modules/@types/semver/functions/eq.d.ts +0 -9
- data/node_modules/@types/semver/functions/gt.d.ts +0 -9
- data/node_modules/@types/semver/functions/gte.d.ts +0 -9
- data/node_modules/@types/semver/functions/inc.d.ts +0 -25
- data/node_modules/@types/semver/functions/lt.d.ts +0 -9
- data/node_modules/@types/semver/functions/lte.d.ts +0 -8
- data/node_modules/@types/semver/functions/major.d.ts +0 -9
- data/node_modules/@types/semver/functions/minor.d.ts +0 -9
- data/node_modules/@types/semver/functions/neq.d.ts +0 -9
- data/node_modules/@types/semver/functions/parse.d.ts +0 -12
- data/node_modules/@types/semver/functions/patch.d.ts +0 -9
- data/node_modules/@types/semver/functions/prerelease.d.ts +0 -12
- data/node_modules/@types/semver/functions/rcompare.d.ts +0 -15
- data/node_modules/@types/semver/functions/rsort.d.ts +0 -9
- data/node_modules/@types/semver/functions/satisfies.d.ts +0 -14
- data/node_modules/@types/semver/functions/sort.d.ts +0 -9
- data/node_modules/@types/semver/functions/valid.d.ts +0 -11
- data/node_modules/@types/semver/index.d.ts +0 -129
- data/node_modules/@types/semver/internals/identifiers.d.ts +0 -13
- data/node_modules/@types/semver/package.json +0 -50
- data/node_modules/@types/semver/preload.d.ts +0 -2
- data/node_modules/@types/semver/ranges/gtr.d.ts +0 -14
- data/node_modules/@types/semver/ranges/intersects.d.ts +0 -13
- data/node_modules/@types/semver/ranges/ltr.d.ts +0 -14
- data/node_modules/@types/semver/ranges/max-satisfying.d.ts +0 -14
- data/node_modules/@types/semver/ranges/min-satisfying.d.ts +0 -14
- data/node_modules/@types/semver/ranges/min-version.d.ts +0 -10
- data/node_modules/@types/semver/ranges/outside.d.ts +0 -15
- data/node_modules/@types/semver/ranges/simplify.d.ts +0 -14
- data/node_modules/@types/semver/ranges/subset.d.ts +0 -9
- data/node_modules/@types/semver/ranges/to-comparators.d.ts +0 -9
- data/node_modules/@types/semver/ranges/valid.d.ts +0 -12
- data/node_modules/JSONStream/.travis.yml +0 -8
- data/node_modules/JSONStream/LICENSE.APACHE2 +0 -15
- data/node_modules/JSONStream/LICENSE.MIT +0 -24
- data/node_modules/JSONStream/bin.js +0 -12
- data/node_modules/JSONStream/examples/all_docs.js +0 -13
- data/node_modules/JSONStream/index.js +0 -247
- data/node_modules/JSONStream/package.json +0 -40
- data/node_modules/JSONStream/readme.markdown +0 -207
- data/node_modules/JSONStream/test/bool.js +0 -41
- data/node_modules/JSONStream/test/browser.js +0 -18
- data/node_modules/JSONStream/test/destroy_missing.js +0 -27
- data/node_modules/JSONStream/test/doubledot1.js +0 -29
- data/node_modules/JSONStream/test/doubledot2.js +0 -30
- data/node_modules/JSONStream/test/empty.js +0 -44
- data/node_modules/JSONStream/test/error_contents.js +0 -45
- data/node_modules/JSONStream/test/fixtures/all_npm.json +0 -4030
- data/node_modules/JSONStream/test/fixtures/couch_sample.json +0 -18
- data/node_modules/JSONStream/test/fixtures/depth.json +0 -15
- data/node_modules/JSONStream/test/fixtures/error.json +0 -1
- data/node_modules/JSONStream/test/fixtures/header_footer.json +0 -19
- data/node_modules/JSONStream/test/fn.js +0 -39
- data/node_modules/JSONStream/test/gen.js +0 -135
- data/node_modules/JSONStream/test/header_footer.js +0 -55
- data/node_modules/JSONStream/test/issues.js +0 -34
- data/node_modules/JSONStream/test/keys.js +0 -105
- data/node_modules/JSONStream/test/map.js +0 -40
- data/node_modules/JSONStream/test/multiple_objects.js +0 -36
- data/node_modules/JSONStream/test/multiple_objects_error.js +0 -29
- data/node_modules/JSONStream/test/null.js +0 -28
- data/node_modules/JSONStream/test/parsejson.js +0 -29
- data/node_modules/JSONStream/test/run.js +0 -13
- data/node_modules/JSONStream/test/stringify.js +0 -41
- data/node_modules/JSONStream/test/stringify_object.js +0 -47
- data/node_modules/JSONStream/test/test.js +0 -35
- data/node_modules/JSONStream/test/test2.js +0 -29
- data/node_modules/JSONStream/test/two-ways.js +0 -41
- data/node_modules/add-stream/.jshintrc +0 -25
- data/node_modules/add-stream/.npmignore +0 -7
- data/node_modules/add-stream/.travis.yml +0 -4
- data/node_modules/add-stream/README.md +0 -38
- data/node_modules/add-stream/index.js +0 -56
- data/node_modules/add-stream/package.json +0 -34
- data/node_modules/add-stream/test/spec.js +0 -64
- data/node_modules/ajv/.runkit_example.js +0 -23
- data/node_modules/ajv/LICENSE +0 -22
- data/node_modules/ajv/README.md +0 -207
- data/node_modules/ajv/dist/2019.d.ts +0 -19
- data/node_modules/ajv/dist/2019.js +0 -61
- data/node_modules/ajv/dist/2019.js.map +0 -1
- data/node_modules/ajv/dist/2020.d.ts +0 -19
- data/node_modules/ajv/dist/2020.js +0 -55
- data/node_modules/ajv/dist/2020.js.map +0 -1
- data/node_modules/ajv/dist/ajv.d.ts +0 -18
- data/node_modules/ajv/dist/ajv.js +0 -50
- data/node_modules/ajv/dist/ajv.js.map +0 -1
- data/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
- data/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- data/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- data/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
- data/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- data/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- data/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
- data/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- data/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- data/node_modules/ajv/dist/compile/errors.d.ts +0 -13
- data/node_modules/ajv/dist/compile/errors.js +0 -123
- data/node_modules/ajv/dist/compile/errors.js.map +0 -1
- data/node_modules/ajv/dist/compile/index.d.ts +0 -80
- data/node_modules/ajv/dist/compile/index.js +0 -242
- data/node_modules/ajv/dist/compile/index.js.map +0 -1
- data/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
- data/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
- data/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
- data/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
- data/node_modules/ajv/dist/compile/jtd/serialize.js +0 -229
- data/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
- data/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
- data/node_modules/ajv/dist/compile/jtd/types.js +0 -14
- data/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
- data/node_modules/ajv/dist/compile/names.d.ts +0 -20
- data/node_modules/ajv/dist/compile/names.js +0 -28
- data/node_modules/ajv/dist/compile/names.js.map +0 -1
- data/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
- data/node_modules/ajv/dist/compile/ref_error.js +0 -12
- data/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
- data/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
- data/node_modules/ajv/dist/compile/resolve.js +0 -155
- data/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- data/node_modules/ajv/dist/compile/rules.d.ts +0 -28
- data/node_modules/ajv/dist/compile/rules.js +0 -26
- data/node_modules/ajv/dist/compile/rules.js.map +0 -1
- data/node_modules/ajv/dist/compile/util.d.ts +0 -40
- data/node_modules/ajv/dist/compile/util.js +0 -178
- data/node_modules/ajv/dist/compile/util.js.map +0 -1
- data/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
- data/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- data/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- data/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
- data/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- data/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- data/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
- data/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- data/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- data/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
- data/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- data/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- data/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
- data/node_modules/ajv/dist/compile/validate/index.js +0 -520
- data/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- data/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
- data/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- data/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- data/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
- data/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
- data/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
- data/node_modules/ajv/dist/core.d.ts +0 -173
- data/node_modules/ajv/dist/core.js +0 -618
- data/node_modules/ajv/dist/core.js.map +0 -1
- data/node_modules/ajv/dist/jtd.d.ts +0 -47
- data/node_modules/ajv/dist/jtd.js +0 -72
- data/node_modules/ajv/dist/jtd.js.map +0 -1
- data/node_modules/ajv/dist/refs/data.json +0 -13
- data/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
- data/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
- data/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- data/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
- data/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
- data/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
- data/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
- data/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- data/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- data/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
- data/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
- data/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- data/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
- data/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
- data/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
- data/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
- data/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
- data/node_modules/ajv/dist/runtime/equal.js +0 -7
- data/node_modules/ajv/dist/runtime/equal.js.map +0 -1
- data/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
- data/node_modules/ajv/dist/runtime/parseJson.js +0 -185
- data/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
- data/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
- data/node_modules/ajv/dist/runtime/quote.js +0 -30
- data/node_modules/ajv/dist/runtime/quote.js.map +0 -1
- data/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
- data/node_modules/ajv/dist/runtime/re2.js +0 -6
- data/node_modules/ajv/dist/runtime/re2.js.map +0 -1
- data/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
- data/node_modules/ajv/dist/runtime/timestamp.js +0 -42
- data/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
- data/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
- data/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
- data/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
- data/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
- data/node_modules/ajv/dist/runtime/uri.js +0 -6
- data/node_modules/ajv/dist/runtime/uri.js.map +0 -1
- data/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
- data/node_modules/ajv/dist/runtime/validation_error.js +0 -11
- data/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
- data/node_modules/ajv/dist/standalone/index.d.ts +0 -6
- data/node_modules/ajv/dist/standalone/index.js +0 -90
- data/node_modules/ajv/dist/standalone/index.js.map +0 -1
- data/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
- data/node_modules/ajv/dist/standalone/instance.js +0 -35
- data/node_modules/ajv/dist/standalone/instance.js.map +0 -1
- data/node_modules/ajv/dist/types/index.d.ts +0 -183
- data/node_modules/ajv/dist/types/index.js +0 -3
- data/node_modules/ajv/dist/types/index.js.map +0 -1
- data/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
- data/node_modules/ajv/dist/types/json-schema.js +0 -3
- data/node_modules/ajv/dist/types/json-schema.js.map +0 -1
- data/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
- data/node_modules/ajv/dist/types/jtd-schema.js +0 -3
- data/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
- data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- data/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- data/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- data/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
- data/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- data/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
- data/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- data/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
- data/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- data/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- data/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- data/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
- data/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- data/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
- data/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- data/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- data/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
- data/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- data/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- data/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- data/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- data/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- data/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- data/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- data/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
- data/node_modules/ajv/dist/vocabularies/code.js +0 -131
- data/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- data/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- data/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
- data/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- data/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
- data/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
- data/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
- data/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
- data/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
- data/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- data/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- data/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
- data/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- data/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
- data/node_modules/ajv/dist/vocabularies/errors.js +0 -3
- data/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
- data/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- data/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- data/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
- data/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
- data/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
- data/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
- data/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
- data/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
- data/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
- data/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
- data/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
- data/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
- data/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
- data/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
- data/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
- data/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
- data/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
- data/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
- data/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
- data/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
- data/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
- data/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
- data/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
- data/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
- data/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- data/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/next.js +0 -8
- data/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
- data/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
- data/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
- data/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- data/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
- data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
- data/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
- data/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- data/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
- data/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- data/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
- data/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- data/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- data/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
- data/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- data/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
- data/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- data/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
- data/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- data/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
- data/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -24
- data/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
- data/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- data/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
- data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- data/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- data/node_modules/ajv/lib/2019.ts +0 -81
- data/node_modules/ajv/lib/2020.ts +0 -75
- data/node_modules/ajv/lib/ajv.ts +0 -70
- data/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
- data/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
- data/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
- data/node_modules/ajv/lib/compile/errors.ts +0 -184
- data/node_modules/ajv/lib/compile/index.ts +0 -324
- data/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
- data/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -266
- data/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
- data/node_modules/ajv/lib/compile/names.ts +0 -27
- data/node_modules/ajv/lib/compile/ref_error.ts +0 -13
- data/node_modules/ajv/lib/compile/resolve.ts +0 -149
- data/node_modules/ajv/lib/compile/rules.ts +0 -50
- data/node_modules/ajv/lib/compile/util.ts +0 -213
- data/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
- data/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
- data/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
- data/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
- data/node_modules/ajv/lib/compile/validate/index.ts +0 -582
- data/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
- data/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
- data/node_modules/ajv/lib/core.ts +0 -891
- data/node_modules/ajv/lib/jtd.ts +0 -132
- data/node_modules/ajv/lib/refs/data.json +0 -13
- data/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- data/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
- data/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
- data/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- data/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
- data/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
- data/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
- data/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
- data/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
- data/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
- data/node_modules/ajv/lib/runtime/equal.ts +0 -7
- data/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
- data/node_modules/ajv/lib/runtime/quote.ts +0 -31
- data/node_modules/ajv/lib/runtime/re2.ts +0 -6
- data/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
- data/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
- data/node_modules/ajv/lib/runtime/uri.ts +0 -6
- data/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
- data/node_modules/ajv/lib/standalone/index.ts +0 -100
- data/node_modules/ajv/lib/standalone/instance.ts +0 -36
- data/node_modules/ajv/lib/types/index.ts +0 -244
- data/node_modules/ajv/lib/types/json-schema.ts +0 -187
- data/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
- data/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
- data/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
- data/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
- data/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
- data/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
- data/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
- data/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
- data/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
- data/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
- data/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
- data/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
- data/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
- data/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
- data/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
- data/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
- data/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
- data/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
- data/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
- data/node_modules/ajv/lib/vocabularies/code.ts +0 -168
- data/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
- data/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
- data/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
- data/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
- data/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
- data/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
- data/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
- data/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
- data/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
- data/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
- data/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
- data/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
- data/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
- data/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
- data/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
- data/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
- data/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
- data/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
- data/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
- data/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
- data/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
- data/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
- data/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
- data/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
- data/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
- data/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
- data/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
- data/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
- data/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
- data/node_modules/ajv/lib/vocabularies/next.ts +0 -8
- data/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
- data/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
- data/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
- data/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
- data/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
- data/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
- data/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
- data/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
- data/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
- data/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
- data/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
- data/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
- data/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
- data/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -28
- data/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
- data/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
- data/node_modules/ajv/package.json +0 -126
- data/node_modules/ansi-regex/index.d.ts +0 -37
- data/node_modules/ansi-regex/index.js +0 -10
- data/node_modules/ansi-regex/license +0 -9
- data/node_modules/ansi-regex/package.json +0 -55
- data/node_modules/ansi-regex/readme.md +0 -78
- data/node_modules/ansi-styles/index.d.ts +0 -345
- data/node_modules/ansi-styles/index.js +0 -163
- data/node_modules/ansi-styles/license +0 -9
- data/node_modules/ansi-styles/package.json +0 -56
- data/node_modules/ansi-styles/readme.md +0 -152
- data/node_modules/argparse/CHANGELOG.md +0 -216
- data/node_modules/argparse/LICENSE +0 -254
- data/node_modules/argparse/README.md +0 -84
- data/node_modules/argparse/argparse.js +0 -3707
- data/node_modules/argparse/lib/sub.js +0 -67
- data/node_modules/argparse/lib/textwrap.js +0 -440
- data/node_modules/argparse/package.json +0 -31
- data/node_modules/array-ify/README.md +0 -51
- data/node_modules/array-ify/index.js +0 -4
- data/node_modules/array-ify/package.json +0 -37
- data/node_modules/callsites/index.d.ts +0 -96
- data/node_modules/callsites/index.js +0 -13
- data/node_modules/callsites/license +0 -9
- data/node_modules/callsites/package.json +0 -39
- data/node_modules/callsites/readme.md +0 -48
- data/node_modules/chalk/license +0 -9
- data/node_modules/chalk/package.json +0 -83
- data/node_modules/chalk/readme.md +0 -325
- data/node_modules/chalk/source/index.d.ts +0 -320
- data/node_modules/chalk/source/index.js +0 -225
- data/node_modules/chalk/source/utilities.js +0 -33
- data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- data/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- data/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- data/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- data/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- data/node_modules/cliui/CHANGELOG.md +0 -139
- data/node_modules/cliui/LICENSE.txt +0 -14
- data/node_modules/cliui/README.md +0 -141
- data/node_modules/cliui/build/index.cjs +0 -302
- data/node_modules/cliui/build/index.d.cts +0 -43
- data/node_modules/cliui/build/lib/index.js +0 -287
- data/node_modules/cliui/build/lib/string-utils.js +0 -27
- data/node_modules/cliui/index.mjs +0 -13
- data/node_modules/cliui/package.json +0 -83
- data/node_modules/color-convert/CHANGELOG.md +0 -54
- data/node_modules/color-convert/LICENSE +0 -21
- data/node_modules/color-convert/README.md +0 -68
- data/node_modules/color-convert/conversions.js +0 -839
- data/node_modules/color-convert/index.js +0 -81
- data/node_modules/color-convert/package.json +0 -48
- data/node_modules/color-convert/route.js +0 -97
- data/node_modules/color-name/LICENSE +0 -8
- data/node_modules/color-name/README.md +0 -11
- data/node_modules/color-name/index.js +0 -152
- data/node_modules/color-name/package.json +0 -28
- data/node_modules/compare-func/LICENSE +0 -21
- data/node_modules/compare-func/README.md +0 -70
- data/node_modules/compare-func/index.js +0 -42
- data/node_modules/compare-func/package.json +0 -47
- data/node_modules/conventional-changelog/LICENSE.md +0 -21
- data/node_modules/conventional-changelog/README.md +0 -66
- data/node_modules/conventional-changelog/index.js +0 -22
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/LICENSE.md +0 -15
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/README.md +0 -134
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/package.json +0 -32
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/index.js +0 -11
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/parser.js +0 -13
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/commit.hbs +0 -61
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/footer.hbs +0 -11
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/header.hbs +0 -25
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/templates/template.hbs +0 -16
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/whatBump.js +0 -24
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-angular/src/writer.js +0 -114
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/LICENSE.md +0 -15
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/README.md +0 -80
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/package.json +0 -32
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/constants.js +0 -14
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/index.js +0 -18
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/parser.js +0 -17
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/commit.hbs +0 -30
- 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 +0 -9
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/templates/template.hbs +0 -21
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/utils.js +0 -18
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/whatBump.js +0 -36
- data/node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits/src/writer.js +0 -195
- data/node_modules/conventional-changelog/package.json +0 -54
- data/node_modules/conventional-changelog-angular/LICENSE.md +0 -15
- data/node_modules/conventional-changelog-angular/README.md +0 -126
- data/node_modules/conventional-changelog-angular/conventionalChangelog.js +0 -10
- data/node_modules/conventional-changelog-angular/conventionalRecommendedBump.js +0 -34
- data/node_modules/conventional-changelog-angular/index.js +0 -22
- data/node_modules/conventional-changelog-angular/package.json +0 -35
- data/node_modules/conventional-changelog-angular/parserOpts.js +0 -17
- data/node_modules/conventional-changelog-angular/templates/commit.hbs +0 -61
- data/node_modules/conventional-changelog-angular/templates/footer.hbs +0 -11
- data/node_modules/conventional-changelog-angular/templates/header.hbs +0 -25
- data/node_modules/conventional-changelog-angular/templates/template.hbs +0 -16
- data/node_modules/conventional-changelog-angular/writerOpts.js +0 -110
- data/node_modules/conventional-changelog-atom/LICENSE.md +0 -15
- data/node_modules/conventional-changelog-atom/README.md +0 -72
- data/node_modules/conventional-changelog-atom/package.json +0 -29
- data/node_modules/conventional-changelog-atom/src/index.js +0 -11
- data/node_modules/conventional-changelog-atom/src/parser.js +0 -9
- data/node_modules/conventional-changelog-atom/src/templates/commit.hbs +0 -5
- data/node_modules/conventional-changelog-atom/src/templates/header.hbs +0 -1
- data/node_modules/conventional-changelog-atom/src/templates/template.hbs +0 -15
- data/node_modules/conventional-changelog-atom/src/whatBump.js +0 -22
- data/node_modules/conventional-changelog-atom/src/writer.js +0 -48
- data/node_modules/conventional-changelog-cli/LICENSE +0 -21
- data/node_modules/conventional-changelog-cli/README.md +0 -128
- data/node_modules/conventional-changelog-cli/cli.js +0 -279
- data/node_modules/conventional-changelog-cli/package.json +0 -44
- data/node_modules/conventional-changelog-codemirror/LICENSE.md +0 -15
- data/node_modules/conventional-changelog-codemirror/README.md +0 -45
- data/node_modules/conventional-changelog-codemirror/package.json +0 -29
- data/node_modules/conventional-changelog-codemirror/src/index.js +0 -11
- data/node_modules/conventional-changelog-codemirror/src/parser.js +0 -10
- data/node_modules/conventional-changelog-codemirror/src/templates/commit.hbs +0 -5
- data/node_modules/conventional-changelog-codemirror/src/templates/header.hbs +0 -1
- data/node_modules/conventional-changelog-codemirror/src/templates/template.hbs +0 -15
- data/node_modules/conventional-changelog-codemirror/src/whatBump.js +0 -22
- data/node_modules/conventional-changelog-codemirror/src/writer.js +0 -41
- data/node_modules/conventional-changelog-conventionalcommits/LICENSE.md +0 -15
- data/node_modules/conventional-changelog-conventionalcommits/README.md +0 -72
- data/node_modules/conventional-changelog-conventionalcommits/constants.js +0 -18
- data/node_modules/conventional-changelog-conventionalcommits/conventionalChangelog.js +0 -10
- data/node_modules/conventional-changelog-conventionalcommits/conventionalRecommendedBump.js +0 -44
- data/node_modules/conventional-changelog-conventionalcommits/index.js +0 -29
- data/node_modules/conventional-changelog-conventionalcommits/package.json +0 -37
- data/node_modules/conventional-changelog-conventionalcommits/parserOpts.js +0 -21
- data/node_modules/conventional-changelog-conventionalcommits/templates/commit.hbs +0 -30
- data/node_modules/conventional-changelog-conventionalcommits/templates/footer.hbs +0 -0
- data/node_modules/conventional-changelog-conventionalcommits/templates/header.hbs +0 -9
- data/node_modules/conventional-changelog-conventionalcommits/templates/template.hbs +0 -23
- data/node_modules/conventional-changelog-conventionalcommits/utils.js +0 -15
- data/node_modules/conventional-changelog-conventionalcommits/writerOpts.js +0 -192
- data/node_modules/conventional-changelog-core/LICENSE.md +0 -21
- data/node_modules/conventional-changelog-core/README.md +0 -255
- data/node_modules/conventional-changelog-core/hosts/bitbucket.json +0 -21
- data/node_modules/conventional-changelog-core/hosts/github.json +0 -19
- data/node_modules/conventional-changelog-core/hosts/gitlab.json +0 -17
- data/node_modules/conventional-changelog-core/index.js +0 -156
- data/node_modules/conventional-changelog-core/lib/merge-config.js +0 -372
- data/node_modules/conventional-changelog-core/node_modules/.bin/conventional-commits-parser +0 -1
- data/node_modules/conventional-changelog-core/node_modules/.bin/git-raw-commits +0 -1
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/LICENSE.md +0 -21
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/README.md +0 -134
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts +0 -49
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js +0 -124
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts +0 -75
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/GitClient.js +0 -160
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.d.ts +0 -4
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/index.js +0 -4
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.d.ts +0 -58
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/types.js +0 -2
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.d.ts +0 -34
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/dist/utils.js +0 -141
- data/node_modules/conventional-changelog-core/node_modules/@conventional-changelog/git-client/package.json +0 -53
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/LICENSE.md +0 -21
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/README.md +0 -437
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.d.ts +0 -40
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/CommitParser.js +0 -317
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.d.ts +0 -3
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/index.js +0 -103
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.d.ts +0 -3
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/options.js +0 -40
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.d.ts +0 -8
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/cli/utils.js +0 -64
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.d.ts +0 -4
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/index.js +0 -4
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.d.ts +0 -3
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/options.js +0 -25
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.d.ts +0 -8
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/regex.js +0 -49
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.d.ts +0 -16
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/stream.js +0 -38
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.d.ts +0 -98
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/types.js +0 -2
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.d.ts +0 -32
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.d.ts.map +0 -1
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/dist/utils.js +0 -59
- data/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/package.json +0 -45
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/LICENSE.md +0 -21
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/README.md +0 -60
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/package.json +0 -44
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/src/cli.js +0 -37
- data/node_modules/conventional-changelog-core/node_modules/git-raw-commits/src/index.js +0 -59
- data/node_modules/conventional-changelog-core/package.json +0 -44
- data/node_modules/conventional-changelog-ember/LICENSE.md +0 -15
- data/node_modules/conventional-changelog-ember/README.md +0 -94
- data/node_modules/conventional-changelog-ember/package.json +0 -29
- data/node_modules/conventional-changelog-ember/src/index.js +0 -14
- data/node_modules/conventional-changelog-ember/src/parser.js +0 -12
- data/node_modules/conventional-changelog-ember/src/templates/commit.hbs +0 -3
- data/node_modules/conventional-changelog-ember/src/templates/header.hbs +0 -1
- data/node_modules/conventional-changelog-ember/src/templates/template.hbs +0 -15
- data/node_modules/conventional-changelog-ember/src/whatBump.js +0 -22
- data/node_modules/conventional-changelog-ember/src/writer.js +0 -58
- data/node_modules/conventional-changelog-eslint/LICENSE.md +0 -15
- data/node_modules/conventional-changelog-eslint/README.md +0 -84
- data/node_modules/conventional-changelog-eslint/package.json +0 -29
- data/node_modules/conventional-changelog-eslint/src/index.js +0 -11
- data/node_modules/conventional-changelog-eslint/src/parser.js +0 -9
- data/node_modules/conventional-changelog-eslint/src/templates/commit.hbs +0 -5
- data/node_modules/conventional-changelog-eslint/src/templates/header.hbs +0 -1
- data/node_modules/conventional-changelog-eslint/src/templates/template.hbs +0 -15
- data/node_modules/conventional-changelog-eslint/src/whatBump.js +0 -24
- data/node_modules/conventional-changelog-eslint/src/writer.js +0 -39
- data/node_modules/conventional-changelog-express/LICENSE.md +0 -15
- data/node_modules/conventional-changelog-express/README.md +0 -45
- data/node_modules/conventional-changelog-express/package.json +0 -29
- data/node_modules/conventional-changelog-express/src/index.js +0 -11
- data/node_modules/conventional-changelog-express/src/parser.js +0 -9
- data/node_modules/conventional-changelog-express/src/templates/commit.hbs +0 -9
- data/node_modules/conventional-changelog-express/src/templates/header.hbs +0 -2
- data/node_modules/conventional-changelog-express/src/templates/template.hbs +0 -14
- data/node_modules/conventional-changelog-express/src/whatBump.js +0 -22
- data/node_modules/conventional-changelog-express/src/writer.js +0 -43
- data/node_modules/conventional-changelog-jquery/LICENSE.md +0 -15
- data/node_modules/conventional-changelog-jquery/README.md +0 -83
- data/node_modules/conventional-changelog-jquery/package.json +0 -29
- data/node_modules/conventional-changelog-jquery/src/index.js +0 -11
- data/node_modules/conventional-changelog-jquery/src/parser.js +0 -9
- data/node_modules/conventional-changelog-jquery/src/templates/commit.hbs +0 -56
- data/node_modules/conventional-changelog-jquery/src/templates/header.hbs +0 -17
- data/node_modules/conventional-changelog-jquery/src/templates/template.hbs +0 -16
- data/node_modules/conventional-changelog-jquery/src/whatBump.js +0 -22
- data/node_modules/conventional-changelog-jquery/src/writer.js +0 -50
- data/node_modules/conventional-changelog-jshint/LICENSE.md +0 -15
- data/node_modules/conventional-changelog-jshint/README.md +0 -121
- data/node_modules/conventional-changelog-jshint/package.json +0 -32
- data/node_modules/conventional-changelog-jshint/src/index.js +0 -11
- data/node_modules/conventional-changelog-jshint/src/parser.js +0 -10
- data/node_modules/conventional-changelog-jshint/src/templates/commit.hbs +0 -5
- data/node_modules/conventional-changelog-jshint/src/templates/footer.hbs +0 -11
- data/node_modules/conventional-changelog-jshint/src/templates/header.hbs +0 -1
- data/node_modules/conventional-changelog-jshint/src/templates/template.hbs +0 -16
- data/node_modules/conventional-changelog-jshint/src/whatBump.js +0 -22
- data/node_modules/conventional-changelog-jshint/src/writer.js +0 -62
- data/node_modules/conventional-changelog-preset-loader/LICENSE.md +0 -21
- data/node_modules/conventional-changelog-preset-loader/README.md +0 -121
- data/node_modules/conventional-changelog-preset-loader/dist/index.d.ts +0 -3
- data/node_modules/conventional-changelog-preset-loader/dist/index.d.ts.map +0 -1
- data/node_modules/conventional-changelog-preset-loader/dist/index.js +0 -3
- data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.d.ts +0 -12
- data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.d.ts.map +0 -1
- data/node_modules/conventional-changelog-preset-loader/dist/presetLoader.js +0 -102
- data/node_modules/conventional-changelog-preset-loader/dist/types.d.ts +0 -15
- data/node_modules/conventional-changelog-preset-loader/dist/types.d.ts.map +0 -1
- data/node_modules/conventional-changelog-preset-loader/dist/types.js +0 -3
- data/node_modules/conventional-changelog-preset-loader/package.json +0 -32
- data/node_modules/conventional-changelog-writer/LICENSE.md +0 -21
- data/node_modules/conventional-changelog-writer/README.md +0 -383
- data/node_modules/conventional-changelog-writer/dist/cli/index.d.ts +0 -3
- data/node_modules/conventional-changelog-writer/dist/cli/index.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/cli/index.js +0 -70
- data/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts +0 -7
- data/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/cli/utils.js +0 -64
- data/node_modules/conventional-changelog-writer/dist/commit.d.ts +0 -11
- data/node_modules/conventional-changelog-writer/dist/commit.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/commit.js +0 -40
- data/node_modules/conventional-changelog-writer/dist/context.d.ts +0 -26
- data/node_modules/conventional-changelog-writer/dist/context.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/context.js +0 -114
- data/node_modules/conventional-changelog-writer/dist/index.d.ts +0 -4
- data/node_modules/conventional-changelog-writer/dist/index.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/index.js +0 -4
- data/node_modules/conventional-changelog-writer/dist/options.d.ts +0 -25
- data/node_modules/conventional-changelog-writer/dist/options.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/options.js +0 -75
- data/node_modules/conventional-changelog-writer/dist/template.d.ts +0 -21
- data/node_modules/conventional-changelog-writer/dist/template.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/template.js +0 -77
- data/node_modules/conventional-changelog-writer/dist/types/commit.d.ts +0 -26
- data/node_modules/conventional-changelog-writer/dist/types/commit.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/types/commit.js +0 -2
- data/node_modules/conventional-changelog-writer/dist/types/context.d.ts +0 -69
- data/node_modules/conventional-changelog-writer/dist/types/context.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/types/context.js +0 -2
- data/node_modules/conventional-changelog-writer/dist/types/index.d.ts +0 -10
- data/node_modules/conventional-changelog-writer/dist/types/index.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/types/index.js +0 -5
- data/node_modules/conventional-changelog-writer/dist/types/options.d.ts +0 -108
- data/node_modules/conventional-changelog-writer/dist/types/options.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/types/options.js +0 -2
- data/node_modules/conventional-changelog-writer/dist/types/utils.d.ts +0 -10
- data/node_modules/conventional-changelog-writer/dist/types/utils.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/types/utils.js +0 -2
- data/node_modules/conventional-changelog-writer/dist/utils.d.ts +0 -20
- data/node_modules/conventional-changelog-writer/dist/utils.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/utils.js +0 -70
- data/node_modules/conventional-changelog-writer/dist/writers.d.ts +0 -29
- data/node_modules/conventional-changelog-writer/dist/writers.d.ts.map +0 -1
- data/node_modules/conventional-changelog-writer/dist/writers.js +0 -102
- data/node_modules/conventional-changelog-writer/package.json +0 -52
- data/node_modules/conventional-changelog-writer/templates/commit.hbs +0 -54
- data/node_modules/conventional-changelog-writer/templates/footer.hbs +0 -10
- data/node_modules/conventional-changelog-writer/templates/header.hbs +0 -9
- data/node_modules/conventional-changelog-writer/templates/template.hbs +0 -11
- data/node_modules/conventional-commits-filter/LICENSE +0 -21
- data/node_modules/conventional-commits-filter/README.md +0 -235
- data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts +0 -17
- data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts.map +0 -1
- data/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.js +0 -46
- data/node_modules/conventional-commits-filter/dist/filters.d.ts +0 -20
- data/node_modules/conventional-commits-filter/dist/filters.d.ts.map +0 -1
- data/node_modules/conventional-commits-filter/dist/filters.js +0 -34
- data/node_modules/conventional-commits-filter/dist/index.d.ts +0 -4
- data/node_modules/conventional-commits-filter/dist/index.d.ts.map +0 -1
- data/node_modules/conventional-commits-filter/dist/index.js +0 -3
- data/node_modules/conventional-commits-filter/dist/types.d.ts +0 -6
- data/node_modules/conventional-commits-filter/dist/types.d.ts.map +0 -1
- data/node_modules/conventional-commits-filter/dist/types.js +0 -2
- data/node_modules/conventional-commits-filter/dist/utils.d.ts +0 -16
- data/node_modules/conventional-commits-filter/dist/utils.d.ts.map +0 -1
- data/node_modules/conventional-commits-filter/dist/utils.js +0 -43
- data/node_modules/conventional-commits-filter/package.json +0 -37
- data/node_modules/conventional-commits-parser/LICENSE.md +0 -21
- data/node_modules/conventional-commits-parser/README.md +0 -383
- data/node_modules/conventional-commits-parser/cli.mjs +0 -170
- data/node_modules/conventional-commits-parser/index.js +0 -105
- data/node_modules/conventional-commits-parser/lib/parser.js +0 -316
- data/node_modules/conventional-commits-parser/lib/regex.js +0 -61
- data/node_modules/conventional-commits-parser/node_modules/meow/build/dependencies.js +0 -11036
- data/node_modules/conventional-commits-parser/node_modules/meow/build/index.d.ts +0 -1416
- data/node_modules/conventional-commits-parser/node_modules/meow/build/index.js +0 -100
- data/node_modules/conventional-commits-parser/node_modules/meow/build/licenses.md +0 -1767
- data/node_modules/conventional-commits-parser/node_modules/meow/build/options.js +0 -92
- data/node_modules/conventional-commits-parser/node_modules/meow/build/parser.js +0 -84
- data/node_modules/conventional-commits-parser/node_modules/meow/build/utils.js +0 -7
- data/node_modules/conventional-commits-parser/node_modules/meow/build/validate.js +0 -122
- data/node_modules/conventional-commits-parser/node_modules/meow/license +0 -9
- data/node_modules/conventional-commits-parser/node_modules/meow/package.json +0 -107
- data/node_modules/conventional-commits-parser/node_modules/meow/readme.md +0 -314
- data/node_modules/conventional-commits-parser/package.json +0 -47
- data/node_modules/cosmiconfig/LICENSE +0 -22
- data/node_modules/cosmiconfig/README.md +0 -782
- data/node_modules/cosmiconfig/dist/Explorer.d.ts +0 -2
- data/node_modules/cosmiconfig/dist/Explorer.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/Explorer.js +0 -170
- data/node_modules/cosmiconfig/dist/Explorer.js.map +0 -1
- data/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +0 -2
- data/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/ExplorerBase.js +0 -126
- data/node_modules/cosmiconfig/dist/ExplorerBase.js.map +0 -1
- data/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +0 -2
- data/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/ExplorerSync.js +0 -184
- data/node_modules/cosmiconfig/dist/ExplorerSync.js.map +0 -1
- data/node_modules/cosmiconfig/dist/cacheWrapper.d.ts +0 -5
- data/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/cacheWrapper.js +0 -32
- data/node_modules/cosmiconfig/dist/cacheWrapper.js.map +0 -1
- data/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts +0 -3
- data/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/canUseDynamicImport.js +0 -23
- data/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map +0 -1
- data/node_modules/cosmiconfig/dist/defaults.d.ts +0 -25
- data/node_modules/cosmiconfig/dist/defaults.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/defaults.js +0 -105
- data/node_modules/cosmiconfig/dist/defaults.js.map +0 -1
- data/node_modules/cosmiconfig/dist/getDirectory.d.ts +0 -4
- data/node_modules/cosmiconfig/dist/getDirectory.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/getDirectory.js +0 -38
- data/node_modules/cosmiconfig/dist/getDirectory.js.map +0 -1
- data/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts +0 -5
- data/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/getPropertyByPath.js +0 -28
- data/node_modules/cosmiconfig/dist/getPropertyByPath.js.map +0 -1
- data/node_modules/cosmiconfig/dist/index.d.ts +0 -6
- data/node_modules/cosmiconfig/dist/index.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/index.js +0 -148
- data/node_modules/cosmiconfig/dist/index.js.map +0 -1
- data/node_modules/cosmiconfig/dist/loaders.d.ts +0 -8
- data/node_modules/cosmiconfig/dist/loaders.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/loaders.js +0 -148
- data/node_modules/cosmiconfig/dist/loaders.js.map +0 -1
- data/node_modules/cosmiconfig/dist/merge.d.ts +0 -9
- data/node_modules/cosmiconfig/dist/merge.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/merge.js +0 -40
- data/node_modules/cosmiconfig/dist/merge.js.map +0 -1
- data/node_modules/cosmiconfig/dist/readFile.d.ts +0 -7
- data/node_modules/cosmiconfig/dist/readFile.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/readFile.js +0 -56
- data/node_modules/cosmiconfig/dist/readFile.js.map +0 -1
- data/node_modules/cosmiconfig/dist/types.d.ts +0 -98
- data/node_modules/cosmiconfig/dist/types.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/types.js +0 -3
- data/node_modules/cosmiconfig/dist/types.js.map +0 -1
- data/node_modules/cosmiconfig/dist/util.d.ts +0 -2
- data/node_modules/cosmiconfig/dist/util.d.ts.map +0 -1
- data/node_modules/cosmiconfig/dist/util.js +0 -99
- data/node_modules/cosmiconfig/dist/util.js.map +0 -1
- data/node_modules/cosmiconfig/package.json +0 -102
- data/node_modules/cosmiconfig-typescript-loader/LICENCE +0 -21
- data/node_modules/cosmiconfig-typescript-loader/README.md +0 -64
- data/node_modules/cosmiconfig-typescript-loader/dist/cjs/index.cjs +0 -30
- data/node_modules/cosmiconfig-typescript-loader/dist/cjs/loader.cjs +0 -55
- data/node_modules/cosmiconfig-typescript-loader/dist/cjs/typescript-compile-error.cjs +0 -43
- data/node_modules/cosmiconfig-typescript-loader/dist/esm/index.mjs +0 -5
- data/node_modules/cosmiconfig-typescript-loader/dist/esm/loader.mjs +0 -20
- data/node_modules/cosmiconfig-typescript-loader/dist/esm/typescript-compile-error.mjs +0 -18
- data/node_modules/cosmiconfig-typescript-loader/dist/types/index.d.ts +0 -2
- data/node_modules/cosmiconfig-typescript-loader/dist/types/loader.d.ts +0 -3
- data/node_modules/cosmiconfig-typescript-loader/dist/types/typescript-compile-error.d.ts +0 -4
- data/node_modules/cosmiconfig-typescript-loader/package.json +0 -79
- data/node_modules/cross-spawn/CHANGELOG.md +0 -130
- data/node_modules/cross-spawn/LICENSE +0 -21
- data/node_modules/cross-spawn/README.md +0 -96
- data/node_modules/cross-spawn/index.js +0 -39
- data/node_modules/cross-spawn/lib/enoent.js +0 -59
- data/node_modules/cross-spawn/lib/parse.js +0 -91
- data/node_modules/cross-spawn/lib/util/escape.js +0 -45
- data/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- data/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- data/node_modules/cross-spawn/package.json +0 -73
- data/node_modules/dargs/index.d.ts +0 -159
- data/node_modules/dargs/index.js +0 -116
- data/node_modules/dargs/license +0 -9
- data/node_modules/dargs/package.json +0 -51
- data/node_modules/dargs/readme.md +0 -195
- data/node_modules/dot-prop/index.d.ts +0 -101
- data/node_modules/dot-prop/index.js +0 -142
- data/node_modules/dot-prop/license +0 -9
- data/node_modules/dot-prop/package.json +0 -45
- data/node_modules/dot-prop/readme.md +0 -117
- data/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- data/node_modules/emoji-regex/README.md +0 -73
- data/node_modules/emoji-regex/es2015/index.js +0 -6
- data/node_modules/emoji-regex/es2015/text.js +0 -6
- data/node_modules/emoji-regex/index.d.ts +0 -23
- data/node_modules/emoji-regex/index.js +0 -6
- data/node_modules/emoji-regex/package.json +0 -50
- data/node_modules/emoji-regex/text.js +0 -6
- data/node_modules/env-paths/index.d.ts +0 -101
- data/node_modules/env-paths/index.js +0 -74
- data/node_modules/env-paths/license +0 -9
- data/node_modules/env-paths/package.json +0 -45
- data/node_modules/env-paths/readme.md +0 -115
- data/node_modules/error-ex/LICENSE +0 -21
- data/node_modules/error-ex/README.md +0 -144
- data/node_modules/error-ex/index.js +0 -141
- data/node_modules/error-ex/package.json +0 -46
- data/node_modules/escalade/dist/index.js +0 -22
- data/node_modules/escalade/dist/index.mjs +0 -22
- data/node_modules/escalade/index.d.ts +0 -3
- data/node_modules/escalade/license +0 -9
- data/node_modules/escalade/package.json +0 -63
- data/node_modules/escalade/readme.md +0 -211
- data/node_modules/escalade/sync/index.d.ts +0 -2
- data/node_modules/escalade/sync/index.js +0 -18
- data/node_modules/escalade/sync/index.mjs +0 -18
- data/node_modules/escape-string-regexp/index.js +0 -11
- data/node_modules/escape-string-regexp/license +0 -21
- data/node_modules/escape-string-regexp/package.json +0 -41
- data/node_modules/escape-string-regexp/readme.md +0 -27
- data/node_modules/execa/index.d.ts +0 -955
- data/node_modules/execa/index.js +0 -309
- data/node_modules/execa/lib/command.js +0 -119
- data/node_modules/execa/lib/error.js +0 -87
- data/node_modules/execa/lib/kill.js +0 -102
- data/node_modules/execa/lib/pipe.js +0 -42
- data/node_modules/execa/lib/promise.js +0 -36
- data/node_modules/execa/lib/stdio.js +0 -49
- data/node_modules/execa/lib/stream.js +0 -133
- data/node_modules/execa/lib/verbose.js +0 -19
- data/node_modules/execa/license +0 -9
- data/node_modules/execa/package.json +0 -90
- data/node_modules/execa/readme.md +0 -822
- data/node_modules/fast-deep-equal/LICENSE +0 -21
- data/node_modules/fast-deep-equal/README.md +0 -96
- data/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
- data/node_modules/fast-deep-equal/es6/index.js +0 -72
- data/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
- data/node_modules/fast-deep-equal/es6/react.js +0 -79
- data/node_modules/fast-deep-equal/index.d.ts +0 -4
- data/node_modules/fast-deep-equal/index.js +0 -46
- data/node_modules/fast-deep-equal/package.json +0 -61
- data/node_modules/fast-deep-equal/react.d.ts +0 -2
- data/node_modules/fast-deep-equal/react.js +0 -53
- data/node_modules/fast-uri/.gitattributes +0 -2
- data/node_modules/fast-uri/.github/.stale.yml +0 -21
- data/node_modules/fast-uri/.github/dependabot.yml +0 -13
- data/node_modules/fast-uri/.github/tests_checker.yml +0 -8
- data/node_modules/fast-uri/.github/workflows/ci.yml +0 -23
- data/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -20
- data/node_modules/fast-uri/.taprc +0 -3
- data/node_modules/fast-uri/LICENSE +0 -30
- data/node_modules/fast-uri/README.md +0 -125
- data/node_modules/fast-uri/benchmark.js +0 -105
- data/node_modules/fast-uri/index.js +0 -309
- data/node_modules/fast-uri/lib/schemes.js +0 -188
- data/node_modules/fast-uri/lib/scopedChars.js +0 -30
- data/node_modules/fast-uri/lib/utils.js +0 -242
- data/node_modules/fast-uri/package.json +0 -39
- data/node_modules/fast-uri/test/.gitkeep +0 -0
- data/node_modules/fast-uri/test/ajv.test.js +0 -39
- data/node_modules/fast-uri/test/compatibility.test.js +0 -130
- data/node_modules/fast-uri/test/equal.test.js +0 -104
- data/node_modules/fast-uri/test/parse.test.js +0 -319
- data/node_modules/fast-uri/test/resolve.test.js +0 -76
- data/node_modules/fast-uri/test/serialize.test.js +0 -144
- data/node_modules/fast-uri/test/uri-js.test.js +0 -940
- data/node_modules/fast-uri/test/util.test.js +0 -24
- data/node_modules/fast-uri/types/index.d.ts +0 -53
- data/node_modules/fast-uri/types/index.test-d.ts +0 -17
- data/node_modules/find-up/index.d.ts +0 -247
- data/node_modules/find-up/index.js +0 -107
- data/node_modules/find-up/license +0 -9
- data/node_modules/find-up/package.json +0 -61
- data/node_modules/find-up/readme.md +0 -160
- data/node_modules/find-up-simple/index.d.ts +0 -74
- data/node_modules/find-up-simple/index.js +0 -53
- data/node_modules/find-up-simple/license +0 -9
- data/node_modules/find-up-simple/package.json +0 -53
- data/node_modules/find-up-simple/readme.md +0 -93
- data/node_modules/get-caller-file/LICENSE.md +0 -6
- data/node_modules/get-caller-file/README.md +0 -41
- data/node_modules/get-caller-file/index.d.ts +0 -2
- data/node_modules/get-caller-file/index.js +0 -22
- data/node_modules/get-caller-file/index.js.map +0 -1
- data/node_modules/get-caller-file/package.json +0 -42
- data/node_modules/get-stream/license +0 -9
- data/node_modules/get-stream/package.json +0 -53
- data/node_modules/get-stream/readme.md +0 -291
- data/node_modules/get-stream/source/array-buffer.js +0 -84
- data/node_modules/get-stream/source/array.js +0 -32
- data/node_modules/get-stream/source/buffer.js +0 -20
- data/node_modules/get-stream/source/contents.js +0 -101
- data/node_modules/get-stream/source/index.d.ts +0 -119
- data/node_modules/get-stream/source/index.js +0 -5
- data/node_modules/get-stream/source/string.js +0 -36
- data/node_modules/get-stream/source/utils.js +0 -11
- data/node_modules/git-raw-commits/LICENSE.md +0 -21
- data/node_modules/git-raw-commits/README.md +0 -101
- data/node_modules/git-raw-commits/cli.mjs +0 -20
- data/node_modules/git-raw-commits/index.js +0 -110
- data/node_modules/git-raw-commits/node_modules/meow/build/dependencies.js +0 -11036
- data/node_modules/git-raw-commits/node_modules/meow/build/index.d.ts +0 -1416
- data/node_modules/git-raw-commits/node_modules/meow/build/index.js +0 -100
- data/node_modules/git-raw-commits/node_modules/meow/build/licenses.md +0 -1767
- data/node_modules/git-raw-commits/node_modules/meow/build/options.js +0 -92
- data/node_modules/git-raw-commits/node_modules/meow/build/parser.js +0 -84
- data/node_modules/git-raw-commits/node_modules/meow/build/utils.js +0 -7
- data/node_modules/git-raw-commits/node_modules/meow/build/validate.js +0 -122
- data/node_modules/git-raw-commits/node_modules/meow/license +0 -9
- data/node_modules/git-raw-commits/node_modules/meow/package.json +0 -107
- data/node_modules/git-raw-commits/node_modules/meow/readme.md +0 -314
- data/node_modules/git-raw-commits/package.json +0 -43
- data/node_modules/git-semver-tags/LICENSE.md +0 -21
- data/node_modules/git-semver-tags/README.md +0 -65
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/LICENSE.md +0 -21
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/README.md +0 -134
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts +0 -49
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.d.ts.map +0 -1
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js +0 -124
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts +0 -75
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.d.ts.map +0 -1
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/GitClient.js +0 -160
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.d.ts +0 -4
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.d.ts.map +0 -1
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/index.js +0 -4
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.d.ts +0 -58
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.d.ts.map +0 -1
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/types.js +0 -2
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.d.ts +0 -34
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.d.ts.map +0 -1
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/dist/utils.js +0 -141
- data/node_modules/git-semver-tags/node_modules/@conventional-changelog/git-client/package.json +0 -53
- data/node_modules/git-semver-tags/package.json +0 -43
- data/node_modules/git-semver-tags/src/cli.js +0 -43
- data/node_modules/git-semver-tags/src/index.js +0 -42
- data/node_modules/global-directory/index.d.ts +0 -58
- data/node_modules/global-directory/index.js +0 -121
- data/node_modules/global-directory/license +0 -9
- data/node_modules/global-directory/package.json +0 -61
- data/node_modules/global-directory/readme.md +0 -60
- data/node_modules/handlebars/LICENSE +0 -19
- data/node_modules/handlebars/README.markdown +0 -169
- data/node_modules/handlebars/bin/.eslintrc.js +0 -6
- data/node_modules/handlebars/bin/handlebars +0 -176
- data/node_modules/handlebars/dist/amd/handlebars/base.js +0 -106
- data/node_modules/handlebars/dist/amd/handlebars/compiler/ast.js +0 -31
- data/node_modules/handlebars/dist/amd/handlebars/compiler/base.js +0 -45
- data/node_modules/handlebars/dist/amd/handlebars/compiler/code-gen.js +0 -165
- data/node_modules/handlebars/dist/amd/handlebars/compiler/compiler.js +0 -562
- data/node_modules/handlebars/dist/amd/handlebars/compiler/helpers.js +0 -228
- data/node_modules/handlebars/dist/amd/handlebars/compiler/javascript-compiler.js +0 -1150
- data/node_modules/handlebars/dist/amd/handlebars/compiler/parser.js +0 -737
- data/node_modules/handlebars/dist/amd/handlebars/compiler/printer.js +0 -186
- data/node_modules/handlebars/dist/amd/handlebars/compiler/visitor.js +0 -138
- data/node_modules/handlebars/dist/amd/handlebars/compiler/whitespace-control.js +0 -219
- data/node_modules/handlebars/dist/amd/handlebars/decorators/inline.js +0 -25
- data/node_modules/handlebars/dist/amd/handlebars/decorators.js +0 -16
- data/node_modules/handlebars/dist/amd/handlebars/exception.js +0 -64
- data/node_modules/handlebars/dist/amd/handlebars/helpers/block-helper-missing.js +0 -35
- data/node_modules/handlebars/dist/amd/handlebars/helpers/each.js +0 -99
- data/node_modules/handlebars/dist/amd/handlebars/helpers/helper-missing.js +0 -22
- data/node_modules/handlebars/dist/amd/handlebars/helpers/if.js +0 -41
- data/node_modules/handlebars/dist/amd/handlebars/helpers/log.js +0 -24
- data/node_modules/handlebars/dist/amd/handlebars/helpers/lookup.js +0 -14
- data/node_modules/handlebars/dist/amd/handlebars/helpers/with.js +0 -38
- data/node_modules/handlebars/dist/amd/handlebars/helpers.js +0 -44
- data/node_modules/handlebars/dist/amd/handlebars/internal/create-new-lookup-object.js +0 -22
- data/node_modules/handlebars/dist/amd/handlebars/internal/proto-access.js +0 -71
- data/node_modules/handlebars/dist/amd/handlebars/internal/wrapHelper.js +0 -21
- data/node_modules/handlebars/dist/amd/handlebars/logger.js +0 -44
- data/node_modules/handlebars/dist/amd/handlebars/no-conflict.js +0 -28
- data/node_modules/handlebars/dist/amd/handlebars/runtime.js +0 -356
- data/node_modules/handlebars/dist/amd/handlebars/safe-string.js +0 -15
- data/node_modules/handlebars/dist/amd/handlebars/utils.js +0 -126
- data/node_modules/handlebars/dist/amd/handlebars.js +0 -52
- data/node_modules/handlebars/dist/amd/handlebars.runtime.js +0 -44
- data/node_modules/handlebars/dist/amd/precompiler.js +0 -314
- data/node_modules/handlebars/dist/cjs/handlebars/base.js +0 -116
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +0 -31
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +0 -57
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +0 -168
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +0 -566
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +0 -228
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +0 -1158
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +0 -737
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +0 -186
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +0 -140
- data/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +0 -221
- data/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +0 -29
- data/node_modules/handlebars/dist/cjs/handlebars/decorators.js +0 -16
- data/node_modules/handlebars/dist/cjs/handlebars/exception.js +0 -64
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +0 -39
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +0 -104
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +0 -25
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +0 -46
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +0 -26
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +0 -16
- data/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +0 -43
- data/node_modules/handlebars/dist/cjs/handlebars/helpers.js +0 -56
- data/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js +0 -22
- data/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +0 -73
- data/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +0 -19
- data/node_modules/handlebars/dist/cjs/handlebars/logger.js +0 -47
- data/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +0 -30
- data/node_modules/handlebars/dist/cjs/handlebars/runtime.js +0 -372
- data/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +0 -15
- data/node_modules/handlebars/dist/cjs/handlebars/utils.js +0 -124
- data/node_modules/handlebars/dist/cjs/handlebars.js +0 -66
- data/node_modules/handlebars/dist/cjs/handlebars.runtime.js +0 -66
- data/node_modules/handlebars/dist/cjs/precompiler.js +0 -328
- data/node_modules/handlebars/dist/handlebars.amd.js +0 -4639
- data/node_modules/handlebars/dist/handlebars.amd.min.js +0 -29
- data/node_modules/handlebars/dist/handlebars.js +0 -5972
- data/node_modules/handlebars/dist/handlebars.min.js +0 -29
- data/node_modules/handlebars/dist/handlebars.runtime.amd.js +0 -1302
- data/node_modules/handlebars/dist/handlebars.runtime.amd.min.js +0 -27
- data/node_modules/handlebars/dist/handlebars.runtime.js +0 -2563
- data/node_modules/handlebars/dist/handlebars.runtime.min.js +0 -27
- data/node_modules/handlebars/lib/.eslintrc.js +0 -8
- data/node_modules/handlebars/lib/handlebars/base.js +0 -94
- data/node_modules/handlebars/lib/handlebars/compiler/ast.js +0 -32
- data/node_modules/handlebars/lib/handlebars/compiler/base.js +0 -34
- data/node_modules/handlebars/lib/handlebars/compiler/code-gen.js +0 -171
- data/node_modules/handlebars/lib/handlebars/compiler/compiler.js +0 -594
- data/node_modules/handlebars/lib/handlebars/compiler/helpers.js +0 -219
- data/node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js +0 -1293
- data/node_modules/handlebars/lib/handlebars/compiler/parser.js +0 -622
- data/node_modules/handlebars/lib/handlebars/compiler/printer.js +0 -178
- data/node_modules/handlebars/lib/handlebars/compiler/visitor.js +0 -136
- data/node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js +0 -234
- data/node_modules/handlebars/lib/handlebars/decorators/inline.js +0 -22
- data/node_modules/handlebars/lib/handlebars/decorators.js +0 -5
- data/node_modules/handlebars/lib/handlebars/exception.js +0 -68
- data/node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js +0 -35
- data/node_modules/handlebars/lib/handlebars/helpers/each.js +0 -101
- data/node_modules/handlebars/lib/handlebars/helpers/helper-missing.js +0 -15
- data/node_modules/handlebars/lib/handlebars/helpers/if.js +0 -33
- data/node_modules/handlebars/lib/handlebars/helpers/log.js +0 -19
- data/node_modules/handlebars/lib/handlebars/helpers/lookup.js +0 -9
- data/node_modules/handlebars/lib/handlebars/helpers/with.js +0 -39
- data/node_modules/handlebars/lib/handlebars/helpers.js +0 -26
- data/node_modules/handlebars/lib/handlebars/internal/create-new-lookup-object.js +0 -11
- data/node_modules/handlebars/lib/handlebars/internal/proto-access.js +0 -70
- data/node_modules/handlebars/lib/handlebars/internal/wrapHelper.js +0 -13
- data/node_modules/handlebars/lib/handlebars/logger.js +0 -39
- data/node_modules/handlebars/lib/handlebars/no-conflict.js +0 -23
- data/node_modules/handlebars/lib/handlebars/runtime.js +0 -450
- data/node_modules/handlebars/lib/handlebars/safe-string.js +0 -10
- data/node_modules/handlebars/lib/handlebars/utils.js +0 -116
- data/node_modules/handlebars/lib/handlebars.js +0 -46
- data/node_modules/handlebars/lib/handlebars.runtime.js +0 -37
- data/node_modules/handlebars/lib/index.js +0 -26
- data/node_modules/handlebars/lib/precompiler.js +0 -341
- data/node_modules/handlebars/package.json +0 -135
- data/node_modules/handlebars/release-notes.md +0 -1102
- data/node_modules/handlebars/runtime.d.ts +0 -5
- data/node_modules/handlebars/runtime.js +0 -3
- data/node_modules/handlebars/types/index.d.ts +0 -422
- data/node_modules/has-flag/index.js +0 -8
- data/node_modules/has-flag/license +0 -9
- data/node_modules/has-flag/package.json +0 -44
- data/node_modules/has-flag/readme.md +0 -70
- data/node_modules/hosted-git-info/LICENSE +0 -13
- data/node_modules/hosted-git-info/README.md +0 -133
- data/node_modules/hosted-git-info/lib/from-url.js +0 -122
- data/node_modules/hosted-git-info/lib/hosts.js +0 -227
- data/node_modules/hosted-git-info/lib/index.js +0 -179
- data/node_modules/hosted-git-info/lib/parse-url.js +0 -78
- data/node_modules/hosted-git-info/package.json +0 -60
- data/node_modules/human-signals/LICENSE +0 -201
- data/node_modules/human-signals/README.md +0 -168
- data/node_modules/human-signals/build/src/core.js +0 -273
- data/node_modules/human-signals/build/src/main.d.ts +0 -73
- data/node_modules/human-signals/build/src/main.js +0 -70
- data/node_modules/human-signals/build/src/realtime.js +0 -16
- data/node_modules/human-signals/build/src/signals.js +0 -34
- data/node_modules/human-signals/package.json +0 -61
- data/node_modules/import-fresh/index.d.ts +0 -30
- data/node_modules/import-fresh/index.js +0 -33
- data/node_modules/import-fresh/license +0 -9
- data/node_modules/import-fresh/node_modules/resolve-from/index.js +0 -47
- data/node_modules/import-fresh/node_modules/resolve-from/license +0 -9
- data/node_modules/import-fresh/node_modules/resolve-from/package.json +0 -34
- data/node_modules/import-fresh/node_modules/resolve-from/readme.md +0 -72
- data/node_modules/import-fresh/package.json +0 -43
- data/node_modules/import-fresh/readme.md +0 -48
- data/node_modules/import-meta-resolve/index.d.ts +0 -18
- data/node_modules/import-meta-resolve/index.js +0 -47
- data/node_modules/import-meta-resolve/lib/errors.d.ts +0 -23
- data/node_modules/import-meta-resolve/lib/errors.js +0 -507
- data/node_modules/import-meta-resolve/lib/get-format.d.ts +0 -12
- data/node_modules/import-meta-resolve/lib/get-format.js +0 -159
- data/node_modules/import-meta-resolve/lib/package-json-reader.d.ts +0 -31
- data/node_modules/import-meta-resolve/lib/package-json-reader.js +0 -177
- data/node_modules/import-meta-resolve/lib/resolve.d.ts +0 -33
- data/node_modules/import-meta-resolve/lib/resolve.js +0 -1297
- data/node_modules/import-meta-resolve/lib/utils.d.ts +0 -5
- data/node_modules/import-meta-resolve/lib/utils.js +0 -47
- data/node_modules/import-meta-resolve/license +0 -74
- data/node_modules/import-meta-resolve/package.json +0 -95
- data/node_modules/import-meta-resolve/readme.md +0 -252
- data/node_modules/index-to-position/index.d.ts +0 -21
- data/node_modules/index-to-position/index.js +0 -29
- data/node_modules/index-to-position/license +0 -9
- data/node_modules/index-to-position/package.json +0 -47
- data/node_modules/index-to-position/readme.md +0 -45
- data/node_modules/ini/LICENSE +0 -15
- data/node_modules/ini/README.md +0 -125
- data/node_modules/ini/lib/ini.js +0 -278
- data/node_modules/ini/package.json +0 -45
- data/node_modules/is-arrayish/.editorconfig +0 -18
- data/node_modules/is-arrayish/.istanbul.yml +0 -4
- data/node_modules/is-arrayish/.npmignore +0 -5
- data/node_modules/is-arrayish/.travis.yml +0 -17
- data/node_modules/is-arrayish/LICENSE +0 -21
- data/node_modules/is-arrayish/README.md +0 -16
- data/node_modules/is-arrayish/index.js +0 -10
- data/node_modules/is-arrayish/package.json +0 -34
- data/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- data/node_modules/is-fullwidth-code-point/index.js +0 -50
- data/node_modules/is-fullwidth-code-point/license +0 -9
- data/node_modules/is-fullwidth-code-point/package.json +0 -42
- data/node_modules/is-fullwidth-code-point/readme.md +0 -39
- data/node_modules/is-obj/index.d.ts +0 -22
- data/node_modules/is-obj/index.js +0 -6
- data/node_modules/is-obj/license +0 -9
- data/node_modules/is-obj/package.json +0 -34
- data/node_modules/is-obj/readme.md +0 -39
- data/node_modules/is-stream/index.d.ts +0 -81
- data/node_modules/is-stream/index.js +0 -29
- data/node_modules/is-stream/license +0 -9
- data/node_modules/is-stream/package.json +0 -44
- data/node_modules/is-stream/readme.md +0 -60
- data/node_modules/is-text-path/index.d.ts +0 -17
- data/node_modules/is-text-path/index.js +0 -7
- data/node_modules/is-text-path/license +0 -9
- data/node_modules/is-text-path/package.json +0 -40
- data/node_modules/is-text-path/readme.md +0 -34
- data/node_modules/isexe/.npmignore +0 -2
- data/node_modules/isexe/LICENSE +0 -15
- data/node_modules/isexe/README.md +0 -51
- data/node_modules/isexe/index.js +0 -57
- data/node_modules/isexe/mode.js +0 -41
- data/node_modules/isexe/package.json +0 -31
- data/node_modules/isexe/test/basic.js +0 -221
- data/node_modules/isexe/windows.js +0 -42
- data/node_modules/jiti/LICENSE +0 -21
- data/node_modules/jiti/README.md +0 -164
- data/node_modules/jiti/bin/jiti.js +0 -16
- data/node_modules/jiti/dist/babel.d.ts +0 -2
- data/node_modules/jiti/dist/babel.js +0 -202
- data/node_modules/jiti/dist/jiti.d.ts +0 -22
- data/node_modules/jiti/dist/jiti.js +0 -1
- data/node_modules/jiti/dist/plugins/babel-plugin-transform-import-meta.d.ts +0 -4
- data/node_modules/jiti/dist/plugins/import-meta-env.d.ts +0 -5
- data/node_modules/jiti/dist/types.d.ts +0 -35
- data/node_modules/jiti/dist/utils.d.ts +0 -8
- data/node_modules/jiti/lib/index.js +0 -15
- data/node_modules/jiti/package.json +0 -81
- data/node_modules/jiti/register.js +0 -3
- data/node_modules/js-tokens/CHANGELOG.md +0 -151
- data/node_modules/js-tokens/LICENSE +0 -21
- data/node_modules/js-tokens/README.md +0 -240
- data/node_modules/js-tokens/index.js +0 -23
- data/node_modules/js-tokens/package.json +0 -30
- data/node_modules/js-yaml/CHANGELOG.md +0 -616
- data/node_modules/js-yaml/LICENSE +0 -21
- data/node_modules/js-yaml/README.md +0 -246
- data/node_modules/js-yaml/bin/js-yaml.js +0 -126
- data/node_modules/js-yaml/dist/js-yaml.js +0 -3874
- data/node_modules/js-yaml/dist/js-yaml.min.js +0 -2
- data/node_modules/js-yaml/dist/js-yaml.mjs +0 -3851
- data/node_modules/js-yaml/index.js +0 -47
- data/node_modules/js-yaml/lib/common.js +0 -59
- data/node_modules/js-yaml/lib/dumper.js +0 -965
- data/node_modules/js-yaml/lib/exception.js +0 -55
- data/node_modules/js-yaml/lib/loader.js +0 -1727
- data/node_modules/js-yaml/lib/schema/core.js +0 -11
- data/node_modules/js-yaml/lib/schema/default.js +0 -22
- data/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
- data/node_modules/js-yaml/lib/schema/json.js +0 -19
- data/node_modules/js-yaml/lib/schema.js +0 -121
- data/node_modules/js-yaml/lib/snippet.js +0 -101
- data/node_modules/js-yaml/lib/type/binary.js +0 -125
- data/node_modules/js-yaml/lib/type/bool.js +0 -35
- data/node_modules/js-yaml/lib/type/float.js +0 -97
- data/node_modules/js-yaml/lib/type/int.js +0 -156
- data/node_modules/js-yaml/lib/type/map.js +0 -8
- data/node_modules/js-yaml/lib/type/merge.js +0 -12
- data/node_modules/js-yaml/lib/type/null.js +0 -35
- data/node_modules/js-yaml/lib/type/omap.js +0 -44
- data/node_modules/js-yaml/lib/type/pairs.js +0 -53
- data/node_modules/js-yaml/lib/type/seq.js +0 -8
- data/node_modules/js-yaml/lib/type/set.js +0 -29
- data/node_modules/js-yaml/lib/type/str.js +0 -8
- data/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- data/node_modules/js-yaml/lib/type.js +0 -66
- data/node_modules/js-yaml/package.json +0 -66
- data/node_modules/json-parse-even-better-errors/CHANGELOG.md +0 -50
- data/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
- data/node_modules/json-parse-even-better-errors/README.md +0 -96
- data/node_modules/json-parse-even-better-errors/index.js +0 -121
- data/node_modules/json-parse-even-better-errors/package.json +0 -33
- data/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
- data/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
- data/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
- data/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
- data/node_modules/json-schema-traverse/LICENSE +0 -21
- data/node_modules/json-schema-traverse/README.md +0 -95
- data/node_modules/json-schema-traverse/index.d.ts +0 -40
- data/node_modules/json-schema-traverse/index.js +0 -93
- data/node_modules/json-schema-traverse/package.json +0 -43
- data/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
- data/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
- data/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
- data/node_modules/jsonparse/.npmignore +0 -1
- data/node_modules/jsonparse/LICENSE +0 -24
- data/node_modules/jsonparse/README.markdown +0 -11
- data/node_modules/jsonparse/bench.js +0 -26
- data/node_modules/jsonparse/examples/twitterfeed.js +0 -30
- data/node_modules/jsonparse/jsonparse.js +0 -413
- data/node_modules/jsonparse/package.json +0 -22
- data/node_modules/jsonparse/samplejson/basic.json +0 -167
- data/node_modules/jsonparse/samplejson/basic2.json +0 -180
- data/node_modules/jsonparse/test/big-token.js +0 -24
- data/node_modules/jsonparse/test/boundary.js +0 -110
- data/node_modules/jsonparse/test/offset.js +0 -67
- data/node_modules/jsonparse/test/primitives.js +0 -57
- data/node_modules/jsonparse/test/surrogate.js +0 -26
- data/node_modules/jsonparse/test/unvalid.js +0 -15
- data/node_modules/jsonparse/test/utf8.js +0 -38
- data/node_modules/lefthook/README.md +0 -243
- data/node_modules/lefthook/bin/index.js +0 -17
- data/node_modules/lefthook/get-exe.js +0 -20
- data/node_modules/lefthook/package.json +0 -40
- data/node_modules/lefthook/postinstall.js +0 -21
- data/node_modules/lefthook-darwin-arm64/README.md +0 -243
- data/node_modules/lefthook-darwin-arm64/bin/lefthook +0 -0
- data/node_modules/lefthook-darwin-arm64/package.json +0 -22
- data/node_modules/lines-and-columns/LICENSE +0 -21
- data/node_modules/lines-and-columns/README.md +0 -33
- data/node_modules/lines-and-columns/build/index.d.ts +0 -13
- data/node_modules/lines-and-columns/build/index.js +0 -62
- data/node_modules/lines-and-columns/package.json +0 -49
- data/node_modules/locate-path/index.d.ts +0 -92
- data/node_modules/locate-path/index.js +0 -77
- data/node_modules/locate-path/license +0 -9
- data/node_modules/locate-path/package.json +0 -48
- data/node_modules/locate-path/readme.md +0 -123
- data/node_modules/lodash.camelcase/LICENSE +0 -47
- data/node_modules/lodash.camelcase/README.md +0 -18
- data/node_modules/lodash.camelcase/index.js +0 -599
- data/node_modules/lodash.camelcase/package.json +0 -17
- data/node_modules/lodash.isplainobject/LICENSE +0 -47
- data/node_modules/lodash.isplainobject/README.md +0 -18
- data/node_modules/lodash.isplainobject/index.js +0 -139
- data/node_modules/lodash.isplainobject/package.json +0 -17
- data/node_modules/lodash.kebabcase/LICENSE +0 -47
- data/node_modules/lodash.kebabcase/README.md +0 -18
- data/node_modules/lodash.kebabcase/index.js +0 -435
- data/node_modules/lodash.kebabcase/package.json +0 -17
- data/node_modules/lodash.merge/LICENSE +0 -47
- data/node_modules/lodash.merge/README.md +0 -18
- data/node_modules/lodash.merge/index.js +0 -1977
- data/node_modules/lodash.merge/package.json +0 -16
- data/node_modules/lodash.mergewith/LICENSE +0 -47
- data/node_modules/lodash.mergewith/README.md +0 -18
- data/node_modules/lodash.mergewith/index.js +0 -1977
- data/node_modules/lodash.mergewith/package.json +0 -16
- data/node_modules/lodash.snakecase/LICENSE +0 -47
- data/node_modules/lodash.snakecase/README.md +0 -18
- data/node_modules/lodash.snakecase/index.js +0 -435
- data/node_modules/lodash.snakecase/package.json +0 -17
- data/node_modules/lodash.startcase/LICENSE +0 -47
- data/node_modules/lodash.startcase/README.md +0 -18
- data/node_modules/lodash.startcase/index.js +0 -580
- data/node_modules/lodash.startcase/package.json +0 -17
- data/node_modules/lodash.uniq/LICENSE +0 -47
- data/node_modules/lodash.uniq/README.md +0 -18
- data/node_modules/lodash.uniq/index.js +0 -896
- data/node_modules/lodash.uniq/package.json +0 -17
- data/node_modules/lodash.upperfirst/LICENSE +0 -47
- data/node_modules/lodash.upperfirst/README.md +0 -18
- data/node_modules/lodash.upperfirst/index.js +0 -303
- data/node_modules/lodash.upperfirst/package.json +0 -17
- data/node_modules/lru-cache/LICENSE +0 -15
- data/node_modules/lru-cache/README.md +0 -331
- data/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
- data/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
- data/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
- data/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
- data/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
- data/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
- data/node_modules/lru-cache/dist/commonjs/package.json +0 -3
- data/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
- data/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
- data/node_modules/lru-cache/dist/esm/index.js +0 -1542
- data/node_modules/lru-cache/dist/esm/index.js.map +0 -1
- data/node_modules/lru-cache/dist/esm/index.min.js +0 -2
- data/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
- data/node_modules/lru-cache/dist/esm/package.json +0 -3
- data/node_modules/lru-cache/package.json +0 -116
- data/node_modules/meow/build/dependencies.js +0 -8828
- data/node_modules/meow/build/index.d.ts +0 -1425
- data/node_modules/meow/build/index.js +0 -95
- data/node_modules/meow/build/licenses.md +0 -1620
- data/node_modules/meow/build/options.js +0 -92
- data/node_modules/meow/build/parser.js +0 -84
- data/node_modules/meow/build/utils.js +0 -7
- data/node_modules/meow/build/validate.js +0 -122
- data/node_modules/meow/license +0 -9
- data/node_modules/meow/package.json +0 -105
- data/node_modules/meow/readme.md +0 -314
- data/node_modules/merge-stream/LICENSE +0 -21
- data/node_modules/merge-stream/README.md +0 -78
- data/node_modules/merge-stream/index.js +0 -41
- data/node_modules/merge-stream/package.json +0 -19
- data/node_modules/mimic-fn/index.d.ts +0 -52
- data/node_modules/mimic-fn/index.js +0 -71
- data/node_modules/mimic-fn/license +0 -9
- data/node_modules/mimic-fn/package.json +0 -45
- data/node_modules/mimic-fn/readme.md +0 -90
- data/node_modules/minimist/.eslintrc +0 -29
- data/node_modules/minimist/.github/FUNDING.yml +0 -12
- data/node_modules/minimist/.nycrc +0 -14
- data/node_modules/minimist/CHANGELOG.md +0 -298
- data/node_modules/minimist/LICENSE +0 -18
- data/node_modules/minimist/README.md +0 -121
- data/node_modules/minimist/example/parse.js +0 -4
- data/node_modules/minimist/index.js +0 -263
- data/node_modules/minimist/package.json +0 -75
- data/node_modules/minimist/test/all_bool.js +0 -34
- data/node_modules/minimist/test/bool.js +0 -177
- data/node_modules/minimist/test/dash.js +0 -43
- data/node_modules/minimist/test/default_bool.js +0 -37
- data/node_modules/minimist/test/dotted.js +0 -24
- data/node_modules/minimist/test/kv_short.js +0 -32
- data/node_modules/minimist/test/long.js +0 -33
- data/node_modules/minimist/test/num.js +0 -38
- data/node_modules/minimist/test/parse.js +0 -209
- data/node_modules/minimist/test/parse_modified.js +0 -11
- data/node_modules/minimist/test/proto.js +0 -64
- data/node_modules/minimist/test/short.js +0 -69
- data/node_modules/minimist/test/stop_early.js +0 -17
- data/node_modules/minimist/test/unknown.js +0 -104
- data/node_modules/minimist/test/whitespace.js +0 -10
- data/node_modules/neo-async/LICENSE +0 -22
- data/node_modules/neo-async/README.md +0 -273
- data/node_modules/neo-async/all.js +0 -3
- data/node_modules/neo-async/allLimit.js +0 -3
- data/node_modules/neo-async/allSeries.js +0 -3
- data/node_modules/neo-async/angelFall.js +0 -3
- data/node_modules/neo-async/any.js +0 -3
- data/node_modules/neo-async/anyLimit.js +0 -3
- data/node_modules/neo-async/anySeries.js +0 -3
- data/node_modules/neo-async/apply.js +0 -3
- data/node_modules/neo-async/applyEach.js +0 -3
- data/node_modules/neo-async/applyEachSeries.js +0 -3
- data/node_modules/neo-async/async.js +0 -9184
- data/node_modules/neo-async/async.min.js +0 -80
- data/node_modules/neo-async/asyncify.js +0 -3
- data/node_modules/neo-async/auto.js +0 -3
- data/node_modules/neo-async/autoInject.js +0 -3
- data/node_modules/neo-async/cargo.js +0 -3
- data/node_modules/neo-async/compose.js +0 -3
- data/node_modules/neo-async/concat.js +0 -3
- data/node_modules/neo-async/concatLimit.js +0 -3
- data/node_modules/neo-async/concatSeries.js +0 -3
- data/node_modules/neo-async/constant.js +0 -3
- data/node_modules/neo-async/createLogger.js +0 -3
- data/node_modules/neo-async/detect.js +0 -3
- data/node_modules/neo-async/detectLimit.js +0 -3
- data/node_modules/neo-async/detectSeries.js +0 -3
- data/node_modules/neo-async/dir.js +0 -3
- data/node_modules/neo-async/doDuring.js +0 -3
- data/node_modules/neo-async/doUntil.js +0 -3
- data/node_modules/neo-async/doWhilst.js +0 -3
- data/node_modules/neo-async/during.js +0 -3
- data/node_modules/neo-async/each.js +0 -3
- data/node_modules/neo-async/eachLimit.js +0 -3
- data/node_modules/neo-async/eachOf.js +0 -3
- data/node_modules/neo-async/eachOfLimit.js +0 -3
- data/node_modules/neo-async/eachOfSeries.js +0 -3
- data/node_modules/neo-async/eachSeries.js +0 -3
- data/node_modules/neo-async/ensureAsync.js +0 -3
- data/node_modules/neo-async/every.js +0 -3
- data/node_modules/neo-async/everyLimit.js +0 -3
- data/node_modules/neo-async/everySeries.js +0 -3
- data/node_modules/neo-async/fast.js +0 -3
- data/node_modules/neo-async/filter.js +0 -3
- data/node_modules/neo-async/filterLimit.js +0 -3
- data/node_modules/neo-async/filterSeries.js +0 -3
- data/node_modules/neo-async/find.js +0 -3
- data/node_modules/neo-async/findLimit.js +0 -3
- data/node_modules/neo-async/findSeries.js +0 -3
- data/node_modules/neo-async/foldl.js +0 -3
- data/node_modules/neo-async/foldr.js +0 -3
- data/node_modules/neo-async/forEach.js +0 -3
- data/node_modules/neo-async/forEachLimit.js +0 -3
- data/node_modules/neo-async/forEachOf.js +0 -3
- data/node_modules/neo-async/forEachOfLimit.js +0 -3
- data/node_modules/neo-async/forEachOfSeries.js +0 -3
- data/node_modules/neo-async/forEachSeries.js +0 -3
- data/node_modules/neo-async/forever.js +0 -3
- data/node_modules/neo-async/groupBy.js +0 -3
- data/node_modules/neo-async/groupByLimit.js +0 -3
- data/node_modules/neo-async/groupBySeries.js +0 -3
- data/node_modules/neo-async/inject.js +0 -3
- data/node_modules/neo-async/iterator.js +0 -3
- data/node_modules/neo-async/log.js +0 -3
- data/node_modules/neo-async/map.js +0 -3
- data/node_modules/neo-async/mapLimit.js +0 -3
- data/node_modules/neo-async/mapSeries.js +0 -3
- data/node_modules/neo-async/mapValues.js +0 -3
- data/node_modules/neo-async/mapValuesLimit.js +0 -3
- data/node_modules/neo-async/mapValuesSeries.js +0 -3
- data/node_modules/neo-async/memoize.js +0 -3
- data/node_modules/neo-async/nextTick.js +0 -3
- data/node_modules/neo-async/omit.js +0 -3
- data/node_modules/neo-async/omitLimit.js +0 -3
- data/node_modules/neo-async/omitSeries.js +0 -3
- data/node_modules/neo-async/package.json +0 -57
- data/node_modules/neo-async/parallel.js +0 -3
- data/node_modules/neo-async/parallelLimit.js +0 -3
- data/node_modules/neo-async/pick.js +0 -3
- data/node_modules/neo-async/pickLimit.js +0 -3
- data/node_modules/neo-async/pickSeries.js +0 -3
- data/node_modules/neo-async/priorityQueue.js +0 -3
- data/node_modules/neo-async/queue.js +0 -3
- data/node_modules/neo-async/race.js +0 -3
- data/node_modules/neo-async/reduce.js +0 -3
- data/node_modules/neo-async/reduceRight.js +0 -3
- data/node_modules/neo-async/reflect.js +0 -3
- data/node_modules/neo-async/reflectAll.js +0 -3
- data/node_modules/neo-async/reject.js +0 -3
- data/node_modules/neo-async/rejectLimit.js +0 -3
- data/node_modules/neo-async/rejectSeries.js +0 -3
- data/node_modules/neo-async/retry.js +0 -3
- data/node_modules/neo-async/retryable.js +0 -3
- data/node_modules/neo-async/safe.js +0 -3
- data/node_modules/neo-async/select.js +0 -3
- data/node_modules/neo-async/selectLimit.js +0 -3
- data/node_modules/neo-async/selectSeries.js +0 -3
- data/node_modules/neo-async/seq.js +0 -3
- data/node_modules/neo-async/series.js +0 -3
- data/node_modules/neo-async/setImmediate.js +0 -3
- data/node_modules/neo-async/some.js +0 -3
- data/node_modules/neo-async/someLimit.js +0 -3
- data/node_modules/neo-async/someSeries.js +0 -3
- data/node_modules/neo-async/sortBy.js +0 -3
- data/node_modules/neo-async/sortByLimit.js +0 -3
- data/node_modules/neo-async/sortBySeries.js +0 -3
- data/node_modules/neo-async/timeout.js +0 -3
- data/node_modules/neo-async/times.js +0 -3
- data/node_modules/neo-async/timesLimit.js +0 -3
- data/node_modules/neo-async/timesSeries.js +0 -3
- data/node_modules/neo-async/transform.js +0 -3
- data/node_modules/neo-async/transformLimit.js +0 -3
- data/node_modules/neo-async/transformSeries.js +0 -3
- data/node_modules/neo-async/tryEach.js +0 -3
- data/node_modules/neo-async/unmemoize.js +0 -3
- data/node_modules/neo-async/until.js +0 -3
- data/node_modules/neo-async/waterfall.js +0 -3
- data/node_modules/neo-async/whilst.js +0 -3
- data/node_modules/neo-async/wrapSync.js +0 -3
- data/node_modules/normalize-package-data/LICENSE +0 -15
- data/node_modules/normalize-package-data/README.md +0 -108
- data/node_modules/normalize-package-data/lib/extract_description.js +0 -24
- data/node_modules/normalize-package-data/lib/fixer.js +0 -475
- data/node_modules/normalize-package-data/lib/make_warning.js +0 -22
- data/node_modules/normalize-package-data/lib/normalize.js +0 -48
- data/node_modules/normalize-package-data/lib/safe_format.js +0 -11
- data/node_modules/normalize-package-data/lib/typos.json +0 -25
- data/node_modules/normalize-package-data/lib/warning_messages.json +0 -30
- data/node_modules/normalize-package-data/package.json +0 -55
- data/node_modules/npm-run-path/index.d.ts +0 -90
- data/node_modules/npm-run-path/index.js +0 -52
- data/node_modules/npm-run-path/license +0 -9
- data/node_modules/npm-run-path/node_modules/path-key/index.d.ts +0 -31
- data/node_modules/npm-run-path/node_modules/path-key/index.js +0 -12
- data/node_modules/npm-run-path/node_modules/path-key/license +0 -9
- data/node_modules/npm-run-path/node_modules/path-key/package.json +0 -41
- data/node_modules/npm-run-path/node_modules/path-key/readme.md +0 -57
- data/node_modules/npm-run-path/package.json +0 -49
- data/node_modules/npm-run-path/readme.md +0 -104
- data/node_modules/onetime/index.d.ts +0 -59
- data/node_modules/onetime/index.js +0 -41
- data/node_modules/onetime/license +0 -9
- data/node_modules/onetime/package.json +0 -45
- data/node_modules/onetime/readme.md +0 -94
- data/node_modules/p-limit/index.d.ts +0 -40
- data/node_modules/p-limit/index.js +0 -68
- data/node_modules/p-limit/license +0 -9
- data/node_modules/p-limit/package.json +0 -54
- data/node_modules/p-limit/readme.md +0 -99
- data/node_modules/p-locate/index.d.ts +0 -49
- data/node_modules/p-locate/index.js +0 -48
- data/node_modules/p-locate/license +0 -9
- data/node_modules/p-locate/package.json +0 -56
- data/node_modules/p-locate/readme.md +0 -91
- data/node_modules/parent-module/index.js +0 -37
- data/node_modules/parent-module/license +0 -9
- data/node_modules/parent-module/package.json +0 -46
- data/node_modules/parent-module/readme.md +0 -67
- data/node_modules/parse-json/index.js +0 -54
- data/node_modules/parse-json/license +0 -9
- data/node_modules/parse-json/package.json +0 -45
- data/node_modules/parse-json/readme.md +0 -119
- data/node_modules/path-exists/index.d.ts +0 -31
- data/node_modules/path-exists/index.js +0 -19
- data/node_modules/path-exists/license +0 -9
- data/node_modules/path-exists/package.json +0 -41
- data/node_modules/path-exists/readme.md +0 -52
- data/node_modules/path-key/index.d.ts +0 -40
- data/node_modules/path-key/index.js +0 -16
- data/node_modules/path-key/license +0 -9
- data/node_modules/path-key/package.json +0 -39
- data/node_modules/path-key/readme.md +0 -61
- data/node_modules/picocolors/LICENSE +0 -15
- data/node_modules/picocolors/README.md +0 -21
- data/node_modules/picocolors/package.json +0 -25
- data/node_modules/picocolors/picocolors.browser.js +0 -4
- data/node_modules/picocolors/picocolors.d.ts +0 -5
- data/node_modules/picocolors/picocolors.js +0 -65
- data/node_modules/picocolors/types.ts +0 -30
- data/node_modules/read-package-up/index.d.ts +0 -81
- data/node_modules/read-package-up/index.js +0 -27
- data/node_modules/read-package-up/license +0 -9
- data/node_modules/read-package-up/package.json +0 -69
- data/node_modules/read-package-up/readme.md +0 -68
- data/node_modules/read-pkg/index.d.ts +0 -68
- data/node_modules/read-pkg/index.js +0 -43
- data/node_modules/read-pkg/license +0 -9
- data/node_modules/read-pkg/node_modules/parse-json/index.d.ts +0 -126
- data/node_modules/read-pkg/node_modules/parse-json/index.js +0 -96
- data/node_modules/read-pkg/node_modules/parse-json/license +0 -9
- data/node_modules/read-pkg/node_modules/parse-json/package.json +0 -53
- data/node_modules/read-pkg/node_modules/parse-json/readme.md +0 -113
- data/node_modules/read-pkg/package.json +0 -52
- data/node_modules/read-pkg/readme.md +0 -81
- data/node_modules/require-directory/.jshintrc +0 -67
- data/node_modules/require-directory/.npmignore +0 -1
- data/node_modules/require-directory/.travis.yml +0 -3
- data/node_modules/require-directory/LICENSE +0 -22
- data/node_modules/require-directory/README.markdown +0 -184
- data/node_modules/require-directory/index.js +0 -86
- data/node_modules/require-directory/package.json +0 -40
- data/node_modules/require-from-string/index.js +0 -34
- data/node_modules/require-from-string/license +0 -21
- data/node_modules/require-from-string/package.json +0 -28
- data/node_modules/require-from-string/readme.md +0 -56
- data/node_modules/resolve-from/index.d.ts +0 -31
- data/node_modules/resolve-from/index.js +0 -47
- data/node_modules/resolve-from/license +0 -9
- data/node_modules/resolve-from/package.json +0 -36
- data/node_modules/resolve-from/readme.md +0 -72
- data/node_modules/semver/LICENSE +0 -15
- data/node_modules/semver/README.md +0 -654
- data/node_modules/semver/bin/semver.js +0 -188
- data/node_modules/semver/classes/comparator.js +0 -141
- data/node_modules/semver/classes/index.js +0 -5
- data/node_modules/semver/classes/range.js +0 -554
- data/node_modules/semver/classes/semver.js +0 -302
- data/node_modules/semver/functions/clean.js +0 -6
- data/node_modules/semver/functions/cmp.js +0 -52
- data/node_modules/semver/functions/coerce.js +0 -60
- data/node_modules/semver/functions/compare-build.js +0 -7
- data/node_modules/semver/functions/compare-loose.js +0 -3
- data/node_modules/semver/functions/compare.js +0 -5
- data/node_modules/semver/functions/diff.js +0 -65
- data/node_modules/semver/functions/eq.js +0 -3
- data/node_modules/semver/functions/gt.js +0 -3
- data/node_modules/semver/functions/gte.js +0 -3
- data/node_modules/semver/functions/inc.js +0 -19
- data/node_modules/semver/functions/lt.js +0 -3
- data/node_modules/semver/functions/lte.js +0 -3
- data/node_modules/semver/functions/major.js +0 -3
- data/node_modules/semver/functions/minor.js +0 -3
- data/node_modules/semver/functions/neq.js +0 -3
- data/node_modules/semver/functions/parse.js +0 -16
- data/node_modules/semver/functions/patch.js +0 -3
- data/node_modules/semver/functions/prerelease.js +0 -6
- data/node_modules/semver/functions/rcompare.js +0 -3
- data/node_modules/semver/functions/rsort.js +0 -3
- data/node_modules/semver/functions/satisfies.js +0 -10
- data/node_modules/semver/functions/sort.js +0 -3
- data/node_modules/semver/functions/valid.js +0 -6
- data/node_modules/semver/index.js +0 -89
- data/node_modules/semver/internal/constants.js +0 -35
- data/node_modules/semver/internal/debug.js +0 -9
- data/node_modules/semver/internal/identifiers.js +0 -23
- data/node_modules/semver/internal/lrucache.js +0 -40
- data/node_modules/semver/internal/parse-options.js +0 -15
- data/node_modules/semver/internal/re.js +0 -217
- data/node_modules/semver/package.json +0 -77
- data/node_modules/semver/preload.js +0 -2
- data/node_modules/semver/range.bnf +0 -16
- data/node_modules/semver/ranges/gtr.js +0 -4
- data/node_modules/semver/ranges/intersects.js +0 -7
- data/node_modules/semver/ranges/ltr.js +0 -4
- data/node_modules/semver/ranges/max-satisfying.js +0 -25
- data/node_modules/semver/ranges/min-satisfying.js +0 -24
- data/node_modules/semver/ranges/min-version.js +0 -61
- data/node_modules/semver/ranges/outside.js +0 -80
- data/node_modules/semver/ranges/simplify.js +0 -47
- data/node_modules/semver/ranges/subset.js +0 -247
- data/node_modules/semver/ranges/to-comparators.js +0 -8
- data/node_modules/semver/ranges/valid.js +0 -11
- data/node_modules/shebang-command/index.js +0 -19
- data/node_modules/shebang-command/license +0 -9
- data/node_modules/shebang-command/package.json +0 -34
- data/node_modules/shebang-command/readme.md +0 -34
- data/node_modules/shebang-regex/index.d.ts +0 -22
- data/node_modules/shebang-regex/index.js +0 -2
- data/node_modules/shebang-regex/license +0 -9
- data/node_modules/shebang-regex/package.json +0 -35
- data/node_modules/shebang-regex/readme.md +0 -33
- data/node_modules/signal-exit/LICENSE.txt +0 -16
- data/node_modules/signal-exit/README.md +0 -74
- data/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
- data/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
- data/node_modules/signal-exit/dist/cjs/browser.js +0 -10
- data/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
- data/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
- data/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
- data/node_modules/signal-exit/dist/cjs/index.js +0 -279
- data/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
- data/node_modules/signal-exit/dist/cjs/package.json +0 -3
- data/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
- data/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
- data/node_modules/signal-exit/dist/cjs/signals.js +0 -42
- data/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
- data/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
- data/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
- data/node_modules/signal-exit/dist/mjs/browser.js +0 -4
- data/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
- data/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
- data/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
- data/node_modules/signal-exit/dist/mjs/index.js +0 -275
- data/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
- data/node_modules/signal-exit/dist/mjs/package.json +0 -3
- data/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
- data/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
- data/node_modules/signal-exit/dist/mjs/signals.js +0 -39
- data/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
- data/node_modules/signal-exit/package.json +0 -106
- data/node_modules/source-map/CHANGELOG.md +0 -301
- data/node_modules/source-map/LICENSE +0 -28
- data/node_modules/source-map/README.md +0 -742
- data/node_modules/source-map/dist/source-map.debug.js +0 -3234
- data/node_modules/source-map/dist/source-map.js +0 -3233
- data/node_modules/source-map/dist/source-map.min.js +0 -2
- data/node_modules/source-map/dist/source-map.min.js.map +0 -1
- data/node_modules/source-map/lib/array-set.js +0 -121
- data/node_modules/source-map/lib/base64-vlq.js +0 -140
- data/node_modules/source-map/lib/base64.js +0 -67
- data/node_modules/source-map/lib/binary-search.js +0 -111
- data/node_modules/source-map/lib/mapping-list.js +0 -79
- data/node_modules/source-map/lib/quick-sort.js +0 -114
- data/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- data/node_modules/source-map/lib/source-map-generator.js +0 -425
- data/node_modules/source-map/lib/source-node.js +0 -413
- data/node_modules/source-map/lib/util.js +0 -488
- data/node_modules/source-map/package.json +0 -73
- data/node_modules/source-map/source-map.d.ts +0 -98
- data/node_modules/source-map/source-map.js +0 -8
- data/node_modules/spdx-correct/LICENSE +0 -202
- data/node_modules/spdx-correct/README.md +0 -22
- data/node_modules/spdx-correct/index.js +0 -386
- data/node_modules/spdx-correct/package.json +0 -32
- data/node_modules/spdx-exceptions/README.md +0 -36
- data/node_modules/spdx-exceptions/deprecated.json +0 -3
- data/node_modules/spdx-exceptions/index.json +0 -68
- data/node_modules/spdx-exceptions/package.json +0 -19
- data/node_modules/spdx-expression-parse/AUTHORS +0 -4
- data/node_modules/spdx-expression-parse/LICENSE +0 -22
- data/node_modules/spdx-expression-parse/README.md +0 -91
- data/node_modules/spdx-expression-parse/index.js +0 -8
- data/node_modules/spdx-expression-parse/package.json +0 -39
- data/node_modules/spdx-expression-parse/parse.js +0 -138
- data/node_modules/spdx-expression-parse/scan.js +0 -131
- data/node_modules/spdx-license-ids/README.md +0 -52
- data/node_modules/spdx-license-ids/deprecated.json +0 -28
- data/node_modules/spdx-license-ids/index.json +0 -636
- data/node_modules/spdx-license-ids/package.json +0 -39
- data/node_modules/split2/LICENSE +0 -13
- data/node_modules/split2/README.md +0 -85
- data/node_modules/split2/bench.js +0 -27
- data/node_modules/split2/index.js +0 -141
- data/node_modules/split2/package.json +0 -39
- data/node_modules/split2/test.js +0 -409
- data/node_modules/string-width/index.d.ts +0 -29
- data/node_modules/string-width/index.js +0 -47
- data/node_modules/string-width/license +0 -9
- data/node_modules/string-width/package.json +0 -56
- data/node_modules/string-width/readme.md +0 -50
- data/node_modules/strip-ansi/index.d.ts +0 -17
- data/node_modules/strip-ansi/index.js +0 -4
- data/node_modules/strip-ansi/license +0 -9
- data/node_modules/strip-ansi/package.json +0 -54
- data/node_modules/strip-ansi/readme.md +0 -46
- data/node_modules/strip-final-newline/index.js +0 -14
- data/node_modules/strip-final-newline/license +0 -9
- data/node_modules/strip-final-newline/package.json +0 -43
- data/node_modules/strip-final-newline/readme.md +0 -35
- data/node_modules/supports-color/browser.js +0 -5
- data/node_modules/supports-color/index.js +0 -131
- data/node_modules/supports-color/license +0 -9
- data/node_modules/supports-color/package.json +0 -53
- data/node_modules/supports-color/readme.md +0 -66
- data/node_modules/temp-dir/index.d.ts +0 -22
- data/node_modules/temp-dir/index.js +0 -6
- data/node_modules/temp-dir/license +0 -9
- data/node_modules/temp-dir/package.json +0 -49
- data/node_modules/temp-dir/readme.md +0 -27
- data/node_modules/tempfile/index.d.ts +0 -30
- data/node_modules/tempfile/index.js +0 -18
- data/node_modules/tempfile/license +0 -9
- data/node_modules/tempfile/package.json +0 -45
- data/node_modules/tempfile/readme.md +0 -49
- data/node_modules/text-extensions/index.d.ts +0 -14
- data/node_modules/text-extensions/index.js +0 -3
- data/node_modules/text-extensions/license +0 -9
- data/node_modules/text-extensions/package.json +0 -40
- data/node_modules/text-extensions/readme.md +0 -37
- data/node_modules/text-extensions/text-extensions.json +0 -328
- data/node_modules/text-extensions/text-extensions.json.d.ts +0 -3
- data/node_modules/through/.travis.yml +0 -5
- data/node_modules/through/LICENSE.APACHE2 +0 -15
- data/node_modules/through/LICENSE.MIT +0 -24
- data/node_modules/through/index.js +0 -108
- data/node_modules/through/package.json +0 -36
- data/node_modules/through/readme.markdown +0 -64
- data/node_modules/through/test/async.js +0 -28
- data/node_modules/through/test/auto-destroy.js +0 -30
- data/node_modules/through/test/buffering.js +0 -71
- data/node_modules/through/test/end.js +0 -45
- data/node_modules/through/test/index.js +0 -133
- data/node_modules/type-fest/index.d.ts +0 -166
- data/node_modules/type-fest/package.json +0 -72
- data/node_modules/type-fest/readme.md +0 -1005
- data/node_modules/type-fest/source/and.d.ts +0 -25
- data/node_modules/type-fest/source/array-indices.d.ts +0 -23
- data/node_modules/type-fest/source/array-slice.d.ts +0 -107
- data/node_modules/type-fest/source/array-splice.d.ts +0 -97
- data/node_modules/type-fest/source/array-tail.d.ts +0 -25
- data/node_modules/type-fest/source/array-values.d.ts +0 -22
- data/node_modules/type-fest/source/arrayable.d.ts +0 -26
- data/node_modules/type-fest/source/async-return-type.d.ts +0 -23
- data/node_modules/type-fest/source/asyncify.d.ts +0 -32
- data/node_modules/type-fest/source/basic.d.ts +0 -68
- data/node_modules/type-fest/source/camel-case.d.ts +0 -80
- data/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -88
- data/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -36
- data/node_modules/type-fest/source/conditional-except.d.ts +0 -45
- data/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
- data/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -104
- data/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
- data/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
- data/node_modules/type-fest/source/delimiter-case.d.ts +0 -99
- data/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -84
- data/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -37
- data/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
- data/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
- data/node_modules/type-fest/source/empty-object.d.ts +0 -46
- data/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
- data/node_modules/type-fest/source/entries.d.ts +0 -62
- data/node_modules/type-fest/source/entry.d.ts +0 -65
- data/node_modules/type-fest/source/exact.d.ts +0 -67
- data/node_modules/type-fest/source/except.d.ts +0 -80
- data/node_modules/type-fest/source/find-global-type.d.ts +0 -64
- data/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
- data/node_modules/type-fest/source/get.d.ts +0 -191
- data/node_modules/type-fest/source/global-this.d.ts +0 -21
- data/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
- data/node_modules/type-fest/source/greater-than.d.ts +0 -51
- data/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
- data/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
- data/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
- data/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
- data/node_modules/type-fest/source/if-any.d.ts +0 -24
- data/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
- data/node_modules/type-fest/source/if-never.d.ts +0 -24
- data/node_modules/type-fest/source/if-null.d.ts +0 -24
- data/node_modules/type-fest/source/if-unknown.d.ts +0 -24
- data/node_modules/type-fest/source/includes.d.ts +0 -22
- data/node_modules/type-fest/source/int-range.d.ts +0 -53
- data/node_modules/type-fest/source/internal/array.d.ts +0 -93
- data/node_modules/type-fest/source/internal/characters.d.ts +0 -33
- data/node_modules/type-fest/source/internal/index.d.ts +0 -8
- data/node_modules/type-fest/source/internal/keys.d.ts +0 -97
- data/node_modules/type-fest/source/internal/numeric.d.ts +0 -91
- data/node_modules/type-fest/source/internal/object.d.ts +0 -82
- data/node_modules/type-fest/source/internal/string.d.ts +0 -210
- data/node_modules/type-fest/source/internal/tuple.d.ts +0 -88
- data/node_modules/type-fest/source/internal/type.d.ts +0 -113
- data/node_modules/type-fest/source/invariant-of.d.ts +0 -76
- data/node_modules/type-fest/source/is-any.d.ts +0 -29
- data/node_modules/type-fest/source/is-equal.d.ts +0 -31
- data/node_modules/type-fest/source/is-float.d.ts +0 -33
- data/node_modules/type-fest/source/is-integer.d.ts +0 -48
- data/node_modules/type-fest/source/is-literal.d.ts +0 -258
- data/node_modules/type-fest/source/is-never.d.ts +0 -42
- data/node_modules/type-fest/source/is-null.d.ts +0 -20
- data/node_modules/type-fest/source/is-unknown.d.ts +0 -52
- data/node_modules/type-fest/source/iterable-element.d.ts +0 -64
- data/node_modules/type-fest/source/join.d.ts +0 -68
- data/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
- data/node_modules/type-fest/source/jsonify.d.ts +0 -122
- data/node_modules/type-fest/source/kebab-case.d.ts +0 -38
- data/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -47
- data/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -30
- data/node_modules/type-fest/source/keys-of-union.d.ts +0 -40
- data/node_modules/type-fest/source/last-array-element.d.ts +0 -38
- data/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
- data/node_modules/type-fest/source/less-than.d.ts +0 -22
- data/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
- data/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
- data/node_modules/type-fest/source/literal-union.d.ts +0 -35
- data/node_modules/type-fest/source/merge-deep.d.ts +0 -486
- data/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
- data/node_modules/type-fest/source/merge.d.ts +0 -48
- data/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
- data/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
- data/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
- data/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -21
- data/node_modules/type-fest/source/numeric.d.ts +0 -222
- data/node_modules/type-fest/source/observable-like.d.ts +0 -63
- data/node_modules/type-fest/source/omit-deep.d.ts +0 -159
- data/node_modules/type-fest/source/omit-index-signature.d.ts +0 -107
- data/node_modules/type-fest/source/opaque.d.ts +0 -252
- data/node_modules/type-fest/source/optional-keys-of.d.ts +0 -38
- data/node_modules/type-fest/source/or.d.ts +0 -25
- data/node_modules/type-fest/source/override-properties.d.ts +0 -36
- data/node_modules/type-fest/source/package-json.d.ts +0 -676
- data/node_modules/type-fest/source/partial-deep.d.ts +0 -109
- data/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -71
- data/node_modules/type-fest/source/pascal-case.d.ts +0 -38
- data/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -55
- data/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -35
- data/node_modules/type-fest/source/paths.d.ts +0 -170
- data/node_modules/type-fest/source/pick-deep.d.ts +0 -149
- data/node_modules/type-fest/source/pick-index-signature.d.ts +0 -102
- data/node_modules/type-fest/source/primitive.d.ts +0 -13
- data/node_modules/type-fest/source/promisable.d.ts +0 -25
- data/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
- data/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -29
- data/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
- data/node_modules/type-fest/source/replace.d.ts +0 -67
- data/node_modules/type-fest/source/require-all-or-none.d.ts +0 -42
- data/node_modules/type-fest/source/require-at-least-one.d.ts +0 -34
- data/node_modules/type-fest/source/require-exactly-one.d.ts +0 -34
- data/node_modules/type-fest/source/require-one-or-none.d.ts +0 -37
- data/node_modules/type-fest/source/required-deep.d.ts +0 -78
- data/node_modules/type-fest/source/required-keys-of.d.ts +0 -29
- data/node_modules/type-fest/source/schema.d.ts +0 -71
- data/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -33
- data/node_modules/type-fest/source/set-field-type.d.ts +0 -37
- data/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
- data/node_modules/type-fest/source/set-optional.d.ts +0 -35
- data/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
- data/node_modules/type-fest/source/set-readonly.d.ts +0 -38
- data/node_modules/type-fest/source/set-required.d.ts +0 -40
- data/node_modules/type-fest/source/set-return-type.d.ts +0 -29
- data/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -168
- data/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
- data/node_modules/type-fest/source/simplify.d.ts +0 -58
- data/node_modules/type-fest/source/single-key-object.d.ts +0 -29
- data/node_modules/type-fest/source/snake-case.d.ts +0 -38
- data/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -47
- data/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -30
- data/node_modules/type-fest/source/split-words.d.ts +0 -57
- data/node_modules/type-fest/source/split.d.ts +0 -29
- data/node_modules/type-fest/source/spread.d.ts +0 -84
- data/node_modules/type-fest/source/string-key-of.d.ts +0 -25
- data/node_modules/type-fest/source/string-repeat.d.ts +0 -43
- data/node_modules/type-fest/source/string-slice.d.ts +0 -37
- data/node_modules/type-fest/source/stringified.d.ts +0 -23
- data/node_modules/type-fest/source/structured-cloneable.d.ts +0 -92
- data/node_modules/type-fest/source/subtract.d.ts +0 -70
- data/node_modules/type-fest/source/sum.d.ts +0 -70
- data/node_modules/type-fest/source/tagged-union.d.ts +0 -51
- data/node_modules/type-fest/source/trim.d.ts +0 -27
- data/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1198
- data/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
- data/node_modules/type-fest/source/typed-array.d.ts +0 -17
- data/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -80
- data/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
- data/node_modules/type-fest/source/unknown-array.d.ts +0 -25
- data/node_modules/type-fest/source/unknown-record.d.ts +0 -31
- data/node_modules/type-fest/source/value-of.d.ts +0 -42
- data/node_modules/type-fest/source/writable-deep.d.ts +0 -83
- data/node_modules/type-fest/source/writable-keys-of.d.ts +0 -30
- data/node_modules/type-fest/source/writable.d.ts +0 -68
- data/node_modules/uglify-js/LICENSE +0 -29
- data/node_modules/uglify-js/README.md +0 -1479
- data/node_modules/uglify-js/bin/uglifyjs +0 -624
- data/node_modules/uglify-js/lib/ast.js +0 -2357
- data/node_modules/uglify-js/lib/compress.js +0 -14640
- data/node_modules/uglify-js/lib/minify.js +0 -278
- data/node_modules/uglify-js/lib/mozilla-ast.js +0 -1338
- data/node_modules/uglify-js/lib/output.js +0 -1983
- data/node_modules/uglify-js/lib/parse.js +0 -2589
- data/node_modules/uglify-js/lib/propmangle.js +0 -328
- data/node_modules/uglify-js/lib/scope.js +0 -883
- data/node_modules/uglify-js/lib/sourcemap.js +0 -195
- data/node_modules/uglify-js/lib/transform.js +0 -250
- data/node_modules/uglify-js/lib/utils.js +0 -300
- data/node_modules/uglify-js/package.json +0 -56
- data/node_modules/uglify-js/tools/domprops.html +0 -456
- data/node_modules/uglify-js/tools/domprops.json +0 -8327
- data/node_modules/uglify-js/tools/exports.js +0 -8
- data/node_modules/uglify-js/tools/node.js +0 -115
- data/node_modules/uglify-js/tools/tty.js +0 -22
- data/node_modules/undici-types/LICENSE +0 -21
- data/node_modules/undici-types/README.md +0 -6
- data/node_modules/undici-types/agent.d.ts +0 -31
- data/node_modules/undici-types/api.d.ts +0 -43
- data/node_modules/undici-types/balanced-pool.d.ts +0 -29
- data/node_modules/undici-types/cache.d.ts +0 -36
- data/node_modules/undici-types/client.d.ts +0 -108
- data/node_modules/undici-types/connector.d.ts +0 -34
- data/node_modules/undici-types/content-type.d.ts +0 -21
- data/node_modules/undici-types/cookies.d.ts +0 -28
- data/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- data/node_modules/undici-types/dispatcher.d.ts +0 -255
- data/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- data/node_modules/undici-types/errors.d.ts +0 -149
- data/node_modules/undici-types/eventsource.d.ts +0 -63
- data/node_modules/undici-types/fetch.d.ts +0 -209
- data/node_modules/undici-types/file.d.ts +0 -39
- data/node_modules/undici-types/filereader.d.ts +0 -54
- data/node_modules/undici-types/formdata.d.ts +0 -108
- data/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- data/node_modules/undici-types/global-origin.d.ts +0 -7
- data/node_modules/undici-types/handlers.d.ts +0 -15
- data/node_modules/undici-types/header.d.ts +0 -4
- data/node_modules/undici-types/index.d.ts +0 -71
- data/node_modules/undici-types/interceptors.d.ts +0 -15
- data/node_modules/undici-types/mock-agent.d.ts +0 -50
- data/node_modules/undici-types/mock-client.d.ts +0 -25
- data/node_modules/undici-types/mock-errors.d.ts +0 -12
- data/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- data/node_modules/undici-types/mock-pool.d.ts +0 -25
- data/node_modules/undici-types/package.json +0 -55
- data/node_modules/undici-types/patch.d.ts +0 -71
- data/node_modules/undici-types/pool-stats.d.ts +0 -19
- data/node_modules/undici-types/pool.d.ts +0 -39
- data/node_modules/undici-types/proxy-agent.d.ts +0 -28
- data/node_modules/undici-types/readable.d.ts +0 -60
- data/node_modules/undici-types/retry-agent.d.ts +0 -8
- data/node_modules/undici-types/retry-handler.d.ts +0 -116
- data/node_modules/undici-types/util.d.ts +0 -18
- data/node_modules/undici-types/webidl.d.ts +0 -222
- data/node_modules/undici-types/websocket.d.ts +0 -152
- data/node_modules/unicorn-magic/default.js +0 -14
- data/node_modules/unicorn-magic/index.d.ts +0 -29
- data/node_modules/unicorn-magic/license +0 -9
- data/node_modules/unicorn-magic/node.js +0 -7
- data/node_modules/unicorn-magic/package.json +0 -49
- data/node_modules/unicorn-magic/readme.md +0 -25
- data/node_modules/validate-npm-package-license/LICENSE +0 -202
- data/node_modules/validate-npm-package-license/README.md +0 -113
- data/node_modules/validate-npm-package-license/index.js +0 -86
- data/node_modules/validate-npm-package-license/package.json +0 -28
- data/node_modules/which/CHANGELOG.md +0 -166
- data/node_modules/which/LICENSE +0 -15
- data/node_modules/which/README.md +0 -54
- data/node_modules/which/bin/node-which +0 -52
- data/node_modules/which/package.json +0 -43
- data/node_modules/which/which.js +0 -125
- data/node_modules/wordwrap/LICENSE +0 -18
- data/node_modules/wordwrap/README.markdown +0 -70
- data/node_modules/wordwrap/example/center.js +0 -10
- data/node_modules/wordwrap/example/meat.js +0 -3
- data/node_modules/wordwrap/index.js +0 -76
- data/node_modules/wordwrap/package.json +0 -34
- data/node_modules/wordwrap/test/break.js +0 -32
- data/node_modules/wordwrap/test/idleness.txt +0 -63
- data/node_modules/wordwrap/test/wrap.js +0 -33
- data/node_modules/wrap-ansi/index.js +0 -216
- data/node_modules/wrap-ansi/license +0 -9
- data/node_modules/wrap-ansi/package.json +0 -62
- data/node_modules/wrap-ansi/readme.md +0 -91
- data/node_modules/y18n/CHANGELOG.md +0 -100
- data/node_modules/y18n/LICENSE +0 -13
- data/node_modules/y18n/README.md +0 -127
- data/node_modules/y18n/build/index.cjs +0 -203
- data/node_modules/y18n/build/lib/cjs.js +0 -6
- data/node_modules/y18n/build/lib/index.js +0 -174
- data/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
- data/node_modules/y18n/index.mjs +0 -8
- data/node_modules/y18n/package.json +0 -70
- data/node_modules/yargs/LICENSE +0 -21
- data/node_modules/yargs/README.md +0 -204
- data/node_modules/yargs/browser.d.ts +0 -5
- data/node_modules/yargs/browser.mjs +0 -7
- data/node_modules/yargs/build/index.cjs +0 -1
- data/node_modules/yargs/build/lib/argsert.js +0 -62
- data/node_modules/yargs/build/lib/command.js +0 -449
- data/node_modules/yargs/build/lib/completion-templates.js +0 -48
- data/node_modules/yargs/build/lib/completion.js +0 -243
- data/node_modules/yargs/build/lib/middleware.js +0 -88
- data/node_modules/yargs/build/lib/parse-command.js +0 -32
- data/node_modules/yargs/build/lib/typings/common-types.js +0 -9
- data/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
- data/node_modules/yargs/build/lib/usage.js +0 -584
- data/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
- data/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
- data/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
- data/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
- data/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
- data/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
- data/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
- data/node_modules/yargs/build/lib/utils/which-module.js +0 -10
- data/node_modules/yargs/build/lib/validation.js +0 -305
- data/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
- data/node_modules/yargs/build/lib/yerror.js +0 -9
- data/node_modules/yargs/helpers/helpers.mjs +0 -10
- data/node_modules/yargs/helpers/index.js +0 -14
- data/node_modules/yargs/helpers/package.json +0 -3
- data/node_modules/yargs/index.cjs +0 -53
- data/node_modules/yargs/index.mjs +0 -8
- data/node_modules/yargs/lib/platform-shims/browser.mjs +0 -95
- data/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
- data/node_modules/yargs/locales/be.json +0 -46
- data/node_modules/yargs/locales/cs.json +0 -51
- data/node_modules/yargs/locales/de.json +0 -46
- data/node_modules/yargs/locales/en.json +0 -55
- data/node_modules/yargs/locales/es.json +0 -46
- data/node_modules/yargs/locales/fi.json +0 -49
- data/node_modules/yargs/locales/fr.json +0 -53
- data/node_modules/yargs/locales/hi.json +0 -49
- data/node_modules/yargs/locales/hu.json +0 -46
- data/node_modules/yargs/locales/id.json +0 -50
- data/node_modules/yargs/locales/it.json +0 -46
- data/node_modules/yargs/locales/ja.json +0 -51
- data/node_modules/yargs/locales/ko.json +0 -49
- data/node_modules/yargs/locales/nb.json +0 -44
- data/node_modules/yargs/locales/nl.json +0 -49
- data/node_modules/yargs/locales/nn.json +0 -44
- data/node_modules/yargs/locales/pirate.json +0 -13
- data/node_modules/yargs/locales/pl.json +0 -49
- data/node_modules/yargs/locales/pt.json +0 -45
- data/node_modules/yargs/locales/pt_BR.json +0 -48
- data/node_modules/yargs/locales/ru.json +0 -51
- data/node_modules/yargs/locales/th.json +0 -46
- data/node_modules/yargs/locales/tr.json +0 -48
- data/node_modules/yargs/locales/uk_UA.json +0 -51
- data/node_modules/yargs/locales/uz.json +0 -52
- data/node_modules/yargs/locales/zh_CN.json +0 -48
- data/node_modules/yargs/locales/zh_TW.json +0 -51
- data/node_modules/yargs/package.json +0 -123
- data/node_modules/yargs/yargs +0 -9
- data/node_modules/yargs/yargs.mjs +0 -10
- data/node_modules/yargs-parser/CHANGELOG.md +0 -308
- data/node_modules/yargs-parser/LICENSE.txt +0 -14
- data/node_modules/yargs-parser/README.md +0 -518
- data/node_modules/yargs-parser/browser.js +0 -29
- data/node_modules/yargs-parser/build/index.cjs +0 -1050
- data/node_modules/yargs-parser/build/lib/index.js +0 -62
- data/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
- data/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
- data/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
- data/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
- data/node_modules/yargs-parser/package.json +0 -92
- data/node_modules/yocto-queue/index.d.ts +0 -61
- data/node_modules/yocto-queue/index.js +0 -78
- data/node_modules/yocto-queue/license +0 -9
- data/node_modules/yocto-queue/package.json +0 -48
- data/node_modules/yocto-queue/readme.md +0 -70
- data/pkg/pcp-server-ruby-sdk-0.1.0.gem +0 -0
@@ -1,3874 +0,0 @@
|
|
1
|
-
|
2
|
-
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
|
3
|
-
(function (global, factory) {
|
4
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
5
|
-
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
6
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jsyaml = {}));
|
7
|
-
}(this, (function (exports) { 'use strict';
|
8
|
-
|
9
|
-
function isNothing(subject) {
|
10
|
-
return (typeof subject === 'undefined') || (subject === null);
|
11
|
-
}
|
12
|
-
|
13
|
-
|
14
|
-
function isObject(subject) {
|
15
|
-
return (typeof subject === 'object') && (subject !== null);
|
16
|
-
}
|
17
|
-
|
18
|
-
|
19
|
-
function toArray(sequence) {
|
20
|
-
if (Array.isArray(sequence)) return sequence;
|
21
|
-
else if (isNothing(sequence)) return [];
|
22
|
-
|
23
|
-
return [ sequence ];
|
24
|
-
}
|
25
|
-
|
26
|
-
|
27
|
-
function extend(target, source) {
|
28
|
-
var index, length, key, sourceKeys;
|
29
|
-
|
30
|
-
if (source) {
|
31
|
-
sourceKeys = Object.keys(source);
|
32
|
-
|
33
|
-
for (index = 0, length = sourceKeys.length; index < length; index += 1) {
|
34
|
-
key = sourceKeys[index];
|
35
|
-
target[key] = source[key];
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
return target;
|
40
|
-
}
|
41
|
-
|
42
|
-
|
43
|
-
function repeat(string, count) {
|
44
|
-
var result = '', cycle;
|
45
|
-
|
46
|
-
for (cycle = 0; cycle < count; cycle += 1) {
|
47
|
-
result += string;
|
48
|
-
}
|
49
|
-
|
50
|
-
return result;
|
51
|
-
}
|
52
|
-
|
53
|
-
|
54
|
-
function isNegativeZero(number) {
|
55
|
-
return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);
|
56
|
-
}
|
57
|
-
|
58
|
-
|
59
|
-
var isNothing_1 = isNothing;
|
60
|
-
var isObject_1 = isObject;
|
61
|
-
var toArray_1 = toArray;
|
62
|
-
var repeat_1 = repeat;
|
63
|
-
var isNegativeZero_1 = isNegativeZero;
|
64
|
-
var extend_1 = extend;
|
65
|
-
|
66
|
-
var common = {
|
67
|
-
isNothing: isNothing_1,
|
68
|
-
isObject: isObject_1,
|
69
|
-
toArray: toArray_1,
|
70
|
-
repeat: repeat_1,
|
71
|
-
isNegativeZero: isNegativeZero_1,
|
72
|
-
extend: extend_1
|
73
|
-
};
|
74
|
-
|
75
|
-
// YAML error class. http://stackoverflow.com/questions/8458984
|
76
|
-
|
77
|
-
|
78
|
-
function formatError(exception, compact) {
|
79
|
-
var where = '', message = exception.reason || '(unknown reason)';
|
80
|
-
|
81
|
-
if (!exception.mark) return message;
|
82
|
-
|
83
|
-
if (exception.mark.name) {
|
84
|
-
where += 'in "' + exception.mark.name + '" ';
|
85
|
-
}
|
86
|
-
|
87
|
-
where += '(' + (exception.mark.line + 1) + ':' + (exception.mark.column + 1) + ')';
|
88
|
-
|
89
|
-
if (!compact && exception.mark.snippet) {
|
90
|
-
where += '\n\n' + exception.mark.snippet;
|
91
|
-
}
|
92
|
-
|
93
|
-
return message + ' ' + where;
|
94
|
-
}
|
95
|
-
|
96
|
-
|
97
|
-
function YAMLException$1(reason, mark) {
|
98
|
-
// Super constructor
|
99
|
-
Error.call(this);
|
100
|
-
|
101
|
-
this.name = 'YAMLException';
|
102
|
-
this.reason = reason;
|
103
|
-
this.mark = mark;
|
104
|
-
this.message = formatError(this, false);
|
105
|
-
|
106
|
-
// Include stack trace in error object
|
107
|
-
if (Error.captureStackTrace) {
|
108
|
-
// Chrome and NodeJS
|
109
|
-
Error.captureStackTrace(this, this.constructor);
|
110
|
-
} else {
|
111
|
-
// FF, IE 10+ and Safari 6+. Fallback for others
|
112
|
-
this.stack = (new Error()).stack || '';
|
113
|
-
}
|
114
|
-
}
|
115
|
-
|
116
|
-
|
117
|
-
// Inherit from Error
|
118
|
-
YAMLException$1.prototype = Object.create(Error.prototype);
|
119
|
-
YAMLException$1.prototype.constructor = YAMLException$1;
|
120
|
-
|
121
|
-
|
122
|
-
YAMLException$1.prototype.toString = function toString(compact) {
|
123
|
-
return this.name + ': ' + formatError(this, compact);
|
124
|
-
};
|
125
|
-
|
126
|
-
|
127
|
-
var exception = YAMLException$1;
|
128
|
-
|
129
|
-
// get snippet for a single line, respecting maxLength
|
130
|
-
function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
|
131
|
-
var head = '';
|
132
|
-
var tail = '';
|
133
|
-
var maxHalfLength = Math.floor(maxLineLength / 2) - 1;
|
134
|
-
|
135
|
-
if (position - lineStart > maxHalfLength) {
|
136
|
-
head = ' ... ';
|
137
|
-
lineStart = position - maxHalfLength + head.length;
|
138
|
-
}
|
139
|
-
|
140
|
-
if (lineEnd - position > maxHalfLength) {
|
141
|
-
tail = ' ...';
|
142
|
-
lineEnd = position + maxHalfLength - tail.length;
|
143
|
-
}
|
144
|
-
|
145
|
-
return {
|
146
|
-
str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, '→') + tail,
|
147
|
-
pos: position - lineStart + head.length // relative position
|
148
|
-
};
|
149
|
-
}
|
150
|
-
|
151
|
-
|
152
|
-
function padStart(string, max) {
|
153
|
-
return common.repeat(' ', max - string.length) + string;
|
154
|
-
}
|
155
|
-
|
156
|
-
|
157
|
-
function makeSnippet(mark, options) {
|
158
|
-
options = Object.create(options || null);
|
159
|
-
|
160
|
-
if (!mark.buffer) return null;
|
161
|
-
|
162
|
-
if (!options.maxLength) options.maxLength = 79;
|
163
|
-
if (typeof options.indent !== 'number') options.indent = 1;
|
164
|
-
if (typeof options.linesBefore !== 'number') options.linesBefore = 3;
|
165
|
-
if (typeof options.linesAfter !== 'number') options.linesAfter = 2;
|
166
|
-
|
167
|
-
var re = /\r?\n|\r|\0/g;
|
168
|
-
var lineStarts = [ 0 ];
|
169
|
-
var lineEnds = [];
|
170
|
-
var match;
|
171
|
-
var foundLineNo = -1;
|
172
|
-
|
173
|
-
while ((match = re.exec(mark.buffer))) {
|
174
|
-
lineEnds.push(match.index);
|
175
|
-
lineStarts.push(match.index + match[0].length);
|
176
|
-
|
177
|
-
if (mark.position <= match.index && foundLineNo < 0) {
|
178
|
-
foundLineNo = lineStarts.length - 2;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
|
182
|
-
if (foundLineNo < 0) foundLineNo = lineStarts.length - 1;
|
183
|
-
|
184
|
-
var result = '', i, line;
|
185
|
-
var lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length;
|
186
|
-
var maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);
|
187
|
-
|
188
|
-
for (i = 1; i <= options.linesBefore; i++) {
|
189
|
-
if (foundLineNo - i < 0) break;
|
190
|
-
line = getLine(
|
191
|
-
mark.buffer,
|
192
|
-
lineStarts[foundLineNo - i],
|
193
|
-
lineEnds[foundLineNo - i],
|
194
|
-
mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]),
|
195
|
-
maxLineLength
|
196
|
-
);
|
197
|
-
result = common.repeat(' ', options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) +
|
198
|
-
' | ' + line.str + '\n' + result;
|
199
|
-
}
|
200
|
-
|
201
|
-
line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
|
202
|
-
result += common.repeat(' ', options.indent) + padStart((mark.line + 1).toString(), lineNoLength) +
|
203
|
-
' | ' + line.str + '\n';
|
204
|
-
result += common.repeat('-', options.indent + lineNoLength + 3 + line.pos) + '^' + '\n';
|
205
|
-
|
206
|
-
for (i = 1; i <= options.linesAfter; i++) {
|
207
|
-
if (foundLineNo + i >= lineEnds.length) break;
|
208
|
-
line = getLine(
|
209
|
-
mark.buffer,
|
210
|
-
lineStarts[foundLineNo + i],
|
211
|
-
lineEnds[foundLineNo + i],
|
212
|
-
mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]),
|
213
|
-
maxLineLength
|
214
|
-
);
|
215
|
-
result += common.repeat(' ', options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) +
|
216
|
-
' | ' + line.str + '\n';
|
217
|
-
}
|
218
|
-
|
219
|
-
return result.replace(/\n$/, '');
|
220
|
-
}
|
221
|
-
|
222
|
-
|
223
|
-
var snippet = makeSnippet;
|
224
|
-
|
225
|
-
var TYPE_CONSTRUCTOR_OPTIONS = [
|
226
|
-
'kind',
|
227
|
-
'multi',
|
228
|
-
'resolve',
|
229
|
-
'construct',
|
230
|
-
'instanceOf',
|
231
|
-
'predicate',
|
232
|
-
'represent',
|
233
|
-
'representName',
|
234
|
-
'defaultStyle',
|
235
|
-
'styleAliases'
|
236
|
-
];
|
237
|
-
|
238
|
-
var YAML_NODE_KINDS = [
|
239
|
-
'scalar',
|
240
|
-
'sequence',
|
241
|
-
'mapping'
|
242
|
-
];
|
243
|
-
|
244
|
-
function compileStyleAliases(map) {
|
245
|
-
var result = {};
|
246
|
-
|
247
|
-
if (map !== null) {
|
248
|
-
Object.keys(map).forEach(function (style) {
|
249
|
-
map[style].forEach(function (alias) {
|
250
|
-
result[String(alias)] = style;
|
251
|
-
});
|
252
|
-
});
|
253
|
-
}
|
254
|
-
|
255
|
-
return result;
|
256
|
-
}
|
257
|
-
|
258
|
-
function Type$1(tag, options) {
|
259
|
-
options = options || {};
|
260
|
-
|
261
|
-
Object.keys(options).forEach(function (name) {
|
262
|
-
if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {
|
263
|
-
throw new exception('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
|
264
|
-
}
|
265
|
-
});
|
266
|
-
|
267
|
-
// TODO: Add tag format check.
|
268
|
-
this.options = options; // keep original options in case user wants to extend this type later
|
269
|
-
this.tag = tag;
|
270
|
-
this.kind = options['kind'] || null;
|
271
|
-
this.resolve = options['resolve'] || function () { return true; };
|
272
|
-
this.construct = options['construct'] || function (data) { return data; };
|
273
|
-
this.instanceOf = options['instanceOf'] || null;
|
274
|
-
this.predicate = options['predicate'] || null;
|
275
|
-
this.represent = options['represent'] || null;
|
276
|
-
this.representName = options['representName'] || null;
|
277
|
-
this.defaultStyle = options['defaultStyle'] || null;
|
278
|
-
this.multi = options['multi'] || false;
|
279
|
-
this.styleAliases = compileStyleAliases(options['styleAliases'] || null);
|
280
|
-
|
281
|
-
if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {
|
282
|
-
throw new exception('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
|
283
|
-
}
|
284
|
-
}
|
285
|
-
|
286
|
-
var type = Type$1;
|
287
|
-
|
288
|
-
/*eslint-disable max-len*/
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
function compileList(schema, name) {
|
295
|
-
var result = [];
|
296
|
-
|
297
|
-
schema[name].forEach(function (currentType) {
|
298
|
-
var newIndex = result.length;
|
299
|
-
|
300
|
-
result.forEach(function (previousType, previousIndex) {
|
301
|
-
if (previousType.tag === currentType.tag &&
|
302
|
-
previousType.kind === currentType.kind &&
|
303
|
-
previousType.multi === currentType.multi) {
|
304
|
-
|
305
|
-
newIndex = previousIndex;
|
306
|
-
}
|
307
|
-
});
|
308
|
-
|
309
|
-
result[newIndex] = currentType;
|
310
|
-
});
|
311
|
-
|
312
|
-
return result;
|
313
|
-
}
|
314
|
-
|
315
|
-
|
316
|
-
function compileMap(/* lists... */) {
|
317
|
-
var result = {
|
318
|
-
scalar: {},
|
319
|
-
sequence: {},
|
320
|
-
mapping: {},
|
321
|
-
fallback: {},
|
322
|
-
multi: {
|
323
|
-
scalar: [],
|
324
|
-
sequence: [],
|
325
|
-
mapping: [],
|
326
|
-
fallback: []
|
327
|
-
}
|
328
|
-
}, index, length;
|
329
|
-
|
330
|
-
function collectType(type) {
|
331
|
-
if (type.multi) {
|
332
|
-
result.multi[type.kind].push(type);
|
333
|
-
result.multi['fallback'].push(type);
|
334
|
-
} else {
|
335
|
-
result[type.kind][type.tag] = result['fallback'][type.tag] = type;
|
336
|
-
}
|
337
|
-
}
|
338
|
-
|
339
|
-
for (index = 0, length = arguments.length; index < length; index += 1) {
|
340
|
-
arguments[index].forEach(collectType);
|
341
|
-
}
|
342
|
-
return result;
|
343
|
-
}
|
344
|
-
|
345
|
-
|
346
|
-
function Schema$1(definition) {
|
347
|
-
return this.extend(definition);
|
348
|
-
}
|
349
|
-
|
350
|
-
|
351
|
-
Schema$1.prototype.extend = function extend(definition) {
|
352
|
-
var implicit = [];
|
353
|
-
var explicit = [];
|
354
|
-
|
355
|
-
if (definition instanceof type) {
|
356
|
-
// Schema.extend(type)
|
357
|
-
explicit.push(definition);
|
358
|
-
|
359
|
-
} else if (Array.isArray(definition)) {
|
360
|
-
// Schema.extend([ type1, type2, ... ])
|
361
|
-
explicit = explicit.concat(definition);
|
362
|
-
|
363
|
-
} else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
|
364
|
-
// Schema.extend({ explicit: [ type1, type2, ... ], implicit: [ type1, type2, ... ] })
|
365
|
-
if (definition.implicit) implicit = implicit.concat(definition.implicit);
|
366
|
-
if (definition.explicit) explicit = explicit.concat(definition.explicit);
|
367
|
-
|
368
|
-
} else {
|
369
|
-
throw new exception('Schema.extend argument should be a Type, [ Type ], ' +
|
370
|
-
'or a schema definition ({ implicit: [...], explicit: [...] })');
|
371
|
-
}
|
372
|
-
|
373
|
-
implicit.forEach(function (type$1) {
|
374
|
-
if (!(type$1 instanceof type)) {
|
375
|
-
throw new exception('Specified list of YAML types (or a single Type object) contains a non-Type object.');
|
376
|
-
}
|
377
|
-
|
378
|
-
if (type$1.loadKind && type$1.loadKind !== 'scalar') {
|
379
|
-
throw new exception('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');
|
380
|
-
}
|
381
|
-
|
382
|
-
if (type$1.multi) {
|
383
|
-
throw new exception('There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.');
|
384
|
-
}
|
385
|
-
});
|
386
|
-
|
387
|
-
explicit.forEach(function (type$1) {
|
388
|
-
if (!(type$1 instanceof type)) {
|
389
|
-
throw new exception('Specified list of YAML types (or a single Type object) contains a non-Type object.');
|
390
|
-
}
|
391
|
-
});
|
392
|
-
|
393
|
-
var result = Object.create(Schema$1.prototype);
|
394
|
-
|
395
|
-
result.implicit = (this.implicit || []).concat(implicit);
|
396
|
-
result.explicit = (this.explicit || []).concat(explicit);
|
397
|
-
|
398
|
-
result.compiledImplicit = compileList(result, 'implicit');
|
399
|
-
result.compiledExplicit = compileList(result, 'explicit');
|
400
|
-
result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);
|
401
|
-
|
402
|
-
return result;
|
403
|
-
};
|
404
|
-
|
405
|
-
|
406
|
-
var schema = Schema$1;
|
407
|
-
|
408
|
-
var str = new type('tag:yaml.org,2002:str', {
|
409
|
-
kind: 'scalar',
|
410
|
-
construct: function (data) { return data !== null ? data : ''; }
|
411
|
-
});
|
412
|
-
|
413
|
-
var seq = new type('tag:yaml.org,2002:seq', {
|
414
|
-
kind: 'sequence',
|
415
|
-
construct: function (data) { return data !== null ? data : []; }
|
416
|
-
});
|
417
|
-
|
418
|
-
var map = new type('tag:yaml.org,2002:map', {
|
419
|
-
kind: 'mapping',
|
420
|
-
construct: function (data) { return data !== null ? data : {}; }
|
421
|
-
});
|
422
|
-
|
423
|
-
var failsafe = new schema({
|
424
|
-
explicit: [
|
425
|
-
str,
|
426
|
-
seq,
|
427
|
-
map
|
428
|
-
]
|
429
|
-
});
|
430
|
-
|
431
|
-
function resolveYamlNull(data) {
|
432
|
-
if (data === null) return true;
|
433
|
-
|
434
|
-
var max = data.length;
|
435
|
-
|
436
|
-
return (max === 1 && data === '~') ||
|
437
|
-
(max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));
|
438
|
-
}
|
439
|
-
|
440
|
-
function constructYamlNull() {
|
441
|
-
return null;
|
442
|
-
}
|
443
|
-
|
444
|
-
function isNull(object) {
|
445
|
-
return object === null;
|
446
|
-
}
|
447
|
-
|
448
|
-
var _null = new type('tag:yaml.org,2002:null', {
|
449
|
-
kind: 'scalar',
|
450
|
-
resolve: resolveYamlNull,
|
451
|
-
construct: constructYamlNull,
|
452
|
-
predicate: isNull,
|
453
|
-
represent: {
|
454
|
-
canonical: function () { return '~'; },
|
455
|
-
lowercase: function () { return 'null'; },
|
456
|
-
uppercase: function () { return 'NULL'; },
|
457
|
-
camelcase: function () { return 'Null'; },
|
458
|
-
empty: function () { return ''; }
|
459
|
-
},
|
460
|
-
defaultStyle: 'lowercase'
|
461
|
-
});
|
462
|
-
|
463
|
-
function resolveYamlBoolean(data) {
|
464
|
-
if (data === null) return false;
|
465
|
-
|
466
|
-
var max = data.length;
|
467
|
-
|
468
|
-
return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) ||
|
469
|
-
(max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));
|
470
|
-
}
|
471
|
-
|
472
|
-
function constructYamlBoolean(data) {
|
473
|
-
return data === 'true' ||
|
474
|
-
data === 'True' ||
|
475
|
-
data === 'TRUE';
|
476
|
-
}
|
477
|
-
|
478
|
-
function isBoolean(object) {
|
479
|
-
return Object.prototype.toString.call(object) === '[object Boolean]';
|
480
|
-
}
|
481
|
-
|
482
|
-
var bool = new type('tag:yaml.org,2002:bool', {
|
483
|
-
kind: 'scalar',
|
484
|
-
resolve: resolveYamlBoolean,
|
485
|
-
construct: constructYamlBoolean,
|
486
|
-
predicate: isBoolean,
|
487
|
-
represent: {
|
488
|
-
lowercase: function (object) { return object ? 'true' : 'false'; },
|
489
|
-
uppercase: function (object) { return object ? 'TRUE' : 'FALSE'; },
|
490
|
-
camelcase: function (object) { return object ? 'True' : 'False'; }
|
491
|
-
},
|
492
|
-
defaultStyle: 'lowercase'
|
493
|
-
});
|
494
|
-
|
495
|
-
function isHexCode(c) {
|
496
|
-
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
497
|
-
((0x41/* A */ <= c) && (c <= 0x46/* F */)) ||
|
498
|
-
((0x61/* a */ <= c) && (c <= 0x66/* f */));
|
499
|
-
}
|
500
|
-
|
501
|
-
function isOctCode(c) {
|
502
|
-
return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */));
|
503
|
-
}
|
504
|
-
|
505
|
-
function isDecCode(c) {
|
506
|
-
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */));
|
507
|
-
}
|
508
|
-
|
509
|
-
function resolveYamlInteger(data) {
|
510
|
-
if (data === null) return false;
|
511
|
-
|
512
|
-
var max = data.length,
|
513
|
-
index = 0,
|
514
|
-
hasDigits = false,
|
515
|
-
ch;
|
516
|
-
|
517
|
-
if (!max) return false;
|
518
|
-
|
519
|
-
ch = data[index];
|
520
|
-
|
521
|
-
// sign
|
522
|
-
if (ch === '-' || ch === '+') {
|
523
|
-
ch = data[++index];
|
524
|
-
}
|
525
|
-
|
526
|
-
if (ch === '0') {
|
527
|
-
// 0
|
528
|
-
if (index + 1 === max) return true;
|
529
|
-
ch = data[++index];
|
530
|
-
|
531
|
-
// base 2, base 8, base 16
|
532
|
-
|
533
|
-
if (ch === 'b') {
|
534
|
-
// base 2
|
535
|
-
index++;
|
536
|
-
|
537
|
-
for (; index < max; index++) {
|
538
|
-
ch = data[index];
|
539
|
-
if (ch === '_') continue;
|
540
|
-
if (ch !== '0' && ch !== '1') return false;
|
541
|
-
hasDigits = true;
|
542
|
-
}
|
543
|
-
return hasDigits && ch !== '_';
|
544
|
-
}
|
545
|
-
|
546
|
-
|
547
|
-
if (ch === 'x') {
|
548
|
-
// base 16
|
549
|
-
index++;
|
550
|
-
|
551
|
-
for (; index < max; index++) {
|
552
|
-
ch = data[index];
|
553
|
-
if (ch === '_') continue;
|
554
|
-
if (!isHexCode(data.charCodeAt(index))) return false;
|
555
|
-
hasDigits = true;
|
556
|
-
}
|
557
|
-
return hasDigits && ch !== '_';
|
558
|
-
}
|
559
|
-
|
560
|
-
|
561
|
-
if (ch === 'o') {
|
562
|
-
// base 8
|
563
|
-
index++;
|
564
|
-
|
565
|
-
for (; index < max; index++) {
|
566
|
-
ch = data[index];
|
567
|
-
if (ch === '_') continue;
|
568
|
-
if (!isOctCode(data.charCodeAt(index))) return false;
|
569
|
-
hasDigits = true;
|
570
|
-
}
|
571
|
-
return hasDigits && ch !== '_';
|
572
|
-
}
|
573
|
-
}
|
574
|
-
|
575
|
-
// base 10 (except 0)
|
576
|
-
|
577
|
-
// value should not start with `_`;
|
578
|
-
if (ch === '_') return false;
|
579
|
-
|
580
|
-
for (; index < max; index++) {
|
581
|
-
ch = data[index];
|
582
|
-
if (ch === '_') continue;
|
583
|
-
if (!isDecCode(data.charCodeAt(index))) {
|
584
|
-
return false;
|
585
|
-
}
|
586
|
-
hasDigits = true;
|
587
|
-
}
|
588
|
-
|
589
|
-
// Should have digits and should not end with `_`
|
590
|
-
if (!hasDigits || ch === '_') return false;
|
591
|
-
|
592
|
-
return true;
|
593
|
-
}
|
594
|
-
|
595
|
-
function constructYamlInteger(data) {
|
596
|
-
var value = data, sign = 1, ch;
|
597
|
-
|
598
|
-
if (value.indexOf('_') !== -1) {
|
599
|
-
value = value.replace(/_/g, '');
|
600
|
-
}
|
601
|
-
|
602
|
-
ch = value[0];
|
603
|
-
|
604
|
-
if (ch === '-' || ch === '+') {
|
605
|
-
if (ch === '-') sign = -1;
|
606
|
-
value = value.slice(1);
|
607
|
-
ch = value[0];
|
608
|
-
}
|
609
|
-
|
610
|
-
if (value === '0') return 0;
|
611
|
-
|
612
|
-
if (ch === '0') {
|
613
|
-
if (value[1] === 'b') return sign * parseInt(value.slice(2), 2);
|
614
|
-
if (value[1] === 'x') return sign * parseInt(value.slice(2), 16);
|
615
|
-
if (value[1] === 'o') return sign * parseInt(value.slice(2), 8);
|
616
|
-
}
|
617
|
-
|
618
|
-
return sign * parseInt(value, 10);
|
619
|
-
}
|
620
|
-
|
621
|
-
function isInteger(object) {
|
622
|
-
return (Object.prototype.toString.call(object)) === '[object Number]' &&
|
623
|
-
(object % 1 === 0 && !common.isNegativeZero(object));
|
624
|
-
}
|
625
|
-
|
626
|
-
var int = new type('tag:yaml.org,2002:int', {
|
627
|
-
kind: 'scalar',
|
628
|
-
resolve: resolveYamlInteger,
|
629
|
-
construct: constructYamlInteger,
|
630
|
-
predicate: isInteger,
|
631
|
-
represent: {
|
632
|
-
binary: function (obj) { return obj >= 0 ? '0b' + obj.toString(2) : '-0b' + obj.toString(2).slice(1); },
|
633
|
-
octal: function (obj) { return obj >= 0 ? '0o' + obj.toString(8) : '-0o' + obj.toString(8).slice(1); },
|
634
|
-
decimal: function (obj) { return obj.toString(10); },
|
635
|
-
/* eslint-disable max-len */
|
636
|
-
hexadecimal: function (obj) { return obj >= 0 ? '0x' + obj.toString(16).toUpperCase() : '-0x' + obj.toString(16).toUpperCase().slice(1); }
|
637
|
-
},
|
638
|
-
defaultStyle: 'decimal',
|
639
|
-
styleAliases: {
|
640
|
-
binary: [ 2, 'bin' ],
|
641
|
-
octal: [ 8, 'oct' ],
|
642
|
-
decimal: [ 10, 'dec' ],
|
643
|
-
hexadecimal: [ 16, 'hex' ]
|
644
|
-
}
|
645
|
-
});
|
646
|
-
|
647
|
-
var YAML_FLOAT_PATTERN = new RegExp(
|
648
|
-
// 2.5e4, 2.5 and integers
|
649
|
-
'^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' +
|
650
|
-
// .2e4, .2
|
651
|
-
// special case, seems not from spec
|
652
|
-
'|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' +
|
653
|
-
// .inf
|
654
|
-
'|[-+]?\\.(?:inf|Inf|INF)' +
|
655
|
-
// .nan
|
656
|
-
'|\\.(?:nan|NaN|NAN))$');
|
657
|
-
|
658
|
-
function resolveYamlFloat(data) {
|
659
|
-
if (data === null) return false;
|
660
|
-
|
661
|
-
if (!YAML_FLOAT_PATTERN.test(data) ||
|
662
|
-
// Quick hack to not allow integers end with `_`
|
663
|
-
// Probably should update regexp & check speed
|
664
|
-
data[data.length - 1] === '_') {
|
665
|
-
return false;
|
666
|
-
}
|
667
|
-
|
668
|
-
return true;
|
669
|
-
}
|
670
|
-
|
671
|
-
function constructYamlFloat(data) {
|
672
|
-
var value, sign;
|
673
|
-
|
674
|
-
value = data.replace(/_/g, '').toLowerCase();
|
675
|
-
sign = value[0] === '-' ? -1 : 1;
|
676
|
-
|
677
|
-
if ('+-'.indexOf(value[0]) >= 0) {
|
678
|
-
value = value.slice(1);
|
679
|
-
}
|
680
|
-
|
681
|
-
if (value === '.inf') {
|
682
|
-
return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
|
683
|
-
|
684
|
-
} else if (value === '.nan') {
|
685
|
-
return NaN;
|
686
|
-
}
|
687
|
-
return sign * parseFloat(value, 10);
|
688
|
-
}
|
689
|
-
|
690
|
-
|
691
|
-
var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
|
692
|
-
|
693
|
-
function representYamlFloat(object, style) {
|
694
|
-
var res;
|
695
|
-
|
696
|
-
if (isNaN(object)) {
|
697
|
-
switch (style) {
|
698
|
-
case 'lowercase': return '.nan';
|
699
|
-
case 'uppercase': return '.NAN';
|
700
|
-
case 'camelcase': return '.NaN';
|
701
|
-
}
|
702
|
-
} else if (Number.POSITIVE_INFINITY === object) {
|
703
|
-
switch (style) {
|
704
|
-
case 'lowercase': return '.inf';
|
705
|
-
case 'uppercase': return '.INF';
|
706
|
-
case 'camelcase': return '.Inf';
|
707
|
-
}
|
708
|
-
} else if (Number.NEGATIVE_INFINITY === object) {
|
709
|
-
switch (style) {
|
710
|
-
case 'lowercase': return '-.inf';
|
711
|
-
case 'uppercase': return '-.INF';
|
712
|
-
case 'camelcase': return '-.Inf';
|
713
|
-
}
|
714
|
-
} else if (common.isNegativeZero(object)) {
|
715
|
-
return '-0.0';
|
716
|
-
}
|
717
|
-
|
718
|
-
res = object.toString(10);
|
719
|
-
|
720
|
-
// JS stringifier can build scientific format without dots: 5e-100,
|
721
|
-
// while YAML requres dot: 5.e-100. Fix it with simple hack
|
722
|
-
|
723
|
-
return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;
|
724
|
-
}
|
725
|
-
|
726
|
-
function isFloat(object) {
|
727
|
-
return (Object.prototype.toString.call(object) === '[object Number]') &&
|
728
|
-
(object % 1 !== 0 || common.isNegativeZero(object));
|
729
|
-
}
|
730
|
-
|
731
|
-
var float = new type('tag:yaml.org,2002:float', {
|
732
|
-
kind: 'scalar',
|
733
|
-
resolve: resolveYamlFloat,
|
734
|
-
construct: constructYamlFloat,
|
735
|
-
predicate: isFloat,
|
736
|
-
represent: representYamlFloat,
|
737
|
-
defaultStyle: 'lowercase'
|
738
|
-
});
|
739
|
-
|
740
|
-
var json = failsafe.extend({
|
741
|
-
implicit: [
|
742
|
-
_null,
|
743
|
-
bool,
|
744
|
-
int,
|
745
|
-
float
|
746
|
-
]
|
747
|
-
});
|
748
|
-
|
749
|
-
var core = json;
|
750
|
-
|
751
|
-
var YAML_DATE_REGEXP = new RegExp(
|
752
|
-
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
753
|
-
'-([0-9][0-9])' + // [2] month
|
754
|
-
'-([0-9][0-9])$'); // [3] day
|
755
|
-
|
756
|
-
var YAML_TIMESTAMP_REGEXP = new RegExp(
|
757
|
-
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
758
|
-
'-([0-9][0-9]?)' + // [2] month
|
759
|
-
'-([0-9][0-9]?)' + // [3] day
|
760
|
-
'(?:[Tt]|[ \\t]+)' + // ...
|
761
|
-
'([0-9][0-9]?)' + // [4] hour
|
762
|
-
':([0-9][0-9])' + // [5] minute
|
763
|
-
':([0-9][0-9])' + // [6] second
|
764
|
-
'(?:\\.([0-9]*))?' + // [7] fraction
|
765
|
-
'(?:[ \\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour
|
766
|
-
'(?::([0-9][0-9]))?))?$'); // [11] tz_minute
|
767
|
-
|
768
|
-
function resolveYamlTimestamp(data) {
|
769
|
-
if (data === null) return false;
|
770
|
-
if (YAML_DATE_REGEXP.exec(data) !== null) return true;
|
771
|
-
if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;
|
772
|
-
return false;
|
773
|
-
}
|
774
|
-
|
775
|
-
function constructYamlTimestamp(data) {
|
776
|
-
var match, year, month, day, hour, minute, second, fraction = 0,
|
777
|
-
delta = null, tz_hour, tz_minute, date;
|
778
|
-
|
779
|
-
match = YAML_DATE_REGEXP.exec(data);
|
780
|
-
if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);
|
781
|
-
|
782
|
-
if (match === null) throw new Error('Date resolve error');
|
783
|
-
|
784
|
-
// match: [1] year [2] month [3] day
|
785
|
-
|
786
|
-
year = +(match[1]);
|
787
|
-
month = +(match[2]) - 1; // JS month starts with 0
|
788
|
-
day = +(match[3]);
|
789
|
-
|
790
|
-
if (!match[4]) { // no hour
|
791
|
-
return new Date(Date.UTC(year, month, day));
|
792
|
-
}
|
793
|
-
|
794
|
-
// match: [4] hour [5] minute [6] second [7] fraction
|
795
|
-
|
796
|
-
hour = +(match[4]);
|
797
|
-
minute = +(match[5]);
|
798
|
-
second = +(match[6]);
|
799
|
-
|
800
|
-
if (match[7]) {
|
801
|
-
fraction = match[7].slice(0, 3);
|
802
|
-
while (fraction.length < 3) { // milli-seconds
|
803
|
-
fraction += '0';
|
804
|
-
}
|
805
|
-
fraction = +fraction;
|
806
|
-
}
|
807
|
-
|
808
|
-
// match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute
|
809
|
-
|
810
|
-
if (match[9]) {
|
811
|
-
tz_hour = +(match[10]);
|
812
|
-
tz_minute = +(match[11] || 0);
|
813
|
-
delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds
|
814
|
-
if (match[9] === '-') delta = -delta;
|
815
|
-
}
|
816
|
-
|
817
|
-
date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
|
818
|
-
|
819
|
-
if (delta) date.setTime(date.getTime() - delta);
|
820
|
-
|
821
|
-
return date;
|
822
|
-
}
|
823
|
-
|
824
|
-
function representYamlTimestamp(object /*, style*/) {
|
825
|
-
return object.toISOString();
|
826
|
-
}
|
827
|
-
|
828
|
-
var timestamp = new type('tag:yaml.org,2002:timestamp', {
|
829
|
-
kind: 'scalar',
|
830
|
-
resolve: resolveYamlTimestamp,
|
831
|
-
construct: constructYamlTimestamp,
|
832
|
-
instanceOf: Date,
|
833
|
-
represent: representYamlTimestamp
|
834
|
-
});
|
835
|
-
|
836
|
-
function resolveYamlMerge(data) {
|
837
|
-
return data === '<<' || data === null;
|
838
|
-
}
|
839
|
-
|
840
|
-
var merge = new type('tag:yaml.org,2002:merge', {
|
841
|
-
kind: 'scalar',
|
842
|
-
resolve: resolveYamlMerge
|
843
|
-
});
|
844
|
-
|
845
|
-
/*eslint-disable no-bitwise*/
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
852
|
-
var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r';
|
853
|
-
|
854
|
-
|
855
|
-
function resolveYamlBinary(data) {
|
856
|
-
if (data === null) return false;
|
857
|
-
|
858
|
-
var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP;
|
859
|
-
|
860
|
-
// Convert one by one.
|
861
|
-
for (idx = 0; idx < max; idx++) {
|
862
|
-
code = map.indexOf(data.charAt(idx));
|
863
|
-
|
864
|
-
// Skip CR/LF
|
865
|
-
if (code > 64) continue;
|
866
|
-
|
867
|
-
// Fail on illegal characters
|
868
|
-
if (code < 0) return false;
|
869
|
-
|
870
|
-
bitlen += 6;
|
871
|
-
}
|
872
|
-
|
873
|
-
// If there are any bits left, source was corrupted
|
874
|
-
return (bitlen % 8) === 0;
|
875
|
-
}
|
876
|
-
|
877
|
-
function constructYamlBinary(data) {
|
878
|
-
var idx, tailbits,
|
879
|
-
input = data.replace(/[\r\n=]/g, ''), // remove CR/LF & padding to simplify scan
|
880
|
-
max = input.length,
|
881
|
-
map = BASE64_MAP,
|
882
|
-
bits = 0,
|
883
|
-
result = [];
|
884
|
-
|
885
|
-
// Collect by 6*4 bits (3 bytes)
|
886
|
-
|
887
|
-
for (idx = 0; idx < max; idx++) {
|
888
|
-
if ((idx % 4 === 0) && idx) {
|
889
|
-
result.push((bits >> 16) & 0xFF);
|
890
|
-
result.push((bits >> 8) & 0xFF);
|
891
|
-
result.push(bits & 0xFF);
|
892
|
-
}
|
893
|
-
|
894
|
-
bits = (bits << 6) | map.indexOf(input.charAt(idx));
|
895
|
-
}
|
896
|
-
|
897
|
-
// Dump tail
|
898
|
-
|
899
|
-
tailbits = (max % 4) * 6;
|
900
|
-
|
901
|
-
if (tailbits === 0) {
|
902
|
-
result.push((bits >> 16) & 0xFF);
|
903
|
-
result.push((bits >> 8) & 0xFF);
|
904
|
-
result.push(bits & 0xFF);
|
905
|
-
} else if (tailbits === 18) {
|
906
|
-
result.push((bits >> 10) & 0xFF);
|
907
|
-
result.push((bits >> 2) & 0xFF);
|
908
|
-
} else if (tailbits === 12) {
|
909
|
-
result.push((bits >> 4) & 0xFF);
|
910
|
-
}
|
911
|
-
|
912
|
-
return new Uint8Array(result);
|
913
|
-
}
|
914
|
-
|
915
|
-
function representYamlBinary(object /*, style*/) {
|
916
|
-
var result = '', bits = 0, idx, tail,
|
917
|
-
max = object.length,
|
918
|
-
map = BASE64_MAP;
|
919
|
-
|
920
|
-
// Convert every three bytes to 4 ASCII characters.
|
921
|
-
|
922
|
-
for (idx = 0; idx < max; idx++) {
|
923
|
-
if ((idx % 3 === 0) && idx) {
|
924
|
-
result += map[(bits >> 18) & 0x3F];
|
925
|
-
result += map[(bits >> 12) & 0x3F];
|
926
|
-
result += map[(bits >> 6) & 0x3F];
|
927
|
-
result += map[bits & 0x3F];
|
928
|
-
}
|
929
|
-
|
930
|
-
bits = (bits << 8) + object[idx];
|
931
|
-
}
|
932
|
-
|
933
|
-
// Dump tail
|
934
|
-
|
935
|
-
tail = max % 3;
|
936
|
-
|
937
|
-
if (tail === 0) {
|
938
|
-
result += map[(bits >> 18) & 0x3F];
|
939
|
-
result += map[(bits >> 12) & 0x3F];
|
940
|
-
result += map[(bits >> 6) & 0x3F];
|
941
|
-
result += map[bits & 0x3F];
|
942
|
-
} else if (tail === 2) {
|
943
|
-
result += map[(bits >> 10) & 0x3F];
|
944
|
-
result += map[(bits >> 4) & 0x3F];
|
945
|
-
result += map[(bits << 2) & 0x3F];
|
946
|
-
result += map[64];
|
947
|
-
} else if (tail === 1) {
|
948
|
-
result += map[(bits >> 2) & 0x3F];
|
949
|
-
result += map[(bits << 4) & 0x3F];
|
950
|
-
result += map[64];
|
951
|
-
result += map[64];
|
952
|
-
}
|
953
|
-
|
954
|
-
return result;
|
955
|
-
}
|
956
|
-
|
957
|
-
function isBinary(obj) {
|
958
|
-
return Object.prototype.toString.call(obj) === '[object Uint8Array]';
|
959
|
-
}
|
960
|
-
|
961
|
-
var binary = new type('tag:yaml.org,2002:binary', {
|
962
|
-
kind: 'scalar',
|
963
|
-
resolve: resolveYamlBinary,
|
964
|
-
construct: constructYamlBinary,
|
965
|
-
predicate: isBinary,
|
966
|
-
represent: representYamlBinary
|
967
|
-
});
|
968
|
-
|
969
|
-
var _hasOwnProperty$3 = Object.prototype.hasOwnProperty;
|
970
|
-
var _toString$2 = Object.prototype.toString;
|
971
|
-
|
972
|
-
function resolveYamlOmap(data) {
|
973
|
-
if (data === null) return true;
|
974
|
-
|
975
|
-
var objectKeys = [], index, length, pair, pairKey, pairHasKey,
|
976
|
-
object = data;
|
977
|
-
|
978
|
-
for (index = 0, length = object.length; index < length; index += 1) {
|
979
|
-
pair = object[index];
|
980
|
-
pairHasKey = false;
|
981
|
-
|
982
|
-
if (_toString$2.call(pair) !== '[object Object]') return false;
|
983
|
-
|
984
|
-
for (pairKey in pair) {
|
985
|
-
if (_hasOwnProperty$3.call(pair, pairKey)) {
|
986
|
-
if (!pairHasKey) pairHasKey = true;
|
987
|
-
else return false;
|
988
|
-
}
|
989
|
-
}
|
990
|
-
|
991
|
-
if (!pairHasKey) return false;
|
992
|
-
|
993
|
-
if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
|
994
|
-
else return false;
|
995
|
-
}
|
996
|
-
|
997
|
-
return true;
|
998
|
-
}
|
999
|
-
|
1000
|
-
function constructYamlOmap(data) {
|
1001
|
-
return data !== null ? data : [];
|
1002
|
-
}
|
1003
|
-
|
1004
|
-
var omap = new type('tag:yaml.org,2002:omap', {
|
1005
|
-
kind: 'sequence',
|
1006
|
-
resolve: resolveYamlOmap,
|
1007
|
-
construct: constructYamlOmap
|
1008
|
-
});
|
1009
|
-
|
1010
|
-
var _toString$1 = Object.prototype.toString;
|
1011
|
-
|
1012
|
-
function resolveYamlPairs(data) {
|
1013
|
-
if (data === null) return true;
|
1014
|
-
|
1015
|
-
var index, length, pair, keys, result,
|
1016
|
-
object = data;
|
1017
|
-
|
1018
|
-
result = new Array(object.length);
|
1019
|
-
|
1020
|
-
for (index = 0, length = object.length; index < length; index += 1) {
|
1021
|
-
pair = object[index];
|
1022
|
-
|
1023
|
-
if (_toString$1.call(pair) !== '[object Object]') return false;
|
1024
|
-
|
1025
|
-
keys = Object.keys(pair);
|
1026
|
-
|
1027
|
-
if (keys.length !== 1) return false;
|
1028
|
-
|
1029
|
-
result[index] = [ keys[0], pair[keys[0]] ];
|
1030
|
-
}
|
1031
|
-
|
1032
|
-
return true;
|
1033
|
-
}
|
1034
|
-
|
1035
|
-
function constructYamlPairs(data) {
|
1036
|
-
if (data === null) return [];
|
1037
|
-
|
1038
|
-
var index, length, pair, keys, result,
|
1039
|
-
object = data;
|
1040
|
-
|
1041
|
-
result = new Array(object.length);
|
1042
|
-
|
1043
|
-
for (index = 0, length = object.length; index < length; index += 1) {
|
1044
|
-
pair = object[index];
|
1045
|
-
|
1046
|
-
keys = Object.keys(pair);
|
1047
|
-
|
1048
|
-
result[index] = [ keys[0], pair[keys[0]] ];
|
1049
|
-
}
|
1050
|
-
|
1051
|
-
return result;
|
1052
|
-
}
|
1053
|
-
|
1054
|
-
var pairs = new type('tag:yaml.org,2002:pairs', {
|
1055
|
-
kind: 'sequence',
|
1056
|
-
resolve: resolveYamlPairs,
|
1057
|
-
construct: constructYamlPairs
|
1058
|
-
});
|
1059
|
-
|
1060
|
-
var _hasOwnProperty$2 = Object.prototype.hasOwnProperty;
|
1061
|
-
|
1062
|
-
function resolveYamlSet(data) {
|
1063
|
-
if (data === null) return true;
|
1064
|
-
|
1065
|
-
var key, object = data;
|
1066
|
-
|
1067
|
-
for (key in object) {
|
1068
|
-
if (_hasOwnProperty$2.call(object, key)) {
|
1069
|
-
if (object[key] !== null) return false;
|
1070
|
-
}
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
return true;
|
1074
|
-
}
|
1075
|
-
|
1076
|
-
function constructYamlSet(data) {
|
1077
|
-
return data !== null ? data : {};
|
1078
|
-
}
|
1079
|
-
|
1080
|
-
var set = new type('tag:yaml.org,2002:set', {
|
1081
|
-
kind: 'mapping',
|
1082
|
-
resolve: resolveYamlSet,
|
1083
|
-
construct: constructYamlSet
|
1084
|
-
});
|
1085
|
-
|
1086
|
-
var _default = core.extend({
|
1087
|
-
implicit: [
|
1088
|
-
timestamp,
|
1089
|
-
merge
|
1090
|
-
],
|
1091
|
-
explicit: [
|
1092
|
-
binary,
|
1093
|
-
omap,
|
1094
|
-
pairs,
|
1095
|
-
set
|
1096
|
-
]
|
1097
|
-
});
|
1098
|
-
|
1099
|
-
/*eslint-disable max-len,no-use-before-define*/
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
var _hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
1108
|
-
|
1109
|
-
|
1110
|
-
var CONTEXT_FLOW_IN = 1;
|
1111
|
-
var CONTEXT_FLOW_OUT = 2;
|
1112
|
-
var CONTEXT_BLOCK_IN = 3;
|
1113
|
-
var CONTEXT_BLOCK_OUT = 4;
|
1114
|
-
|
1115
|
-
|
1116
|
-
var CHOMPING_CLIP = 1;
|
1117
|
-
var CHOMPING_STRIP = 2;
|
1118
|
-
var CHOMPING_KEEP = 3;
|
1119
|
-
|
1120
|
-
|
1121
|
-
var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
1122
|
-
var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
|
1123
|
-
var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
|
1124
|
-
var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
|
1125
|
-
var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
1126
|
-
|
1127
|
-
|
1128
|
-
function _class(obj) { return Object.prototype.toString.call(obj); }
|
1129
|
-
|
1130
|
-
function is_EOL(c) {
|
1131
|
-
return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);
|
1132
|
-
}
|
1133
|
-
|
1134
|
-
function is_WHITE_SPACE(c) {
|
1135
|
-
return (c === 0x09/* Tab */) || (c === 0x20/* Space */);
|
1136
|
-
}
|
1137
|
-
|
1138
|
-
function is_WS_OR_EOL(c) {
|
1139
|
-
return (c === 0x09/* Tab */) ||
|
1140
|
-
(c === 0x20/* Space */) ||
|
1141
|
-
(c === 0x0A/* LF */) ||
|
1142
|
-
(c === 0x0D/* CR */);
|
1143
|
-
}
|
1144
|
-
|
1145
|
-
function is_FLOW_INDICATOR(c) {
|
1146
|
-
return c === 0x2C/* , */ ||
|
1147
|
-
c === 0x5B/* [ */ ||
|
1148
|
-
c === 0x5D/* ] */ ||
|
1149
|
-
c === 0x7B/* { */ ||
|
1150
|
-
c === 0x7D/* } */;
|
1151
|
-
}
|
1152
|
-
|
1153
|
-
function fromHexCode(c) {
|
1154
|
-
var lc;
|
1155
|
-
|
1156
|
-
if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
|
1157
|
-
return c - 0x30;
|
1158
|
-
}
|
1159
|
-
|
1160
|
-
/*eslint-disable no-bitwise*/
|
1161
|
-
lc = c | 0x20;
|
1162
|
-
|
1163
|
-
if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {
|
1164
|
-
return lc - 0x61 + 10;
|
1165
|
-
}
|
1166
|
-
|
1167
|
-
return -1;
|
1168
|
-
}
|
1169
|
-
|
1170
|
-
function escapedHexLen(c) {
|
1171
|
-
if (c === 0x78/* x */) { return 2; }
|
1172
|
-
if (c === 0x75/* u */) { return 4; }
|
1173
|
-
if (c === 0x55/* U */) { return 8; }
|
1174
|
-
return 0;
|
1175
|
-
}
|
1176
|
-
|
1177
|
-
function fromDecimalCode(c) {
|
1178
|
-
if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
|
1179
|
-
return c - 0x30;
|
1180
|
-
}
|
1181
|
-
|
1182
|
-
return -1;
|
1183
|
-
}
|
1184
|
-
|
1185
|
-
function simpleEscapeSequence(c) {
|
1186
|
-
/* eslint-disable indent */
|
1187
|
-
return (c === 0x30/* 0 */) ? '\x00' :
|
1188
|
-
(c === 0x61/* a */) ? '\x07' :
|
1189
|
-
(c === 0x62/* b */) ? '\x08' :
|
1190
|
-
(c === 0x74/* t */) ? '\x09' :
|
1191
|
-
(c === 0x09/* Tab */) ? '\x09' :
|
1192
|
-
(c === 0x6E/* n */) ? '\x0A' :
|
1193
|
-
(c === 0x76/* v */) ? '\x0B' :
|
1194
|
-
(c === 0x66/* f */) ? '\x0C' :
|
1195
|
-
(c === 0x72/* r */) ? '\x0D' :
|
1196
|
-
(c === 0x65/* e */) ? '\x1B' :
|
1197
|
-
(c === 0x20/* Space */) ? ' ' :
|
1198
|
-
(c === 0x22/* " */) ? '\x22' :
|
1199
|
-
(c === 0x2F/* / */) ? '/' :
|
1200
|
-
(c === 0x5C/* \ */) ? '\x5C' :
|
1201
|
-
(c === 0x4E/* N */) ? '\x85' :
|
1202
|
-
(c === 0x5F/* _ */) ? '\xA0' :
|
1203
|
-
(c === 0x4C/* L */) ? '\u2028' :
|
1204
|
-
(c === 0x50/* P */) ? '\u2029' : '';
|
1205
|
-
}
|
1206
|
-
|
1207
|
-
function charFromCodepoint(c) {
|
1208
|
-
if (c <= 0xFFFF) {
|
1209
|
-
return String.fromCharCode(c);
|
1210
|
-
}
|
1211
|
-
// Encode UTF-16 surrogate pair
|
1212
|
-
// https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
|
1213
|
-
return String.fromCharCode(
|
1214
|
-
((c - 0x010000) >> 10) + 0xD800,
|
1215
|
-
((c - 0x010000) & 0x03FF) + 0xDC00
|
1216
|
-
);
|
1217
|
-
}
|
1218
|
-
|
1219
|
-
var simpleEscapeCheck = new Array(256); // integer, for fast access
|
1220
|
-
var simpleEscapeMap = new Array(256);
|
1221
|
-
for (var i = 0; i < 256; i++) {
|
1222
|
-
simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
|
1223
|
-
simpleEscapeMap[i] = simpleEscapeSequence(i);
|
1224
|
-
}
|
1225
|
-
|
1226
|
-
|
1227
|
-
function State$1(input, options) {
|
1228
|
-
this.input = input;
|
1229
|
-
|
1230
|
-
this.filename = options['filename'] || null;
|
1231
|
-
this.schema = options['schema'] || _default;
|
1232
|
-
this.onWarning = options['onWarning'] || null;
|
1233
|
-
// (Hidden) Remove? makes the loader to expect YAML 1.1 documents
|
1234
|
-
// if such documents have no explicit %YAML directive
|
1235
|
-
this.legacy = options['legacy'] || false;
|
1236
|
-
|
1237
|
-
this.json = options['json'] || false;
|
1238
|
-
this.listener = options['listener'] || null;
|
1239
|
-
|
1240
|
-
this.implicitTypes = this.schema.compiledImplicit;
|
1241
|
-
this.typeMap = this.schema.compiledTypeMap;
|
1242
|
-
|
1243
|
-
this.length = input.length;
|
1244
|
-
this.position = 0;
|
1245
|
-
this.line = 0;
|
1246
|
-
this.lineStart = 0;
|
1247
|
-
this.lineIndent = 0;
|
1248
|
-
|
1249
|
-
// position of first leading tab in the current line,
|
1250
|
-
// used to make sure there are no tabs in the indentation
|
1251
|
-
this.firstTabInLine = -1;
|
1252
|
-
|
1253
|
-
this.documents = [];
|
1254
|
-
|
1255
|
-
/*
|
1256
|
-
this.version;
|
1257
|
-
this.checkLineBreaks;
|
1258
|
-
this.tagMap;
|
1259
|
-
this.anchorMap;
|
1260
|
-
this.tag;
|
1261
|
-
this.anchor;
|
1262
|
-
this.kind;
|
1263
|
-
this.result;*/
|
1264
|
-
|
1265
|
-
}
|
1266
|
-
|
1267
|
-
|
1268
|
-
function generateError(state, message) {
|
1269
|
-
var mark = {
|
1270
|
-
name: state.filename,
|
1271
|
-
buffer: state.input.slice(0, -1), // omit trailing \0
|
1272
|
-
position: state.position,
|
1273
|
-
line: state.line,
|
1274
|
-
column: state.position - state.lineStart
|
1275
|
-
};
|
1276
|
-
|
1277
|
-
mark.snippet = snippet(mark);
|
1278
|
-
|
1279
|
-
return new exception(message, mark);
|
1280
|
-
}
|
1281
|
-
|
1282
|
-
function throwError(state, message) {
|
1283
|
-
throw generateError(state, message);
|
1284
|
-
}
|
1285
|
-
|
1286
|
-
function throwWarning(state, message) {
|
1287
|
-
if (state.onWarning) {
|
1288
|
-
state.onWarning.call(null, generateError(state, message));
|
1289
|
-
}
|
1290
|
-
}
|
1291
|
-
|
1292
|
-
|
1293
|
-
var directiveHandlers = {
|
1294
|
-
|
1295
|
-
YAML: function handleYamlDirective(state, name, args) {
|
1296
|
-
|
1297
|
-
var match, major, minor;
|
1298
|
-
|
1299
|
-
if (state.version !== null) {
|
1300
|
-
throwError(state, 'duplication of %YAML directive');
|
1301
|
-
}
|
1302
|
-
|
1303
|
-
if (args.length !== 1) {
|
1304
|
-
throwError(state, 'YAML directive accepts exactly one argument');
|
1305
|
-
}
|
1306
|
-
|
1307
|
-
match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
|
1308
|
-
|
1309
|
-
if (match === null) {
|
1310
|
-
throwError(state, 'ill-formed argument of the YAML directive');
|
1311
|
-
}
|
1312
|
-
|
1313
|
-
major = parseInt(match[1], 10);
|
1314
|
-
minor = parseInt(match[2], 10);
|
1315
|
-
|
1316
|
-
if (major !== 1) {
|
1317
|
-
throwError(state, 'unacceptable YAML version of the document');
|
1318
|
-
}
|
1319
|
-
|
1320
|
-
state.version = args[0];
|
1321
|
-
state.checkLineBreaks = (minor < 2);
|
1322
|
-
|
1323
|
-
if (minor !== 1 && minor !== 2) {
|
1324
|
-
throwWarning(state, 'unsupported YAML version of the document');
|
1325
|
-
}
|
1326
|
-
},
|
1327
|
-
|
1328
|
-
TAG: function handleTagDirective(state, name, args) {
|
1329
|
-
|
1330
|
-
var handle, prefix;
|
1331
|
-
|
1332
|
-
if (args.length !== 2) {
|
1333
|
-
throwError(state, 'TAG directive accepts exactly two arguments');
|
1334
|
-
}
|
1335
|
-
|
1336
|
-
handle = args[0];
|
1337
|
-
prefix = args[1];
|
1338
|
-
|
1339
|
-
if (!PATTERN_TAG_HANDLE.test(handle)) {
|
1340
|
-
throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');
|
1341
|
-
}
|
1342
|
-
|
1343
|
-
if (_hasOwnProperty$1.call(state.tagMap, handle)) {
|
1344
|
-
throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
|
1345
|
-
}
|
1346
|
-
|
1347
|
-
if (!PATTERN_TAG_URI.test(prefix)) {
|
1348
|
-
throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');
|
1349
|
-
}
|
1350
|
-
|
1351
|
-
try {
|
1352
|
-
prefix = decodeURIComponent(prefix);
|
1353
|
-
} catch (err) {
|
1354
|
-
throwError(state, 'tag prefix is malformed: ' + prefix);
|
1355
|
-
}
|
1356
|
-
|
1357
|
-
state.tagMap[handle] = prefix;
|
1358
|
-
}
|
1359
|
-
};
|
1360
|
-
|
1361
|
-
|
1362
|
-
function captureSegment(state, start, end, checkJson) {
|
1363
|
-
var _position, _length, _character, _result;
|
1364
|
-
|
1365
|
-
if (start < end) {
|
1366
|
-
_result = state.input.slice(start, end);
|
1367
|
-
|
1368
|
-
if (checkJson) {
|
1369
|
-
for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
|
1370
|
-
_character = _result.charCodeAt(_position);
|
1371
|
-
if (!(_character === 0x09 ||
|
1372
|
-
(0x20 <= _character && _character <= 0x10FFFF))) {
|
1373
|
-
throwError(state, 'expected valid JSON character');
|
1374
|
-
}
|
1375
|
-
}
|
1376
|
-
} else if (PATTERN_NON_PRINTABLE.test(_result)) {
|
1377
|
-
throwError(state, 'the stream contains non-printable characters');
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
state.result += _result;
|
1381
|
-
}
|
1382
|
-
}
|
1383
|
-
|
1384
|
-
function mergeMappings(state, destination, source, overridableKeys) {
|
1385
|
-
var sourceKeys, key, index, quantity;
|
1386
|
-
|
1387
|
-
if (!common.isObject(source)) {
|
1388
|
-
throwError(state, 'cannot merge mappings; the provided source object is unacceptable');
|
1389
|
-
}
|
1390
|
-
|
1391
|
-
sourceKeys = Object.keys(source);
|
1392
|
-
|
1393
|
-
for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
1394
|
-
key = sourceKeys[index];
|
1395
|
-
|
1396
|
-
if (!_hasOwnProperty$1.call(destination, key)) {
|
1397
|
-
destination[key] = source[key];
|
1398
|
-
overridableKeys[key] = true;
|
1399
|
-
}
|
1400
|
-
}
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode,
|
1404
|
-
startLine, startLineStart, startPos) {
|
1405
|
-
|
1406
|
-
var index, quantity;
|
1407
|
-
|
1408
|
-
// The output is a plain object here, so keys can only be strings.
|
1409
|
-
// We need to convert keyNode to a string, but doing so can hang the process
|
1410
|
-
// (deeply nested arrays that explode exponentially using aliases).
|
1411
|
-
if (Array.isArray(keyNode)) {
|
1412
|
-
keyNode = Array.prototype.slice.call(keyNode);
|
1413
|
-
|
1414
|
-
for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
|
1415
|
-
if (Array.isArray(keyNode[index])) {
|
1416
|
-
throwError(state, 'nested arrays are not supported inside keys');
|
1417
|
-
}
|
1418
|
-
|
1419
|
-
if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {
|
1420
|
-
keyNode[index] = '[object Object]';
|
1421
|
-
}
|
1422
|
-
}
|
1423
|
-
}
|
1424
|
-
|
1425
|
-
// Avoid code execution in load() via toString property
|
1426
|
-
// (still use its own toString for arrays, timestamps,
|
1427
|
-
// and whatever user schema extensions happen to have @@toStringTag)
|
1428
|
-
if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {
|
1429
|
-
keyNode = '[object Object]';
|
1430
|
-
}
|
1431
|
-
|
1432
|
-
|
1433
|
-
keyNode = String(keyNode);
|
1434
|
-
|
1435
|
-
if (_result === null) {
|
1436
|
-
_result = {};
|
1437
|
-
}
|
1438
|
-
|
1439
|
-
if (keyTag === 'tag:yaml.org,2002:merge') {
|
1440
|
-
if (Array.isArray(valueNode)) {
|
1441
|
-
for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {
|
1442
|
-
mergeMappings(state, _result, valueNode[index], overridableKeys);
|
1443
|
-
}
|
1444
|
-
} else {
|
1445
|
-
mergeMappings(state, _result, valueNode, overridableKeys);
|
1446
|
-
}
|
1447
|
-
} else {
|
1448
|
-
if (!state.json &&
|
1449
|
-
!_hasOwnProperty$1.call(overridableKeys, keyNode) &&
|
1450
|
-
_hasOwnProperty$1.call(_result, keyNode)) {
|
1451
|
-
state.line = startLine || state.line;
|
1452
|
-
state.lineStart = startLineStart || state.lineStart;
|
1453
|
-
state.position = startPos || state.position;
|
1454
|
-
throwError(state, 'duplicated mapping key');
|
1455
|
-
}
|
1456
|
-
|
1457
|
-
// used for this specific key only because Object.defineProperty is slow
|
1458
|
-
if (keyNode === '__proto__') {
|
1459
|
-
Object.defineProperty(_result, keyNode, {
|
1460
|
-
configurable: true,
|
1461
|
-
enumerable: true,
|
1462
|
-
writable: true,
|
1463
|
-
value: valueNode
|
1464
|
-
});
|
1465
|
-
} else {
|
1466
|
-
_result[keyNode] = valueNode;
|
1467
|
-
}
|
1468
|
-
delete overridableKeys[keyNode];
|
1469
|
-
}
|
1470
|
-
|
1471
|
-
return _result;
|
1472
|
-
}
|
1473
|
-
|
1474
|
-
function readLineBreak(state) {
|
1475
|
-
var ch;
|
1476
|
-
|
1477
|
-
ch = state.input.charCodeAt(state.position);
|
1478
|
-
|
1479
|
-
if (ch === 0x0A/* LF */) {
|
1480
|
-
state.position++;
|
1481
|
-
} else if (ch === 0x0D/* CR */) {
|
1482
|
-
state.position++;
|
1483
|
-
if (state.input.charCodeAt(state.position) === 0x0A/* LF */) {
|
1484
|
-
state.position++;
|
1485
|
-
}
|
1486
|
-
} else {
|
1487
|
-
throwError(state, 'a line break is expected');
|
1488
|
-
}
|
1489
|
-
|
1490
|
-
state.line += 1;
|
1491
|
-
state.lineStart = state.position;
|
1492
|
-
state.firstTabInLine = -1;
|
1493
|
-
}
|
1494
|
-
|
1495
|
-
function skipSeparationSpace(state, allowComments, checkIndent) {
|
1496
|
-
var lineBreaks = 0,
|
1497
|
-
ch = state.input.charCodeAt(state.position);
|
1498
|
-
|
1499
|
-
while (ch !== 0) {
|
1500
|
-
while (is_WHITE_SPACE(ch)) {
|
1501
|
-
if (ch === 0x09/* Tab */ && state.firstTabInLine === -1) {
|
1502
|
-
state.firstTabInLine = state.position;
|
1503
|
-
}
|
1504
|
-
ch = state.input.charCodeAt(++state.position);
|
1505
|
-
}
|
1506
|
-
|
1507
|
-
if (allowComments && ch === 0x23/* # */) {
|
1508
|
-
do {
|
1509
|
-
ch = state.input.charCodeAt(++state.position);
|
1510
|
-
} while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);
|
1511
|
-
}
|
1512
|
-
|
1513
|
-
if (is_EOL(ch)) {
|
1514
|
-
readLineBreak(state);
|
1515
|
-
|
1516
|
-
ch = state.input.charCodeAt(state.position);
|
1517
|
-
lineBreaks++;
|
1518
|
-
state.lineIndent = 0;
|
1519
|
-
|
1520
|
-
while (ch === 0x20/* Space */) {
|
1521
|
-
state.lineIndent++;
|
1522
|
-
ch = state.input.charCodeAt(++state.position);
|
1523
|
-
}
|
1524
|
-
} else {
|
1525
|
-
break;
|
1526
|
-
}
|
1527
|
-
}
|
1528
|
-
|
1529
|
-
if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
|
1530
|
-
throwWarning(state, 'deficient indentation');
|
1531
|
-
}
|
1532
|
-
|
1533
|
-
return lineBreaks;
|
1534
|
-
}
|
1535
|
-
|
1536
|
-
function testDocumentSeparator(state) {
|
1537
|
-
var _position = state.position,
|
1538
|
-
ch;
|
1539
|
-
|
1540
|
-
ch = state.input.charCodeAt(_position);
|
1541
|
-
|
1542
|
-
// Condition state.position === state.lineStart is tested
|
1543
|
-
// in parent on each call, for efficiency. No needs to test here again.
|
1544
|
-
if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&
|
1545
|
-
ch === state.input.charCodeAt(_position + 1) &&
|
1546
|
-
ch === state.input.charCodeAt(_position + 2)) {
|
1547
|
-
|
1548
|
-
_position += 3;
|
1549
|
-
|
1550
|
-
ch = state.input.charCodeAt(_position);
|
1551
|
-
|
1552
|
-
if (ch === 0 || is_WS_OR_EOL(ch)) {
|
1553
|
-
return true;
|
1554
|
-
}
|
1555
|
-
}
|
1556
|
-
|
1557
|
-
return false;
|
1558
|
-
}
|
1559
|
-
|
1560
|
-
function writeFoldedLines(state, count) {
|
1561
|
-
if (count === 1) {
|
1562
|
-
state.result += ' ';
|
1563
|
-
} else if (count > 1) {
|
1564
|
-
state.result += common.repeat('\n', count - 1);
|
1565
|
-
}
|
1566
|
-
}
|
1567
|
-
|
1568
|
-
|
1569
|
-
function readPlainScalar(state, nodeIndent, withinFlowCollection) {
|
1570
|
-
var preceding,
|
1571
|
-
following,
|
1572
|
-
captureStart,
|
1573
|
-
captureEnd,
|
1574
|
-
hasPendingContent,
|
1575
|
-
_line,
|
1576
|
-
_lineStart,
|
1577
|
-
_lineIndent,
|
1578
|
-
_kind = state.kind,
|
1579
|
-
_result = state.result,
|
1580
|
-
ch;
|
1581
|
-
|
1582
|
-
ch = state.input.charCodeAt(state.position);
|
1583
|
-
|
1584
|
-
if (is_WS_OR_EOL(ch) ||
|
1585
|
-
is_FLOW_INDICATOR(ch) ||
|
1586
|
-
ch === 0x23/* # */ ||
|
1587
|
-
ch === 0x26/* & */ ||
|
1588
|
-
ch === 0x2A/* * */ ||
|
1589
|
-
ch === 0x21/* ! */ ||
|
1590
|
-
ch === 0x7C/* | */ ||
|
1591
|
-
ch === 0x3E/* > */ ||
|
1592
|
-
ch === 0x27/* ' */ ||
|
1593
|
-
ch === 0x22/* " */ ||
|
1594
|
-
ch === 0x25/* % */ ||
|
1595
|
-
ch === 0x40/* @ */ ||
|
1596
|
-
ch === 0x60/* ` */) {
|
1597
|
-
return false;
|
1598
|
-
}
|
1599
|
-
|
1600
|
-
if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {
|
1601
|
-
following = state.input.charCodeAt(state.position + 1);
|
1602
|
-
|
1603
|
-
if (is_WS_OR_EOL(following) ||
|
1604
|
-
withinFlowCollection && is_FLOW_INDICATOR(following)) {
|
1605
|
-
return false;
|
1606
|
-
}
|
1607
|
-
}
|
1608
|
-
|
1609
|
-
state.kind = 'scalar';
|
1610
|
-
state.result = '';
|
1611
|
-
captureStart = captureEnd = state.position;
|
1612
|
-
hasPendingContent = false;
|
1613
|
-
|
1614
|
-
while (ch !== 0) {
|
1615
|
-
if (ch === 0x3A/* : */) {
|
1616
|
-
following = state.input.charCodeAt(state.position + 1);
|
1617
|
-
|
1618
|
-
if (is_WS_OR_EOL(following) ||
|
1619
|
-
withinFlowCollection && is_FLOW_INDICATOR(following)) {
|
1620
|
-
break;
|
1621
|
-
}
|
1622
|
-
|
1623
|
-
} else if (ch === 0x23/* # */) {
|
1624
|
-
preceding = state.input.charCodeAt(state.position - 1);
|
1625
|
-
|
1626
|
-
if (is_WS_OR_EOL(preceding)) {
|
1627
|
-
break;
|
1628
|
-
}
|
1629
|
-
|
1630
|
-
} else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||
|
1631
|
-
withinFlowCollection && is_FLOW_INDICATOR(ch)) {
|
1632
|
-
break;
|
1633
|
-
|
1634
|
-
} else if (is_EOL(ch)) {
|
1635
|
-
_line = state.line;
|
1636
|
-
_lineStart = state.lineStart;
|
1637
|
-
_lineIndent = state.lineIndent;
|
1638
|
-
skipSeparationSpace(state, false, -1);
|
1639
|
-
|
1640
|
-
if (state.lineIndent >= nodeIndent) {
|
1641
|
-
hasPendingContent = true;
|
1642
|
-
ch = state.input.charCodeAt(state.position);
|
1643
|
-
continue;
|
1644
|
-
} else {
|
1645
|
-
state.position = captureEnd;
|
1646
|
-
state.line = _line;
|
1647
|
-
state.lineStart = _lineStart;
|
1648
|
-
state.lineIndent = _lineIndent;
|
1649
|
-
break;
|
1650
|
-
}
|
1651
|
-
}
|
1652
|
-
|
1653
|
-
if (hasPendingContent) {
|
1654
|
-
captureSegment(state, captureStart, captureEnd, false);
|
1655
|
-
writeFoldedLines(state, state.line - _line);
|
1656
|
-
captureStart = captureEnd = state.position;
|
1657
|
-
hasPendingContent = false;
|
1658
|
-
}
|
1659
|
-
|
1660
|
-
if (!is_WHITE_SPACE(ch)) {
|
1661
|
-
captureEnd = state.position + 1;
|
1662
|
-
}
|
1663
|
-
|
1664
|
-
ch = state.input.charCodeAt(++state.position);
|
1665
|
-
}
|
1666
|
-
|
1667
|
-
captureSegment(state, captureStart, captureEnd, false);
|
1668
|
-
|
1669
|
-
if (state.result) {
|
1670
|
-
return true;
|
1671
|
-
}
|
1672
|
-
|
1673
|
-
state.kind = _kind;
|
1674
|
-
state.result = _result;
|
1675
|
-
return false;
|
1676
|
-
}
|
1677
|
-
|
1678
|
-
function readSingleQuotedScalar(state, nodeIndent) {
|
1679
|
-
var ch,
|
1680
|
-
captureStart, captureEnd;
|
1681
|
-
|
1682
|
-
ch = state.input.charCodeAt(state.position);
|
1683
|
-
|
1684
|
-
if (ch !== 0x27/* ' */) {
|
1685
|
-
return false;
|
1686
|
-
}
|
1687
|
-
|
1688
|
-
state.kind = 'scalar';
|
1689
|
-
state.result = '';
|
1690
|
-
state.position++;
|
1691
|
-
captureStart = captureEnd = state.position;
|
1692
|
-
|
1693
|
-
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
1694
|
-
if (ch === 0x27/* ' */) {
|
1695
|
-
captureSegment(state, captureStart, state.position, true);
|
1696
|
-
ch = state.input.charCodeAt(++state.position);
|
1697
|
-
|
1698
|
-
if (ch === 0x27/* ' */) {
|
1699
|
-
captureStart = state.position;
|
1700
|
-
state.position++;
|
1701
|
-
captureEnd = state.position;
|
1702
|
-
} else {
|
1703
|
-
return true;
|
1704
|
-
}
|
1705
|
-
|
1706
|
-
} else if (is_EOL(ch)) {
|
1707
|
-
captureSegment(state, captureStart, captureEnd, true);
|
1708
|
-
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
1709
|
-
captureStart = captureEnd = state.position;
|
1710
|
-
|
1711
|
-
} else if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
1712
|
-
throwError(state, 'unexpected end of the document within a single quoted scalar');
|
1713
|
-
|
1714
|
-
} else {
|
1715
|
-
state.position++;
|
1716
|
-
captureEnd = state.position;
|
1717
|
-
}
|
1718
|
-
}
|
1719
|
-
|
1720
|
-
throwError(state, 'unexpected end of the stream within a single quoted scalar');
|
1721
|
-
}
|
1722
|
-
|
1723
|
-
function readDoubleQuotedScalar(state, nodeIndent) {
|
1724
|
-
var captureStart,
|
1725
|
-
captureEnd,
|
1726
|
-
hexLength,
|
1727
|
-
hexResult,
|
1728
|
-
tmp,
|
1729
|
-
ch;
|
1730
|
-
|
1731
|
-
ch = state.input.charCodeAt(state.position);
|
1732
|
-
|
1733
|
-
if (ch !== 0x22/* " */) {
|
1734
|
-
return false;
|
1735
|
-
}
|
1736
|
-
|
1737
|
-
state.kind = 'scalar';
|
1738
|
-
state.result = '';
|
1739
|
-
state.position++;
|
1740
|
-
captureStart = captureEnd = state.position;
|
1741
|
-
|
1742
|
-
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
1743
|
-
if (ch === 0x22/* " */) {
|
1744
|
-
captureSegment(state, captureStart, state.position, true);
|
1745
|
-
state.position++;
|
1746
|
-
return true;
|
1747
|
-
|
1748
|
-
} else if (ch === 0x5C/* \ */) {
|
1749
|
-
captureSegment(state, captureStart, state.position, true);
|
1750
|
-
ch = state.input.charCodeAt(++state.position);
|
1751
|
-
|
1752
|
-
if (is_EOL(ch)) {
|
1753
|
-
skipSeparationSpace(state, false, nodeIndent);
|
1754
|
-
|
1755
|
-
// TODO: rework to inline fn with no type cast?
|
1756
|
-
} else if (ch < 256 && simpleEscapeCheck[ch]) {
|
1757
|
-
state.result += simpleEscapeMap[ch];
|
1758
|
-
state.position++;
|
1759
|
-
|
1760
|
-
} else if ((tmp = escapedHexLen(ch)) > 0) {
|
1761
|
-
hexLength = tmp;
|
1762
|
-
hexResult = 0;
|
1763
|
-
|
1764
|
-
for (; hexLength > 0; hexLength--) {
|
1765
|
-
ch = state.input.charCodeAt(++state.position);
|
1766
|
-
|
1767
|
-
if ((tmp = fromHexCode(ch)) >= 0) {
|
1768
|
-
hexResult = (hexResult << 4) + tmp;
|
1769
|
-
|
1770
|
-
} else {
|
1771
|
-
throwError(state, 'expected hexadecimal character');
|
1772
|
-
}
|
1773
|
-
}
|
1774
|
-
|
1775
|
-
state.result += charFromCodepoint(hexResult);
|
1776
|
-
|
1777
|
-
state.position++;
|
1778
|
-
|
1779
|
-
} else {
|
1780
|
-
throwError(state, 'unknown escape sequence');
|
1781
|
-
}
|
1782
|
-
|
1783
|
-
captureStart = captureEnd = state.position;
|
1784
|
-
|
1785
|
-
} else if (is_EOL(ch)) {
|
1786
|
-
captureSegment(state, captureStart, captureEnd, true);
|
1787
|
-
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
1788
|
-
captureStart = captureEnd = state.position;
|
1789
|
-
|
1790
|
-
} else if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
1791
|
-
throwError(state, 'unexpected end of the document within a double quoted scalar');
|
1792
|
-
|
1793
|
-
} else {
|
1794
|
-
state.position++;
|
1795
|
-
captureEnd = state.position;
|
1796
|
-
}
|
1797
|
-
}
|
1798
|
-
|
1799
|
-
throwError(state, 'unexpected end of the stream within a double quoted scalar');
|
1800
|
-
}
|
1801
|
-
|
1802
|
-
function readFlowCollection(state, nodeIndent) {
|
1803
|
-
var readNext = true,
|
1804
|
-
_line,
|
1805
|
-
_lineStart,
|
1806
|
-
_pos,
|
1807
|
-
_tag = state.tag,
|
1808
|
-
_result,
|
1809
|
-
_anchor = state.anchor,
|
1810
|
-
following,
|
1811
|
-
terminator,
|
1812
|
-
isPair,
|
1813
|
-
isExplicitPair,
|
1814
|
-
isMapping,
|
1815
|
-
overridableKeys = Object.create(null),
|
1816
|
-
keyNode,
|
1817
|
-
keyTag,
|
1818
|
-
valueNode,
|
1819
|
-
ch;
|
1820
|
-
|
1821
|
-
ch = state.input.charCodeAt(state.position);
|
1822
|
-
|
1823
|
-
if (ch === 0x5B/* [ */) {
|
1824
|
-
terminator = 0x5D;/* ] */
|
1825
|
-
isMapping = false;
|
1826
|
-
_result = [];
|
1827
|
-
} else if (ch === 0x7B/* { */) {
|
1828
|
-
terminator = 0x7D;/* } */
|
1829
|
-
isMapping = true;
|
1830
|
-
_result = {};
|
1831
|
-
} else {
|
1832
|
-
return false;
|
1833
|
-
}
|
1834
|
-
|
1835
|
-
if (state.anchor !== null) {
|
1836
|
-
state.anchorMap[state.anchor] = _result;
|
1837
|
-
}
|
1838
|
-
|
1839
|
-
ch = state.input.charCodeAt(++state.position);
|
1840
|
-
|
1841
|
-
while (ch !== 0) {
|
1842
|
-
skipSeparationSpace(state, true, nodeIndent);
|
1843
|
-
|
1844
|
-
ch = state.input.charCodeAt(state.position);
|
1845
|
-
|
1846
|
-
if (ch === terminator) {
|
1847
|
-
state.position++;
|
1848
|
-
state.tag = _tag;
|
1849
|
-
state.anchor = _anchor;
|
1850
|
-
state.kind = isMapping ? 'mapping' : 'sequence';
|
1851
|
-
state.result = _result;
|
1852
|
-
return true;
|
1853
|
-
} else if (!readNext) {
|
1854
|
-
throwError(state, 'missed comma between flow collection entries');
|
1855
|
-
} else if (ch === 0x2C/* , */) {
|
1856
|
-
// "flow collection entries can never be completely empty", as per YAML 1.2, section 7.4
|
1857
|
-
throwError(state, "expected the node content, but found ','");
|
1858
|
-
}
|
1859
|
-
|
1860
|
-
keyTag = keyNode = valueNode = null;
|
1861
|
-
isPair = isExplicitPair = false;
|
1862
|
-
|
1863
|
-
if (ch === 0x3F/* ? */) {
|
1864
|
-
following = state.input.charCodeAt(state.position + 1);
|
1865
|
-
|
1866
|
-
if (is_WS_OR_EOL(following)) {
|
1867
|
-
isPair = isExplicitPair = true;
|
1868
|
-
state.position++;
|
1869
|
-
skipSeparationSpace(state, true, nodeIndent);
|
1870
|
-
}
|
1871
|
-
}
|
1872
|
-
|
1873
|
-
_line = state.line; // Save the current line.
|
1874
|
-
_lineStart = state.lineStart;
|
1875
|
-
_pos = state.position;
|
1876
|
-
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
1877
|
-
keyTag = state.tag;
|
1878
|
-
keyNode = state.result;
|
1879
|
-
skipSeparationSpace(state, true, nodeIndent);
|
1880
|
-
|
1881
|
-
ch = state.input.charCodeAt(state.position);
|
1882
|
-
|
1883
|
-
if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {
|
1884
|
-
isPair = true;
|
1885
|
-
ch = state.input.charCodeAt(++state.position);
|
1886
|
-
skipSeparationSpace(state, true, nodeIndent);
|
1887
|
-
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
1888
|
-
valueNode = state.result;
|
1889
|
-
}
|
1890
|
-
|
1891
|
-
if (isMapping) {
|
1892
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);
|
1893
|
-
} else if (isPair) {
|
1894
|
-
_result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));
|
1895
|
-
} else {
|
1896
|
-
_result.push(keyNode);
|
1897
|
-
}
|
1898
|
-
|
1899
|
-
skipSeparationSpace(state, true, nodeIndent);
|
1900
|
-
|
1901
|
-
ch = state.input.charCodeAt(state.position);
|
1902
|
-
|
1903
|
-
if (ch === 0x2C/* , */) {
|
1904
|
-
readNext = true;
|
1905
|
-
ch = state.input.charCodeAt(++state.position);
|
1906
|
-
} else {
|
1907
|
-
readNext = false;
|
1908
|
-
}
|
1909
|
-
}
|
1910
|
-
|
1911
|
-
throwError(state, 'unexpected end of the stream within a flow collection');
|
1912
|
-
}
|
1913
|
-
|
1914
|
-
function readBlockScalar(state, nodeIndent) {
|
1915
|
-
var captureStart,
|
1916
|
-
folding,
|
1917
|
-
chomping = CHOMPING_CLIP,
|
1918
|
-
didReadContent = false,
|
1919
|
-
detectedIndent = false,
|
1920
|
-
textIndent = nodeIndent,
|
1921
|
-
emptyLines = 0,
|
1922
|
-
atMoreIndented = false,
|
1923
|
-
tmp,
|
1924
|
-
ch;
|
1925
|
-
|
1926
|
-
ch = state.input.charCodeAt(state.position);
|
1927
|
-
|
1928
|
-
if (ch === 0x7C/* | */) {
|
1929
|
-
folding = false;
|
1930
|
-
} else if (ch === 0x3E/* > */) {
|
1931
|
-
folding = true;
|
1932
|
-
} else {
|
1933
|
-
return false;
|
1934
|
-
}
|
1935
|
-
|
1936
|
-
state.kind = 'scalar';
|
1937
|
-
state.result = '';
|
1938
|
-
|
1939
|
-
while (ch !== 0) {
|
1940
|
-
ch = state.input.charCodeAt(++state.position);
|
1941
|
-
|
1942
|
-
if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {
|
1943
|
-
if (CHOMPING_CLIP === chomping) {
|
1944
|
-
chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;
|
1945
|
-
} else {
|
1946
|
-
throwError(state, 'repeat of a chomping mode identifier');
|
1947
|
-
}
|
1948
|
-
|
1949
|
-
} else if ((tmp = fromDecimalCode(ch)) >= 0) {
|
1950
|
-
if (tmp === 0) {
|
1951
|
-
throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');
|
1952
|
-
} else if (!detectedIndent) {
|
1953
|
-
textIndent = nodeIndent + tmp - 1;
|
1954
|
-
detectedIndent = true;
|
1955
|
-
} else {
|
1956
|
-
throwError(state, 'repeat of an indentation width identifier');
|
1957
|
-
}
|
1958
|
-
|
1959
|
-
} else {
|
1960
|
-
break;
|
1961
|
-
}
|
1962
|
-
}
|
1963
|
-
|
1964
|
-
if (is_WHITE_SPACE(ch)) {
|
1965
|
-
do { ch = state.input.charCodeAt(++state.position); }
|
1966
|
-
while (is_WHITE_SPACE(ch));
|
1967
|
-
|
1968
|
-
if (ch === 0x23/* # */) {
|
1969
|
-
do { ch = state.input.charCodeAt(++state.position); }
|
1970
|
-
while (!is_EOL(ch) && (ch !== 0));
|
1971
|
-
}
|
1972
|
-
}
|
1973
|
-
|
1974
|
-
while (ch !== 0) {
|
1975
|
-
readLineBreak(state);
|
1976
|
-
state.lineIndent = 0;
|
1977
|
-
|
1978
|
-
ch = state.input.charCodeAt(state.position);
|
1979
|
-
|
1980
|
-
while ((!detectedIndent || state.lineIndent < textIndent) &&
|
1981
|
-
(ch === 0x20/* Space */)) {
|
1982
|
-
state.lineIndent++;
|
1983
|
-
ch = state.input.charCodeAt(++state.position);
|
1984
|
-
}
|
1985
|
-
|
1986
|
-
if (!detectedIndent && state.lineIndent > textIndent) {
|
1987
|
-
textIndent = state.lineIndent;
|
1988
|
-
}
|
1989
|
-
|
1990
|
-
if (is_EOL(ch)) {
|
1991
|
-
emptyLines++;
|
1992
|
-
continue;
|
1993
|
-
}
|
1994
|
-
|
1995
|
-
// End of the scalar.
|
1996
|
-
if (state.lineIndent < textIndent) {
|
1997
|
-
|
1998
|
-
// Perform the chomping.
|
1999
|
-
if (chomping === CHOMPING_KEEP) {
|
2000
|
-
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
2001
|
-
} else if (chomping === CHOMPING_CLIP) {
|
2002
|
-
if (didReadContent) { // i.e. only if the scalar is not empty.
|
2003
|
-
state.result += '\n';
|
2004
|
-
}
|
2005
|
-
}
|
2006
|
-
|
2007
|
-
// Break this `while` cycle and go to the funciton's epilogue.
|
2008
|
-
break;
|
2009
|
-
}
|
2010
|
-
|
2011
|
-
// Folded style: use fancy rules to handle line breaks.
|
2012
|
-
if (folding) {
|
2013
|
-
|
2014
|
-
// Lines starting with white space characters (more-indented lines) are not folded.
|
2015
|
-
if (is_WHITE_SPACE(ch)) {
|
2016
|
-
atMoreIndented = true;
|
2017
|
-
// except for the first content line (cf. Example 8.1)
|
2018
|
-
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
2019
|
-
|
2020
|
-
// End of more-indented block.
|
2021
|
-
} else if (atMoreIndented) {
|
2022
|
-
atMoreIndented = false;
|
2023
|
-
state.result += common.repeat('\n', emptyLines + 1);
|
2024
|
-
|
2025
|
-
// Just one line break - perceive as the same line.
|
2026
|
-
} else if (emptyLines === 0) {
|
2027
|
-
if (didReadContent) { // i.e. only if we have already read some scalar content.
|
2028
|
-
state.result += ' ';
|
2029
|
-
}
|
2030
|
-
|
2031
|
-
// Several line breaks - perceive as different lines.
|
2032
|
-
} else {
|
2033
|
-
state.result += common.repeat('\n', emptyLines);
|
2034
|
-
}
|
2035
|
-
|
2036
|
-
// Literal style: just add exact number of line breaks between content lines.
|
2037
|
-
} else {
|
2038
|
-
// Keep all line breaks except the header line break.
|
2039
|
-
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
2040
|
-
}
|
2041
|
-
|
2042
|
-
didReadContent = true;
|
2043
|
-
detectedIndent = true;
|
2044
|
-
emptyLines = 0;
|
2045
|
-
captureStart = state.position;
|
2046
|
-
|
2047
|
-
while (!is_EOL(ch) && (ch !== 0)) {
|
2048
|
-
ch = state.input.charCodeAt(++state.position);
|
2049
|
-
}
|
2050
|
-
|
2051
|
-
captureSegment(state, captureStart, state.position, false);
|
2052
|
-
}
|
2053
|
-
|
2054
|
-
return true;
|
2055
|
-
}
|
2056
|
-
|
2057
|
-
function readBlockSequence(state, nodeIndent) {
|
2058
|
-
var _line,
|
2059
|
-
_tag = state.tag,
|
2060
|
-
_anchor = state.anchor,
|
2061
|
-
_result = [],
|
2062
|
-
following,
|
2063
|
-
detected = false,
|
2064
|
-
ch;
|
2065
|
-
|
2066
|
-
// there is a leading tab before this token, so it can't be a block sequence/mapping;
|
2067
|
-
// it can still be flow sequence/mapping or a scalar
|
2068
|
-
if (state.firstTabInLine !== -1) return false;
|
2069
|
-
|
2070
|
-
if (state.anchor !== null) {
|
2071
|
-
state.anchorMap[state.anchor] = _result;
|
2072
|
-
}
|
2073
|
-
|
2074
|
-
ch = state.input.charCodeAt(state.position);
|
2075
|
-
|
2076
|
-
while (ch !== 0) {
|
2077
|
-
if (state.firstTabInLine !== -1) {
|
2078
|
-
state.position = state.firstTabInLine;
|
2079
|
-
throwError(state, 'tab characters must not be used in indentation');
|
2080
|
-
}
|
2081
|
-
|
2082
|
-
if (ch !== 0x2D/* - */) {
|
2083
|
-
break;
|
2084
|
-
}
|
2085
|
-
|
2086
|
-
following = state.input.charCodeAt(state.position + 1);
|
2087
|
-
|
2088
|
-
if (!is_WS_OR_EOL(following)) {
|
2089
|
-
break;
|
2090
|
-
}
|
2091
|
-
|
2092
|
-
detected = true;
|
2093
|
-
state.position++;
|
2094
|
-
|
2095
|
-
if (skipSeparationSpace(state, true, -1)) {
|
2096
|
-
if (state.lineIndent <= nodeIndent) {
|
2097
|
-
_result.push(null);
|
2098
|
-
ch = state.input.charCodeAt(state.position);
|
2099
|
-
continue;
|
2100
|
-
}
|
2101
|
-
}
|
2102
|
-
|
2103
|
-
_line = state.line;
|
2104
|
-
composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
|
2105
|
-
_result.push(state.result);
|
2106
|
-
skipSeparationSpace(state, true, -1);
|
2107
|
-
|
2108
|
-
ch = state.input.charCodeAt(state.position);
|
2109
|
-
|
2110
|
-
if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {
|
2111
|
-
throwError(state, 'bad indentation of a sequence entry');
|
2112
|
-
} else if (state.lineIndent < nodeIndent) {
|
2113
|
-
break;
|
2114
|
-
}
|
2115
|
-
}
|
2116
|
-
|
2117
|
-
if (detected) {
|
2118
|
-
state.tag = _tag;
|
2119
|
-
state.anchor = _anchor;
|
2120
|
-
state.kind = 'sequence';
|
2121
|
-
state.result = _result;
|
2122
|
-
return true;
|
2123
|
-
}
|
2124
|
-
return false;
|
2125
|
-
}
|
2126
|
-
|
2127
|
-
function readBlockMapping(state, nodeIndent, flowIndent) {
|
2128
|
-
var following,
|
2129
|
-
allowCompact,
|
2130
|
-
_line,
|
2131
|
-
_keyLine,
|
2132
|
-
_keyLineStart,
|
2133
|
-
_keyPos,
|
2134
|
-
_tag = state.tag,
|
2135
|
-
_anchor = state.anchor,
|
2136
|
-
_result = {},
|
2137
|
-
overridableKeys = Object.create(null),
|
2138
|
-
keyTag = null,
|
2139
|
-
keyNode = null,
|
2140
|
-
valueNode = null,
|
2141
|
-
atExplicitKey = false,
|
2142
|
-
detected = false,
|
2143
|
-
ch;
|
2144
|
-
|
2145
|
-
// there is a leading tab before this token, so it can't be a block sequence/mapping;
|
2146
|
-
// it can still be flow sequence/mapping or a scalar
|
2147
|
-
if (state.firstTabInLine !== -1) return false;
|
2148
|
-
|
2149
|
-
if (state.anchor !== null) {
|
2150
|
-
state.anchorMap[state.anchor] = _result;
|
2151
|
-
}
|
2152
|
-
|
2153
|
-
ch = state.input.charCodeAt(state.position);
|
2154
|
-
|
2155
|
-
while (ch !== 0) {
|
2156
|
-
if (!atExplicitKey && state.firstTabInLine !== -1) {
|
2157
|
-
state.position = state.firstTabInLine;
|
2158
|
-
throwError(state, 'tab characters must not be used in indentation');
|
2159
|
-
}
|
2160
|
-
|
2161
|
-
following = state.input.charCodeAt(state.position + 1);
|
2162
|
-
_line = state.line; // Save the current line.
|
2163
|
-
|
2164
|
-
//
|
2165
|
-
// Explicit notation case. There are two separate blocks:
|
2166
|
-
// first for the key (denoted by "?") and second for the value (denoted by ":")
|
2167
|
-
//
|
2168
|
-
if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {
|
2169
|
-
|
2170
|
-
if (ch === 0x3F/* ? */) {
|
2171
|
-
if (atExplicitKey) {
|
2172
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
|
2173
|
-
keyTag = keyNode = valueNode = null;
|
2174
|
-
}
|
2175
|
-
|
2176
|
-
detected = true;
|
2177
|
-
atExplicitKey = true;
|
2178
|
-
allowCompact = true;
|
2179
|
-
|
2180
|
-
} else if (atExplicitKey) {
|
2181
|
-
// i.e. 0x3A/* : */ === character after the explicit key.
|
2182
|
-
atExplicitKey = false;
|
2183
|
-
allowCompact = true;
|
2184
|
-
|
2185
|
-
} else {
|
2186
|
-
throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line');
|
2187
|
-
}
|
2188
|
-
|
2189
|
-
state.position += 1;
|
2190
|
-
ch = following;
|
2191
|
-
|
2192
|
-
//
|
2193
|
-
// Implicit notation case. Flow-style node as the key first, then ":", and the value.
|
2194
|
-
//
|
2195
|
-
} else {
|
2196
|
-
_keyLine = state.line;
|
2197
|
-
_keyLineStart = state.lineStart;
|
2198
|
-
_keyPos = state.position;
|
2199
|
-
|
2200
|
-
if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
|
2201
|
-
// Neither implicit nor explicit notation.
|
2202
|
-
// Reading is done. Go to the epilogue.
|
2203
|
-
break;
|
2204
|
-
}
|
2205
|
-
|
2206
|
-
if (state.line === _line) {
|
2207
|
-
ch = state.input.charCodeAt(state.position);
|
2208
|
-
|
2209
|
-
while (is_WHITE_SPACE(ch)) {
|
2210
|
-
ch = state.input.charCodeAt(++state.position);
|
2211
|
-
}
|
2212
|
-
|
2213
|
-
if (ch === 0x3A/* : */) {
|
2214
|
-
ch = state.input.charCodeAt(++state.position);
|
2215
|
-
|
2216
|
-
if (!is_WS_OR_EOL(ch)) {
|
2217
|
-
throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');
|
2218
|
-
}
|
2219
|
-
|
2220
|
-
if (atExplicitKey) {
|
2221
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
|
2222
|
-
keyTag = keyNode = valueNode = null;
|
2223
|
-
}
|
2224
|
-
|
2225
|
-
detected = true;
|
2226
|
-
atExplicitKey = false;
|
2227
|
-
allowCompact = false;
|
2228
|
-
keyTag = state.tag;
|
2229
|
-
keyNode = state.result;
|
2230
|
-
|
2231
|
-
} else if (detected) {
|
2232
|
-
throwError(state, 'can not read an implicit mapping pair; a colon is missed');
|
2233
|
-
|
2234
|
-
} else {
|
2235
|
-
state.tag = _tag;
|
2236
|
-
state.anchor = _anchor;
|
2237
|
-
return true; // Keep the result of `composeNode`.
|
2238
|
-
}
|
2239
|
-
|
2240
|
-
} else if (detected) {
|
2241
|
-
throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');
|
2242
|
-
|
2243
|
-
} else {
|
2244
|
-
state.tag = _tag;
|
2245
|
-
state.anchor = _anchor;
|
2246
|
-
return true; // Keep the result of `composeNode`.
|
2247
|
-
}
|
2248
|
-
}
|
2249
|
-
|
2250
|
-
//
|
2251
|
-
// Common reading code for both explicit and implicit notations.
|
2252
|
-
//
|
2253
|
-
if (state.line === _line || state.lineIndent > nodeIndent) {
|
2254
|
-
if (atExplicitKey) {
|
2255
|
-
_keyLine = state.line;
|
2256
|
-
_keyLineStart = state.lineStart;
|
2257
|
-
_keyPos = state.position;
|
2258
|
-
}
|
2259
|
-
|
2260
|
-
if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
|
2261
|
-
if (atExplicitKey) {
|
2262
|
-
keyNode = state.result;
|
2263
|
-
} else {
|
2264
|
-
valueNode = state.result;
|
2265
|
-
}
|
2266
|
-
}
|
2267
|
-
|
2268
|
-
if (!atExplicitKey) {
|
2269
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);
|
2270
|
-
keyTag = keyNode = valueNode = null;
|
2271
|
-
}
|
2272
|
-
|
2273
|
-
skipSeparationSpace(state, true, -1);
|
2274
|
-
ch = state.input.charCodeAt(state.position);
|
2275
|
-
}
|
2276
|
-
|
2277
|
-
if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {
|
2278
|
-
throwError(state, 'bad indentation of a mapping entry');
|
2279
|
-
} else if (state.lineIndent < nodeIndent) {
|
2280
|
-
break;
|
2281
|
-
}
|
2282
|
-
}
|
2283
|
-
|
2284
|
-
//
|
2285
|
-
// Epilogue.
|
2286
|
-
//
|
2287
|
-
|
2288
|
-
// Special case: last mapping's node contains only the key in explicit notation.
|
2289
|
-
if (atExplicitKey) {
|
2290
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
|
2291
|
-
}
|
2292
|
-
|
2293
|
-
// Expose the resulting mapping.
|
2294
|
-
if (detected) {
|
2295
|
-
state.tag = _tag;
|
2296
|
-
state.anchor = _anchor;
|
2297
|
-
state.kind = 'mapping';
|
2298
|
-
state.result = _result;
|
2299
|
-
}
|
2300
|
-
|
2301
|
-
return detected;
|
2302
|
-
}
|
2303
|
-
|
2304
|
-
function readTagProperty(state) {
|
2305
|
-
var _position,
|
2306
|
-
isVerbatim = false,
|
2307
|
-
isNamed = false,
|
2308
|
-
tagHandle,
|
2309
|
-
tagName,
|
2310
|
-
ch;
|
2311
|
-
|
2312
|
-
ch = state.input.charCodeAt(state.position);
|
2313
|
-
|
2314
|
-
if (ch !== 0x21/* ! */) return false;
|
2315
|
-
|
2316
|
-
if (state.tag !== null) {
|
2317
|
-
throwError(state, 'duplication of a tag property');
|
2318
|
-
}
|
2319
|
-
|
2320
|
-
ch = state.input.charCodeAt(++state.position);
|
2321
|
-
|
2322
|
-
if (ch === 0x3C/* < */) {
|
2323
|
-
isVerbatim = true;
|
2324
|
-
ch = state.input.charCodeAt(++state.position);
|
2325
|
-
|
2326
|
-
} else if (ch === 0x21/* ! */) {
|
2327
|
-
isNamed = true;
|
2328
|
-
tagHandle = '!!';
|
2329
|
-
ch = state.input.charCodeAt(++state.position);
|
2330
|
-
|
2331
|
-
} else {
|
2332
|
-
tagHandle = '!';
|
2333
|
-
}
|
2334
|
-
|
2335
|
-
_position = state.position;
|
2336
|
-
|
2337
|
-
if (isVerbatim) {
|
2338
|
-
do { ch = state.input.charCodeAt(++state.position); }
|
2339
|
-
while (ch !== 0 && ch !== 0x3E/* > */);
|
2340
|
-
|
2341
|
-
if (state.position < state.length) {
|
2342
|
-
tagName = state.input.slice(_position, state.position);
|
2343
|
-
ch = state.input.charCodeAt(++state.position);
|
2344
|
-
} else {
|
2345
|
-
throwError(state, 'unexpected end of the stream within a verbatim tag');
|
2346
|
-
}
|
2347
|
-
} else {
|
2348
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
2349
|
-
|
2350
|
-
if (ch === 0x21/* ! */) {
|
2351
|
-
if (!isNamed) {
|
2352
|
-
tagHandle = state.input.slice(_position - 1, state.position + 1);
|
2353
|
-
|
2354
|
-
if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
|
2355
|
-
throwError(state, 'named tag handle cannot contain such characters');
|
2356
|
-
}
|
2357
|
-
|
2358
|
-
isNamed = true;
|
2359
|
-
_position = state.position + 1;
|
2360
|
-
} else {
|
2361
|
-
throwError(state, 'tag suffix cannot contain exclamation marks');
|
2362
|
-
}
|
2363
|
-
}
|
2364
|
-
|
2365
|
-
ch = state.input.charCodeAt(++state.position);
|
2366
|
-
}
|
2367
|
-
|
2368
|
-
tagName = state.input.slice(_position, state.position);
|
2369
|
-
|
2370
|
-
if (PATTERN_FLOW_INDICATORS.test(tagName)) {
|
2371
|
-
throwError(state, 'tag suffix cannot contain flow indicator characters');
|
2372
|
-
}
|
2373
|
-
}
|
2374
|
-
|
2375
|
-
if (tagName && !PATTERN_TAG_URI.test(tagName)) {
|
2376
|
-
throwError(state, 'tag name cannot contain such characters: ' + tagName);
|
2377
|
-
}
|
2378
|
-
|
2379
|
-
try {
|
2380
|
-
tagName = decodeURIComponent(tagName);
|
2381
|
-
} catch (err) {
|
2382
|
-
throwError(state, 'tag name is malformed: ' + tagName);
|
2383
|
-
}
|
2384
|
-
|
2385
|
-
if (isVerbatim) {
|
2386
|
-
state.tag = tagName;
|
2387
|
-
|
2388
|
-
} else if (_hasOwnProperty$1.call(state.tagMap, tagHandle)) {
|
2389
|
-
state.tag = state.tagMap[tagHandle] + tagName;
|
2390
|
-
|
2391
|
-
} else if (tagHandle === '!') {
|
2392
|
-
state.tag = '!' + tagName;
|
2393
|
-
|
2394
|
-
} else if (tagHandle === '!!') {
|
2395
|
-
state.tag = 'tag:yaml.org,2002:' + tagName;
|
2396
|
-
|
2397
|
-
} else {
|
2398
|
-
throwError(state, 'undeclared tag handle "' + tagHandle + '"');
|
2399
|
-
}
|
2400
|
-
|
2401
|
-
return true;
|
2402
|
-
}
|
2403
|
-
|
2404
|
-
function readAnchorProperty(state) {
|
2405
|
-
var _position,
|
2406
|
-
ch;
|
2407
|
-
|
2408
|
-
ch = state.input.charCodeAt(state.position);
|
2409
|
-
|
2410
|
-
if (ch !== 0x26/* & */) return false;
|
2411
|
-
|
2412
|
-
if (state.anchor !== null) {
|
2413
|
-
throwError(state, 'duplication of an anchor property');
|
2414
|
-
}
|
2415
|
-
|
2416
|
-
ch = state.input.charCodeAt(++state.position);
|
2417
|
-
_position = state.position;
|
2418
|
-
|
2419
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
|
2420
|
-
ch = state.input.charCodeAt(++state.position);
|
2421
|
-
}
|
2422
|
-
|
2423
|
-
if (state.position === _position) {
|
2424
|
-
throwError(state, 'name of an anchor node must contain at least one character');
|
2425
|
-
}
|
2426
|
-
|
2427
|
-
state.anchor = state.input.slice(_position, state.position);
|
2428
|
-
return true;
|
2429
|
-
}
|
2430
|
-
|
2431
|
-
function readAlias(state) {
|
2432
|
-
var _position, alias,
|
2433
|
-
ch;
|
2434
|
-
|
2435
|
-
ch = state.input.charCodeAt(state.position);
|
2436
|
-
|
2437
|
-
if (ch !== 0x2A/* * */) return false;
|
2438
|
-
|
2439
|
-
ch = state.input.charCodeAt(++state.position);
|
2440
|
-
_position = state.position;
|
2441
|
-
|
2442
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
|
2443
|
-
ch = state.input.charCodeAt(++state.position);
|
2444
|
-
}
|
2445
|
-
|
2446
|
-
if (state.position === _position) {
|
2447
|
-
throwError(state, 'name of an alias node must contain at least one character');
|
2448
|
-
}
|
2449
|
-
|
2450
|
-
alias = state.input.slice(_position, state.position);
|
2451
|
-
|
2452
|
-
if (!_hasOwnProperty$1.call(state.anchorMap, alias)) {
|
2453
|
-
throwError(state, 'unidentified alias "' + alias + '"');
|
2454
|
-
}
|
2455
|
-
|
2456
|
-
state.result = state.anchorMap[alias];
|
2457
|
-
skipSeparationSpace(state, true, -1);
|
2458
|
-
return true;
|
2459
|
-
}
|
2460
|
-
|
2461
|
-
function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
|
2462
|
-
var allowBlockStyles,
|
2463
|
-
allowBlockScalars,
|
2464
|
-
allowBlockCollections,
|
2465
|
-
indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this<parent
|
2466
|
-
atNewLine = false,
|
2467
|
-
hasContent = false,
|
2468
|
-
typeIndex,
|
2469
|
-
typeQuantity,
|
2470
|
-
typeList,
|
2471
|
-
type,
|
2472
|
-
flowIndent,
|
2473
|
-
blockIndent;
|
2474
|
-
|
2475
|
-
if (state.listener !== null) {
|
2476
|
-
state.listener('open', state);
|
2477
|
-
}
|
2478
|
-
|
2479
|
-
state.tag = null;
|
2480
|
-
state.anchor = null;
|
2481
|
-
state.kind = null;
|
2482
|
-
state.result = null;
|
2483
|
-
|
2484
|
-
allowBlockStyles = allowBlockScalars = allowBlockCollections =
|
2485
|
-
CONTEXT_BLOCK_OUT === nodeContext ||
|
2486
|
-
CONTEXT_BLOCK_IN === nodeContext;
|
2487
|
-
|
2488
|
-
if (allowToSeek) {
|
2489
|
-
if (skipSeparationSpace(state, true, -1)) {
|
2490
|
-
atNewLine = true;
|
2491
|
-
|
2492
|
-
if (state.lineIndent > parentIndent) {
|
2493
|
-
indentStatus = 1;
|
2494
|
-
} else if (state.lineIndent === parentIndent) {
|
2495
|
-
indentStatus = 0;
|
2496
|
-
} else if (state.lineIndent < parentIndent) {
|
2497
|
-
indentStatus = -1;
|
2498
|
-
}
|
2499
|
-
}
|
2500
|
-
}
|
2501
|
-
|
2502
|
-
if (indentStatus === 1) {
|
2503
|
-
while (readTagProperty(state) || readAnchorProperty(state)) {
|
2504
|
-
if (skipSeparationSpace(state, true, -1)) {
|
2505
|
-
atNewLine = true;
|
2506
|
-
allowBlockCollections = allowBlockStyles;
|
2507
|
-
|
2508
|
-
if (state.lineIndent > parentIndent) {
|
2509
|
-
indentStatus = 1;
|
2510
|
-
} else if (state.lineIndent === parentIndent) {
|
2511
|
-
indentStatus = 0;
|
2512
|
-
} else if (state.lineIndent < parentIndent) {
|
2513
|
-
indentStatus = -1;
|
2514
|
-
}
|
2515
|
-
} else {
|
2516
|
-
allowBlockCollections = false;
|
2517
|
-
}
|
2518
|
-
}
|
2519
|
-
}
|
2520
|
-
|
2521
|
-
if (allowBlockCollections) {
|
2522
|
-
allowBlockCollections = atNewLine || allowCompact;
|
2523
|
-
}
|
2524
|
-
|
2525
|
-
if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
|
2526
|
-
if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
|
2527
|
-
flowIndent = parentIndent;
|
2528
|
-
} else {
|
2529
|
-
flowIndent = parentIndent + 1;
|
2530
|
-
}
|
2531
|
-
|
2532
|
-
blockIndent = state.position - state.lineStart;
|
2533
|
-
|
2534
|
-
if (indentStatus === 1) {
|
2535
|
-
if (allowBlockCollections &&
|
2536
|
-
(readBlockSequence(state, blockIndent) ||
|
2537
|
-
readBlockMapping(state, blockIndent, flowIndent)) ||
|
2538
|
-
readFlowCollection(state, flowIndent)) {
|
2539
|
-
hasContent = true;
|
2540
|
-
} else {
|
2541
|
-
if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||
|
2542
|
-
readSingleQuotedScalar(state, flowIndent) ||
|
2543
|
-
readDoubleQuotedScalar(state, flowIndent)) {
|
2544
|
-
hasContent = true;
|
2545
|
-
|
2546
|
-
} else if (readAlias(state)) {
|
2547
|
-
hasContent = true;
|
2548
|
-
|
2549
|
-
if (state.tag !== null || state.anchor !== null) {
|
2550
|
-
throwError(state, 'alias node should not have any properties');
|
2551
|
-
}
|
2552
|
-
|
2553
|
-
} else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
|
2554
|
-
hasContent = true;
|
2555
|
-
|
2556
|
-
if (state.tag === null) {
|
2557
|
-
state.tag = '?';
|
2558
|
-
}
|
2559
|
-
}
|
2560
|
-
|
2561
|
-
if (state.anchor !== null) {
|
2562
|
-
state.anchorMap[state.anchor] = state.result;
|
2563
|
-
}
|
2564
|
-
}
|
2565
|
-
} else if (indentStatus === 0) {
|
2566
|
-
// Special case: block sequences are allowed to have same indentation level as the parent.
|
2567
|
-
// http://www.yaml.org/spec/1.2/spec.html#id2799784
|
2568
|
-
hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
|
2569
|
-
}
|
2570
|
-
}
|
2571
|
-
|
2572
|
-
if (state.tag === null) {
|
2573
|
-
if (state.anchor !== null) {
|
2574
|
-
state.anchorMap[state.anchor] = state.result;
|
2575
|
-
}
|
2576
|
-
|
2577
|
-
} else if (state.tag === '?') {
|
2578
|
-
// Implicit resolving is not allowed for non-scalar types, and '?'
|
2579
|
-
// non-specific tag is only automatically assigned to plain scalars.
|
2580
|
-
//
|
2581
|
-
// We only need to check kind conformity in case user explicitly assigns '?'
|
2582
|
-
// tag, for example like this: "!<?> [0]"
|
2583
|
-
//
|
2584
|
-
if (state.result !== null && state.kind !== 'scalar') {
|
2585
|
-
throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
|
2586
|
-
}
|
2587
|
-
|
2588
|
-
for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
|
2589
|
-
type = state.implicitTypes[typeIndex];
|
2590
|
-
|
2591
|
-
if (type.resolve(state.result)) { // `state.result` updated in resolver if matched
|
2592
|
-
state.result = type.construct(state.result);
|
2593
|
-
state.tag = type.tag;
|
2594
|
-
if (state.anchor !== null) {
|
2595
|
-
state.anchorMap[state.anchor] = state.result;
|
2596
|
-
}
|
2597
|
-
break;
|
2598
|
-
}
|
2599
|
-
}
|
2600
|
-
} else if (state.tag !== '!') {
|
2601
|
-
if (_hasOwnProperty$1.call(state.typeMap[state.kind || 'fallback'], state.tag)) {
|
2602
|
-
type = state.typeMap[state.kind || 'fallback'][state.tag];
|
2603
|
-
} else {
|
2604
|
-
// looking for multi type
|
2605
|
-
type = null;
|
2606
|
-
typeList = state.typeMap.multi[state.kind || 'fallback'];
|
2607
|
-
|
2608
|
-
for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) {
|
2609
|
-
if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
|
2610
|
-
type = typeList[typeIndex];
|
2611
|
-
break;
|
2612
|
-
}
|
2613
|
-
}
|
2614
|
-
}
|
2615
|
-
|
2616
|
-
if (!type) {
|
2617
|
-
throwError(state, 'unknown tag !<' + state.tag + '>');
|
2618
|
-
}
|
2619
|
-
|
2620
|
-
if (state.result !== null && type.kind !== state.kind) {
|
2621
|
-
throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"');
|
2622
|
-
}
|
2623
|
-
|
2624
|
-
if (!type.resolve(state.result, state.tag)) { // `state.result` updated in resolver if matched
|
2625
|
-
throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');
|
2626
|
-
} else {
|
2627
|
-
state.result = type.construct(state.result, state.tag);
|
2628
|
-
if (state.anchor !== null) {
|
2629
|
-
state.anchorMap[state.anchor] = state.result;
|
2630
|
-
}
|
2631
|
-
}
|
2632
|
-
}
|
2633
|
-
|
2634
|
-
if (state.listener !== null) {
|
2635
|
-
state.listener('close', state);
|
2636
|
-
}
|
2637
|
-
return state.tag !== null || state.anchor !== null || hasContent;
|
2638
|
-
}
|
2639
|
-
|
2640
|
-
function readDocument(state) {
|
2641
|
-
var documentStart = state.position,
|
2642
|
-
_position,
|
2643
|
-
directiveName,
|
2644
|
-
directiveArgs,
|
2645
|
-
hasDirectives = false,
|
2646
|
-
ch;
|
2647
|
-
|
2648
|
-
state.version = null;
|
2649
|
-
state.checkLineBreaks = state.legacy;
|
2650
|
-
state.tagMap = Object.create(null);
|
2651
|
-
state.anchorMap = Object.create(null);
|
2652
|
-
|
2653
|
-
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
2654
|
-
skipSeparationSpace(state, true, -1);
|
2655
|
-
|
2656
|
-
ch = state.input.charCodeAt(state.position);
|
2657
|
-
|
2658
|
-
if (state.lineIndent > 0 || ch !== 0x25/* % */) {
|
2659
|
-
break;
|
2660
|
-
}
|
2661
|
-
|
2662
|
-
hasDirectives = true;
|
2663
|
-
ch = state.input.charCodeAt(++state.position);
|
2664
|
-
_position = state.position;
|
2665
|
-
|
2666
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
2667
|
-
ch = state.input.charCodeAt(++state.position);
|
2668
|
-
}
|
2669
|
-
|
2670
|
-
directiveName = state.input.slice(_position, state.position);
|
2671
|
-
directiveArgs = [];
|
2672
|
-
|
2673
|
-
if (directiveName.length < 1) {
|
2674
|
-
throwError(state, 'directive name must not be less than one character in length');
|
2675
|
-
}
|
2676
|
-
|
2677
|
-
while (ch !== 0) {
|
2678
|
-
while (is_WHITE_SPACE(ch)) {
|
2679
|
-
ch = state.input.charCodeAt(++state.position);
|
2680
|
-
}
|
2681
|
-
|
2682
|
-
if (ch === 0x23/* # */) {
|
2683
|
-
do { ch = state.input.charCodeAt(++state.position); }
|
2684
|
-
while (ch !== 0 && !is_EOL(ch));
|
2685
|
-
break;
|
2686
|
-
}
|
2687
|
-
|
2688
|
-
if (is_EOL(ch)) break;
|
2689
|
-
|
2690
|
-
_position = state.position;
|
2691
|
-
|
2692
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
2693
|
-
ch = state.input.charCodeAt(++state.position);
|
2694
|
-
}
|
2695
|
-
|
2696
|
-
directiveArgs.push(state.input.slice(_position, state.position));
|
2697
|
-
}
|
2698
|
-
|
2699
|
-
if (ch !== 0) readLineBreak(state);
|
2700
|
-
|
2701
|
-
if (_hasOwnProperty$1.call(directiveHandlers, directiveName)) {
|
2702
|
-
directiveHandlers[directiveName](state, directiveName, directiveArgs);
|
2703
|
-
} else {
|
2704
|
-
throwWarning(state, 'unknown document directive "' + directiveName + '"');
|
2705
|
-
}
|
2706
|
-
}
|
2707
|
-
|
2708
|
-
skipSeparationSpace(state, true, -1);
|
2709
|
-
|
2710
|
-
if (state.lineIndent === 0 &&
|
2711
|
-
state.input.charCodeAt(state.position) === 0x2D/* - */ &&
|
2712
|
-
state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&
|
2713
|
-
state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {
|
2714
|
-
state.position += 3;
|
2715
|
-
skipSeparationSpace(state, true, -1);
|
2716
|
-
|
2717
|
-
} else if (hasDirectives) {
|
2718
|
-
throwError(state, 'directives end mark is expected');
|
2719
|
-
}
|
2720
|
-
|
2721
|
-
composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
|
2722
|
-
skipSeparationSpace(state, true, -1);
|
2723
|
-
|
2724
|
-
if (state.checkLineBreaks &&
|
2725
|
-
PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
|
2726
|
-
throwWarning(state, 'non-ASCII line breaks are interpreted as content');
|
2727
|
-
}
|
2728
|
-
|
2729
|
-
state.documents.push(state.result);
|
2730
|
-
|
2731
|
-
if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
2732
|
-
|
2733
|
-
if (state.input.charCodeAt(state.position) === 0x2E/* . */) {
|
2734
|
-
state.position += 3;
|
2735
|
-
skipSeparationSpace(state, true, -1);
|
2736
|
-
}
|
2737
|
-
return;
|
2738
|
-
}
|
2739
|
-
|
2740
|
-
if (state.position < (state.length - 1)) {
|
2741
|
-
throwError(state, 'end of the stream or a document separator is expected');
|
2742
|
-
} else {
|
2743
|
-
return;
|
2744
|
-
}
|
2745
|
-
}
|
2746
|
-
|
2747
|
-
|
2748
|
-
function loadDocuments(input, options) {
|
2749
|
-
input = String(input);
|
2750
|
-
options = options || {};
|
2751
|
-
|
2752
|
-
if (input.length !== 0) {
|
2753
|
-
|
2754
|
-
// Add tailing `\n` if not exists
|
2755
|
-
if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&
|
2756
|
-
input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {
|
2757
|
-
input += '\n';
|
2758
|
-
}
|
2759
|
-
|
2760
|
-
// Strip BOM
|
2761
|
-
if (input.charCodeAt(0) === 0xFEFF) {
|
2762
|
-
input = input.slice(1);
|
2763
|
-
}
|
2764
|
-
}
|
2765
|
-
|
2766
|
-
var state = new State$1(input, options);
|
2767
|
-
|
2768
|
-
var nullpos = input.indexOf('\0');
|
2769
|
-
|
2770
|
-
if (nullpos !== -1) {
|
2771
|
-
state.position = nullpos;
|
2772
|
-
throwError(state, 'null byte is not allowed in input');
|
2773
|
-
}
|
2774
|
-
|
2775
|
-
// Use 0 as string terminator. That significantly simplifies bounds check.
|
2776
|
-
state.input += '\0';
|
2777
|
-
|
2778
|
-
while (state.input.charCodeAt(state.position) === 0x20/* Space */) {
|
2779
|
-
state.lineIndent += 1;
|
2780
|
-
state.position += 1;
|
2781
|
-
}
|
2782
|
-
|
2783
|
-
while (state.position < (state.length - 1)) {
|
2784
|
-
readDocument(state);
|
2785
|
-
}
|
2786
|
-
|
2787
|
-
return state.documents;
|
2788
|
-
}
|
2789
|
-
|
2790
|
-
|
2791
|
-
function loadAll$1(input, iterator, options) {
|
2792
|
-
if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {
|
2793
|
-
options = iterator;
|
2794
|
-
iterator = null;
|
2795
|
-
}
|
2796
|
-
|
2797
|
-
var documents = loadDocuments(input, options);
|
2798
|
-
|
2799
|
-
if (typeof iterator !== 'function') {
|
2800
|
-
return documents;
|
2801
|
-
}
|
2802
|
-
|
2803
|
-
for (var index = 0, length = documents.length; index < length; index += 1) {
|
2804
|
-
iterator(documents[index]);
|
2805
|
-
}
|
2806
|
-
}
|
2807
|
-
|
2808
|
-
|
2809
|
-
function load$1(input, options) {
|
2810
|
-
var documents = loadDocuments(input, options);
|
2811
|
-
|
2812
|
-
if (documents.length === 0) {
|
2813
|
-
/*eslint-disable no-undefined*/
|
2814
|
-
return undefined;
|
2815
|
-
} else if (documents.length === 1) {
|
2816
|
-
return documents[0];
|
2817
|
-
}
|
2818
|
-
throw new exception('expected a single document in the stream, but found more');
|
2819
|
-
}
|
2820
|
-
|
2821
|
-
|
2822
|
-
var loadAll_1 = loadAll$1;
|
2823
|
-
var load_1 = load$1;
|
2824
|
-
|
2825
|
-
var loader = {
|
2826
|
-
loadAll: loadAll_1,
|
2827
|
-
load: load_1
|
2828
|
-
};
|
2829
|
-
|
2830
|
-
/*eslint-disable no-use-before-define*/
|
2831
|
-
|
2832
|
-
|
2833
|
-
|
2834
|
-
|
2835
|
-
|
2836
|
-
var _toString = Object.prototype.toString;
|
2837
|
-
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
2838
|
-
|
2839
|
-
var CHAR_BOM = 0xFEFF;
|
2840
|
-
var CHAR_TAB = 0x09; /* Tab */
|
2841
|
-
var CHAR_LINE_FEED = 0x0A; /* LF */
|
2842
|
-
var CHAR_CARRIAGE_RETURN = 0x0D; /* CR */
|
2843
|
-
var CHAR_SPACE = 0x20; /* Space */
|
2844
|
-
var CHAR_EXCLAMATION = 0x21; /* ! */
|
2845
|
-
var CHAR_DOUBLE_QUOTE = 0x22; /* " */
|
2846
|
-
var CHAR_SHARP = 0x23; /* # */
|
2847
|
-
var CHAR_PERCENT = 0x25; /* % */
|
2848
|
-
var CHAR_AMPERSAND = 0x26; /* & */
|
2849
|
-
var CHAR_SINGLE_QUOTE = 0x27; /* ' */
|
2850
|
-
var CHAR_ASTERISK = 0x2A; /* * */
|
2851
|
-
var CHAR_COMMA = 0x2C; /* , */
|
2852
|
-
var CHAR_MINUS = 0x2D; /* - */
|
2853
|
-
var CHAR_COLON = 0x3A; /* : */
|
2854
|
-
var CHAR_EQUALS = 0x3D; /* = */
|
2855
|
-
var CHAR_GREATER_THAN = 0x3E; /* > */
|
2856
|
-
var CHAR_QUESTION = 0x3F; /* ? */
|
2857
|
-
var CHAR_COMMERCIAL_AT = 0x40; /* @ */
|
2858
|
-
var CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */
|
2859
|
-
var CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */
|
2860
|
-
var CHAR_GRAVE_ACCENT = 0x60; /* ` */
|
2861
|
-
var CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */
|
2862
|
-
var CHAR_VERTICAL_LINE = 0x7C; /* | */
|
2863
|
-
var CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */
|
2864
|
-
|
2865
|
-
var ESCAPE_SEQUENCES = {};
|
2866
|
-
|
2867
|
-
ESCAPE_SEQUENCES[0x00] = '\\0';
|
2868
|
-
ESCAPE_SEQUENCES[0x07] = '\\a';
|
2869
|
-
ESCAPE_SEQUENCES[0x08] = '\\b';
|
2870
|
-
ESCAPE_SEQUENCES[0x09] = '\\t';
|
2871
|
-
ESCAPE_SEQUENCES[0x0A] = '\\n';
|
2872
|
-
ESCAPE_SEQUENCES[0x0B] = '\\v';
|
2873
|
-
ESCAPE_SEQUENCES[0x0C] = '\\f';
|
2874
|
-
ESCAPE_SEQUENCES[0x0D] = '\\r';
|
2875
|
-
ESCAPE_SEQUENCES[0x1B] = '\\e';
|
2876
|
-
ESCAPE_SEQUENCES[0x22] = '\\"';
|
2877
|
-
ESCAPE_SEQUENCES[0x5C] = '\\\\';
|
2878
|
-
ESCAPE_SEQUENCES[0x85] = '\\N';
|
2879
|
-
ESCAPE_SEQUENCES[0xA0] = '\\_';
|
2880
|
-
ESCAPE_SEQUENCES[0x2028] = '\\L';
|
2881
|
-
ESCAPE_SEQUENCES[0x2029] = '\\P';
|
2882
|
-
|
2883
|
-
var DEPRECATED_BOOLEANS_SYNTAX = [
|
2884
|
-
'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON',
|
2885
|
-
'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'
|
2886
|
-
];
|
2887
|
-
|
2888
|
-
var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
2889
|
-
|
2890
|
-
function compileStyleMap(schema, map) {
|
2891
|
-
var result, keys, index, length, tag, style, type;
|
2892
|
-
|
2893
|
-
if (map === null) return {};
|
2894
|
-
|
2895
|
-
result = {};
|
2896
|
-
keys = Object.keys(map);
|
2897
|
-
|
2898
|
-
for (index = 0, length = keys.length; index < length; index += 1) {
|
2899
|
-
tag = keys[index];
|
2900
|
-
style = String(map[tag]);
|
2901
|
-
|
2902
|
-
if (tag.slice(0, 2) === '!!') {
|
2903
|
-
tag = 'tag:yaml.org,2002:' + tag.slice(2);
|
2904
|
-
}
|
2905
|
-
type = schema.compiledTypeMap['fallback'][tag];
|
2906
|
-
|
2907
|
-
if (type && _hasOwnProperty.call(type.styleAliases, style)) {
|
2908
|
-
style = type.styleAliases[style];
|
2909
|
-
}
|
2910
|
-
|
2911
|
-
result[tag] = style;
|
2912
|
-
}
|
2913
|
-
|
2914
|
-
return result;
|
2915
|
-
}
|
2916
|
-
|
2917
|
-
function encodeHex(character) {
|
2918
|
-
var string, handle, length;
|
2919
|
-
|
2920
|
-
string = character.toString(16).toUpperCase();
|
2921
|
-
|
2922
|
-
if (character <= 0xFF) {
|
2923
|
-
handle = 'x';
|
2924
|
-
length = 2;
|
2925
|
-
} else if (character <= 0xFFFF) {
|
2926
|
-
handle = 'u';
|
2927
|
-
length = 4;
|
2928
|
-
} else if (character <= 0xFFFFFFFF) {
|
2929
|
-
handle = 'U';
|
2930
|
-
length = 8;
|
2931
|
-
} else {
|
2932
|
-
throw new exception('code point within a string may not be greater than 0xFFFFFFFF');
|
2933
|
-
}
|
2934
|
-
|
2935
|
-
return '\\' + handle + common.repeat('0', length - string.length) + string;
|
2936
|
-
}
|
2937
|
-
|
2938
|
-
|
2939
|
-
var QUOTING_TYPE_SINGLE = 1,
|
2940
|
-
QUOTING_TYPE_DOUBLE = 2;
|
2941
|
-
|
2942
|
-
function State(options) {
|
2943
|
-
this.schema = options['schema'] || _default;
|
2944
|
-
this.indent = Math.max(1, (options['indent'] || 2));
|
2945
|
-
this.noArrayIndent = options['noArrayIndent'] || false;
|
2946
|
-
this.skipInvalid = options['skipInvalid'] || false;
|
2947
|
-
this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);
|
2948
|
-
this.styleMap = compileStyleMap(this.schema, options['styles'] || null);
|
2949
|
-
this.sortKeys = options['sortKeys'] || false;
|
2950
|
-
this.lineWidth = options['lineWidth'] || 80;
|
2951
|
-
this.noRefs = options['noRefs'] || false;
|
2952
|
-
this.noCompatMode = options['noCompatMode'] || false;
|
2953
|
-
this.condenseFlow = options['condenseFlow'] || false;
|
2954
|
-
this.quotingType = options['quotingType'] === '"' ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE;
|
2955
|
-
this.forceQuotes = options['forceQuotes'] || false;
|
2956
|
-
this.replacer = typeof options['replacer'] === 'function' ? options['replacer'] : null;
|
2957
|
-
|
2958
|
-
this.implicitTypes = this.schema.compiledImplicit;
|
2959
|
-
this.explicitTypes = this.schema.compiledExplicit;
|
2960
|
-
|
2961
|
-
this.tag = null;
|
2962
|
-
this.result = '';
|
2963
|
-
|
2964
|
-
this.duplicates = [];
|
2965
|
-
this.usedDuplicates = null;
|
2966
|
-
}
|
2967
|
-
|
2968
|
-
// Indents every line in a string. Empty lines (\n only) are not indented.
|
2969
|
-
function indentString(string, spaces) {
|
2970
|
-
var ind = common.repeat(' ', spaces),
|
2971
|
-
position = 0,
|
2972
|
-
next = -1,
|
2973
|
-
result = '',
|
2974
|
-
line,
|
2975
|
-
length = string.length;
|
2976
|
-
|
2977
|
-
while (position < length) {
|
2978
|
-
next = string.indexOf('\n', position);
|
2979
|
-
if (next === -1) {
|
2980
|
-
line = string.slice(position);
|
2981
|
-
position = length;
|
2982
|
-
} else {
|
2983
|
-
line = string.slice(position, next + 1);
|
2984
|
-
position = next + 1;
|
2985
|
-
}
|
2986
|
-
|
2987
|
-
if (line.length && line !== '\n') result += ind;
|
2988
|
-
|
2989
|
-
result += line;
|
2990
|
-
}
|
2991
|
-
|
2992
|
-
return result;
|
2993
|
-
}
|
2994
|
-
|
2995
|
-
function generateNextLine(state, level) {
|
2996
|
-
return '\n' + common.repeat(' ', state.indent * level);
|
2997
|
-
}
|
2998
|
-
|
2999
|
-
function testImplicitResolving(state, str) {
|
3000
|
-
var index, length, type;
|
3001
|
-
|
3002
|
-
for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {
|
3003
|
-
type = state.implicitTypes[index];
|
3004
|
-
|
3005
|
-
if (type.resolve(str)) {
|
3006
|
-
return true;
|
3007
|
-
}
|
3008
|
-
}
|
3009
|
-
|
3010
|
-
return false;
|
3011
|
-
}
|
3012
|
-
|
3013
|
-
// [33] s-white ::= s-space | s-tab
|
3014
|
-
function isWhitespace(c) {
|
3015
|
-
return c === CHAR_SPACE || c === CHAR_TAB;
|
3016
|
-
}
|
3017
|
-
|
3018
|
-
// Returns true if the character can be printed without escaping.
|
3019
|
-
// From YAML 1.2: "any allowed characters known to be non-printable
|
3020
|
-
// should also be escaped. [However,] This isn’t mandatory"
|
3021
|
-
// Derived from nb-char - \t - #x85 - #xA0 - #x2028 - #x2029.
|
3022
|
-
function isPrintable(c) {
|
3023
|
-
return (0x00020 <= c && c <= 0x00007E)
|
3024
|
-
|| ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029)
|
3025
|
-
|| ((0x0E000 <= c && c <= 0x00FFFD) && c !== CHAR_BOM)
|
3026
|
-
|| (0x10000 <= c && c <= 0x10FFFF);
|
3027
|
-
}
|
3028
|
-
|
3029
|
-
// [34] ns-char ::= nb-char - s-white
|
3030
|
-
// [27] nb-char ::= c-printable - b-char - c-byte-order-mark
|
3031
|
-
// [26] b-char ::= b-line-feed | b-carriage-return
|
3032
|
-
// Including s-white (for some reason, examples doesn't match specs in this aspect)
|
3033
|
-
// ns-char ::= c-printable - b-line-feed - b-carriage-return - c-byte-order-mark
|
3034
|
-
function isNsCharOrWhitespace(c) {
|
3035
|
-
return isPrintable(c)
|
3036
|
-
&& c !== CHAR_BOM
|
3037
|
-
// - b-char
|
3038
|
-
&& c !== CHAR_CARRIAGE_RETURN
|
3039
|
-
&& c !== CHAR_LINE_FEED;
|
3040
|
-
}
|
3041
|
-
|
3042
|
-
// [127] ns-plain-safe(c) ::= c = flow-out ⇒ ns-plain-safe-out
|
3043
|
-
// c = flow-in ⇒ ns-plain-safe-in
|
3044
|
-
// c = block-key ⇒ ns-plain-safe-out
|
3045
|
-
// c = flow-key ⇒ ns-plain-safe-in
|
3046
|
-
// [128] ns-plain-safe-out ::= ns-char
|
3047
|
-
// [129] ns-plain-safe-in ::= ns-char - c-flow-indicator
|
3048
|
-
// [130] ns-plain-char(c) ::= ( ns-plain-safe(c) - “:” - “#” )
|
3049
|
-
// | ( /* An ns-char preceding */ “#” )
|
3050
|
-
// | ( “:” /* Followed by an ns-plain-safe(c) */ )
|
3051
|
-
function isPlainSafe(c, prev, inblock) {
|
3052
|
-
var cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
|
3053
|
-
var cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
|
3054
|
-
return (
|
3055
|
-
// ns-plain-safe
|
3056
|
-
inblock ? // c = flow-in
|
3057
|
-
cIsNsCharOrWhitespace
|
3058
|
-
: cIsNsCharOrWhitespace
|
3059
|
-
// - c-flow-indicator
|
3060
|
-
&& c !== CHAR_COMMA
|
3061
|
-
&& c !== CHAR_LEFT_SQUARE_BRACKET
|
3062
|
-
&& c !== CHAR_RIGHT_SQUARE_BRACKET
|
3063
|
-
&& c !== CHAR_LEFT_CURLY_BRACKET
|
3064
|
-
&& c !== CHAR_RIGHT_CURLY_BRACKET
|
3065
|
-
)
|
3066
|
-
// ns-plain-char
|
3067
|
-
&& c !== CHAR_SHARP // false on '#'
|
3068
|
-
&& !(prev === CHAR_COLON && !cIsNsChar) // false on ': '
|
3069
|
-
|| (isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP) // change to true on '[^ ]#'
|
3070
|
-
|| (prev === CHAR_COLON && cIsNsChar); // change to true on ':[^ ]'
|
3071
|
-
}
|
3072
|
-
|
3073
|
-
// Simplified test for values allowed as the first character in plain style.
|
3074
|
-
function isPlainSafeFirst(c) {
|
3075
|
-
// Uses a subset of ns-char - c-indicator
|
3076
|
-
// where ns-char = nb-char - s-white.
|
3077
|
-
// No support of ( ( “?” | “:” | “-” ) /* Followed by an ns-plain-safe(c)) */ ) part
|
3078
|
-
return isPrintable(c) && c !== CHAR_BOM
|
3079
|
-
&& !isWhitespace(c) // - s-white
|
3080
|
-
// - (c-indicator ::=
|
3081
|
-
// “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}”
|
3082
|
-
&& c !== CHAR_MINUS
|
3083
|
-
&& c !== CHAR_QUESTION
|
3084
|
-
&& c !== CHAR_COLON
|
3085
|
-
&& c !== CHAR_COMMA
|
3086
|
-
&& c !== CHAR_LEFT_SQUARE_BRACKET
|
3087
|
-
&& c !== CHAR_RIGHT_SQUARE_BRACKET
|
3088
|
-
&& c !== CHAR_LEFT_CURLY_BRACKET
|
3089
|
-
&& c !== CHAR_RIGHT_CURLY_BRACKET
|
3090
|
-
// | “#” | “&” | “*” | “!” | “|” | “=” | “>” | “'” | “"”
|
3091
|
-
&& c !== CHAR_SHARP
|
3092
|
-
&& c !== CHAR_AMPERSAND
|
3093
|
-
&& c !== CHAR_ASTERISK
|
3094
|
-
&& c !== CHAR_EXCLAMATION
|
3095
|
-
&& c !== CHAR_VERTICAL_LINE
|
3096
|
-
&& c !== CHAR_EQUALS
|
3097
|
-
&& c !== CHAR_GREATER_THAN
|
3098
|
-
&& c !== CHAR_SINGLE_QUOTE
|
3099
|
-
&& c !== CHAR_DOUBLE_QUOTE
|
3100
|
-
// | “%” | “@” | “`”)
|
3101
|
-
&& c !== CHAR_PERCENT
|
3102
|
-
&& c !== CHAR_COMMERCIAL_AT
|
3103
|
-
&& c !== CHAR_GRAVE_ACCENT;
|
3104
|
-
}
|
3105
|
-
|
3106
|
-
// Simplified test for values allowed as the last character in plain style.
|
3107
|
-
function isPlainSafeLast(c) {
|
3108
|
-
// just not whitespace or colon, it will be checked to be plain character later
|
3109
|
-
return !isWhitespace(c) && c !== CHAR_COLON;
|
3110
|
-
}
|
3111
|
-
|
3112
|
-
// Same as 'string'.codePointAt(pos), but works in older browsers.
|
3113
|
-
function codePointAt(string, pos) {
|
3114
|
-
var first = string.charCodeAt(pos), second;
|
3115
|
-
if (first >= 0xD800 && first <= 0xDBFF && pos + 1 < string.length) {
|
3116
|
-
second = string.charCodeAt(pos + 1);
|
3117
|
-
if (second >= 0xDC00 && second <= 0xDFFF) {
|
3118
|
-
// https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
|
3119
|
-
return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;
|
3120
|
-
}
|
3121
|
-
}
|
3122
|
-
return first;
|
3123
|
-
}
|
3124
|
-
|
3125
|
-
// Determines whether block indentation indicator is required.
|
3126
|
-
function needIndentIndicator(string) {
|
3127
|
-
var leadingSpaceRe = /^\n* /;
|
3128
|
-
return leadingSpaceRe.test(string);
|
3129
|
-
}
|
3130
|
-
|
3131
|
-
var STYLE_PLAIN = 1,
|
3132
|
-
STYLE_SINGLE = 2,
|
3133
|
-
STYLE_LITERAL = 3,
|
3134
|
-
STYLE_FOLDED = 4,
|
3135
|
-
STYLE_DOUBLE = 5;
|
3136
|
-
|
3137
|
-
// Determines which scalar styles are possible and returns the preferred style.
|
3138
|
-
// lineWidth = -1 => no limit.
|
3139
|
-
// Pre-conditions: str.length > 0.
|
3140
|
-
// Post-conditions:
|
3141
|
-
// STYLE_PLAIN or STYLE_SINGLE => no \n are in the string.
|
3142
|
-
// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).
|
3143
|
-
// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1).
|
3144
|
-
function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth,
|
3145
|
-
testAmbiguousType, quotingType, forceQuotes, inblock) {
|
3146
|
-
|
3147
|
-
var i;
|
3148
|
-
var char = 0;
|
3149
|
-
var prevChar = null;
|
3150
|
-
var hasLineBreak = false;
|
3151
|
-
var hasFoldableLine = false; // only checked if shouldTrackWidth
|
3152
|
-
var shouldTrackWidth = lineWidth !== -1;
|
3153
|
-
var previousLineBreak = -1; // count the first line correctly
|
3154
|
-
var plain = isPlainSafeFirst(codePointAt(string, 0))
|
3155
|
-
&& isPlainSafeLast(codePointAt(string, string.length - 1));
|
3156
|
-
|
3157
|
-
if (singleLineOnly || forceQuotes) {
|
3158
|
-
// Case: no block styles.
|
3159
|
-
// Check for disallowed characters to rule out plain and single.
|
3160
|
-
for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {
|
3161
|
-
char = codePointAt(string, i);
|
3162
|
-
if (!isPrintable(char)) {
|
3163
|
-
return STYLE_DOUBLE;
|
3164
|
-
}
|
3165
|
-
plain = plain && isPlainSafe(char, prevChar, inblock);
|
3166
|
-
prevChar = char;
|
3167
|
-
}
|
3168
|
-
} else {
|
3169
|
-
// Case: block styles permitted.
|
3170
|
-
for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {
|
3171
|
-
char = codePointAt(string, i);
|
3172
|
-
if (char === CHAR_LINE_FEED) {
|
3173
|
-
hasLineBreak = true;
|
3174
|
-
// Check if any line can be folded.
|
3175
|
-
if (shouldTrackWidth) {
|
3176
|
-
hasFoldableLine = hasFoldableLine ||
|
3177
|
-
// Foldable line = too long, and not more-indented.
|
3178
|
-
(i - previousLineBreak - 1 > lineWidth &&
|
3179
|
-
string[previousLineBreak + 1] !== ' ');
|
3180
|
-
previousLineBreak = i;
|
3181
|
-
}
|
3182
|
-
} else if (!isPrintable(char)) {
|
3183
|
-
return STYLE_DOUBLE;
|
3184
|
-
}
|
3185
|
-
plain = plain && isPlainSafe(char, prevChar, inblock);
|
3186
|
-
prevChar = char;
|
3187
|
-
}
|
3188
|
-
// in case the end is missing a \n
|
3189
|
-
hasFoldableLine = hasFoldableLine || (shouldTrackWidth &&
|
3190
|
-
(i - previousLineBreak - 1 > lineWidth &&
|
3191
|
-
string[previousLineBreak + 1] !== ' '));
|
3192
|
-
}
|
3193
|
-
// Although every style can represent \n without escaping, prefer block styles
|
3194
|
-
// for multiline, since they're more readable and they don't add empty lines.
|
3195
|
-
// Also prefer folding a super-long line.
|
3196
|
-
if (!hasLineBreak && !hasFoldableLine) {
|
3197
|
-
// Strings interpretable as another type have to be quoted;
|
3198
|
-
// e.g. the string 'true' vs. the boolean true.
|
3199
|
-
if (plain && !forceQuotes && !testAmbiguousType(string)) {
|
3200
|
-
return STYLE_PLAIN;
|
3201
|
-
}
|
3202
|
-
return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
|
3203
|
-
}
|
3204
|
-
// Edge case: block indentation indicator can only have one digit.
|
3205
|
-
if (indentPerLevel > 9 && needIndentIndicator(string)) {
|
3206
|
-
return STYLE_DOUBLE;
|
3207
|
-
}
|
3208
|
-
// At this point we know block styles are valid.
|
3209
|
-
// Prefer literal style unless we want to fold.
|
3210
|
-
if (!forceQuotes) {
|
3211
|
-
return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
|
3212
|
-
}
|
3213
|
-
return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
|
3214
|
-
}
|
3215
|
-
|
3216
|
-
// Note: line breaking/folding is implemented for only the folded style.
|
3217
|
-
// NB. We drop the last trailing newline (if any) of a returned block scalar
|
3218
|
-
// since the dumper adds its own newline. This always works:
|
3219
|
-
// • No ending newline => unaffected; already using strip "-" chomping.
|
3220
|
-
// • Ending newline => removed then restored.
|
3221
|
-
// Importantly, this keeps the "+" chomp indicator from gaining an extra line.
|
3222
|
-
function writeScalar(state, string, level, iskey, inblock) {
|
3223
|
-
state.dump = (function () {
|
3224
|
-
if (string.length === 0) {
|
3225
|
-
return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''";
|
3226
|
-
}
|
3227
|
-
if (!state.noCompatMode) {
|
3228
|
-
if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) {
|
3229
|
-
return state.quotingType === QUOTING_TYPE_DOUBLE ? ('"' + string + '"') : ("'" + string + "'");
|
3230
|
-
}
|
3231
|
-
}
|
3232
|
-
|
3233
|
-
var indent = state.indent * Math.max(1, level); // no 0-indent scalars
|
3234
|
-
// As indentation gets deeper, let the width decrease monotonically
|
3235
|
-
// to the lower bound min(state.lineWidth, 40).
|
3236
|
-
// Note that this implies
|
3237
|
-
// state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound.
|
3238
|
-
// state.lineWidth > 40 + state.indent: width decreases until the lower bound.
|
3239
|
-
// This behaves better than a constant minimum width which disallows narrower options,
|
3240
|
-
// or an indent threshold which causes the width to suddenly increase.
|
3241
|
-
var lineWidth = state.lineWidth === -1
|
3242
|
-
? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
|
3243
|
-
|
3244
|
-
// Without knowing if keys are implicit/explicit, assume implicit for safety.
|
3245
|
-
var singleLineOnly = iskey
|
3246
|
-
// No block styles in flow mode.
|
3247
|
-
|| (state.flowLevel > -1 && level >= state.flowLevel);
|
3248
|
-
function testAmbiguity(string) {
|
3249
|
-
return testImplicitResolving(state, string);
|
3250
|
-
}
|
3251
|
-
|
3252
|
-
switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth,
|
3253
|
-
testAmbiguity, state.quotingType, state.forceQuotes && !iskey, inblock)) {
|
3254
|
-
|
3255
|
-
case STYLE_PLAIN:
|
3256
|
-
return string;
|
3257
|
-
case STYLE_SINGLE:
|
3258
|
-
return "'" + string.replace(/'/g, "''") + "'";
|
3259
|
-
case STYLE_LITERAL:
|
3260
|
-
return '|' + blockHeader(string, state.indent)
|
3261
|
-
+ dropEndingNewline(indentString(string, indent));
|
3262
|
-
case STYLE_FOLDED:
|
3263
|
-
return '>' + blockHeader(string, state.indent)
|
3264
|
-
+ dropEndingNewline(indentString(foldString(string, lineWidth), indent));
|
3265
|
-
case STYLE_DOUBLE:
|
3266
|
-
return '"' + escapeString(string) + '"';
|
3267
|
-
default:
|
3268
|
-
throw new exception('impossible error: invalid scalar style');
|
3269
|
-
}
|
3270
|
-
}());
|
3271
|
-
}
|
3272
|
-
|
3273
|
-
// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9.
|
3274
|
-
function blockHeader(string, indentPerLevel) {
|
3275
|
-
var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : '';
|
3276
|
-
|
3277
|
-
// note the special case: the string '\n' counts as a "trailing" empty line.
|
3278
|
-
var clip = string[string.length - 1] === '\n';
|
3279
|
-
var keep = clip && (string[string.length - 2] === '\n' || string === '\n');
|
3280
|
-
var chomp = keep ? '+' : (clip ? '' : '-');
|
3281
|
-
|
3282
|
-
return indentIndicator + chomp + '\n';
|
3283
|
-
}
|
3284
|
-
|
3285
|
-
// (See the note for writeScalar.)
|
3286
|
-
function dropEndingNewline(string) {
|
3287
|
-
return string[string.length - 1] === '\n' ? string.slice(0, -1) : string;
|
3288
|
-
}
|
3289
|
-
|
3290
|
-
// Note: a long line without a suitable break point will exceed the width limit.
|
3291
|
-
// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0.
|
3292
|
-
function foldString(string, width) {
|
3293
|
-
// In folded style, $k$ consecutive newlines output as $k+1$ newlines—
|
3294
|
-
// unless they're before or after a more-indented line, or at the very
|
3295
|
-
// beginning or end, in which case $k$ maps to $k$.
|
3296
|
-
// Therefore, parse each chunk as newline(s) followed by a content line.
|
3297
|
-
var lineRe = /(\n+)([^\n]*)/g;
|
3298
|
-
|
3299
|
-
// first line (possibly an empty line)
|
3300
|
-
var result = (function () {
|
3301
|
-
var nextLF = string.indexOf('\n');
|
3302
|
-
nextLF = nextLF !== -1 ? nextLF : string.length;
|
3303
|
-
lineRe.lastIndex = nextLF;
|
3304
|
-
return foldLine(string.slice(0, nextLF), width);
|
3305
|
-
}());
|
3306
|
-
// If we haven't reached the first content line yet, don't add an extra \n.
|
3307
|
-
var prevMoreIndented = string[0] === '\n' || string[0] === ' ';
|
3308
|
-
var moreIndented;
|
3309
|
-
|
3310
|
-
// rest of the lines
|
3311
|
-
var match;
|
3312
|
-
while ((match = lineRe.exec(string))) {
|
3313
|
-
var prefix = match[1], line = match[2];
|
3314
|
-
moreIndented = (line[0] === ' ');
|
3315
|
-
result += prefix
|
3316
|
-
+ (!prevMoreIndented && !moreIndented && line !== ''
|
3317
|
-
? '\n' : '')
|
3318
|
-
+ foldLine(line, width);
|
3319
|
-
prevMoreIndented = moreIndented;
|
3320
|
-
}
|
3321
|
-
|
3322
|
-
return result;
|
3323
|
-
}
|
3324
|
-
|
3325
|
-
// Greedy line breaking.
|
3326
|
-
// Picks the longest line under the limit each time,
|
3327
|
-
// otherwise settles for the shortest line over the limit.
|
3328
|
-
// NB. More-indented lines *cannot* be folded, as that would add an extra \n.
|
3329
|
-
function foldLine(line, width) {
|
3330
|
-
if (line === '' || line[0] === ' ') return line;
|
3331
|
-
|
3332
|
-
// Since a more-indented line adds a \n, breaks can't be followed by a space.
|
3333
|
-
var breakRe = / [^ ]/g; // note: the match index will always be <= length-2.
|
3334
|
-
var match;
|
3335
|
-
// start is an inclusive index. end, curr, and next are exclusive.
|
3336
|
-
var start = 0, end, curr = 0, next = 0;
|
3337
|
-
var result = '';
|
3338
|
-
|
3339
|
-
// Invariants: 0 <= start <= length-1.
|
3340
|
-
// 0 <= curr <= next <= max(0, length-2). curr - start <= width.
|
3341
|
-
// Inside the loop:
|
3342
|
-
// A match implies length >= 2, so curr and next are <= length-2.
|
3343
|
-
while ((match = breakRe.exec(line))) {
|
3344
|
-
next = match.index;
|
3345
|
-
// maintain invariant: curr - start <= width
|
3346
|
-
if (next - start > width) {
|
3347
|
-
end = (curr > start) ? curr : next; // derive end <= length-2
|
3348
|
-
result += '\n' + line.slice(start, end);
|
3349
|
-
// skip the space that was output as \n
|
3350
|
-
start = end + 1; // derive start <= length-1
|
3351
|
-
}
|
3352
|
-
curr = next;
|
3353
|
-
}
|
3354
|
-
|
3355
|
-
// By the invariants, start <= length-1, so there is something left over.
|
3356
|
-
// It is either the whole string or a part starting from non-whitespace.
|
3357
|
-
result += '\n';
|
3358
|
-
// Insert a break if the remainder is too long and there is a break available.
|
3359
|
-
if (line.length - start > width && curr > start) {
|
3360
|
-
result += line.slice(start, curr) + '\n' + line.slice(curr + 1);
|
3361
|
-
} else {
|
3362
|
-
result += line.slice(start);
|
3363
|
-
}
|
3364
|
-
|
3365
|
-
return result.slice(1); // drop extra \n joiner
|
3366
|
-
}
|
3367
|
-
|
3368
|
-
// Escapes a double-quoted string.
|
3369
|
-
function escapeString(string) {
|
3370
|
-
var result = '';
|
3371
|
-
var char = 0;
|
3372
|
-
var escapeSeq;
|
3373
|
-
|
3374
|
-
for (var i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {
|
3375
|
-
char = codePointAt(string, i);
|
3376
|
-
escapeSeq = ESCAPE_SEQUENCES[char];
|
3377
|
-
|
3378
|
-
if (!escapeSeq && isPrintable(char)) {
|
3379
|
-
result += string[i];
|
3380
|
-
if (char >= 0x10000) result += string[i + 1];
|
3381
|
-
} else {
|
3382
|
-
result += escapeSeq || encodeHex(char);
|
3383
|
-
}
|
3384
|
-
}
|
3385
|
-
|
3386
|
-
return result;
|
3387
|
-
}
|
3388
|
-
|
3389
|
-
function writeFlowSequence(state, level, object) {
|
3390
|
-
var _result = '',
|
3391
|
-
_tag = state.tag,
|
3392
|
-
index,
|
3393
|
-
length,
|
3394
|
-
value;
|
3395
|
-
|
3396
|
-
for (index = 0, length = object.length; index < length; index += 1) {
|
3397
|
-
value = object[index];
|
3398
|
-
|
3399
|
-
if (state.replacer) {
|
3400
|
-
value = state.replacer.call(object, String(index), value);
|
3401
|
-
}
|
3402
|
-
|
3403
|
-
// Write only valid elements, put null instead of invalid elements.
|
3404
|
-
if (writeNode(state, level, value, false, false) ||
|
3405
|
-
(typeof value === 'undefined' &&
|
3406
|
-
writeNode(state, level, null, false, false))) {
|
3407
|
-
|
3408
|
-
if (_result !== '') _result += ',' + (!state.condenseFlow ? ' ' : '');
|
3409
|
-
_result += state.dump;
|
3410
|
-
}
|
3411
|
-
}
|
3412
|
-
|
3413
|
-
state.tag = _tag;
|
3414
|
-
state.dump = '[' + _result + ']';
|
3415
|
-
}
|
3416
|
-
|
3417
|
-
function writeBlockSequence(state, level, object, compact) {
|
3418
|
-
var _result = '',
|
3419
|
-
_tag = state.tag,
|
3420
|
-
index,
|
3421
|
-
length,
|
3422
|
-
value;
|
3423
|
-
|
3424
|
-
for (index = 0, length = object.length; index < length; index += 1) {
|
3425
|
-
value = object[index];
|
3426
|
-
|
3427
|
-
if (state.replacer) {
|
3428
|
-
value = state.replacer.call(object, String(index), value);
|
3429
|
-
}
|
3430
|
-
|
3431
|
-
// Write only valid elements, put null instead of invalid elements.
|
3432
|
-
if (writeNode(state, level + 1, value, true, true, false, true) ||
|
3433
|
-
(typeof value === 'undefined' &&
|
3434
|
-
writeNode(state, level + 1, null, true, true, false, true))) {
|
3435
|
-
|
3436
|
-
if (!compact || _result !== '') {
|
3437
|
-
_result += generateNextLine(state, level);
|
3438
|
-
}
|
3439
|
-
|
3440
|
-
if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
|
3441
|
-
_result += '-';
|
3442
|
-
} else {
|
3443
|
-
_result += '- ';
|
3444
|
-
}
|
3445
|
-
|
3446
|
-
_result += state.dump;
|
3447
|
-
}
|
3448
|
-
}
|
3449
|
-
|
3450
|
-
state.tag = _tag;
|
3451
|
-
state.dump = _result || '[]'; // Empty sequence if no valid values.
|
3452
|
-
}
|
3453
|
-
|
3454
|
-
function writeFlowMapping(state, level, object) {
|
3455
|
-
var _result = '',
|
3456
|
-
_tag = state.tag,
|
3457
|
-
objectKeyList = Object.keys(object),
|
3458
|
-
index,
|
3459
|
-
length,
|
3460
|
-
objectKey,
|
3461
|
-
objectValue,
|
3462
|
-
pairBuffer;
|
3463
|
-
|
3464
|
-
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
|
3465
|
-
|
3466
|
-
pairBuffer = '';
|
3467
|
-
if (_result !== '') pairBuffer += ', ';
|
3468
|
-
|
3469
|
-
if (state.condenseFlow) pairBuffer += '"';
|
3470
|
-
|
3471
|
-
objectKey = objectKeyList[index];
|
3472
|
-
objectValue = object[objectKey];
|
3473
|
-
|
3474
|
-
if (state.replacer) {
|
3475
|
-
objectValue = state.replacer.call(object, objectKey, objectValue);
|
3476
|
-
}
|
3477
|
-
|
3478
|
-
if (!writeNode(state, level, objectKey, false, false)) {
|
3479
|
-
continue; // Skip this pair because of invalid key;
|
3480
|
-
}
|
3481
|
-
|
3482
|
-
if (state.dump.length > 1024) pairBuffer += '? ';
|
3483
|
-
|
3484
|
-
pairBuffer += state.dump + (state.condenseFlow ? '"' : '') + ':' + (state.condenseFlow ? '' : ' ');
|
3485
|
-
|
3486
|
-
if (!writeNode(state, level, objectValue, false, false)) {
|
3487
|
-
continue; // Skip this pair because of invalid value.
|
3488
|
-
}
|
3489
|
-
|
3490
|
-
pairBuffer += state.dump;
|
3491
|
-
|
3492
|
-
// Both key and value are valid.
|
3493
|
-
_result += pairBuffer;
|
3494
|
-
}
|
3495
|
-
|
3496
|
-
state.tag = _tag;
|
3497
|
-
state.dump = '{' + _result + '}';
|
3498
|
-
}
|
3499
|
-
|
3500
|
-
function writeBlockMapping(state, level, object, compact) {
|
3501
|
-
var _result = '',
|
3502
|
-
_tag = state.tag,
|
3503
|
-
objectKeyList = Object.keys(object),
|
3504
|
-
index,
|
3505
|
-
length,
|
3506
|
-
objectKey,
|
3507
|
-
objectValue,
|
3508
|
-
explicitPair,
|
3509
|
-
pairBuffer;
|
3510
|
-
|
3511
|
-
// Allow sorting keys so that the output file is deterministic
|
3512
|
-
if (state.sortKeys === true) {
|
3513
|
-
// Default sorting
|
3514
|
-
objectKeyList.sort();
|
3515
|
-
} else if (typeof state.sortKeys === 'function') {
|
3516
|
-
// Custom sort function
|
3517
|
-
objectKeyList.sort(state.sortKeys);
|
3518
|
-
} else if (state.sortKeys) {
|
3519
|
-
// Something is wrong
|
3520
|
-
throw new exception('sortKeys must be a boolean or a function');
|
3521
|
-
}
|
3522
|
-
|
3523
|
-
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
|
3524
|
-
pairBuffer = '';
|
3525
|
-
|
3526
|
-
if (!compact || _result !== '') {
|
3527
|
-
pairBuffer += generateNextLine(state, level);
|
3528
|
-
}
|
3529
|
-
|
3530
|
-
objectKey = objectKeyList[index];
|
3531
|
-
objectValue = object[objectKey];
|
3532
|
-
|
3533
|
-
if (state.replacer) {
|
3534
|
-
objectValue = state.replacer.call(object, objectKey, objectValue);
|
3535
|
-
}
|
3536
|
-
|
3537
|
-
if (!writeNode(state, level + 1, objectKey, true, true, true)) {
|
3538
|
-
continue; // Skip this pair because of invalid key.
|
3539
|
-
}
|
3540
|
-
|
3541
|
-
explicitPair = (state.tag !== null && state.tag !== '?') ||
|
3542
|
-
(state.dump && state.dump.length > 1024);
|
3543
|
-
|
3544
|
-
if (explicitPair) {
|
3545
|
-
if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
|
3546
|
-
pairBuffer += '?';
|
3547
|
-
} else {
|
3548
|
-
pairBuffer += '? ';
|
3549
|
-
}
|
3550
|
-
}
|
3551
|
-
|
3552
|
-
pairBuffer += state.dump;
|
3553
|
-
|
3554
|
-
if (explicitPair) {
|
3555
|
-
pairBuffer += generateNextLine(state, level);
|
3556
|
-
}
|
3557
|
-
|
3558
|
-
if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {
|
3559
|
-
continue; // Skip this pair because of invalid value.
|
3560
|
-
}
|
3561
|
-
|
3562
|
-
if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
|
3563
|
-
pairBuffer += ':';
|
3564
|
-
} else {
|
3565
|
-
pairBuffer += ': ';
|
3566
|
-
}
|
3567
|
-
|
3568
|
-
pairBuffer += state.dump;
|
3569
|
-
|
3570
|
-
// Both key and value are valid.
|
3571
|
-
_result += pairBuffer;
|
3572
|
-
}
|
3573
|
-
|
3574
|
-
state.tag = _tag;
|
3575
|
-
state.dump = _result || '{}'; // Empty mapping if no valid pairs.
|
3576
|
-
}
|
3577
|
-
|
3578
|
-
function detectType(state, object, explicit) {
|
3579
|
-
var _result, typeList, index, length, type, style;
|
3580
|
-
|
3581
|
-
typeList = explicit ? state.explicitTypes : state.implicitTypes;
|
3582
|
-
|
3583
|
-
for (index = 0, length = typeList.length; index < length; index += 1) {
|
3584
|
-
type = typeList[index];
|
3585
|
-
|
3586
|
-
if ((type.instanceOf || type.predicate) &&
|
3587
|
-
(!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) &&
|
3588
|
-
(!type.predicate || type.predicate(object))) {
|
3589
|
-
|
3590
|
-
if (explicit) {
|
3591
|
-
if (type.multi && type.representName) {
|
3592
|
-
state.tag = type.representName(object);
|
3593
|
-
} else {
|
3594
|
-
state.tag = type.tag;
|
3595
|
-
}
|
3596
|
-
} else {
|
3597
|
-
state.tag = '?';
|
3598
|
-
}
|
3599
|
-
|
3600
|
-
if (type.represent) {
|
3601
|
-
style = state.styleMap[type.tag] || type.defaultStyle;
|
3602
|
-
|
3603
|
-
if (_toString.call(type.represent) === '[object Function]') {
|
3604
|
-
_result = type.represent(object, style);
|
3605
|
-
} else if (_hasOwnProperty.call(type.represent, style)) {
|
3606
|
-
_result = type.represent[style](object, style);
|
3607
|
-
} else {
|
3608
|
-
throw new exception('!<' + type.tag + '> tag resolver accepts not "' + style + '" style');
|
3609
|
-
}
|
3610
|
-
|
3611
|
-
state.dump = _result;
|
3612
|
-
}
|
3613
|
-
|
3614
|
-
return true;
|
3615
|
-
}
|
3616
|
-
}
|
3617
|
-
|
3618
|
-
return false;
|
3619
|
-
}
|
3620
|
-
|
3621
|
-
// Serializes `object` and writes it to global `result`.
|
3622
|
-
// Returns true on success, or false on invalid object.
|
3623
|
-
//
|
3624
|
-
function writeNode(state, level, object, block, compact, iskey, isblockseq) {
|
3625
|
-
state.tag = null;
|
3626
|
-
state.dump = object;
|
3627
|
-
|
3628
|
-
if (!detectType(state, object, false)) {
|
3629
|
-
detectType(state, object, true);
|
3630
|
-
}
|
3631
|
-
|
3632
|
-
var type = _toString.call(state.dump);
|
3633
|
-
var inblock = block;
|
3634
|
-
var tagStr;
|
3635
|
-
|
3636
|
-
if (block) {
|
3637
|
-
block = (state.flowLevel < 0 || state.flowLevel > level);
|
3638
|
-
}
|
3639
|
-
|
3640
|
-
var objectOrArray = type === '[object Object]' || type === '[object Array]',
|
3641
|
-
duplicateIndex,
|
3642
|
-
duplicate;
|
3643
|
-
|
3644
|
-
if (objectOrArray) {
|
3645
|
-
duplicateIndex = state.duplicates.indexOf(object);
|
3646
|
-
duplicate = duplicateIndex !== -1;
|
3647
|
-
}
|
3648
|
-
|
3649
|
-
if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {
|
3650
|
-
compact = false;
|
3651
|
-
}
|
3652
|
-
|
3653
|
-
if (duplicate && state.usedDuplicates[duplicateIndex]) {
|
3654
|
-
state.dump = '*ref_' + duplicateIndex;
|
3655
|
-
} else {
|
3656
|
-
if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {
|
3657
|
-
state.usedDuplicates[duplicateIndex] = true;
|
3658
|
-
}
|
3659
|
-
if (type === '[object Object]') {
|
3660
|
-
if (block && (Object.keys(state.dump).length !== 0)) {
|
3661
|
-
writeBlockMapping(state, level, state.dump, compact);
|
3662
|
-
if (duplicate) {
|
3663
|
-
state.dump = '&ref_' + duplicateIndex + state.dump;
|
3664
|
-
}
|
3665
|
-
} else {
|
3666
|
-
writeFlowMapping(state, level, state.dump);
|
3667
|
-
if (duplicate) {
|
3668
|
-
state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;
|
3669
|
-
}
|
3670
|
-
}
|
3671
|
-
} else if (type === '[object Array]') {
|
3672
|
-
if (block && (state.dump.length !== 0)) {
|
3673
|
-
if (state.noArrayIndent && !isblockseq && level > 0) {
|
3674
|
-
writeBlockSequence(state, level - 1, state.dump, compact);
|
3675
|
-
} else {
|
3676
|
-
writeBlockSequence(state, level, state.dump, compact);
|
3677
|
-
}
|
3678
|
-
if (duplicate) {
|
3679
|
-
state.dump = '&ref_' + duplicateIndex + state.dump;
|
3680
|
-
}
|
3681
|
-
} else {
|
3682
|
-
writeFlowSequence(state, level, state.dump);
|
3683
|
-
if (duplicate) {
|
3684
|
-
state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;
|
3685
|
-
}
|
3686
|
-
}
|
3687
|
-
} else if (type === '[object String]') {
|
3688
|
-
if (state.tag !== '?') {
|
3689
|
-
writeScalar(state, state.dump, level, iskey, inblock);
|
3690
|
-
}
|
3691
|
-
} else if (type === '[object Undefined]') {
|
3692
|
-
return false;
|
3693
|
-
} else {
|
3694
|
-
if (state.skipInvalid) return false;
|
3695
|
-
throw new exception('unacceptable kind of an object to dump ' + type);
|
3696
|
-
}
|
3697
|
-
|
3698
|
-
if (state.tag !== null && state.tag !== '?') {
|
3699
|
-
// Need to encode all characters except those allowed by the spec:
|
3700
|
-
//
|
3701
|
-
// [35] ns-dec-digit ::= [#x30-#x39] /* 0-9 */
|
3702
|
-
// [36] ns-hex-digit ::= ns-dec-digit
|
3703
|
-
// | [#x41-#x46] /* A-F */ | [#x61-#x66] /* a-f */
|
3704
|
-
// [37] ns-ascii-letter ::= [#x41-#x5A] /* A-Z */ | [#x61-#x7A] /* a-z */
|
3705
|
-
// [38] ns-word-char ::= ns-dec-digit | ns-ascii-letter | “-”
|
3706
|
-
// [39] ns-uri-char ::= “%” ns-hex-digit ns-hex-digit | ns-word-char | “#”
|
3707
|
-
// | “;” | “/” | “?” | “:” | “@” | “&” | “=” | “+” | “$” | “,”
|
3708
|
-
// | “_” | “.” | “!” | “~” | “*” | “'” | “(” | “)” | “[” | “]”
|
3709
|
-
//
|
3710
|
-
// Also need to encode '!' because it has special meaning (end of tag prefix).
|
3711
|
-
//
|
3712
|
-
tagStr = encodeURI(
|
3713
|
-
state.tag[0] === '!' ? state.tag.slice(1) : state.tag
|
3714
|
-
).replace(/!/g, '%21');
|
3715
|
-
|
3716
|
-
if (state.tag[0] === '!') {
|
3717
|
-
tagStr = '!' + tagStr;
|
3718
|
-
} else if (tagStr.slice(0, 18) === 'tag:yaml.org,2002:') {
|
3719
|
-
tagStr = '!!' + tagStr.slice(18);
|
3720
|
-
} else {
|
3721
|
-
tagStr = '!<' + tagStr + '>';
|
3722
|
-
}
|
3723
|
-
|
3724
|
-
state.dump = tagStr + ' ' + state.dump;
|
3725
|
-
}
|
3726
|
-
}
|
3727
|
-
|
3728
|
-
return true;
|
3729
|
-
}
|
3730
|
-
|
3731
|
-
function getDuplicateReferences(object, state) {
|
3732
|
-
var objects = [],
|
3733
|
-
duplicatesIndexes = [],
|
3734
|
-
index,
|
3735
|
-
length;
|
3736
|
-
|
3737
|
-
inspectNode(object, objects, duplicatesIndexes);
|
3738
|
-
|
3739
|
-
for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {
|
3740
|
-
state.duplicates.push(objects[duplicatesIndexes[index]]);
|
3741
|
-
}
|
3742
|
-
state.usedDuplicates = new Array(length);
|
3743
|
-
}
|
3744
|
-
|
3745
|
-
function inspectNode(object, objects, duplicatesIndexes) {
|
3746
|
-
var objectKeyList,
|
3747
|
-
index,
|
3748
|
-
length;
|
3749
|
-
|
3750
|
-
if (object !== null && typeof object === 'object') {
|
3751
|
-
index = objects.indexOf(object);
|
3752
|
-
if (index !== -1) {
|
3753
|
-
if (duplicatesIndexes.indexOf(index) === -1) {
|
3754
|
-
duplicatesIndexes.push(index);
|
3755
|
-
}
|
3756
|
-
} else {
|
3757
|
-
objects.push(object);
|
3758
|
-
|
3759
|
-
if (Array.isArray(object)) {
|
3760
|
-
for (index = 0, length = object.length; index < length; index += 1) {
|
3761
|
-
inspectNode(object[index], objects, duplicatesIndexes);
|
3762
|
-
}
|
3763
|
-
} else {
|
3764
|
-
objectKeyList = Object.keys(object);
|
3765
|
-
|
3766
|
-
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
|
3767
|
-
inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);
|
3768
|
-
}
|
3769
|
-
}
|
3770
|
-
}
|
3771
|
-
}
|
3772
|
-
}
|
3773
|
-
|
3774
|
-
function dump$1(input, options) {
|
3775
|
-
options = options || {};
|
3776
|
-
|
3777
|
-
var state = new State(options);
|
3778
|
-
|
3779
|
-
if (!state.noRefs) getDuplicateReferences(input, state);
|
3780
|
-
|
3781
|
-
var value = input;
|
3782
|
-
|
3783
|
-
if (state.replacer) {
|
3784
|
-
value = state.replacer.call({ '': value }, '', value);
|
3785
|
-
}
|
3786
|
-
|
3787
|
-
if (writeNode(state, 0, value, true, true)) return state.dump + '\n';
|
3788
|
-
|
3789
|
-
return '';
|
3790
|
-
}
|
3791
|
-
|
3792
|
-
var dump_1 = dump$1;
|
3793
|
-
|
3794
|
-
var dumper = {
|
3795
|
-
dump: dump_1
|
3796
|
-
};
|
3797
|
-
|
3798
|
-
function renamed(from, to) {
|
3799
|
-
return function () {
|
3800
|
-
throw new Error('Function yaml.' + from + ' is removed in js-yaml 4. ' +
|
3801
|
-
'Use yaml.' + to + ' instead, which is now safe by default.');
|
3802
|
-
};
|
3803
|
-
}
|
3804
|
-
|
3805
|
-
|
3806
|
-
var Type = type;
|
3807
|
-
var Schema = schema;
|
3808
|
-
var FAILSAFE_SCHEMA = failsafe;
|
3809
|
-
var JSON_SCHEMA = json;
|
3810
|
-
var CORE_SCHEMA = core;
|
3811
|
-
var DEFAULT_SCHEMA = _default;
|
3812
|
-
var load = loader.load;
|
3813
|
-
var loadAll = loader.loadAll;
|
3814
|
-
var dump = dumper.dump;
|
3815
|
-
var YAMLException = exception;
|
3816
|
-
|
3817
|
-
// Re-export all types in case user wants to create custom schema
|
3818
|
-
var types = {
|
3819
|
-
binary: binary,
|
3820
|
-
float: float,
|
3821
|
-
map: map,
|
3822
|
-
null: _null,
|
3823
|
-
pairs: pairs,
|
3824
|
-
set: set,
|
3825
|
-
timestamp: timestamp,
|
3826
|
-
bool: bool,
|
3827
|
-
int: int,
|
3828
|
-
merge: merge,
|
3829
|
-
omap: omap,
|
3830
|
-
seq: seq,
|
3831
|
-
str: str
|
3832
|
-
};
|
3833
|
-
|
3834
|
-
// Removed functions from JS-YAML 3.0.x
|
3835
|
-
var safeLoad = renamed('safeLoad', 'load');
|
3836
|
-
var safeLoadAll = renamed('safeLoadAll', 'loadAll');
|
3837
|
-
var safeDump = renamed('safeDump', 'dump');
|
3838
|
-
|
3839
|
-
var jsYaml = {
|
3840
|
-
Type: Type,
|
3841
|
-
Schema: Schema,
|
3842
|
-
FAILSAFE_SCHEMA: FAILSAFE_SCHEMA,
|
3843
|
-
JSON_SCHEMA: JSON_SCHEMA,
|
3844
|
-
CORE_SCHEMA: CORE_SCHEMA,
|
3845
|
-
DEFAULT_SCHEMA: DEFAULT_SCHEMA,
|
3846
|
-
load: load,
|
3847
|
-
loadAll: loadAll,
|
3848
|
-
dump: dump,
|
3849
|
-
YAMLException: YAMLException,
|
3850
|
-
types: types,
|
3851
|
-
safeLoad: safeLoad,
|
3852
|
-
safeLoadAll: safeLoadAll,
|
3853
|
-
safeDump: safeDump
|
3854
|
-
};
|
3855
|
-
|
3856
|
-
exports.CORE_SCHEMA = CORE_SCHEMA;
|
3857
|
-
exports.DEFAULT_SCHEMA = DEFAULT_SCHEMA;
|
3858
|
-
exports.FAILSAFE_SCHEMA = FAILSAFE_SCHEMA;
|
3859
|
-
exports.JSON_SCHEMA = JSON_SCHEMA;
|
3860
|
-
exports.Schema = Schema;
|
3861
|
-
exports.Type = Type;
|
3862
|
-
exports.YAMLException = YAMLException;
|
3863
|
-
exports.default = jsYaml;
|
3864
|
-
exports.dump = dump;
|
3865
|
-
exports.load = load;
|
3866
|
-
exports.loadAll = loadAll;
|
3867
|
-
exports.safeDump = safeDump;
|
3868
|
-
exports.safeLoad = safeLoad;
|
3869
|
-
exports.safeLoadAll = safeLoadAll;
|
3870
|
-
exports.types = types;
|
3871
|
-
|
3872
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
3873
|
-
|
3874
|
-
})));
|