diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..6ea7820 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,4 @@ +## O que esse PR faz? (Obrigatório) + +## Link / Imagem para referencias (Obrigatório) +Add aqui links ou imagens da [API do Pagar.me](https://docs.pagar.me/reference) que justificaram a sua modificação para que seja revisado, posteriormente \ No newline at end of file diff --git a/README.md b/README.md index feb5631..370d9c4 100644 --- a/README.md +++ b/README.md @@ -3,24 +3,21 @@ [![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-) -A unofficial repository for adding typing / typescript compatibility for Pagar.me. +A **unofficial repository** for adding typing / typescript compatibility for Pagar.me JS Client. It's a **work in progress**. All type definition are take from the **[official documentation API Pagar.me V4](https://docs.pagar.me/reference)** and **[official pagarme-js documentation](https://pagarme.github.io/pagarme-js/)** -## What are declaration files? +## 🤔 How to use? -See the [TypeScript handbook](http://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html). -## How do I get them? - -### npm - -This is the preferred method. For example: +1. Install the package as `devDependencies` using `npm` or `yarn` ```sh npm install --save-dev pagarme-js-types ``` +2. Include the package into your `tsconfig.json` file + ```json // tsconfig.json ... @@ -32,9 +29,28 @@ npm install --save-dev pagarme-js-types See more in the [handbook](http://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html). +## 💪 How to contribute +Thanks for give support to this project. To contribute you need to create a fork of this repo and send a Pull Request. Every contributor is mentioned at [Contributors list](#Contributors) + +### Structure +All the code are in the `src` folder that follows the same location of Pagar.me lib. +Each *"module"* of Pagar.me lib is a folder that contains at least: + +- `namespace.ts`: declaration of functions inside of a module +- `options.ts`: interfaces of the functions options +- `response.ts`: interfaces of the functions responses + +Shared interfaces are in the folder called `common` in `src` root. + +### Commits +This projects uses [commit lint to checks commit message](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#type-enum) + +### Sending a PR +Just explains what you are changing and why. I will love if you sent where did you get this information too. Thanks 😍 + ## To do -You can create a PR to contribute for now these functions are typed: +You can create a PR to contribute, for now these functions are typed: ### Transactions diff --git a/index.d.ts b/index.d.ts deleted file mode 100644 index 62cac4c..0000000 --- a/index.d.ts +++ /dev/null @@ -1,1496 +0,0 @@ -declare module 'pagarme' { - export namespace client { - /** - * Returns a version of client with authentication data binded to the resource requests. - * - * @example - * // API Key Authentication - * pagarme.client.connect({ api_key: 'ak_test_y7jk294ynbzf93' }) - * - * // Encryption Key Authentication - * pagarme.client.connect({ encryption_key: 'ek_test_y7jk294ynbzf93' }) - * - * // Login Authentication - * pagarme.client.connect({ email: '', password: '' }) - * - * @param {Object} authentication - * @returns {Promise} A Promise that resolves to a client with authentication data binded - * - * References: - * - https://pagarme.github.io/pagarme-js/module-client.html#~connect - * - https://pagarme.github.io/pagarme-js/client_index.js.html#line88 - */ - function connect(authentication: { - api_key?: string; - encryption_key?: string; - email?: string; - password?: string; - }): Promise; - - function search( - query: Q - ): Promise< - SearchOutput< - Q extends { type: 'customer' } - ? Customer - : Q extends { type: 'transaction' } - ? Transaction - : Q extends { type: 'subscription' } - ? Subscription - : Q extends { type: 'bank_account' } - ? BankAccount - : T - > - >; - - function status(opts: any): any; - - function versions(opts: any): any; - - namespace acquirers { - function all(opts: any, pagination: any): any; - - function create(opts: any, body: any): any; - - function find(opts: any, body: any): any; - - function findAll(a0: any, a1: any, ...args: any[]): any; - - function update(opts: any, body: any): any; - } - - namespace acquirersConfigurations { - function all(opts: any, pagination: any): any; - - function create(opts: any, body: any): any; - - function find(opts: any, body: any): any; - - function findAll(a0: any, a1: any, ...args: any[]): any; - - function update(opts: any, body: any): any; - } - - namespace antifraudAnalyses { - function create(opts: any, body: any): any; - - function find(opts: any, body: any): any; - } - - namespace balance { - function find(opts: BalanceFindInput): Promise; - - function primary(opts: any): any; - } - - namespace balanceOperations { - function all(arg: FindAllBalanceOperations): Promise; - - function days(opts: any, body: any): any; - - function find(opts: any, body: any): any; - } - - namespace bankAccounts { - function all(opts: any, body: any): any; - - function create(opts: CreateContaBancaria): Promise; - - function find(opts: any): Promise; - } - - namespace bulkAnticipations { - function all(opts: any, body: any): any; - - function cancel(opts: any, body: any): any; - - function confirm(opts: any, body: any): any; - - function create(opts: any, body: any): any; - - function days(opts: any, body: any): any; - - function destroy(opts: any, body: any): any; - - function find(opts: any, body: any): any; - - function limits(opts: any, body: any): any; - - function update(opts: any, body: any): any; - } - - namespace cards { - function all(opts: any, pagination: any): any; - - function create(opts: any, body: any): any; - - function find(opts: any, body: any): any; - } - - namespace chargebackOperations { - function find(a0: any, a1: any, ...args: any[]): any; - } - - namespace chargebacks { - function find(opts: any, query: any): any; - } - - namespace company { - function activate(opts: any): any; - - function affiliationProgress(opts: any): any; - - function create(opts: any, body: any): any; - - function createTemporary(opts: any, body: any): any; - - function current(opts: any): any; - - function resetKeys(opts: any): any; - - function update(opts: any, body: any): any; - - function updateBranding(opts: any, body: any): any; - - namespace emailTemplates { - function find(opts: any, body: any): any; - - function update(opts: any, body: any): any; - } - } - - namespace customers { - function all(opts: any, body: any): Promise; - - function create(body: CustomerInput): Promise; - - function find(opts: any, body: any): Promise; - } - - namespace events { - function find(opts: any, body: any): any; - - function findCustom(opts: any, body: any): any; - } - - namespace gatewayOperations { - function find(opts: any, body: any): any; - - function refuseMessage(opts: any, body: any): any; - } - - namespace invites { - function all(opts: any): any; - - function create(opts: any, body: any): any; - - function destroy(opts: any, body: any): any; - - function find(opts: any, ...args: any[]): any; - } - - namespace orders { - function all(opts: any, body: any): any; - } - - namespace payables { - function all(args: FindRecebiveisArgs): Promise; - - function days(opts: any, body: any): any; - - function find(opts: FindRecebivelArg): Promise; - } - - namespace paymentLinks { - function all(opts: any, body: any): any; - - function cancel(opts: any, body: any): any; - - function create(opts: any, body: any): any; - - function find(opts: any, body: any): any; - } - - namespace plans { - function all(opts: any, pagination: any): any; - - function create(opts: any, body: any): any; - - function find(opts: any, body: any): any; - - function findAll(a0: any, a1: any, ...args: any[]): any; - - function update(opts: any, body: any): any; - } - - namespace postback { - function calculateSignature( - /** the keys used to sign the hash. */ - key: string, - /** The string to be hashed. */ - string: string - ): string; - - function verifySignature( - /** the keys used to sign the hash. */ - key: string, - /** The string to be hashed. */ - string: string, - /** The expected result. */ - expected: string - ): boolean; - } - - namespace postbacks { - function find(opts: any, body: any): any; - - function redeliver(opts: any, body: any): any; - } - - namespace recipients { - function all(opts: any, body: any): any; - - function create(opts: CreateRecebedor): Promise; - - function find(opts: any): any; - - function update(opts: UpdateRecebedor): Promise; - } - - namespace refunds { - function find(opts: any, body: RefundsArgs): Promise; - function cancel(opts: any, body: any): any; - } - - namespace reprocessedTransactions { - function find(opts: any, query: any): any; - } - - interface ICard { - card_holder_name: string; - card_expiration_date: string; - card_number: string; - card_cvv: string; - } - - namespace security { - function encrypt(card: ICard): Promise; - - function sign(opts: any, string: any): any; - - function verify(opts: any, string: any, expected: any): any; - } - - namespace session { - function create(opts: any, email: any, password: any): any; - - function destroy(opts: any, id: any): any; - - function verify(opts: any, payload: any): any; - } - - namespace splitRules { - function find(opts: any, body: any): any; - } - - namespace subscriptions { - function all(opts: any, body: any): any; - - function cancel(opts: any, body: any): any; - - function create(opts: any, body: any): any; - - function createTransaction(opts: any, body: any): any; - - function find(opts: any, body: any): any; - - function findAll(a0: any, a1: any, ...args: any[]): any; - - function findTransactions(opts: any, body: any): any; - - function settleCharge(opts: any, body: any): any; - - function update(opts: any, body: any): any; - } - - namespace transactions { - function all(opts: any, body: TransactionFindAll): Promise; - - function calculateInstallmentsAmount( - opts: any, - body: CalculateInstallmentsAmountInput - ): Promise; - - function capture(opts: CaptureArgs): Promise; - - function cardHashKey(opts: any): any; - - function collectPayment(opts: any, body: any): any; - - function create(opts: CreateTransactionInput): Promise; - - function find( - opts: any, - body: T - ): Promise; - - function refund( - opts: any, - body: TransactionRefundArgs - ): Promise; - - function reprocess(opts: any, body: any): any; - - function update(opts: any, body: any): any; - } - - namespace transfers { - function all(args: FindAllTransfersArgs): Promise; - - function cancel(opts: any, body: any): any; - - function create(opts: TransferenciaInput): Promise; - - function days(opts: any): any; - - function find(opts: any, body: any): any; - - function limits(opts: any, params: any): any; - } - - namespace user { - function all(opts: any, body: any): any; - - function create(opts: any, body: any): any; - - function current(opts: any): any; - - function destroy(opts: any, body: any): any; - - function find(opts: any, body: any): any; - - function redefinePassword(opts: any, body: any): any; - - function resetPassword(opts: any, body: any): any; - - function update(opts: any, body: any): any; - - function updatePassword(opts: any, body: any): any; - } - - namespace zipcodes { - function find(a0: any, a1: any, ...args: any[]): any; - } - } - - /** - * This method validates the properties supplied in the object. - * - * - * @param {Object} [body] An object that contains all properties to - * be validated. - * @param {(String|String[]|Number|Number[])} [body.cnpj] A CNPJ, or an array - * of CNPJs, to be - * validated. - * @param {(String|String[]|Number|Number[])} [body.cpf] A CPF, or an array of - * CPFs, to be - * validated. - * @param {(String|String[]|Number|Number[])} [body.ddd] A DDD, or an array of - * DDDs, to be validated. - * @param {(String|String[]|Number|Number[])} [body.zipcode] A zipcode, or an - * array of zipcodes, - * to be validated. - * @param {(String|String[]|Number|Number[])} [body.phone] A phone number, or - * an array of phones, - * to be validated. - * - * - * @param {Object|Object[]} [body.card] A card, or an array of cards, to be - * validated. - * @param {String} [body.card.card_holder_name] The card's holder name. - * @param {(String|Number)} [body.card.card_number] The card's number. - * @param {(String|Number)} [body.card.card_cvv] The card's CVV. - * @param {(String|Number)} [body.card.card_expiration_date] The card's - * expiratation date. - * - * @returns {Object} An object that returns each of the supplied properties - * with true or false, indicating if the supplied value is valid - * or invalid. - * - * References: - * - https://pagarme.github.io/pagarme-js/module-validations.html - * - https://pagarme.github.io/pagarme-js/validations_index.js.html#line69 - */ - export function validate(body: { - cnpj?: string | string[] | number | number[]; - cpf?: string | string[] | number | number[]; - ddd?: string | string[] | number | number[]; - zipcode?: string | string[] | number | number[]; - phone?: string | string[] | number | number[]; - card?: { - card_holder_name: string; - card_number: string | number; - card_cvv: string | number; - card_expiration_date: string | number; - }; - }): { - cnpj?: boolean; - cpf?: boolean; - ddd?: boolean; - zipcode?: boolean; - phone?: boolean; - card?: { - brand: string; - card_holder_name: boolean; - card_number: boolean; - card_cvv: boolean; - card_expiration_date: boolean; - }; - }; - - export interface RefundsArgs { - /** Filtro pelo ID da transação */ - transaction_id?: string; - /** - * Filtro pela data de criação do estorno - * - * É importante notar que serão retornados apenas os dados referentes a estornos criados à partir de 08/05/2017. - * */ - date_created?: string; - /** Filtro pela data de atualização do estorno */ - date_updated?: string; - } - export interface Refund { - object: 'refund'; - /** Número identificador do estorno. */ - id: string; - /** Valor, em centavos, do estorno. Exemplo: R$100,00 = 10000 */ - amount: number; - /** Tipo de pagamento da transação estornada. */ - type: 'credit_card' | 'debit_card' | 'boleto'; - /** Representa o estado do estorno. */ - status: 'refunded' | 'pending_refund'; - /** Número identificador do recebedor responsável pela taxa de processamento. */ - charge_fee_recipient_id: string; - /** Número identificador da conta bancária de destino do estorno. */ - bank_account_id: number; - /** Número identificador da transação estornada. */ - transaction_id: number; - /** Data de criação do estorno no formato ISODate */ - date_created: string; - /** Objeto com dados adicionais informados na criação do estorno. */ - metadata: JSON; - } - - export interface Address { - /** País. Duas letras minúsculas. Deve seguir o padrão `ISO 3166-1 alpha-2` */ - country: string; - /** Estado */ - state: string; - /** Cidade */ - city: string; - /** Rua */ - street: string; - /** Número */ - street_number: string; - /** Cidade */ - zipcode: string; - /** Bairro */ - neighborhood?: string; - /** Complemento. **Não pode ser uma string vazia** nem null */ - complementary: string; - } - - export type CustomerType = 'individual' | 'corporation' | 'other'; - export type DocumentType = 'cpf' | 'cnpj' | 'passaporte' | 'other'; - - export interface Document { - /** Tipo de documento. Para compradores brasileiros, deve ser fornecido ao menos um CPF (no caso de pessoa física, i.e. `individual`) ou CNPJ (no caso de pessoa jurídica, i.e. `corporation`). Para compradores internacionais, o documento pode ser um passaporte (type `passport`) ou um campo personalizado (type `other`). */ - type: DocumentType; - /** Número do documento */ - number: string; - } - - export interface CustomerInput { - external_id: string; - /** Nome ou razão social do comprador */ - name: string; - /** Tipo de documento. Deve ser `individual` para pessoa física ou `corporation` para pessoa jurídica */ - type: CustomerType; - /** País */ - country: Country; - /** E-mail do comprador */ - email: string; - /** Documento. Contém campos type para tipo de documento e number para número do documento. */ - documents: Document[]; - /** Números de telefone. Requer ao menos um valor. Deve seguir o padrão *E.164* */ - phone_numbers: string[]; - /** Data de nascimento */ - birthday?: string; - } - - export interface Customer extends CustomerInput { - /** Identificador do cliente na loja */ - id: string; - /** Lista dos telefones relacionados ao cliente */ - phones: string[]; - /** Lista de endereços relacionados ao cliente */ - addresses: Address[]; - } - - export interface ShippingInput { - /** Nome da entidade de cobrança */ - name: string; - /** Taxa de envio cobrada do comprador. Por exemplo, se a taxa de envio é de dez reais e três centavos (R$10,03), o valor deve ser fornecido como ‘1003’ */ - fee: number; - /** Data de entrega. Estimativa fornecida no formato AAAA-MM-DD */ - delivery_date?: string; - /** Entrega expressa. Se for entrega expressa, deve conter ‘true’ (sim). Caso contrário, deve conter ‘false’ (não) */ - expedited?: boolean; - /** Obrigatório. Dados do endereço de envio. Objeto descrito aqui. */ - address: Address; - } - - export interface ItemInput { - /** SKU (unidade de manutenção de estoque) ou número de identificação na loja */ - id: string; - /** Nome do item vendido. */ - title: string; - /** Preço por unidade. Por exemplo, se o preço de cada item é vinte reais e seis centavos (R$20,06), o valor deve ser fornecido como ‘2006’ */ - unit_price: number; - /** Número de unidades vendidas do produto */ - quantity: number; - /** Caracteriza o produto como bem físico ou não. Por bem físico, entende-se produtos que devem ser enviados fisicamente ao comprador, como calçados, eletrônicos e brinquedos. Se for um bem físico deve conter true (sim). Caso contrário, deve conter false (não) */ - tangible: boolean; - /** Categoria */ - category?: string; - /** Local */ - venue?: string; - /** Data Estimativa fornecida no formato AAAA-MM-DD */ - date?: string; - } - - export interface CreateTransactionPixInput { - payment_method: 'pix'; - /** Deve ser informada a data de expiração do Pix. Aceitaremos os - formatos ISO 8601 (YYYY-MM-DD) para Pix com expiração até o fim do dia e RFC3339 - (YYYY-MM-DDThh:mm:ss) quando o Pix deva ser encerrado em algum horário específico - do dia */ - pix_expiration_date: string; - /** campos que serão exibidos como soft descriptors ao pagador */ - pix_additional_fields: { - name: string; - value: string; - }[]; - } - - export interface CreateTransactionBoletoInput { - payment_method: 'boleto'; - boleto_fine?: { - /** Dias após a expiração do boleto quando a multa deve ser cobrada. */ - days?: string; - /** Valor em centavos da multa. **Valor máximo de 2% do valor do documento.** */ - amount?: string; - }; - boleto_interest?: { - /** Dias após a expiração do boleto quando o juros deve ser cobrado. */ - days?: string; - /** Valor em porcentagem da taxa de juros que será cobrado por dia. **Valor máximo de 1% ao mês.** */ - amount?: string; - }; - /** Prazo limite para pagamento do boleto. Deve ser passado no formato yyyy-MM-dd.Default: data atual + 7 dias */ - boleto_expiration_date?: string; - /** Campo instruções do boleto. Máximo de 255 caracteres */ - boleto_instructions?: string; - } - - export interface CreateTransactionCreditCartInputBase { - payment_method: 'credit_card'; - } - - export interface CreateTransactionCreditCartInputWithHash { - /** Informações do cartão do cliente criptografadas em sua aplicação. **OBS: apenas para transações de Cartão de crédito você deve passar o `card_hash` ou `card_id`. Caso inclua os dados do cartão diretamente pelo código, esse campo torna-se dispensável.** */ - card_hash: string; - } - - export interface CreateTransactionCreditCartInputWitId { - /** Ao realizar uma transação, retornamos o card_id do cartão, para que nas próximas transações ele possa ser utilizado como forma de identificar os dados de pagamento. Exemplo de utilização: One-click buy. OBS: apenas para transações de Cartão de crédito você deve passar o card_hash ou card_id. Caso inclua os dados do cartão diretamente pelo código, esse campo torna-se dispensável. */ - card_id: string; - } - - export interface CreateTransactionCreditCartInputWitData { - /** Nome do portador do cartão. */ - card_holder_name: string; - /** Data de validade do cartão no formato MMAA. */ - card_expiration_date: string; - /** Número do cartão. */ - card_number: string; - /** Código verificador do cartão. */ - card_cvv: string; - } - - export type CreateTransactionCreditCartInput = CreateTransactionCreditCartInputBase & - ( - | CreateTransactionCreditCartInputWitData - | CreateTransactionCreditCartInputWithHash - | CreateTransactionCreditCartInputWitId - ); - - interface CreateTransactionInputBase { - /** Valor a ser cobrado. Deve ser passado em centavos. Ex: R$ 10.00 = 1000. Deve ser no mínimo 1 real (100) */ - amount: number; - /** Endpoint do seu sistema que receberá informações a cada atualização da transação. **Caso você defina este parâmetro, o processamento da transação se torna assíncrono.** */ - postback_url?: string; - /** Utilize false caso queira manter o processamento síncrono de uma transação. Ou seja, a resposta da transação é recebida na hora. */ - async?: boolean; - /** Número de parcelas da transação, sendo mínimo: 1 e Máximo: 12. OBS: Se o pagamento for boleto, o padrão é 1 */ - installments?: string; - /** Descrição que aparecerá na fatura depois do nome de sua empresa. Máximo de 13 caracteres, sendo alfanuméricos e espaços. */ - soft_descriptor?: string; - /** Após a autorização de uma transação, você pode escolher se irá capturar ou adiar a captura do valor. Caso opte por postergar a captura, atribua o valor false. */ - capture?: boolean; - // TODO: Finalizar tipagem - /** Regras de divisão da transação */ - split_rules?: Array; - customer?: CustomerInput | { id: string }; - /** Obrigatório com o antifraude habilitado. Define os dados de cobrança, como nome e endereço */ - billing?: BillingInput; - /** Deve ser preenchido no caso da venda de bem físico (ver objeto items) */ - shipping?: ShippingInput; - /** Define os dados dos itens vendidos, como nome, preço unitário e quantidade */ - items?: ItemInput[]; - /** Você pode passar dados adicionais na criação da transação para facilitar uma futura análise de dados tanto em nossa dashboard, quanto por seus sistemas. Ex: metadata[ idProduto ]=13933139 */ - metadata?: string; - /** Valor único que identifica a transação para permitir uma nova tentativa de requisição com a segurança de que a mesma operação não será executada duas vezes acidentalmente.*/ - reference_key?: string; - /** Valor único que identifica a sessão do usuário acessando o site. Máximo de 100 caracteres */ - session?: string; - /** Data e hora do dispositivo que está efetuando a transação. Deve ser enviado no seguinte formato: yyyy-MM-dd'T'HH:mm:ss'Z. Por exemplo: 2017-10-31T14:53:00.000Z. OBS.: este campo é necessário para transações de mundo físico (com método de captura EMV e Magstripe) */ - local_time?: string; - } - - export type CreateTransactionInput = CreateTransactionInputBase & - ( - | CreateTransactionCreditCartInput - | CreateTransactionBoletoInput - | CreateTransactionPixInput - ); - - type RefuseStatus = - | 'acquirer' - | 'antifraud' - | 'internal_error' - | 'no_acquirer' - | 'acquirer_timeout'; - - type TransactionStatus = - | 'processing' - | 'authorized' - | 'paid' - | 'refunded' - | 'waiting_payment' - | 'pending_refund' - | 'refused' - | 'chargedback' - | 'analyzing' - | 'pending_review'; - - interface Transaction { - /** Nome do tipo do objeto criado/modificado. */ - object: 'transaction'; - /** Representa o estado da transação. A cada atualização no processamento da transação, esta propriedade é alterada e, caso você esteja usando uma postback_url, os seus servidores são notificados desses updates. */ - status: TransactionStatus; - /** Motivo pelo qual a transação foi recusada. */ - refuse_reason?: RefuseStatus; - /** Agente responsável pela validação ou anulação da transação. */ - status_reason: RefuseStatus; - /** Adquirente responsável pelo processamento da transação. */ - acquirer_name: 'development' | 'pagarme' | 'stone' | 'cielo' | 'rede'; - /** ID da adquirente responsável pelo processamento da transação. */ - acquirer_id: string; - /** Mensagem de resposta da adquirente referente ao status da transação. */ - acquirer_response_code: string; - /** Código de autorização retornado pela bandeira. */ - authorization_code: string; - /** Texto que irá aparecer na fatura do cliente depois do nome da loja. */ - soft_descriptor: string; - /** Código que identifica a transação na adquirente. */ - tid: string; - /** Código que identifica a transação na adquirente. */ - nsu: string; - /** Data de criação da transação no formato ISODate */ - date_created: string; - /** Data de atualização da transação no formato ISODate */ - date_updated: string; - /** Valor, em centavos, da transação. Ex: 100,00 = 10000 */ - amount: number; - /** Valor em centavos autorizado na transação, sempre menor ou igual a `amount`. */ - authorized_amount: number; - /** Valor em centavos capturado na transação, sempre menor ou igual a `authorized_amount`. */ - paid_amount: number; - /** Valor em centavos estornado até o momento na transação, sempre menor ou igual a `paidamount`. */ - refunded_amount: number; - /** Número de parcelas a serem cobradas. */ - installments: number; - /** Número identificador da transação */ - id: number; - /** Custo da transação para o lojista, envolvendo processamento e antifraude. */ - cost: number; - /** Nome do portador do cartão. */ - card_holder_name: string; - /** Últimos 4 dígitos do cartão. */ - card_last_digits: string; - /** ÚPrimeiros 5 dígitos do cartão */ - card_first_digits: string; - /** Bandeira do cartão. */ - card_brand: string; - /** Usado em transações EMV, define se a validação do cartão aconteceu online(com banco emissor), ou offline( através do chip). */ - card_pin_mode: string; - /** URL (endpoint) de seu sistema que recebe notificações a cada mudança no status da transação. */ - postback_url: string; - /** Método de pagamento */ - payment_method: 'credit_card' | 'boleto' | 'pix'; - pix_qrcode: string; - pix_expiration_date: string; - pix_additional_fields: string; - /** Define qual foi a forma de captura dos dados de pagamento. */ - capture_method: 'magstripe' | 'emv' | 'ecommerce'; - /** Define qual foi a nota de antifraude atribuída a transação. Lembrando que por padrão, transações com score >= 95 são recusadas. */ - antifraud_score: string; - /** URL do boleto para impressão */ - boleto_url: string; - /** Código de barras do boleto gerado na transação */ - boleto_barcode: string; - /** Data de expiração do boleto (em ISODate) */ - boleto_expiration_date: string; - /** Mostra se a transação foi criada utilizando a API Key ou Encryption Key */ - referer: string; - /** IP de origem que criou a transação, podendo ser diretamente de seu cliente, caso a requisição venha diretamente do client-side, ou de seus servidores, caso tudo esteja centralizando em sua aplicação no server-side. */ - ip: string; - /** Caso essa transação tenha sido originada na cobrança de uma assinatura, o id desta será o valor dessa propriedade. */ - subscription_id: string; - customer: CustomerInput; - billing: BillingInput; - shipping: ShippingInput; - items: ItemInput[]; - address: Address; - documents: Document[]; - /** Objeto com dados adicionais informados na criação da transação. */ - metadata: any; - /** Objeto com as regras de split definidas para essa transação. */ - split_rules: any; - /** Objeto com dados usados na integração com antifraude. */ - antifraud_metadata: any; - /** Valor único que identifica a sessão do usuário acessando o site */ - session: string; - /** Valor único que identifica a transação para permitir uma nova tentativa de requisição com a segurança de que a mesma operação não será executada duas vezes acidentalmente. */ - reference_key: string; - } - // TODO: Atualizar tipagem transaction | subscription - export interface Postback { - /** ID da transação. */ - id: number; - /** A qual evento o postback se refere. */ - event: 'transaction_status_changed' | 'subscription_status_changed'; - /** Status anterior da transação. */ - old_status: TransactionStatus; - /** Status ideal para objetos deste tipo, em um fluxo normal, onde autorização e captura são feitos com sucesso, por exemplo. */ - desired_status: TransactionStatus; - /** Status para o qual efetivamente mudou. */ - current_status: TransactionStatus; - /** Qual o tipo do objeto referido. */ - object: 'transaction' | 'subscription'; - /** Possui todas as informações do objeto. */ - transaction: Transaction; - } - - interface TransactionRefundBoletoDataArgs { - /** Objeto bank_account que contém os dados da conta bancária para onde o estorno será feito. */ - bank_account: { - /** Dígitos que identificam cada banco. Confira a lista dos bancos aqui: http://www.febraban.org.br/associados/utilitarios/Bancos.asp */ - bank_code: string; - /** Número da agência bancária */ - agencia: string; - /** Dígito verificador da agência. Obrigatório caso o banco o utilize. Apenas números, deve conter somente 1 dígito */ - agencia_dv: string; - /** Número da conta */ - conta: string; - /** Dígito verificador da conta. */ - conta_dv: string; - /** Tipo da conta bancária. */ - type: ContaBancariaTypes; - /** CPF ou CNPJ do favorecido */ - document_number: string; - /** Nome/razão social do favorecido, Até 30 caracteres */ - legal_name: string; - }; - } - interface TransactionRefundBoletoWithIdArgs { - /** ID da conta bancária. */ - bank_account_id: string; - } - interface TransactionRefundCreditCardArgs {} - - export interface TransactionRefundDefaultArgs { - /** The transaction ID. */ - id: number; - /** Valor desejado para o estorno da transação. Deve ser passado em centavos. Ex: R$ 10.00 = 1000. */ - amount?: number; - /** Define se a operação deve ser feita de maneira assíncrona ou não. Caso true(default), a reposta de sua request será enviada via post para sua postback_url cadastrada na respectiva transação. Caso false, no response será enviado o status final de refunded. */ - async?: boolean; - /** Você pode passar dados adicionais no estorno da transação para facilitar uma futura análise de dados por seus sistemas. */ - metadata?: string; - } - export type TransactionRefundDynamicArgs = - | TransactionRefundCreditCardArgs - | (TransactionRefundBoletoWithIdArgs | TransactionRefundBoletoDataArgs); - export type TransactionRefundArgs = TransactionRefundDefaultArgs & - TransactionRefundDynamicArgs; - - interface TransactionFindAll { - /** Retorna n objetos de transação, com um máximo de 1000 */ - count?: number; - /** Útil para implementação de uma paginação de resultados */ - page?: number; - status?: TransactionStatus; - /** utiliza unixTimeStamp */ - date_created?: string; - /** utiliza unixTimeStamp */ - date_updated?: string; - amount?: string; - installments?: string; - tid?: string; - nsu?: string; - card_holder_name?: string; - card_last_digits?: string; - card_brand?: string; - postback_url?: string; - payment_method?: string; - capture_method?: string; - boleto_url?: string; - antifraud_score?: string; - subscription_id?: string; - customer?: Partial; - address?: Partial
; - phone?: PhoneNumber; - reference_key?: string; - order_id?: string; - metadata?: JSON; - } - interface TransactionFindById { - /** The transaction ID. If not sent a transaction list will be returned instead. */ - id: number; - } - type TransactionFindArgs = TransactionFindById | TransactionFindAll; - - interface CalculateInstallmentsAmountInput { - /** The interest rate's value. */ - interest_rate: number; - /** The value of the purchase. */ - amount: number; - /** The max number of installments. */ - max_installments?: number; - /** The number of installments without interest. */ - free_installments?: number; - } - - interface CalculateInstallmentsAmount { - installments: { - [key: string]: Installment; - }; - } - - interface Installment { - installment: number; - amount: number; - installment_amount: number; - } - - /** - * ------------------------------------------- - * | WIP | - * ------------------------------------------- - */ - - export interface Authentication { - api_key: string; - } - - export interface BillingInput { - name: string; - address: Address; - } - - // CONTA BANCARIA - - /** - * Cria uma conta bancária para futuros pagamentos. - * https://docs.pagar.me/reference#criando-uma-conta-banc%C3%A1ria - * - * Os bancos aceitos pela Pagar.me são aqueles presentes na Febraban. A lista completa pode ser encontrada aqui: https://www.bcb.gov.br/pom/spb/estatistica/port/ASTR003.pdf - * - * Se a agência de sua conta não possuir dv, basta não adicionar a chave agencia_dv na request. - */ - export interface CreateContaBancaria { - /** Agência onde sua conta foi criada OBS: Limite de 4 caracteres, apenas números */ - agencia: string; - /** Dígito verificador da sua agência OBS: Deve conter 1 dígito, apenas alfanuméricos */ - agencia_dv?: string; - /** Código do banco OBS: Deve conter 3 caracteres, apenas números */ - bank_code: string; - /** Número da conta bancária OBS: Limite de 13 caracteres, apenas números */ - conta: string; - /** Dígito verificador da conta OBS: Limite de 2 caracteres, apenas alfanuméricos */ - conta_dv: string; - /** Documento identificador do titular da conta (cpf ou cnpj) Ex: 35146484252 */ - document_number: string; - /** Nome completo (se pessoa física) ou razão social (se pessoa jurídica). Até 30 caractéres */ - legal_name: string; - /** Tipo de conta bancária, valores possíveis: conta_corrente, conta_poupanca, conta_corrente_conjunta, conta_poupanca_conjunta */ - type?: ContaBancariaTypes; - } - - export type ContaBancariaTypes = - | 'conta_corrente' - | 'conta_poupanca' - | 'conta_corrente_conjunta' - | 'conta_poupanca_conjunta'; - - export interface ContaBancaria { - object: string; - id: number; - bank_code: string; - agencia: string; - agencia_dv: string; - conta: string; - conta_dv: string; - type: ContaBancariaTypes; - document_type: string; - document_number: string; - legal_name: string; - charge_transfer_fees: boolean; - date_created: Date; - } - - export interface PhoneNumber { - ddd: string; - number: string; - type: string; - } - - /** https://docs.pagar.me/reference#objeto-recebedor-1 */ - interface RegisterInformationInputIndividual { - /** Utilizar "individual". */ - type: string; - /** Número do CPF. */ - document_number: string; - /** Nome do seller. */ - name: string; - /** Site do seller. */ - site_url?: string; - /** Email do seller */ - email: string; - /** Número de telefone do seller. Deve-se informar o DDD, número e o tipo. */ - phone_numbers?: PhoneNumber[]; - } - - /** https://docs.pagar.me/reference#objeto-recebedor-1 */ - interface RegisterInformationInputCorporation { - /** Utilizar "corporation" */ - type: string; - /** Número do CNPJ. */ - document_number: string; - /** Nome fantasia do seller. */ - company_name: string; - /** Email do seller */ - email?: string; - /** Site do seller. */ - site_url?: string; - /** Número de telefone do seller. Deve-se informar o DDD, número e o tipo. */ - phone_numbers?: PhoneNumber[]; - /** Dados dos sócios listados neste CNPJ. */ - managing_partners?: { - type: string; - document_number: string; - email: string; - name: string; - }[]; - } - - type RegisterInformationInput = - | RegisterInformationInputIndividual - | RegisterInformationInputCorporation; - - /** - * Com essa rota você consegue criar um recebedor, definindo o período que ele irá receber os pagamentos e qual a conta bancária que será utilizada para envio dos pagamentos. - * https://docs.pagar.me/reference#criando-um-recebedor - * - * Recebedores inativos - Todos os recebedores que foram criados a mais de 60 dias, não possuem valores a receber e nos últimos 60 dias não transacionaram ou realizaram transferências terão a transferência automática desabilitada. Mesmo que esse recebedor volte a transacionar eventualmente, a transferência automática precisa ser reabilitada manualmente nesses casos. - */ - export interface CreateRecebedor { - /** Frequência na qual o recebedor irá ser pago. Valores possíveis: daily, weekly, monthly */ - transfer_interval: string; - /** Dia no qual o recebedor vai ser pago. Depende do transfer_interval. Se for daily, não é necessário. Se for weekly pode ser de 1 (segunda) a 5 (sexta). Se for monthly, pode ser de 1 a 31. */ - transfer_day: string; - /** Variável que indica se o recebedor pode receber os pagamentos automaticamente */ - transfer_enabled: boolean; - /** Identificador de uma conta bancária previamente criada. Você também pode passar todos parâmetros necessários para criação de uma conta bancária. */ - bank_account_id?: string; - bank_account?: CreateContaBancaria; - /** Porcentagem do valor passível de antecipação para este recebedor. */ - anticipatable_volume_percentage?: string; - /** Se o recebedor está habilitado para receber automaticamente ou não o valor disponível para antecipação. */ - automatic_anticipation_enabled?: string; - /** Configuração de como devemos criar as antecipações automáticas do recebedor. Valor full para criarmos antecipações seguindo a regra de volume máximo antecipável. Valor 1025, para criarmos antecipações de vendas inteiras, modelos D+X e 10/25. */ - automatic_anticipation_type?: string; - /** Lista de dias em que devemos criar as antecipações automáticas. */ - automatic_anticipation_days?: string; - /** Parâmetro de quantos dias, contados do dia da antecipação para trás, devemos desconsiderar na criação desta antecipação. */ - automatic_anticipation_1025_delay?: string; - /** URL (endpoint) de seu sistema que recebe notificações a cada mudança no status do recebedor. */ - postback_url?: string; - /** Campo usado para receber informações cadastrais de um recebedor. Este recebedor pode ser pessoal física ou pessoa jurídica, onde cada um tem formato especifico. */ - register_information?: RegisterInformationInput; - /** Objeto com dados adicionais do recebedor. */ - metadata: object; - } - type UpdateRecebedor = { - recipient_id: string; - } & Partial; - - export interface BankAccount { - object: string; - id: number; - bank_code: string; - agencia: string; - agencia_dv?: any; - conta: string; - conta_dv: string; - type: string; - document_type: string; - document_number: string; - legal_name: string; - charge_transfer_fees: boolean; - date_created: Date; - } - - interface SplitRuleArg { - liable: boolean; - charge_processing_fee: boolean; - amount: number; - recipient_id: string; - } - - export interface Recebedor { - object: string; - id: string; - transfer_enabled: boolean; - last_transfer?: any; - transfer_interval: string; - transfer_day: number; - automatic_anticipation_enabled: boolean; - anticipatable_volume_percentage: number; - date_created: Date; - date_updated: Date; - postback_url: string; - status: string; - status_reason?: any; - metadata?: any; - bank_account: BankAccount; - } - - interface CaptureArgs { - /** Id ou o token da transação a ser capturada */ - id: string; - /** Valor a ser capturado. Deve ser passado em centavos. Ex: R$ 10.00 = 1000. */ - amount: number; - /** Regras de divisão da transação */ - split_rules?: SplitRuleArg[]; - } - - interface Recebivel { - object: 'payable'; - id: number | string; - status: 'waiting_funds' | 'prepaid' | 'paid' | 'suspended'; - amount: string; - fee: string; - anticipation_fee?: number | string; - installment: number | string; - transaction_id: number | string; - split_rule_id: string; - bulk_anticipation_id?: string; - recipient_id: string; - payment_date: string; - original_payment_date: string; - type: - | 'credit' - | 'refund' - | 'refund_reversal' - | 'chargeback' - | 'chargeback_refund' - | 'block' - | 'unblock'; - payment_method: 'credit_card' | 'debit_card' | 'boleto'; - accrual_date: string; - date_created: string; - } - - interface FindRecebivelArg { - transaction_id: string; - } - - interface FindRecebiveisArgs { - createdAt?: string; - amount?: string; - recipient_id?: string; - status?: 'paid' | 'waiting_funds'; - installment?: string; - transaction_id?: string; - payment_date?: string; - type?: 'chargeback' | 'refund' | 'chargeback_refund' | 'credit'; - id?: string; - count: number; - page: number; - } - - interface TransferenciaInput { - amount: string; - recipientId: string; - metaData?: JSON; - } - - interface TransferenciaObject { - object: 'transfer'; - Id: number | string; - Amount: number | string; - Type: 'ted' | 'doc' | 'credito_em_conta'; - Status: - | 'pending_transfer' - | 'transferred' - | 'failed' - | 'processing' - | 'canceled'; - Fee: number | string; - Funding_date: string; - Funding_estimated_date: string; - transaction_id: number | string; - Bank_account: ContaBancaria; - Date_created: string; - metadata: JSON; - } - - interface FindAllTransfersArgs { - count: number; - page: number; - bank_account_id?: string; - amount?: string; - recipient_id?: string; - id?: string; - date_created?: string; - created_at?: string; - } - - interface BalanceFindInput { - recipientId: string; - } - - interface BalanceObject { - object: 'balance'; - waiting_funds: { amount: number | string }; - available: { amount: number | string }; - transferred: { amount: number | string }; - } - - interface BalanceOperation { - Object: 'balance_operation'; - id: string; - status: 'waiting_funds' | 'available' | 'transferred'; - balance_amount: number; - type: 'payable' | 'anticipation' | 'transfer'; - amount: number; - fee: number; - date_created: string; - movement_object: TransferenciaObject | Recebivel; - } - - interface FindAllBalanceOperations { - count: number; - page: number; - status?: 'waiting_funds' | 'available' | 'transferred'; - start_date?: number; - end_date?: number; - } - - interface SearchOutput { - _shards: { - total: number; - successful: number; - failed: number; - }; - hits: { - total: number; - max_score: number; - hits: { - _index: string; - _type: string; - _id: string; - _score: number; - _source: T; - }[]; - }; - timed_out: boolean; - took: number; - } - - interface SearchQuery { - type: 'transaction' | 'subscription' | 'bank_account' | 'customer'; - query: Record | string; - search_type?: string; - } - - enum Country { - Af = 'af', - Al = 'al', - Dz = 'dz', - As = 'as', - Ad = 'ad', - Ao = 'ao', - Ai = 'ai', - Aq = 'aq', - Ag = 'ag', - Ar = 'ar', - Am = 'am', - Aw = 'aw', - Au = 'au', - At = 'at', - Az = 'az', - Bs = 'bs', - Bh = 'bh', - Bd = 'bd', - Bb = 'bb', - By = 'by', - Be = 'be', - Bz = 'bz', - Bj = 'bj', - Bm = 'bm', - Bt = 'bt', - Bo = 'bo', - Ba = 'ba', - Bw = 'bw', - Bv = 'bv', - Br = 'br', - Io = 'io', - Bn = 'bn', - Bg = 'bg', - Bf = 'bf', - Bi = 'bi', - Kh = 'kh', - Cm = 'cm', - Ca = 'ca', - Cv = 'cv', - Ky = 'ky', - Cf = 'cf', - Td = 'td', - Cl = 'cl', - Cn = 'cn', - Cx = 'cx', - Cc = 'cc', - Co = 'co', - Km = 'km', - Cg = 'cg', - Cd = 'cd', - Ck = 'ck', - Cr = 'cr', - Ci = 'ci', - Hr = 'hr', - Cu = 'cu', - Cy = 'cy', - Cz = 'cz', - Dk = 'dk', - Dj = 'dj', - Dm = 'dm', - Do = 'do', - Ec = 'ec', - Eg = 'eg', - Sv = 'sv', - Gq = 'gq', - Er = 'er', - Ee = 'ee', - Et = 'et', - Fk = 'fk', - Fo = 'fo', - Fj = 'fj', - Fi = 'fi', - Fr = 'fr', - Gf = 'gf', - Pf = 'pf', - Tf = 'tf', - Ga = 'ga', - Gm = 'gm', - Ge = 'ge', - De = 'de', - Gh = 'gh', - Gi = 'gi', - Gr = 'gr', - Gl = 'gl', - Gd = 'gd', - Gp = 'gp', - Gu = 'gu', - Gt = 'gt', - Gg = 'gg', - Gn = 'gn', - Gw = 'gw', - Gy = 'gy', - Ht = 'ht', - Hm = 'hm', - Va = 'va', - Hn = 'hn', - Hk = 'hk', - Hu = 'hu', - Is = 'is', - In = 'in', - Id = 'id', - Ir = 'ir', - Iq = 'iq', - Ie = 'ie', - Im = 'im', - Il = 'il', - It = 'it', - Jm = 'jm', - Jp = 'jp', - Je = 'je', - Jo = 'jo', - Kz = 'kz', - Ke = 'ke', - Ki = 'ki', - Kp = 'kp', - Kr = 'kr', - Kw = 'kw', - Kg = 'kg', - La = 'la', - Lv = 'lv', - Lb = 'lb', - Ls = 'ls', - Lr = 'lr', - Ly = 'ly', - Li = 'li', - Lt = 'lt', - Lu = 'lu', - Mo = 'mo', - Mk = 'mk', - Mg = 'mg', - Mw = 'mw', - My = 'my', - Mv = 'mv', - Ml = 'ml', - Mt = 'mt', - Mh = 'mh', - Mq = 'mq', - Mr = 'mr', - Mu = 'mu', - Yt = 'yt', - Mx = 'mx', - Fm = 'fm', - Md = 'md', - Mc = 'mc', - Mn = 'mn', - Me = 'me', - Ms = 'ms', - Ma = 'ma', - Mz = 'mz', - Mm = 'mm', - Na = 'na', - Nr = 'nr', - Np = 'np', - Nl = 'nl', - An = 'an', - Nc = 'nc', - Nz = 'nz', - Ni = 'ni', - Ne = 'ne', - Ng = 'ng', - Nu = 'nu', - Nf = 'nf', - Mp = 'mp', - No = 'no', - Om = 'om', - Pk = 'pk', - Pw = 'pw', - Ps = 'ps', - Pa = 'pa', - Pg = 'pg', - Py = 'py', - Pe = 'pe', - Ph = 'ph', - Pn = 'pn', - Pl = 'pl', - Pt = 'pt', - Pr = 'pr', - Qa = 'qa', - Re = 're', - Ro = 'ro', - Ru = 'ru', - Rw = 'rw', - Sh = 'sh', - Kn = 'kn', - Lc = 'lc', - Pm = 'pm', - Vc = 'vc', - Ws = 'ws', - Sm = 'sm', - St = 'st', - Sa = 'sa', - Sn = 'sn', - Rs = 'rs', - Sc = 'sc', - Sl = 'sl', - Sg = 'sg', - Sk = 'sk', - Si = 'si', - Sb = 'sb', - So = 'so', - Za = 'za', - Gs = 'gs', - Es = 'es', - Lk = 'lk', - Sd = 'sd', - Sr = 'sr', - Sj = 'sj', - Sz = 'sz', - Se = 'se', - Ch = 'ch', - Sy = 'sy', - Tw = 'tw', - Tj = 'tj', - Tz = 'tz', - Th = 'th', - Tl = 'tl', - Tg = 'tg', - Tk = 'tk', - To = 'to', - Tt = 'tt', - Tn = 'tn', - Tr = 'tr', - Tm = 'tm', - Tc = 'tc', - Tv = 'tv', - Ug = 'ug', - Ua = 'ua', - Ae = 'ae', - Gb = 'gb', - Us = 'us', - Um = 'um', - Uy = 'uy', - Uz = 'uz', - Vu = 'vu', - Ve = 've', - Vn = 'vn', - Vg = 'vg', - Vi = 'vi', - Wf = 'wf', - Eh = 'eh', - Ye = 'ye', - Zm = 'zm', - Zw = 'zw' - } -} diff --git a/package.json b/package.json index 8843c62..af08920 100644 --- a/package.json +++ b/package.json @@ -2,14 +2,17 @@ "name": "pagarme-js-types", "description": "📖 A simple typescript definition file for pagarme-js package", "version": "0.0.0", - "files":["index.d.ts"], + "files": [ + "src" + ], "main": "", - "types": "index.d.ts", + "types": "src/index.d.ts", "repository": "git@github.com:jonyw4/pagarme-js-types.git", "author": "Jonathan Célio ", "license": "MIT", "private": false, "scripts": { + "build": "tsc --declaration", "lint": "eslint --ext .ts,.tsx", "lint:fix": "eslint --ext .ts,.tsx --fix" }, diff --git a/src/client/acquirers/namespace.ts b/src/client/acquirers/namespace.ts new file mode 100644 index 0000000..0f65ce2 --- /dev/null +++ b/src/client/acquirers/namespace.ts @@ -0,0 +1,11 @@ +declare module 'pagarme' { + export namespace client { + export namespace acquirers { + function all(opts: any, pagination: any): any; + function create(opts: any, body: any): any; + function find(opts: any, body: any): any; + function findAll(a0: any, a1: any, ...args: any[]): any; + function update(opts: any, body: any): any; + } + } +} diff --git a/src/client/acquirersConfigurations/namespace.ts b/src/client/acquirersConfigurations/namespace.ts new file mode 100644 index 0000000..cff54cf --- /dev/null +++ b/src/client/acquirersConfigurations/namespace.ts @@ -0,0 +1,11 @@ +declare module 'pagarme' { + export namespace client { + export namespace acquirersConfigurations { + function all(opts: any, pagination: any): any; + function create(opts: any, body: any): any; + function find(opts: any, body: any): any; + function findAll(a0: any, a1: any, ...args: any[]): any; + function update(opts: any, body: any): any; + } + } +} diff --git a/src/client/antifraudAnalyses/namespace.ts b/src/client/antifraudAnalyses/namespace.ts new file mode 100644 index 0000000..896284f --- /dev/null +++ b/src/client/antifraudAnalyses/namespace.ts @@ -0,0 +1,8 @@ +declare module 'pagarme' { + export namespace client { + export namespace antifraudAnalyses { + function create(opts: any, body: any): any; + function find(opts: any, body: any): any; + } + } +} diff --git a/src/client/balance/namespace.ts b/src/client/balance/namespace.ts new file mode 100644 index 0000000..3ef7b26 --- /dev/null +++ b/src/client/balance/namespace.ts @@ -0,0 +1,12 @@ +import { BalanceFindOptions } from './options'; +import { BalanceResponse } from './responses'; + +// TODO: Create interface for primary method +declare module 'pagarme' { + export namespace client { + export namespace balance { + export function find(opts: BalanceFindOptions): Promise; + export function primary(opts: any): any; + } + } +} diff --git a/src/client/balance/options.ts b/src/client/balance/options.ts new file mode 100644 index 0000000..9e8f01d --- /dev/null +++ b/src/client/balance/options.ts @@ -0,0 +1,3 @@ +export interface BalanceFindOptions { + recipientId: string; +} diff --git a/src/client/balance/responses.ts b/src/client/balance/responses.ts new file mode 100644 index 0000000..8620afb --- /dev/null +++ b/src/client/balance/responses.ts @@ -0,0 +1,6 @@ +export interface BalanceResponse { + object: 'balance'; + waiting_funds: { amount: number | string }; + available: { amount: number | string }; + transferred: { amount: number | string }; +} diff --git a/src/client/balanceOperations/namespace.ts b/src/client/balanceOperations/namespace.ts new file mode 100644 index 0000000..40b635f --- /dev/null +++ b/src/client/balanceOperations/namespace.ts @@ -0,0 +1,12 @@ +import { BalanceOperation } from './responses'; +import { BalanceOperationsFind } from './options'; + +declare module 'pagarme' { + export namespace client { + export namespace balanceOperations { + function all(arg: BalanceOperationsFind): Promise; + function days(opts: any, body: any): any; + function find(opts: any, body: any): any; + } + } +} diff --git a/src/client/balanceOperations/options.ts b/src/client/balanceOperations/options.ts new file mode 100644 index 0000000..a8d45c2 --- /dev/null +++ b/src/client/balanceOperations/options.ts @@ -0,0 +1,7 @@ +export interface BalanceOperationsFind { + count: number; + page: number; + status?: 'waiting_funds' | 'available' | 'transferred'; + start_date?: number; + end_date?: number; +} diff --git a/src/client/balanceOperations/responses.ts b/src/client/balanceOperations/responses.ts new file mode 100644 index 0000000..66d6cfa --- /dev/null +++ b/src/client/balanceOperations/responses.ts @@ -0,0 +1,14 @@ +import { Transfer } from '../transfers/responses'; +import { Payable } from '../payables/responses'; + +export interface BalanceOperation { + Object: 'balance_operation'; + id: string; + status: 'waiting_funds' | 'available' | 'transferred'; + balance_amount: number; + type: 'payable' | 'anticipation' | 'transfer'; + amount: number; + fee: number; + date_created: string; + movement_object: Transfer | Payable; +} diff --git a/src/client/bankAccounts/namespace.ts b/src/client/bankAccounts/namespace.ts new file mode 100644 index 0000000..6000e70 --- /dev/null +++ b/src/client/bankAccounts/namespace.ts @@ -0,0 +1,12 @@ +import { BankAccountCreateOptions } from './options'; +import { BankAccount } from './responses'; + +declare module 'pagarme' { + export namespace client { + export namespace bankAccounts { + function all(opts: any, body: any): any; + function create(opts: BankAccountCreateOptions): Promise; + function find(opts: any): Promise; + } + } +} diff --git a/src/client/bankAccounts/options.ts b/src/client/bankAccounts/options.ts new file mode 100644 index 0000000..6263b81 --- /dev/null +++ b/src/client/bankAccounts/options.ts @@ -0,0 +1,32 @@ +export type BankAccountTypes = + | 'conta_corrente' + | 'conta_poupanca' + | 'conta_corrente_conjunta' + | 'conta_poupanca_conjunta'; + +/** + * Cria uma conta bancária para futuros pagamentos. + * https://docs.pagar.me/reference#criando-uma-conta-banc%C3%A1ria + * + * Os bancos aceitos pela Pagar.me são aqueles presentes na Febraban. A lista completa pode ser encontrada aqui: https://www.bcb.gov.br/pom/spb/estatistica/port/ASTR003.pdf + * + * Se a agência de sua conta não possuir dv, basta não adicionar a chave agencia_dv na request. + */ +export interface BankAccountCreateOptions { + /** Agência onde sua conta foi criada OBS: Limite de 4 caracteres, apenas números */ + agencia: string; + /** Dígito verificador da sua agência OBS: Deve conter 1 dígito, apenas alfanuméricos */ + agencia_dv?: string; + /** Código do banco OBS: Deve conter 3 caracteres, apenas números */ + bank_code: string; + /** Número da conta bancária OBS: Limite de 13 caracteres, apenas números */ + conta: string; + /** Dígito verificador da conta OBS: Limite de 2 caracteres, apenas alfanuméricos */ + conta_dv: string; + /** Documento identificador do titular da conta (cpf ou cnpj) Ex: 35146484252 */ + document_number: string; + /** Nome completo (se pessoa física) ou razão social (se pessoa jurídica). Até 30 caractéres */ + legal_name: string; + /** Tipo de conta bancária, valores possíveis: conta_corrente, conta_poupanca, conta_corrente_conjunta, conta_poupanca_conjunta */ + type?: BankAccountTypes; +} diff --git a/src/client/bankAccounts/responses.ts b/src/client/bankAccounts/responses.ts new file mode 100644 index 0000000..137356c --- /dev/null +++ b/src/client/bankAccounts/responses.ts @@ -0,0 +1,15 @@ +export interface BankAccount { + object: string; + id: number; + bank_code: string; + agencia: string; + agencia_dv: string; + conta: string; + conta_dv: string; + type: string; + document_type: string; + document_number: string; + legal_name: string; + charge_transfer_fees: boolean; + date_created: Date; +} diff --git a/src/client/bulkAnticipations/namespace.ts b/src/client/bulkAnticipations/namespace.ts new file mode 100644 index 0000000..9c67f89 --- /dev/null +++ b/src/client/bulkAnticipations/namespace.ts @@ -0,0 +1,23 @@ +declare module 'pagarme' { + export namespace client { + export namespace bulkAnticipations { + function all(opts: any, body: any): any; + + function cancel(opts: any, body: any): any; + + function confirm(opts: any, body: any): any; + + function create(opts: any, body: any): any; + + function days(opts: any, body: any): any; + + function destroy(opts: any, body: any): any; + + function find(opts: any, body: any): any; + + function limits(opts: any, body: any): any; + + function update(opts: any, body: any): any; + } + } +} diff --git a/src/client/cards/namespace.ts b/src/client/cards/namespace.ts new file mode 100644 index 0000000..693b6b3 --- /dev/null +++ b/src/client/cards/namespace.ts @@ -0,0 +1,11 @@ +declare module 'pagarme' { + export namespace client { + export namespace cards { + function all(opts: any, pagination: any): any; + + function create(opts: any, body: any): any; + + function find(opts: any, body: any): any; + } + } +} diff --git a/src/client/chargebackOperations/namespace.ts b/src/client/chargebackOperations/namespace.ts new file mode 100644 index 0000000..f97c525 --- /dev/null +++ b/src/client/chargebackOperations/namespace.ts @@ -0,0 +1,7 @@ +declare module 'pagarme' { + export namespace client { + export namespace chargebackOperations { + function find(a0: any, a1: any, ...args: any[]): any; + } + } +} diff --git a/src/client/chargebacks/namespace.ts b/src/client/chargebacks/namespace.ts new file mode 100644 index 0000000..0bd2f8c --- /dev/null +++ b/src/client/chargebacks/namespace.ts @@ -0,0 +1,7 @@ +declare module 'pagarme' { + export namespace client { + export namespace chargebacks { + function find(opts: any, query: any): any; + } + } +} diff --git a/src/client/company/namespace.ts b/src/client/company/namespace.ts new file mode 100644 index 0000000..ab9d6b3 --- /dev/null +++ b/src/client/company/namespace.ts @@ -0,0 +1,27 @@ +declare module 'pagarme' { + export namespace client { + export namespace company { + function activate(opts: any): any; + + function affiliationProgress(opts: any): any; + + function create(opts: any, body: any): any; + + function createTemporary(opts: any, body: any): any; + + function current(opts: any): any; + + function resetKeys(opts: any): any; + + function update(opts: any, body: any): any; + + function updateBranding(opts: any, body: any): any; + + namespace emailTemplates { + function find(opts: any, body: any): any; + + function update(opts: any, body: any): any; + } + } + } +} diff --git a/src/client/connect/namespace.ts b/src/client/connect/namespace.ts new file mode 100644 index 0000000..948f452 --- /dev/null +++ b/src/client/connect/namespace.ts @@ -0,0 +1,20 @@ +import { Authentication } from '../../common/Authentication'; +declare module 'pagarme' { + export namespace client { + /** + * Returns a version of client with authentication data binded to the resource requests. + * @example + * // API Key Authentication + * pagarme.client.connect({ api_key: 'ak_test_y7jk294ynbzf93' }) + * + * // Encryption Key Authentication + * pagarme.client.connect({ encryption_key: 'ek_test_y7jk294ynbzf93' }) + * + * // Login Authentication + * pagarme.client.connect({ email: '', password: '' }) + */ + export function connect( + authentication: Authentication + ): Promise; + } +} diff --git a/src/client/customers/namespace.ts b/src/client/customers/namespace.ts new file mode 100644 index 0000000..a283aa1 --- /dev/null +++ b/src/client/customers/namespace.ts @@ -0,0 +1,12 @@ +import { CustomerCreateOptions } from './options'; +import { Customer } from './responses'; + +declare module 'pagarme' { + export namespace client { + export namespace customers { + function all(opts: any, body: any): Promise; + function create(body: CustomerCreateOptions): Promise; + function find(opts: any, body: any): Promise; + } + } +} diff --git a/src/client/customers/options.ts b/src/client/customers/options.ts new file mode 100644 index 0000000..2013357 --- /dev/null +++ b/src/client/customers/options.ts @@ -0,0 +1,21 @@ +import { Country } from '../../common/Country'; +import { Document } from '../../common/Document'; +import { CustomerType } from '../../common/CustomerType'; + +export interface CustomerCreateOptions { + external_id: string; + /** Nome ou razão social do comprador */ + name: string; + /** Tipo de documento. Deve ser `individual` para pessoa física ou `corporation` para pessoa jurídica */ + type: CustomerType; + /** País */ + country: Country; + /** E-mail do comprador */ + email: string; + /** Documento. Contém campos type para tipo de documento e number para número do documento. */ + documents: Document[]; + /** Números de telefone. Requer ao menos um valor. Deve seguir o padrão *E.164* */ + phone_numbers: string[]; + /** Data de nascimento */ + birthday?: string; +} diff --git a/src/client/customers/responses.ts b/src/client/customers/responses.ts new file mode 100644 index 0000000..68054e4 --- /dev/null +++ b/src/client/customers/responses.ts @@ -0,0 +1,11 @@ +import { CustomerCreateOptions } from './options'; +import { Address } from '../../common/Address'; + +export interface Customer extends CustomerCreateOptions { + /** Identificador do cliente na loja */ + id: string; + /** Lista dos telefones relacionados ao cliente */ + phones: string[]; + /** Lista de endereços relacionados ao cliente */ + addresses: Address[]; +} diff --git a/src/client/events/namespace.ts b/src/client/events/namespace.ts new file mode 100644 index 0000000..bb2b028 --- /dev/null +++ b/src/client/events/namespace.ts @@ -0,0 +1,8 @@ +declare module 'pagarme' { + export namespace client { + export namespace events { + function find(opts: any, body: any): any; + function findCustom(opts: any, body: any): any; + } + } +} diff --git a/src/client/gatewayOperations/namespace.ts b/src/client/gatewayOperations/namespace.ts new file mode 100644 index 0000000..a377f2a --- /dev/null +++ b/src/client/gatewayOperations/namespace.ts @@ -0,0 +1,9 @@ +declare module 'pagarme' { + export namespace client { + export namespace gatewayOperations { + function find(opts: any, body: any): any; + + function refuseMessage(opts: any, body: any): any; + } + } +} diff --git a/src/client/invites/namespace.ts b/src/client/invites/namespace.ts new file mode 100644 index 0000000..1e1f834 --- /dev/null +++ b/src/client/invites/namespace.ts @@ -0,0 +1,13 @@ +declare module 'pagarme' { + export namespace client { + export namespace invites { + function all(opts: any): any; + + function create(opts: any, body: any): any; + + function destroy(opts: any, body: any): any; + + function find(opts: any, ...args: any[]): any; + } + } +} diff --git a/src/client/orders/namespace.ts b/src/client/orders/namespace.ts new file mode 100644 index 0000000..08f1460 --- /dev/null +++ b/src/client/orders/namespace.ts @@ -0,0 +1,7 @@ +declare module 'pagarme' { + export namespace client { + export namespace orders { + function all(opts: any, body: any): any; + } + } +} diff --git a/src/client/payables/namespace.ts b/src/client/payables/namespace.ts new file mode 100644 index 0000000..d68cb26 --- /dev/null +++ b/src/client/payables/namespace.ts @@ -0,0 +1,12 @@ +import { Payable } from './responses'; +import { PayableFindOptions, PayableAllOptions } from './options'; + +declare module 'pagarme' { + export namespace client { + export namespace payables { + function all(args: PayableAllOptions): Promise; + function find(opts: PayableFindOptions): Promise; + function days(opts: any, body: any): any; + } + } +} diff --git a/src/client/payables/options.ts b/src/client/payables/options.ts new file mode 100644 index 0000000..13651fa --- /dev/null +++ b/src/client/payables/options.ts @@ -0,0 +1,17 @@ +export interface PayableFindOptions { + transaction_id: string; +} + +export interface PayableAllOptions { + createdAt?: string; + amount?: string; + recipient_id?: string; + status?: 'paid' | 'waiting_funds'; + installment?: string; + transaction_id?: string; + payment_date?: string; + type?: 'chargeback' | 'refund' | 'chargeback_refund' | 'credit'; + id?: string; + count: number; + page: number; +} diff --git a/src/client/payables/responses.ts b/src/client/payables/responses.ts new file mode 100644 index 0000000..412d240 --- /dev/null +++ b/src/client/payables/responses.ts @@ -0,0 +1,28 @@ +import { PaymentMethod } from '../../common/PaymentMethod'; + +export interface Payable { + object: 'payable'; + id: number | string; + status: 'waiting_funds' | 'prepaid' | 'paid' | 'suspended'; + amount: string; + fee: string; + anticipation_fee?: number | string; + installment: number | string; + transaction_id: number | string; + split_rule_id: string; + bulk_anticipation_id?: string; + recipient_id: string; + payment_date: string; + original_payment_date: string; + type: + | 'credit' + | 'refund' + | 'refund_reversal' + | 'chargeback' + | 'chargeback_refund' + | 'block' + | 'unblock'; + payment_method: PaymentMethod; + accrual_date: string; + date_created: string; +} diff --git a/src/client/paymentLinks/namespace.ts b/src/client/paymentLinks/namespace.ts new file mode 100644 index 0000000..bc0a884 --- /dev/null +++ b/src/client/paymentLinks/namespace.ts @@ -0,0 +1,13 @@ +declare module 'pagarme' { + export namespace client { + export namespace paymentLinks { + function all(opts: any, body: any): any; + + function cancel(opts: any, body: any): any; + + function create(opts: any, body: any): any; + + function find(opts: any, body: any): any; + } + } +} diff --git a/src/client/plans/namespace.ts b/src/client/plans/namespace.ts new file mode 100644 index 0000000..cb4c064 --- /dev/null +++ b/src/client/plans/namespace.ts @@ -0,0 +1,15 @@ +declare module 'pagarme' { + export namespace client { + export namespace plans { + function all(opts: any, pagination: any): any; + + function create(opts: any, body: any): any; + + function find(opts: any, body: any): any; + + function findAll(a0: any, a1: any, ...args: any[]): any; + + function update(opts: any, body: any): any; + } + } +} diff --git a/src/client/postback/namespace.ts b/src/client/postback/namespace.ts new file mode 100644 index 0000000..c4b3882 --- /dev/null +++ b/src/client/postback/namespace.ts @@ -0,0 +1,20 @@ +declare module 'pagarme' { + export namespace client { + export namespace postback { + function calculateSignature( + /** the keys used to sign the hash. */ + key: string, + /** The string to be hashed. */ + string: string + ): string; + function verifySignature( + /** the keys used to sign the hash. */ + key: string, + /** The string to be hashed. */ + string: string, + /** The expected result. */ + expected: string + ): boolean; + } + } +} diff --git a/src/client/postbacks/namespace.ts b/src/client/postbacks/namespace.ts new file mode 100644 index 0000000..052a7f4 --- /dev/null +++ b/src/client/postbacks/namespace.ts @@ -0,0 +1,8 @@ +declare module 'pagarme' { + export namespace client { + export namespace postbacks { + function find(opts: any, body: any): any; + function redeliver(opts: any, body: any): any; + } + } +} diff --git a/src/client/postbacks/responses.ts b/src/client/postbacks/responses.ts new file mode 100644 index 0000000..f283027 --- /dev/null +++ b/src/client/postbacks/responses.ts @@ -0,0 +1,19 @@ +import { Transaction } from '../transactions/responses'; +import { TransactionStatus } from '../../common/TransactionStatus'; + +export interface Postback { + /** ID da transação. */ + id: number; + /** A qual evento o postback se refere. */ + event: 'transaction_status_changed' | 'subscription_status_changed'; + /** Status anterior da transação. */ + old_status: TransactionStatus; + /** Status ideal para objetos deste tipo, em um fluxo normal, onde autorização e captura são feitos com sucesso, por exemplo. */ + desired_status: TransactionStatus; + /** Status para o qual efetivamente mudou. */ + current_status: TransactionStatus; + /** Qual o tipo do objeto referido. */ + object: 'transaction' | 'subscription'; + /** Possui todas as informações do objeto. */ + transaction: Transaction; +} diff --git a/src/client/recipients/namespace.ts b/src/client/recipients/namespace.ts new file mode 100644 index 0000000..c404ff6 --- /dev/null +++ b/src/client/recipients/namespace.ts @@ -0,0 +1,13 @@ +import { Recipient } from './responses'; +import { RecipientUpdateOptions, RecipientCreateOptions } from './options'; + +declare module 'pagarme' { + export namespace client { + export namespace recipients { + function all(opts: any, body: any): any; + function create(opts: RecipientCreateOptions): Promise; + function update(opts: RecipientUpdateOptions): Promise; + function find(opts: any): any; + } + } +} diff --git a/src/client/recipients/options.ts b/src/client/recipients/options.ts new file mode 100644 index 0000000..4d104b1 --- /dev/null +++ b/src/client/recipients/options.ts @@ -0,0 +1,83 @@ +import { PhoneNumber } from '../../common/PhoneNumber'; +import { BankAccountCreateOptions } from '../bankAccounts/options'; + +/** https://docs.pagar.me/reference#objeto-recebedor-1 */ +interface RegisterInformationInputIndividual { + /** Utilizar "individual". */ + type: string; + /** Número do CPF. */ + document_number: string; + /** Nome do seller. */ + name: string; + /** Site do seller. */ + site_url?: string; + /** Email do seller */ + email: string; + /** Número de telefone do seller. Deve-se informar o DDD, número e o tipo. */ + phone_numbers?: PhoneNumber[]; +} + +/** https://docs.pagar.me/reference#objeto-recebedor-1 */ +interface RegisterInformationInputCorporation { + /** Utilizar "corporation" */ + type: string; + /** Número do CNPJ. */ + document_number: string; + /** Nome fantasia do seller. */ + company_name: string; + /** Email do seller */ + email?: string; + /** Site do seller. */ + site_url?: string; + /** Número de telefone do seller. Deve-se informar o DDD, número e o tipo. */ + phone_numbers?: PhoneNumber[]; + /** Dados dos sócios listados neste CNPJ. */ + managing_partners?: { + type: string; + document_number: string; + email: string; + name: string; + }[]; +} + +type RegisterInformationInput = + | RegisterInformationInputIndividual + | RegisterInformationInputCorporation; + +/** + * Com essa rota você consegue criar um recebedor, definindo o período que ele irá receber os pagamentos e qual a conta bancária que será utilizada para envio dos pagamentos. + * https://docs.pagar.me/reference#criando-um-recebedor + * + * Recebedores inativos - Todos os recebedores que foram criados a mais de 60 dias, não possuem valores a receber e nos últimos 60 dias não transacionaram ou realizaram transferências terão a transferência automática desabilitada. Mesmo que esse recebedor volte a transacionar eventualmente, a transferência automática precisa ser reabilitada manualmente nesses casos. + */ +export interface RecipientCreateOptions { + /** Frequência na qual o recebedor irá ser pago. Valores possíveis: daily, weekly, monthly */ + transfer_interval: string; + /** Dia no qual o recebedor vai ser pago. Depende do transfer_interval. Se for daily, não é necessário. Se for weekly pode ser de 1 (segunda) a 5 (sexta). Se for monthly, pode ser de 1 a 31. */ + transfer_day: string; + /** Variável que indica se o recebedor pode receber os pagamentos automaticamente */ + transfer_enabled: boolean; + /** Identificador de uma conta bancária previamente criada. Você também pode passar todos parâmetros necessários para criação de uma conta bancária. */ + bank_account_id?: string; + bank_account?: BankAccountCreateOptions; + /** Porcentagem do valor passível de antecipação para este recebedor. */ + anticipatable_volume_percentage?: string; + /** Se o recebedor está habilitado para receber automaticamente ou não o valor disponível para antecipação. */ + automatic_anticipation_enabled?: string; + /** Configuração de como devemos criar as antecipações automáticas do recebedor. Valor full para criarmos antecipações seguindo a regra de volume máximo antecipável. Valor 1025, para criarmos antecipações de vendas inteiras, modelos D+X e 10/25. */ + automatic_anticipation_type?: string; + /** Lista de dias em que devemos criar as antecipações automáticas. */ + automatic_anticipation_days?: string; + /** Parâmetro de quantos dias, contados do dia da antecipação para trás, devemos desconsiderar na criação desta antecipação. */ + automatic_anticipation_1025_delay?: string; + /** URL (endpoint) de seu sistema que recebe notificações a cada mudança no status do recebedor. */ + postback_url?: string; + /** Campo usado para receber informações cadastrais de um recebedor. Este recebedor pode ser pessoal física ou pessoa jurídica, onde cada um tem formato especifico. */ + register_information?: RegisterInformationInput; + /** Objeto com dados adicionais do recebedor. */ + metadata: Record; +} + +export type RecipientUpdateOptions = { + recipient_id: string; +} & Partial; diff --git a/src/client/recipients/responses.ts b/src/client/recipients/responses.ts new file mode 100644 index 0000000..bf28298 --- /dev/null +++ b/src/client/recipients/responses.ts @@ -0,0 +1,19 @@ +import { BankAccount } from '../bankAccounts/responses'; + +export interface Recipient { + object: string; + id: string; + transfer_enabled: boolean; + last_transfer?: any; + transfer_interval: string; + transfer_day: number; + automatic_anticipation_enabled: boolean; + anticipatable_volume_percentage: number; + date_created: Date; + date_updated: Date; + postback_url: string; + status: string; + status_reason?: any; + metadata?: any; + bank_account: BankAccount; +} diff --git a/src/client/refunds/namespace.ts b/src/client/refunds/namespace.ts new file mode 100644 index 0000000..03d980a --- /dev/null +++ b/src/client/refunds/namespace.ts @@ -0,0 +1,11 @@ +import { Refund } from './responses'; +import { RefundFindOptions } from './options'; + +declare module 'pagarme' { + export namespace client { + export namespace refunds { + function find(opts: any, body: RefundFindOptions): Promise; + function cancel(opts: any, body: any): any; + } + } +} diff --git a/src/client/refunds/options.ts b/src/client/refunds/options.ts new file mode 100644 index 0000000..e72b154 --- /dev/null +++ b/src/client/refunds/options.ts @@ -0,0 +1,12 @@ +export interface RefundFindOptions { + /** Filtro pelo ID da transação */ + transaction_id?: string; + /** + * Filtro pela data de criação do estorno + * + * É importante notar que serão retornados apenas os dados referentes a estornos criados à partir de 08/05/2017. + * */ + date_created?: string; + /** Filtro pela data de atualização do estorno */ + date_updated?: string; +} diff --git a/src/client/refunds/responses.ts b/src/client/refunds/responses.ts new file mode 100644 index 0000000..743fd87 --- /dev/null +++ b/src/client/refunds/responses.ts @@ -0,0 +1,23 @@ +import { PaymentMethod } from '../../common/PaymentMethod'; + +export interface Refund { + object: 'refund'; + /** Número identificador do estorno. */ + id: string; + /** Valor, em centavos, do estorno. Exemplo: R$100,00 = 10000 */ + amount: number; + /** Tipo de pagamento da transação estornada. */ + type: PaymentMethod | 'debit_card'; + /** Representa o estado do estorno. */ + status: 'refunded' | 'pending_refund'; + /** Número identificador do recebedor responsável pela taxa de processamento. */ + charge_fee_recipient_id: string; + /** Número identificador da conta bancária de destino do estorno. */ + bank_account_id: number; + /** Número identificador da transação estornada. */ + transaction_id: number; + /** Data de criação do estorno no formato ISODate */ + date_created: string; + /** Objeto com dados adicionais informados na criação do estorno. */ + metadata: JSON; +} diff --git a/src/client/reprocessedTransactions/namespace.ts b/src/client/reprocessedTransactions/namespace.ts new file mode 100644 index 0000000..bdcd40d --- /dev/null +++ b/src/client/reprocessedTransactions/namespace.ts @@ -0,0 +1,7 @@ +declare module 'pagarme' { + export namespace client { + export namespace reprocessedTransactions { + function find(opts: any, query: any): any; + } + } +} diff --git a/src/client/search/namespace.ts b/src/client/search/namespace.ts new file mode 100644 index 0000000..0397d29 --- /dev/null +++ b/src/client/search/namespace.ts @@ -0,0 +1,25 @@ +import { SearchOptions } from './options'; +import { Search } from './response'; +import { Customer } from '../customers/responses'; +import { BankAccount } from '../bankAccounts/responses'; +import { Transaction } from '../transactions/responses'; + +declare module 'pagarme' { + export namespace client { + export function search( + query: Q + ): Promise< + Search< + Q extends { type: 'customer' } + ? Customer + : Q extends { type: 'transaction' } + ? Transaction + : Q extends { type: 'subscription' } + ? any + : Q extends { type: 'bank_account' } + ? BankAccount + : T + > + >; + } +} diff --git a/src/client/search/options.ts b/src/client/search/options.ts new file mode 100644 index 0000000..c806058 --- /dev/null +++ b/src/client/search/options.ts @@ -0,0 +1,5 @@ +export interface SearchOptions { + type: 'transaction' | 'subscription' | 'bank_account' | 'customer'; + query: Record | string; + search_type?: string; +} diff --git a/src/client/search/response.ts b/src/client/search/response.ts new file mode 100644 index 0000000..93aa414 --- /dev/null +++ b/src/client/search/response.ts @@ -0,0 +1,20 @@ +export interface Search { + _shards: { + total: number; + successful: number; + failed: number; + }; + hits: { + total: number; + max_score: number; + hits: { + _index: string; + _type: string; + _id: string; + _score: number; + _source: T; + }[]; + }; + timed_out: boolean; + took: number; +} diff --git a/src/client/security/namespace.ts b/src/client/security/namespace.ts new file mode 100644 index 0000000..45001a3 --- /dev/null +++ b/src/client/security/namespace.ts @@ -0,0 +1,16 @@ +declare module 'pagarme' { + export namespace client { + export namespace security { + function encrypt(card: { + card_holder_name: string; + card_expiration_date: string; + card_number: string; + card_cvv: string; + }): Promise; + + function sign(opts: any, string: any): any; + + function verify(opts: any, string: any, expected: any): any; + } + } +} diff --git a/src/client/session/namespace.ts b/src/client/session/namespace.ts new file mode 100644 index 0000000..6bde453 --- /dev/null +++ b/src/client/session/namespace.ts @@ -0,0 +1,11 @@ +declare module 'pagarme' { + export namespace client { + export namespace session { + function create(opts: any, email: any, password: any): any; + + function destroy(opts: any, id: any): any; + + function verify(opts: any, payload: any): any; + } + } +} diff --git a/src/client/splitRules/namespace.ts b/src/client/splitRules/namespace.ts new file mode 100644 index 0000000..8eeac0c --- /dev/null +++ b/src/client/splitRules/namespace.ts @@ -0,0 +1,7 @@ +declare module 'pagarme' { + export namespace client { + export namespace splitRules { + function find(opts: any, body: any): any; + } + } +} diff --git a/src/client/status/namespace.ts b/src/client/status/namespace.ts new file mode 100644 index 0000000..e9028a5 --- /dev/null +++ b/src/client/status/namespace.ts @@ -0,0 +1,5 @@ +declare module 'pagarme' { + export namespace client { + export function status(opts: any): any; + } +} diff --git a/src/client/subscriptions/namespace.ts b/src/client/subscriptions/namespace.ts new file mode 100644 index 0000000..e73e27e --- /dev/null +++ b/src/client/subscriptions/namespace.ts @@ -0,0 +1,23 @@ +declare module 'pagarme' { + export namespace client { + export namespace subscriptions { + function all(opts: any, body: any): any; + + function cancel(opts: any, body: any): any; + + function create(opts: any, body: any): any; + + function createTransaction(opts: any, body: any): any; + + function find(opts: any, body: any): any; + + function findAll(a0: any, a1: any, ...args: any[]): any; + + function findTransactions(opts: any, body: any): any; + + function settleCharge(opts: any, body: any): any; + + function update(opts: any, body: any): any; + } + } +} diff --git a/src/client/transactions/common/Billing.ts b/src/client/transactions/common/Billing.ts new file mode 100644 index 0000000..90f1e17 --- /dev/null +++ b/src/client/transactions/common/Billing.ts @@ -0,0 +1,5 @@ +import { Address } from '../../../common/Address'; +export interface Billing { + name: string; + address: Address; +} diff --git a/src/client/transactions/common/Item.ts b/src/client/transactions/common/Item.ts new file mode 100644 index 0000000..771b85a --- /dev/null +++ b/src/client/transactions/common/Item.ts @@ -0,0 +1,18 @@ +export interface Item { + /** SKU (unidade de manutenção de estoque) ou número de identificação na loja */ + id: string; + /** Nome do item vendido. */ + title: string; + /** Preço por unidade. Por exemplo, se o preço de cada item é vinte reais e seis centavos (R$20,06), o valor deve ser fornecido como ‘2006’ */ + unit_price: number; + /** Número de unidades vendidas do produto */ + quantity: number; + /** Caracteriza o produto como bem físico ou não. Por bem físico, entende-se produtos que devem ser enviados fisicamente ao comprador, como calçados, eletrônicos e brinquedos. Se for um bem físico deve conter true (sim). Caso contrário, deve conter false (não) */ + tangible: boolean; + /** Categoria */ + category?: string; + /** Local */ + venue?: string; + /** Data Estimativa fornecida no formato AAAA-MM-DD */ + date?: string; +} diff --git a/src/client/transactions/common/Shipping.ts b/src/client/transactions/common/Shipping.ts new file mode 100644 index 0000000..b3e8dc0 --- /dev/null +++ b/src/client/transactions/common/Shipping.ts @@ -0,0 +1,13 @@ +import { Address } from '../../../common/Address'; +export interface Shipping { + /** Nome da entidade de cobrança */ + name: string; + /** Taxa de envio cobrada do comprador. Por exemplo, se a taxa de envio é de dez reais e três centavos (R$10,03), o valor deve ser fornecido como ‘1003’ */ + fee: number; + /** Data de entrega. Estimativa fornecida no formato AAAA-MM-DD */ + delivery_date?: string; + /** Entrega expressa. Se for entrega expressa, deve conter ‘true’ (sim). Caso contrário, deve conter ‘false’ (não) */ + expedited?: boolean; + /** Obrigatório. Dados do endereço de envio. Objeto descrito aqui. */ + address: Address; +} diff --git a/src/client/transactions/common/index.ts b/src/client/transactions/common/index.ts new file mode 100644 index 0000000..665db6a --- /dev/null +++ b/src/client/transactions/common/index.ts @@ -0,0 +1,3 @@ +export * from './Billing'; +export * from './Item'; +export * from './Shipping'; diff --git a/src/client/transactions/namespace.ts b/src/client/transactions/namespace.ts new file mode 100644 index 0000000..9a0d678 --- /dev/null +++ b/src/client/transactions/namespace.ts @@ -0,0 +1,49 @@ +import { + TransactionCreateOptions, + TransactionAllOptions, + TransactionCalculateInstallmentsAmountOptions, + TransactionFindOptions, + TransactionCaptureOptions, + TransactionRefundOptions +} from './options'; +import { Transaction, CalculateInstallmentsAmount } from './responses'; + +declare module 'pagarme' { + export namespace client { + export namespace transactions { + function all( + opts: any, + body: TransactionAllOptions + ): Promise; + + function calculateInstallmentsAmount( + opts: any, + body: TransactionCalculateInstallmentsAmountOptions + ): Promise; + + function capture(opts: TransactionCaptureOptions): Promise; + + function cardHashKey(opts: any): any; + + function collectPayment(opts: any, body: any): any; + + function create(opts: TransactionCreateOptions): Promise; + + function find( + opts: any, + body: T + ): Promise< + T extends TransactionFindOptions ? Transaction[] : Transaction + >; + + function refund( + opts: any, + body: TransactionRefundOptions + ): Promise; + + function reprocess(opts: any, body: any): any; + + function update(opts: any, body: any): any; + } + } +} diff --git a/src/client/transactions/options.ts b/src/client/transactions/options.ts new file mode 100644 index 0000000..f148a94 --- /dev/null +++ b/src/client/transactions/options.ts @@ -0,0 +1,102 @@ +export { TransactionCreateOptions } from './options/Create/options'; +export { TransactionRefundOptions } from './options/Refund/options'; +import { TransactionStatus } from '../../common/TransactionStatus'; +import { Address } from '../../common/Address'; +import { PhoneNumber } from '../../common/PhoneNumber'; +import { CustomerCreateOptions as Customer } from '../customers/options'; + +export interface TransactionAllOptions { + /** Retorna n objetos de transação, com um máximo de 1000 */ + count?: number; + /** Útil para implementação de uma paginação de resultados */ + page?: number; + status?: TransactionStatus; + /** utiliza unixTimeStamp */ + date_created?: string; + /** utiliza unixTimeStamp */ + date_updated?: string; + amount?: string; + installments?: string; + tid?: string; + nsu?: string; + card_holder_name?: string; + card_last_digits?: string; + card_brand?: string; + postback_url?: string; + payment_method?: string; + capture_method?: string; + boleto_url?: string; + antifraud_score?: string; + subscription_id?: string; + customer?: Partial; + address?: Partial
; + phone?: PhoneNumber; + reference_key?: string; + order_id?: string; + metadata?: JSON; +} + +export interface TransactionCalculateInstallmentsAmountOptions { + /** The interest rate's value. */ + interest_rate: number; + /** The value of the purchase. */ + amount: number; + /** The max number of installments. */ + max_installments?: number; + /** The number of installments without interest. */ + free_installments?: number; +} + +interface SplitRuleArg { + liable: boolean; + charge_processing_fee: boolean; + amount: number; + recipient_id: string; +} + +export interface TransactionCaptureOptions { + /** Id ou o token da transação a ser capturada */ + id: string; + /** Valor a ser capturado. Deve ser passado em centavos. Ex: R$ 10.00 = 1000. */ + amount: number; + /** Regras de divisão da transação */ + split_rules?: SplitRuleArg[]; +} + +interface TransactionFindOptionsByData { + /** Retorna n objetos de transação, com um máximo de 1000 */ + count?: number; + /** Útil para implementação de uma paginação de resultados */ + page?: number; + status?: TransactionStatus; + /** utiliza unixTimeStamp */ + date_created?: string; + /** utiliza unixTimeStamp */ + date_updated?: string; + amount?: string; + installments?: string; + tid?: string; + nsu?: string; + card_holder_name?: string; + card_last_digits?: string; + card_brand?: string; + postback_url?: string; + payment_method?: string; + capture_method?: string; + boleto_url?: string; + antifraud_score?: string; + subscription_id?: string; + customer?: Partial; + address?: Partial
; + phone?: PhoneNumber; + reference_key?: string; + order_id?: string; + metadata?: JSON; +} +interface TransactionFindOptionsById { + /** The transaction ID. If not sent a transaction list will be returned instead. */ + id: number; +} +export type TransactionFindOptions = + | TransactionFindOptionsByData + | TransactionFindOptionsById; diff --git a/src/client/transactions/options/Create/PaymentMethods/Boleto.ts b/src/client/transactions/options/Create/PaymentMethods/Boleto.ts new file mode 100644 index 0000000..3c67297 --- /dev/null +++ b/src/client/transactions/options/Create/PaymentMethods/Boleto.ts @@ -0,0 +1,19 @@ +export interface Boleto { + payment_method: 'boleto'; + boleto_fine?: { + /** Dias após a expiração do boleto quando a multa deve ser cobrada. */ + days?: string; + /** Valor em centavos da multa. **Valor máximo de 2% do valor do documento.** */ + amount?: string; + }; + boleto_interest?: { + /** Dias após a expiração do boleto quando o juros deve ser cobrado. */ + days?: string; + /** Valor em porcentagem da taxa de juros que será cobrado por dia. **Valor máximo de 1% ao mês.** */ + amount?: string; + }; + /** Prazo limite para pagamento do boleto. Deve ser passado no formato yyyy-MM-dd.Default: data atual + 7 dias */ + boleto_expiration_date?: string; + /** Campo instruções do boleto. Máximo de 255 caracteres */ + boleto_instructions?: string; +} diff --git a/src/client/transactions/options/Create/PaymentMethods/CreditCard.ts b/src/client/transactions/options/Create/PaymentMethods/CreditCard.ts new file mode 100644 index 0000000..9a73843 --- /dev/null +++ b/src/client/transactions/options/Create/PaymentMethods/CreditCard.ts @@ -0,0 +1,10 @@ +import { CreditCardByData } from './CreditCard/CreditCardByData'; +import { CreditCardByHash } from './CreditCard/CreditCardByHash'; +import { CreditCardById } from './CreditCard/CreditCardById'; + +interface CreditCardBase { + payment_method: 'credit_card'; +} + +export type CreditCard = CreditCardBase & + (CreditCardByData | CreditCardByHash | CreditCardById); diff --git a/src/client/transactions/options/Create/PaymentMethods/CreditCard/CreditCardByData.ts b/src/client/transactions/options/Create/PaymentMethods/CreditCard/CreditCardByData.ts new file mode 100644 index 0000000..17084aa --- /dev/null +++ b/src/client/transactions/options/Create/PaymentMethods/CreditCard/CreditCardByData.ts @@ -0,0 +1,10 @@ +export interface CreditCardByData { + /** Nome do portador do cartão. */ + card_holder_name: string; + /** Data de validade do cartão no formato MMAA. */ + card_expiration_date: string; + /** Número do cartão. */ + card_number: string; + /** Código verificador do cartão. */ + card_cvv: string; +} diff --git a/src/client/transactions/options/Create/PaymentMethods/CreditCard/CreditCardByHash.ts b/src/client/transactions/options/Create/PaymentMethods/CreditCard/CreditCardByHash.ts new file mode 100644 index 0000000..4e59dc3 --- /dev/null +++ b/src/client/transactions/options/Create/PaymentMethods/CreditCard/CreditCardByHash.ts @@ -0,0 +1,4 @@ +export interface CreditCardByHash { + /** Informações do cartão do cliente criptografadas em sua aplicação. **OBS: apenas para transações de Cartão de crédito você deve passar o `card_hash` ou `card_id`. Caso inclua os dados do cartão diretamente pelo código, esse campo torna-se dispensável.** */ + card_hash: string; +} diff --git a/src/client/transactions/options/Create/PaymentMethods/CreditCard/CreditCardById.ts b/src/client/transactions/options/Create/PaymentMethods/CreditCard/CreditCardById.ts new file mode 100644 index 0000000..ad13cce --- /dev/null +++ b/src/client/transactions/options/Create/PaymentMethods/CreditCard/CreditCardById.ts @@ -0,0 +1,4 @@ +export interface CreditCardById { + /** Ao realizar uma transação, retornamos o card_id do cartão, para que nas próximas transações ele possa ser utilizado como forma de identificar os dados de pagamento. Exemplo de utilização: One-click buy. OBS: apenas para transações de Cartão de crédito você deve passar o card_hash ou card_id. Caso inclua os dados do cartão diretamente pelo código, esse campo torna-se dispensável. */ + card_id: string; +} diff --git a/src/client/transactions/options/Create/PaymentMethods/Pix.ts b/src/client/transactions/options/Create/PaymentMethods/Pix.ts new file mode 100644 index 0000000..792f26a --- /dev/null +++ b/src/client/transactions/options/Create/PaymentMethods/Pix.ts @@ -0,0 +1,13 @@ +export interface Pix { + payment_method: 'pix'; + /** Deve ser informada a data de expiração do Pix. Aceitaremos os + formatos ISO 8601 (YYYY-MM-DD) para Pix com expiração até o fim do dia e RFC3339 + (YYYY-MM-DDThh:mm:ss) quando o Pix deva ser encerrado em algum horário específico + do dia */ + pix_expiration_date: string; + /** campos que serão exibidos como soft descriptors ao pagador */ + pix_additional_fields: { + name: string; + value: string; + }[]; +} diff --git a/src/client/transactions/options/Create/PaymentMethods/index.ts b/src/client/transactions/options/Create/PaymentMethods/index.ts new file mode 100644 index 0000000..f7d291b --- /dev/null +++ b/src/client/transactions/options/Create/PaymentMethods/index.ts @@ -0,0 +1,3 @@ +export * from './CreditCard'; +export * from './Boleto'; +export * from './Pix'; diff --git a/src/client/transactions/options/Create/options.ts b/src/client/transactions/options/Create/options.ts new file mode 100644 index 0000000..64133ad --- /dev/null +++ b/src/client/transactions/options/Create/options.ts @@ -0,0 +1,46 @@ +import { + Pix as TransactionCreateOptionsPix, + Boleto as TransactionCreateOptionsBoleto, + CreditCard as TransactionCreateOptionsCreditCard +} from './PaymentMethods/index'; +import { Item, Billing, Shipping } from '../../common/index'; +import { CustomerCreateOptions as Customer } from '../../../customers/options'; + +interface TransactionCreateOptionsBase { + /** Valor a ser cobrado. Deve ser passado em centavos. Ex: R$ 10.00 = 1000. Deve ser no mínimo 1 real (100) */ + amount: number; + /** Endpoint do seu sistema que receberá informações a cada atualização da transação. **Caso você defina este parâmetro, o processamento da transação se torna assíncrono.** */ + postback_url?: string; + /** Utilize false caso queira manter o processamento síncrono de uma transação. Ou seja, a resposta da transação é recebida na hora. */ + async?: boolean; + /** Número de parcelas da transação, sendo mínimo: 1 e Máximo: 12. OBS: Se o pagamento for boleto, o padrão é 1 */ + installments?: string; + /** Descrição que aparecerá na fatura depois do nome de sua empresa. Máximo de 13 caracteres, sendo alfanuméricos e espaços. */ + soft_descriptor?: string; + /** Após a autorização de uma transação, você pode escolher se irá capturar ou adiar a captura do valor. Caso opte por postergar a captura, atribua o valor false. */ + capture?: boolean; + /** Regras de divisão da transação */ + split_rules?: Array; + customer?: Customer | { id: string }; + /** Obrigatório com o antifraude habilitado. Define os dados de cobrança, como nome e endereço */ + billing?: Billing; + /** Deve ser preenchido no caso da venda de bem físico (ver objeto items) */ + shipping?: Shipping; + /** Define os dados dos itens vendidos, como nome, preço unitário e quantidade */ + items?: Item[]; + /** Você pode passar dados adicionais na criação da transação para facilitar uma futura análise de dados tanto em nossa dashboard, quanto por seus sistemas. Ex: metadata[ idProduto ]=13933139 */ + metadata?: string; + /** Valor único que identifica a transação para permitir uma nova tentativa de requisição com a segurança de que a mesma operação não será executada duas vezes acidentalmente.*/ + reference_key?: string; + /** Valor único que identifica a sessão do usuário acessando o site. Máximo de 100 caracteres */ + session?: string; + /** Data e hora do dispositivo que está efetuando a transação. Deve ser enviado no seguinte formato: yyyy-MM-dd'T'HH:mm:ss'Z. Por exemplo: 2017-10-31T14:53:00.000Z. OBS.: este campo é necessário para transações de mundo físico (com método de captura EMV e Magstripe) */ + local_time?: string; +} + +export type TransactionCreateOptions = TransactionCreateOptionsBase & + ( + | TransactionCreateOptionsPix + | TransactionCreateOptionsBoleto + | TransactionCreateOptionsCreditCard + ); diff --git a/src/client/transactions/options/Refund/options.ts b/src/client/transactions/options/Refund/options.ts new file mode 100644 index 0000000..5700b60 --- /dev/null +++ b/src/client/transactions/options/Refund/options.ts @@ -0,0 +1,25 @@ +import { BankAccountCreateOptions } from '../../../bankAccounts/options'; + +interface BoletoWithData { + /** Objeto bank_account que contém os dados da conta bancária para onde o estorno será feito. */ + bank_account: BankAccountCreateOptions; +} +interface BoletoWithId { + /** ID da conta bancária. */ + bank_account_id: string; +} +// eslint-disable-next-line @typescript-eslint/no-empty-interface +interface CreditCard {} + +export interface DefaultArgs { + /** The transaction ID. */ + id: number; + /** Valor desejado para o estorno da transação. Deve ser passado em centavos. Ex: R$ 10.00 = 1000. */ + amount?: number; + /** Define se a operação deve ser feita de maneira assíncrona ou não. Caso true(default), a reposta de sua request será enviada via post para sua postback_url cadastrada na respectiva transação. Caso false, no response será enviado o status final de refunded. */ + async?: boolean; + /** Você pode passar dados adicionais no estorno da transação para facilitar uma futura análise de dados por seus sistemas. */ + metadata?: string; +} +export type DynamicArgs = CreditCard | (BoletoWithId | BoletoWithData); +export type TransactionRefundOptions = DefaultArgs & DynamicArgs; diff --git a/src/client/transactions/responses.ts b/src/client/transactions/responses.ts new file mode 100644 index 0000000..566c44c --- /dev/null +++ b/src/client/transactions/responses.ts @@ -0,0 +1,113 @@ +import { + Document, + Address, + RefuseStatus, + TransactionStatus, + PaymentMethod +} from '../../common/index'; +import { Shipping, Item } from './common/index'; +import { Customer } from '../customers/responses'; + +interface Installment { + installment: number; + amount: number; + installment_amount: number; +} + +export interface Transaction { + /** Nome do tipo do objeto criado/modificado. */ + object: 'transaction'; + /** Representa o estado da transação. A cada atualização no processamento da transação, esta propriedade é alterada e, caso você esteja usando uma postback_url, os seus servidores são notificados desses updates. */ + status: TransactionStatus; + /** Motivo pelo qual a transação foi recusada. */ + refuse_reason?: RefuseStatus; + /** Agente responsável pela validação ou anulação da transação. */ + status_reason: RefuseStatus; + /** Adquirente responsável pelo processamento da transação. */ + acquirer_name: 'development' | 'pagarme' | 'stone' | 'cielo' | 'rede'; + /** ID da adquirente responsável pelo processamento da transação. */ + acquirer_id: string; + /** Mensagem de resposta da adquirente referente ao status da transação. */ + acquirer_response_code: string; + /** Código de autorização retornado pela bandeira. */ + authorization_code: string; + /** Texto que irá aparecer na fatura do cliente depois do nome da loja. */ + soft_descriptor: string; + /** Código que identifica a transação na adquirente. */ + tid: string; + /** Código que identifica a transação na adquirente. */ + nsu: string; + /** Data de criação da transação no formato ISODate */ + date_created: string; + /** Data de atualização da transação no formato ISODate */ + date_updated: string; + /** Valor, em centavos, da transação. Ex: 100,00 = 10000 */ + amount: number; + /** Valor em centavos autorizado na transação, sempre menor ou igual a `amount`. */ + authorized_amount: number; + /** Valor em centavos capturado na transação, sempre menor ou igual a `authorized_amount`. */ + paid_amount: number; + /** Valor em centavos estornado até o momento na transação, sempre menor ou igual a `paidamount`. */ + refunded_amount: number; + /** Número de parcelas a serem cobradas. */ + installments: number; + /** Número identificador da transação */ + id: number; + /** Custo da transação para o lojista, envolvendo processamento e antifraude. */ + cost: number; + /** Nome do portador do cartão. */ + card_holder_name: string; + /** Últimos 4 dígitos do cartão. */ + card_last_digits: string; + /** ÚPrimeiros 5 dígitos do cartão */ + card_first_digits: string; + /** Bandeira do cartão. */ + card_brand: string; + /** Usado em transações EMV, define se a validação do cartão aconteceu online(com banco emissor), ou offline( através do chip). */ + card_pin_mode: string; + /** URL (endpoint) de seu sistema que recebe notificações a cada mudança no status da transação. */ + postback_url: string; + /** Método de pagamento */ + payment_method: PaymentMethod; + pix_qrcode: string; + pix_expiration_date: string; + pix_additional_fields: string; + /** Define qual foi a forma de captura dos dados de pagamento. */ + capture_method: 'magstripe' | 'emv' | 'ecommerce'; + /** Define qual foi a nota de antifraude atribuída a transação. Lembrando que por padrão, transações com score >= 95 são recusadas. */ + antifraud_score: string; + /** URL do boleto para impressão */ + boleto_url: string; + /** Código de barras do boleto gerado na transação */ + boleto_barcode: string; + /** Data de expiração do boleto (em ISODate) */ + boleto_expiration_date: string; + /** Mostra se a transação foi criada utilizando a API Key ou Encryption Key */ + referer: string; + /** IP de origem que criou a transação, podendo ser diretamente de seu cliente, caso a requisição venha diretamente do client-side, ou de seus servidores, caso tudo esteja centralizando em sua aplicação no server-side. */ + ip: string; + /** Caso essa transação tenha sido originada na cobrança de uma assinatura, o id desta será o valor dessa propriedade. */ + subscription_id: string; + customer: Customer; + billing: Shipping; + shipping: Shipping; + items: Item[]; + address: Address; + documents: Document[]; + /** Objeto com dados adicionais informados na criação da transação. */ + metadata: any; + /** Objeto com as regras de split definidas para essa transação. */ + split_rules: any; + /** Objeto com dados usados na integração com antifraude. */ + antifraud_metadata: any; + /** Valor único que identifica a sessão do usuário acessando o site */ + session: string; + /** Valor único que identifica a transação para permitir uma nova tentativa de requisição com a segurança de que a mesma operação não será executada duas vezes acidentalmente. */ + reference_key: string; +} + +export interface CalculateInstallmentsAmount { + installments: { + [key: string]: Installment; + }; +} diff --git a/src/client/transfers/namespace.ts b/src/client/transfers/namespace.ts new file mode 100644 index 0000000..8c6a16b --- /dev/null +++ b/src/client/transfers/namespace.ts @@ -0,0 +1,16 @@ +import { Transfer } from './responses'; +import { TransferAllOptions, TransferCreateOptions } from './options'; + +declare module 'pagarme' { + export namespace client { + export namespace transfers { + function all(args: TransferAllOptions): Promise; + function create(opts: TransferCreateOptions): Promise; + + function cancel(opts: any, body: any): any; + function days(opts: any): any; + function find(opts: any, body: any): any; + function limits(opts: any, params: any): any; + } + } +} diff --git a/src/client/transfers/options.ts b/src/client/transfers/options.ts new file mode 100644 index 0000000..9617b7d --- /dev/null +++ b/src/client/transfers/options.ts @@ -0,0 +1,16 @@ +export interface TransferCreateOptions { + amount: string; + recipientId: string; + metaData?: JSON; +} + +export interface TransferAllOptions { + count: number; + page: number; + bank_account_id?: string; + amount?: string; + recipient_id?: string; + id?: string; + date_created?: string; + created_at?: string; +} diff --git a/src/client/transfers/responses.ts b/src/client/transfers/responses.ts new file mode 100644 index 0000000..cc03efb --- /dev/null +++ b/src/client/transfers/responses.ts @@ -0,0 +1,21 @@ +import { BankAccount } from '../bankAccounts/responses'; + +export interface Transfer { + object: 'transfer'; + Id: number | string; + Amount: number | string; + Type: 'ted' | 'doc' | 'credito_em_conta'; + Status: + | 'pending_transfer' + | 'transferred' + | 'failed' + | 'processing' + | 'canceled'; + Fee: number | string; + Funding_date: string; + Funding_estimated_date: string; + transaction_id: number | string; + Bank_account: BankAccount; + Date_created: string; + metadata: JSON; +} diff --git a/src/client/user/namespace.ts b/src/client/user/namespace.ts new file mode 100644 index 0000000..14ea104 --- /dev/null +++ b/src/client/user/namespace.ts @@ -0,0 +1,23 @@ +declare module 'pagarme' { + export namespace client { + export namespace user { + function all(opts: any, body: any): any; + + function create(opts: any, body: any): any; + + function current(opts: any): any; + + function destroy(opts: any, body: any): any; + + function find(opts: any, body: any): any; + + function redefinePassword(opts: any, body: any): any; + + function resetPassword(opts: any, body: any): any; + + function update(opts: any, body: any): any; + + function updatePassword(opts: any, body: any): any; + } + } +} diff --git a/src/client/validate/namespace.ts b/src/client/validate/namespace.ts new file mode 100644 index 0000000..694319f --- /dev/null +++ b/src/client/validate/namespace.ts @@ -0,0 +1,36 @@ +export interface Validate { + cnpj?: boolean; + cpf?: boolean; + ddd?: boolean; + zipcode?: boolean; + phone?: boolean; + card?: { + brand: string; + card_holder_name: boolean; + card_number: boolean; + card_cvv: boolean; + card_expiration_date: boolean; + }; +} + +type InputValidateGenericTypes = string | string[] | number | number[]; + +export interface InputValidate { + cnpj?: InputValidateGenericTypes; + cpf?: InputValidateGenericTypes; + ddd?: InputValidateGenericTypes; + zipcode?: InputValidateGenericTypes; + phone?: InputValidateGenericTypes; + card?: { + card_holder_name: string; + card_number: string | number; + card_cvv: string | number; + card_expiration_date: string | number; + }; +} + +declare module 'pagarme' { + export namespace client { + export function validate(body: InputValidate): Validate; + } +} diff --git a/src/client/versions/namespace.ts b/src/client/versions/namespace.ts new file mode 100644 index 0000000..fb32024 --- /dev/null +++ b/src/client/versions/namespace.ts @@ -0,0 +1,5 @@ +declare module 'pagarme' { + export namespace client { + export function versions(opts: any): any; + } +} diff --git a/src/client/zipCodes/namespace.ts b/src/client/zipCodes/namespace.ts new file mode 100644 index 0000000..9dbeaaf --- /dev/null +++ b/src/client/zipCodes/namespace.ts @@ -0,0 +1,7 @@ +declare module 'pagarme' { + export namespace client { + export namespace zipcodes { + function find(a0: any, a1: any, ...args: any[]): any; + } + } +} diff --git a/src/common/Address.ts b/src/common/Address.ts new file mode 100644 index 0000000..9a380ca --- /dev/null +++ b/src/common/Address.ts @@ -0,0 +1,18 @@ +export interface Address { + /** País. Duas letras minúsculas. Deve seguir o padrão `ISO 3166-1 alpha-2` */ + country: string; + /** Estado */ + state: string; + /** Cidade */ + city: string; + /** Rua */ + street: string; + /** Número */ + street_number: string; + /** Cidade */ + zipcode: string; + /** Bairro */ + neighborhood?: string; + /** Complemento. **Não pode ser uma string vazia** nem null */ + complementary: string; +} diff --git a/src/common/Authentication.ts b/src/common/Authentication.ts new file mode 100644 index 0000000..47f3f5b --- /dev/null +++ b/src/common/Authentication.ts @@ -0,0 +1,6 @@ +export interface Authentication { + api_key?: string; + encryption_key?: string; + email?: string; + password?: string; +} diff --git a/src/common/Country.ts b/src/common/Country.ts new file mode 100644 index 0000000..84f68d1 --- /dev/null +++ b/src/common/Country.ts @@ -0,0 +1,244 @@ +export type Country = + | 'af' + | 'al' + | 'dz' + | 'as' + | 'ad' + | 'ao' + | 'ai' + | 'aq' + | 'ag' + | 'ar' + | 'am' + | 'aw' + | 'au' + | 'at' + | 'az' + | 'bs' + | 'bh' + | 'bd' + | 'bb' + | 'by' + | 'be' + | 'bz' + | 'bj' + | 'bm' + | 'bt' + | 'bo' + | 'ba' + | 'bw' + | 'bv' + | 'br' + | 'io' + | 'bn' + | 'bg' + | 'bf' + | 'bi' + | 'kh' + | 'cm' + | 'ca' + | 'cv' + | 'ky' + | 'cf' + | 'td' + | 'cl' + | 'cn' + | 'cx' + | 'cc' + | 'co' + | 'km' + | 'cg' + | 'cd' + | 'ck' + | 'cr' + | 'ci' + | 'hr' + | 'cu' + | 'cy' + | 'cz' + | 'dk' + | 'dj' + | 'dm' + | 'do' + | 'ec' + | 'eg' + | 'sv' + | 'gq' + | 'er' + | 'ee' + | 'et' + | 'fk' + | 'fo' + | 'fj' + | 'fi' + | 'fr' + | 'gf' + | 'pf' + | 'tf' + | 'ga' + | 'gm' + | 'ge' + | 'de' + | 'gh' + | 'gi' + | 'gr' + | 'gl' + | 'gd' + | 'gp' + | 'gu' + | 'gt' + | 'gg' + | 'gn' + | 'gw' + | 'gy' + | 'ht' + | 'hm' + | 'va' + | 'hn' + | 'hk' + | 'hu' + | 'is' + | 'in' + | 'id' + | 'ir' + | 'iq' + | 'ie' + | 'im' + | 'il' + | 'it' + | 'jm' + | 'jp' + | 'je' + | 'jo' + | 'kz' + | 'ke' + | 'ki' + | 'kp' + | 'kr' + | 'kw' + | 'kg' + | 'la' + | 'lv' + | 'lb' + | 'ls' + | 'lr' + | 'ly' + | 'li' + | 'lt' + | 'lu' + | 'mo' + | 'mk' + | 'mg' + | 'mw' + | 'my' + | 'mv' + | 'ml' + | 'mt' + | 'mh' + | 'mq' + | 'mr' + | 'mu' + | 'yt' + | 'mx' + | 'fm' + | 'md' + | 'mc' + | 'mn' + | 'me' + | 'ms' + | 'ma' + | 'mz' + | 'mm' + | 'na' + | 'nr' + | 'np' + | 'nl' + | 'an' + | 'nc' + | 'nz' + | 'ni' + | 'ne' + | 'ng' + | 'nu' + | 'nf' + | 'mp' + | 'no' + | 'om' + | 'pk' + | 'pw' + | 'ps' + | 'pa' + | 'pg' + | 'py' + | 'pe' + | 'ph' + | 'pn' + | 'pl' + | 'pt' + | 'pr' + | 'qa' + | 're' + | 'ro' + | 'ru' + | 'rw' + | 'sh' + | 'kn' + | 'lc' + | 'pm' + | 'vc' + | 'ws' + | 'sm' + | 'st' + | 'sa' + | 'sn' + | 'rs' + | 'sc' + | 'sl' + | 'sg' + | 'sk' + | 'si' + | 'sb' + | 'so' + | 'za' + | 'gs' + | 'es' + | 'lk' + | 'sd' + | 'sr' + | 'sj' + | 'sz' + | 'se' + | 'ch' + | 'sy' + | 'tw' + | 'tj' + | 'tz' + | 'th' + | 'tl' + | 'tg' + | 'tk' + | 'to' + | 'tt' + | 'tn' + | 'tr' + | 'tm' + | 'tc' + | 'tv' + | 'ug' + | 'ua' + | 'ae' + | 'gb' + | 'us' + | 'um' + | 'uy' + | 'uz' + | 'vu' + | 've' + | 'vn' + | 'vg' + | 'vi' + | 'wf' + | 'eh' + | 'ye' + | 'zm' + | 'zw'; diff --git a/src/common/CustomerType.ts b/src/common/CustomerType.ts new file mode 100644 index 0000000..3b98224 --- /dev/null +++ b/src/common/CustomerType.ts @@ -0,0 +1 @@ +export type CustomerType = 'individual' | 'corporation' | 'other'; diff --git a/src/common/Document.ts b/src/common/Document.ts new file mode 100644 index 0000000..339351e --- /dev/null +++ b/src/common/Document.ts @@ -0,0 +1,10 @@ +export interface Document { + /** + * Tipo de documento. + * + * Para compradores brasileiros, deve ser fornecido ao menos um CPF (no caso de pessoa física, i.e. `individual`) ou CNPJ (no caso de pessoa jurídica, i.e. `corporation`). Para compradores internacionais, o documento pode ser um passaporte (type `passport`) ou um campo personalizado (type `other`). + * */ + type: 'cpf' | 'cnpj' | 'passaport' | 'other'; + /** Número do documento */ + number: string; +} diff --git a/src/common/PaymentMethod.ts b/src/common/PaymentMethod.ts new file mode 100644 index 0000000..5733b0d --- /dev/null +++ b/src/common/PaymentMethod.ts @@ -0,0 +1 @@ +export type PaymentMethod = 'credit_card' | 'boleto' | 'pix'; diff --git a/src/common/PhoneNumber.ts b/src/common/PhoneNumber.ts new file mode 100644 index 0000000..f03e985 --- /dev/null +++ b/src/common/PhoneNumber.ts @@ -0,0 +1,5 @@ +export interface PhoneNumber { + ddd: string; + number: string; + type: string; +} diff --git a/src/common/RefuseStatus.ts b/src/common/RefuseStatus.ts new file mode 100644 index 0000000..01c8ed8 --- /dev/null +++ b/src/common/RefuseStatus.ts @@ -0,0 +1,6 @@ +export type RefuseStatus = + | 'acquirer' + | 'antifraud' + | 'internal_error' + | 'no_acquirer' + | 'acquirer_timeout'; diff --git a/src/common/TransactionStatus.ts b/src/common/TransactionStatus.ts new file mode 100644 index 0000000..ae21e06 --- /dev/null +++ b/src/common/TransactionStatus.ts @@ -0,0 +1,11 @@ +export type TransactionStatus = + | 'processing' + | 'authorized' + | 'paid' + | 'refunded' + | 'waiting_payment' + | 'pending_refund' + | 'refused' + | 'chargedback' + | 'analyzing' + | 'pending_review'; diff --git a/src/common/index.ts b/src/common/index.ts new file mode 100644 index 0000000..b921cf9 --- /dev/null +++ b/src/common/index.ts @@ -0,0 +1,9 @@ +export * from './Authentication'; +export * from './Document'; +export * from './PaymentMethod'; +export * from './TransactionStatus'; +export * from './RefuseStatus'; +export * from './Country'; +export * from './PhoneNumber'; +export * from './Address'; +export * from './CustomerType'; diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..634cb9d --- /dev/null +++ b/src/index.ts @@ -0,0 +1,39 @@ +/* eslint-disable @typescript-eslint/triple-slash-reference */ +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// + +declare module 'pagarme' {} diff --git a/tsconfig.json b/tsconfig.json index 6cd199a..02b2c82 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,20 +1,11 @@ { "compilerOptions": { - "module": "commonjs", - "noLib": false, - "skipLibCheck": true, - "lib": [ - "es2015" - ], - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, "target": "es2017", - "strict": true, - "strictPropertyInitialization": false, "newLine": "LF", - "outDir": "./lib" + "outDir": "./lib", }, - "file": "index.d.ts" + "files": [ + "src/index.ts" + ], + "exclude": ["node_modules"] } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index f2697e2..6501933 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,30 +10,30 @@ "@babel/highlight" "^7.10.4" "@babel/code-frame@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" - integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg== + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658" + integrity sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g== dependencies: - "@babel/highlight" "^7.10.4" + "@babel/highlight" "^7.12.13" -"@babel/helper-validator-identifier@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" - integrity sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw== +"@babel/helper-validator-identifier@^7.12.11": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed" + integrity sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw== -"@babel/highlight@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" - integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA== +"@babel/highlight@^7.10.4", "@babel/highlight@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.12.13.tgz#8ab538393e00370b26271b01fa08f7f27f2e795c" + integrity sha512-kocDQvIbgMKlWxXe9fof3TQ+gkIPOUSEYhJjqUjvKMez3krV7vbzYCDq39Oj11UAVK7JqPVGQPlgE85dPNlQww== dependencies: - "@babel/helper-validator-identifier" "^7.10.4" + "@babel/helper-validator-identifier" "^7.12.11" chalk "^2.0.0" js-tokens "^4.0.0" "@babel/runtime@^7.9.6": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.10.5.tgz#303d8bd440ecd5a491eae6117fd3367698674c5c" - integrity sha512-otddXKhdNn7d0ptoFRHtMLa8LqDxLYwTjB4nYgM1yy5N6gU/MUf8zqyyLltCH3yAVitBzmwK4us+DD0l/MauAg== + version "7.12.18" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.18.tgz#af137bd7e7d9705a412b3caaf991fe6aaa97831b" + integrity sha512-BogPQ7ciE6SYAUPtlm9tWbgI9+2AgqSam6QivMgXgAT+fKbgppaj4ZX15MHeLC1PVF5sNk70huBu20XxWOs8Cg== dependencies: regenerator-runtime "^0.13.4" @@ -198,130 +198,128 @@ update-notifier "^2.2.0" yargs "^8.0.2" -"@nodelib/fs.scandir@2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" - integrity sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw== +"@nodelib/fs.scandir@2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz#d4b3549a5db5de2683e0c1071ab4f140904bbf69" + integrity sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA== dependencies: - "@nodelib/fs.stat" "2.0.3" + "@nodelib/fs.stat" "2.0.4" run-parallel "^1.1.9" -"@nodelib/fs.stat@2.0.3", "@nodelib/fs.stat@^2.0.2": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3" - integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA== +"@nodelib/fs.stat@2.0.4", "@nodelib/fs.stat@^2.0.2": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz#a3f2dd61bab43b8db8fa108a121cfffe4c676655" + integrity sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q== "@nodelib/fs.walk@^1.2.3": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz#011b9202a70a6366e436ca5c065844528ab04976" - integrity sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ== + version "1.2.6" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz#cce9396b30aa5afe9e3756608f5831adcb53d063" + integrity sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow== dependencies: - "@nodelib/fs.scandir" "2.1.3" + "@nodelib/fs.scandir" "2.1.4" fastq "^1.6.0" -"@octokit/auth-token@^2.4.0": - version "2.4.2" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.2.tgz#10d0ae979b100fa6b72fa0e8e63e27e6d0dbff8a" - integrity sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ== +"@octokit/auth-token@^2.4.4": + version "2.4.5" + resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.5.tgz#568ccfb8cb46f36441fac094ce34f7a875b197f3" + integrity sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA== dependencies: - "@octokit/types" "^5.0.0" + "@octokit/types" "^6.0.3" -"@octokit/core@^2.4.3": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-2.5.4.tgz#f7fbf8e4f86c5cc2497a8887ba2561ec8d358054" - integrity sha512-HCp8yKQfTITYK+Nd09MHzAlP1v3Ii/oCohv0/TW9rhSLvzb98BOVs2QmVYuloE6a3l6LsfyGIwb6Pc4ycgWlIQ== +"@octokit/core@^3.2.3": + version "3.2.5" + resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.2.5.tgz#57becbd5fd789b0592b915840855f3a5f233d554" + integrity sha512-+DCtPykGnvXKWWQI0E1XD+CCeWSBhB6kwItXqfFmNBlIlhczuDPbg+P6BtLnVBaRJDAjv+1mrUJuRsFSjktopg== dependencies: - "@octokit/auth-token" "^2.4.0" - "@octokit/graphql" "^4.3.1" - "@octokit/request" "^5.4.0" - "@octokit/types" "^5.0.0" + "@octokit/auth-token" "^2.4.4" + "@octokit/graphql" "^4.5.8" + "@octokit/request" "^5.4.12" + "@octokit/types" "^6.0.3" before-after-hook "^2.1.0" - universal-user-agent "^5.0.0" + universal-user-agent "^6.0.0" "@octokit/endpoint@^6.0.1": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.4.tgz#da3eafdee1fabd6e5b6ca311efcba26f0dd99848" - integrity sha512-ZJHIsvsClEE+6LaZXskDvWIqD3Ao7+2gc66pRG5Ov4MQtMvCU9wGu1TItw9aGNmRuU9x3Fei1yb+uqGaQnm0nw== + version "6.0.11" + resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.11.tgz#082adc2aebca6dcefa1fb383f5efb3ed081949d1" + integrity sha512-fUIPpx+pZyoLW4GCs3yMnlj2LfoXTWDUVPTC4V3MUEKZm48W+XYpeWSZCv+vYF1ZABUm2CqnDVf1sFtIYrj7KQ== dependencies: - "@octokit/types" "^5.0.0" - is-plain-object "^3.0.0" + "@octokit/types" "^6.0.3" + is-plain-object "^5.0.0" universal-user-agent "^6.0.0" -"@octokit/graphql@^4.3.1": - version "4.5.2" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.5.2.tgz#33021ebf94939cf47562823851ab11fe64392274" - integrity sha512-SpB/JGdB7bxRj8qowwfAXjMpICUYSJqRDj26MKJAryRQBqp/ZzARsaO2LEFWzDaps0FLQoPYVGppS0HQXkBhdg== +"@octokit/graphql@^4.5.8": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.6.0.tgz#f9abca55f82183964a33439d5264674c701c3327" + integrity sha512-CJ6n7izLFXLvPZaWzCQDjU/RP+vHiZmWdOunaCS87v+2jxMsW9FB5ktfIxybRBxZjxuJGRnxk7xJecWTVxFUYQ== dependencies: "@octokit/request" "^5.3.0" - "@octokit/types" "^5.0.0" + "@octokit/types" "^6.0.3" universal-user-agent "^6.0.0" -"@octokit/plugin-paginate-rest@^2.2.0": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.3.tgz#a6ad4377e7e7832fb4bdd9d421e600cb7640ac27" - integrity sha512-eKTs91wXnJH8Yicwa30jz6DF50kAh7vkcqCQ9D7/tvBAP5KKkg6I2nNof8Mp/65G0Arjsb4QcOJcIEQY+rK1Rg== +"@octokit/openapi-types@^5.1.0": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-5.1.0.tgz#661fd03c7d55fbcb0a0937d3353d87dea012f52c" + integrity sha512-bodZvSYgycbUuuKrC/anCBUExvaSSWzMMFz0xl7pcJujxnmGxvqvcFHktjx1ZOSyeNKLfYF0QCgibaHUGsZTng== + +"@octokit/plugin-paginate-rest@^2.6.2": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.10.0.tgz#5925156d809c94b7bfc47b28e17488415548fa67" + integrity sha512-71OsKBSMcQEu/6lfVbhv5C5ikU1rn10rKot/WiV7do7fyfElQ2eCUQFogHPbj0ci5lnKAjvahOiMAr6lcvL8Qw== dependencies: - "@octokit/types" "^5.0.0" + "@octokit/types" "^6.10.0" -"@octokit/plugin-request-log@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.0.tgz#eef87a431300f6148c39a7f75f8cfeb218b2547e" - integrity sha512-ywoxP68aOT3zHCLgWZgwUJatiENeHE7xJzYjfz8WI0goynp96wETBF+d95b8g/uL4QmS6owPVlaxiz3wyMAzcw== +"@octokit/plugin-request-log@^1.0.2": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.3.tgz#70a62be213e1edc04bb8897ee48c311482f9700d" + integrity sha512-4RFU4li238jMJAzLgAwkBAw+4Loile5haQMQr+uhFq27BmyJXcXSKvoQKqh0agsZEiUlW6iSv3FAgvmGkur7OQ== -"@octokit/plugin-rest-endpoint-methods@3.17.0": - version "3.17.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.17.0.tgz#d8ba04eb883849dd98666c55bf49d8c9fe7be055" - integrity sha512-NFV3vq7GgoO2TrkyBRUOwflkfTYkFKS0tLAPym7RNpkwLCttqShaEGjthOsPEEL+7LFcYv3mU24+F2yVd3npmg== +"@octokit/plugin-rest-endpoint-methods@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.12.0.tgz#1cec405cd4eaf0bdb58cb7d2a9b3d8473b3a70e8" + integrity sha512-RgnQ1aoetdOJjZYC37LV5FNlL7GY/v1CdC5dur1Zp/UiADJlbRFbAz/xLx26ovXw67dK7EUtwCghS+6QyiI9RA== dependencies: - "@octokit/types" "^4.1.6" + "@octokit/types" "^6.10.0" deprecation "^2.3.1" "@octokit/request-error@^2.0.0": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.0.2.tgz#0e76b83f5d8fdda1db99027ea5f617c2e6ba9ed0" - integrity sha512-2BrmnvVSV1MXQvEkrb9zwzP0wXFNbPJij922kYBTLIlIafukrGOb+ABBT2+c6wZiuyWDH1K1zmjGQ0toN/wMWw== + version "2.0.5" + resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.0.5.tgz#72cc91edc870281ad583a42619256b380c600143" + integrity sha512-T/2wcCFyM7SkXzNoyVNWjyVlUwBvW3igM3Btr/eKYiPmucXTtkxt2RBsf6gn3LTzaLSLTQtNmvg+dGsOxQrjZg== dependencies: - "@octokit/types" "^5.0.1" + "@octokit/types" "^6.0.3" deprecation "^2.0.0" once "^1.4.0" -"@octokit/request@^5.3.0", "@octokit/request@^5.4.0": - version "5.4.6" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.4.6.tgz#e8cc8d4cfc654d30428ea92aaa62168fd5ead7eb" - integrity sha512-9r8Sn4CvqFI9LDLHl9P17EZHwj3ehwQnTpTE+LEneb0VBBqSiI/VS4rWIBfBhDrDs/aIGEGZRSB0QWAck8u+2g== +"@octokit/request@^5.3.0", "@octokit/request@^5.4.12": + version "5.4.14" + resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.4.14.tgz#ec5f96f78333bb2af390afa5ff66f114b063bc96" + integrity sha512-VkmtacOIQp9daSnBmDI92xNIeLuSRDOIuplp/CJomkvzt7M18NXgG044Cx/LFKLgjKt9T2tZR6AtJayba9GTSA== dependencies: "@octokit/endpoint" "^6.0.1" "@octokit/request-error" "^2.0.0" - "@octokit/types" "^5.0.0" + "@octokit/types" "^6.7.1" deprecation "^2.0.0" - is-plain-object "^3.0.0" - node-fetch "^2.3.0" + is-plain-object "^5.0.0" + node-fetch "^2.6.1" once "^1.4.0" universal-user-agent "^6.0.0" -"@octokit/rest@^17.0.0": - version "17.11.2" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-17.11.2.tgz#f3dbd46f9f06361c646230fd0ef8598e59183ead" - integrity sha512-4jTmn8WossTUaLfNDfXk4fVJgbz5JgZE8eCs4BvIb52lvIH8rpVMD1fgRCrHbSd6LRPE5JFZSfAEtszrOq3ZFQ== - dependencies: - "@octokit/core" "^2.4.3" - "@octokit/plugin-paginate-rest" "^2.2.0" - "@octokit/plugin-request-log" "^1.0.0" - "@octokit/plugin-rest-endpoint-methods" "3.17.0" - -"@octokit/types@^4.1.6": - version "4.1.10" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-4.1.10.tgz#e4029c11e2cc1335051775bc1600e7e740e4aca4" - integrity sha512-/wbFy1cUIE5eICcg0wTKGXMlKSbaAxEr00qaBXzscLXpqhcwgXeS6P8O0pkysBhRfyjkKjJaYrvR1ExMO5eOXQ== +"@octokit/rest@^18.0.0": + version "18.2.0" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.2.0.tgz#b75c87870bb1f7bc9f37ae0e9acb3a411a34a25f" + integrity sha512-xsp6bIqL2sb/NmgLXTxw96caegobRw+YHnzdIi70ruquHtPPDW2cBAONhDYMUuAOeXx0JH2auOeplpk4SQJy1w== dependencies: - "@types/node" ">= 8" + "@octokit/core" "^3.2.3" + "@octokit/plugin-paginate-rest" "^2.6.2" + "@octokit/plugin-request-log" "^1.0.2" + "@octokit/plugin-rest-endpoint-methods" "4.12.0" -"@octokit/types@^5.0.0", "@octokit/types@^5.0.1": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-5.1.0.tgz#4377a3f39edad3e60753fb5c3c310756f1ded57f" - integrity sha512-OFxUBgrEllAbdEmWp/wNmKIu5EuumKHG4sgy56vjZ8lXPgMhF05c76hmulfOdFHHYRpPj49ygOZJ8wgVsPecuA== +"@octokit/types@^6.0.3", "@octokit/types@^6.10.0", "@octokit/types@^6.7.1": + version "6.10.0" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.10.0.tgz#243faa864b0955f574012d52e179de38ac9ebafe" + integrity sha512-aMDo10kglofejJ96edCBIgQLVuzMDyjxmhdgEcoUUD64PlHYSrNsAGqN0wZtoiX4/PCQ3JLA50IpkP1bcKD/cA== dependencies: - "@types/node" ">= 8" + "@octokit/openapi-types" "^5.1.0" "@semantic-release/commit-analyzer@^8.0.0": version "8.0.1" @@ -342,11 +340,11 @@ integrity sha512-9Tj/qn+y2j+sjCI3Jd+qseGtHjOAeg7dU2/lVcqIQ9TV3QDaDXDYXcoOHU+7o2Hwh8L8ymL4gfuO7KxDs3q2zg== "@semantic-release/github@^7.0.0": - version "7.0.7" - resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-7.0.7.tgz#e3999b06433d08871acd68ecec2b4e212c05d09f" - integrity sha512-Sai2UucYQ+5rJzKVEVJ4eiZNDdoo0/CzfpValBdeU5h97uJE7t4CoBTmUWkiXlPOx46CSw1+JhI+PHC1PUxVZw== + version "7.2.0" + resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-7.2.0.tgz#925f3efd91adabfc4bbe0de24b79fe1a8a38b4e2" + integrity sha512-tMRnWiiWb43whRHvbDGXq4DGEbKRi56glDpXDJZit4PIiwDPX7Kx3QzmwRtDOcG+8lcpGjpdPabYZ9NBxoI2mw== dependencies: - "@octokit/rest" "^17.0.0" + "@octokit/rest" "^18.0.0" "@semantic-release/error" "^2.2.0" aggregate-error "^3.0.0" bottleneck "^2.18.1" @@ -364,23 +362,23 @@ url-join "^4.0.0" "@semantic-release/npm@^7.0.0": - version "7.0.5" - resolved "https://registry.yarnpkg.com/@semantic-release/npm/-/npm-7.0.5.tgz#61c45691abb863f6939cca6aac958d3c22508632" - integrity sha512-D+oEmsx9aHE1q806NFQwSC9KdBO8ri/VO99eEz0wWbX2jyLqVyWr7t0IjKC8aSnkkQswg/4KN/ZjfF6iz1XOpw== + version "7.0.10" + resolved "https://registry.yarnpkg.com/@semantic-release/npm/-/npm-7.0.10.tgz#85e5b201e71896ecc3f45d7a496f5485f97df0b8" + integrity sha512-DXFEhgSt5u22imTWbw8wfcVGB90nFJNcjUBtJI3zswJojzZ7yXpY4i2Va5RBRQRTtj00BfG0stbilAtKrKp35g== dependencies: "@semantic-release/error" "^2.2.0" aggregate-error "^3.0.0" - execa "^4.0.0" + execa "^5.0.0" fs-extra "^9.0.0" lodash "^4.17.15" nerf-dart "^1.0.0" normalize-url "^5.0.0" - npm "^6.10.3" + npm "^6.14.9" rc "^1.2.8" read-pkg "^5.0.0" registry-auth-token "^4.0.0" semver "^7.1.2" - tempy "^0.5.0" + tempy "^1.0.0" "@semantic-release/release-notes-generator@^9.0.0": version "9.0.1" @@ -403,25 +401,15 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== -"@types/color-name@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" - integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== - "@types/json-schema@^7.0.3": - version "7.0.5" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.5.tgz#dcce4430e64b443ba8945f0290fb564ad5bac6dd" - integrity sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ== + version "7.0.7" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad" + integrity sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA== "@types/minimist@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.0.tgz#69a23a3ad29caf0097f06eda59b361ee2f0639f6" - integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY= - -"@types/node@>= 8": - version "14.0.23" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.23.tgz#676fa0883450ed9da0bb24156213636290892806" - integrity sha512-Z4U8yDAl5TFkmYsZdFPdjeMa57NOvnaf1tljHzhouaPEp7LCj2JKkejpI1ODviIAQuW4CcQmxkQ77rnLsOOoKw== + version "1.2.1" + resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.1.tgz#283f669ff76d7b8260df8ab7a4262cc83d988256" + integrity sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg== "@types/normalize-package-data@^2.4.0": version "2.4.0" @@ -521,10 +509,10 @@ abbrev@1, abbrev@~1.1.1: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -acorn-jsx@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.2.0.tgz#4c66069173d6fdd68ed85239fc256226182b2ebe" - integrity sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ== +acorn-jsx@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" + integrity sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng== acorn-jsx@^5.3.1: version "5.3.1" @@ -544,9 +532,9 @@ agent-base@4, agent-base@^4.3.0: es6-promisify "^5.0.0" agent-base@6: - version "6.0.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.1.tgz#808007e4e5867decb0ab6ab2f928fbdb5a596db4" - integrity sha512-01q25QQDwLSsyfhrKbn8yuur+JNw0H+0Y4JiGIKd3z9aYk/w/2kxD/Upc+t2ZBBSUNff50VjPsSW2YxM8QYKVg== + version "6.0.2" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== dependencies: debug "4" @@ -565,31 +553,31 @@ agentkeepalive@^3.4.1: humanize-ms "^1.2.1" aggregate-error@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.0.1.tgz#db2fe7246e536f40d9b5442a39e117d7dd6a24e0" - integrity sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA== + version "3.1.0" + resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" + integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== dependencies: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv@^6.10.0, ajv@^6.5.5: - version "6.12.3" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.3.tgz#18c5af38a111ddeb4f2697bd78d68abc1cabd706" - integrity sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA== +ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4: + version "6.12.6" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== dependencies: fast-deep-equal "^3.1.1" fast-json-stable-stringify "^2.0.0" json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^6.12.4: - version "6.12.5" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.5.tgz#19b0e8bae8f476e5ba666300387775fb1a00a4da" - integrity sha512-lRF8RORchjpKG50/WFf8xmg7sgCLFiYNNnqdKflk63whMQcWR5ngGjiSXkL9bjxy6B2npOK2HSMN49jEBMSkag== +ajv@^7.0.2: + version "7.1.1" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-7.1.1.tgz#1e6b37a454021fa9941713f38b952fc1c8d32a84" + integrity sha512-ga/aqDYnUy/o7vbsRTFhhTsNeXiYb5JWDIcRIeZfwRNCefwjNTVYCGdGSUrEmiu3yDK3vFvNbgJxvrQW4JXrYQ== dependencies: fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" uri-js "^4.2.2" ajv@^7.0.2: @@ -649,11 +637,10 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1: color-convert "^1.9.0" ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" - integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== dependencies: - "@types/color-name" "^1.1.1" color-convert "^2.0.1" ansicolors@~0.3.2: @@ -716,11 +703,6 @@ arrify@^1.0.1: resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== - asap@^2.0.0: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -759,9 +741,9 @@ aws-sign2@~0.7.0: integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= aws4@^1.8.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.10.0.tgz#a17b3a8ea811060e74d47d306122400ad4497ae2" - integrity sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA== + version "1.11.0" + resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" + integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== balanced-match@^1.0.0: version "1.0.0" @@ -776,11 +758,11 @@ bcrypt-pbkdf@^1.0.0: tweetnacl "^0.14.3" before-after-hook@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635" - integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A== + version "2.1.1" + resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.1.tgz#99ae36992b5cfab4a83f6bee74ab27835f28f405" + integrity sha512-5ekuQOvO04MDj7kYZJaMab2S8SPjGJbotVNyv7QYFCOAwrGZs/YnoDNlh1U+m5hl7H2D/+n0taaAV/tfyd3KMA== -bin-links@^1.1.2, bin-links@^1.1.7: +bin-links@^1.1.2, bin-links@^1.1.8: version "1.1.8" resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-1.1.8.tgz#bd39aadab5dc4bdac222a07df5baf1af745b2228" integrity sha512-KgmVfx+QqggqP9dA3iIc5pA4T1qEEEL+hOhOhNPaUm77OTrJoOXE/C05SJLNJe6m/2wUK7F1tDSou7n5TfCDzQ== @@ -871,6 +853,14 @@ cacache@^12.0.0, cacache@^12.0.2, cacache@^12.0.3: unique-filename "^1.1.1" y18n "^4.0.0" +call-bind@^1.0.0, call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + call-limit@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/call-limit/-/call-limit-1.1.1.tgz#ef15f2670db3f1992557e2d965abc459e6e358d4" @@ -900,11 +890,6 @@ camelcase@^5.0.0, camelcase@^5.3.1: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -camelcase@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.0.0.tgz#5259f7c30e35e278f1bdc2a4d91230b37cad981e" - integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w== - capture-stack-trace@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" @@ -991,9 +976,9 @@ cli-table3@^0.5.0, cli-table3@^0.5.1: colors "^1.1.2" cli-table@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23" - integrity sha1-9TsFJmqLGguTSz0IIebi3FkUriM= + version "0.3.5" + resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.5.tgz#643508c1d6b6e7b02c82c18afd5fcc8b6dab3ca6" + integrity sha512-7uo2+RMNQUZ13M199udxqwk1qxTOS53EUak4gmu/aioUpdH5RvBz0JkJslcWz6ABKedZNqXXzikMZgHh+qF16A== dependencies: colors "1.0.3" @@ -1115,6 +1100,14 @@ compare-func@^1.3.1: array-ify "^1.0.0" dot-prop "^3.0.0" +compare-func@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-2.0.0.tgz#fb65e75edbddfd2e568554e8b5b05fff7a51fcb3" + integrity sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA== + dependencies: + array-ify "^1.0.0" + dot-prop "^5.1.0" + compare-versions@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62" @@ -1144,11 +1137,11 @@ config-chain@^1.1.12: proto-list "~1.2.1" configstore@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f" - integrity sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw== + version "3.1.5" + resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.5.tgz#e9af331fadc14dabd544d3e7e76dc446a09a530f" + integrity sha512-nlOhI4+fdzoK5xmJ+NY+1gZK56bwEaWZr8fYuXohZ9Vkc1o3a4T/R3M+yE/w7x/ZVJ1zF8c+oaOvF0dztdUgmA== dependencies: - dot-prop "^4.1.0" + dot-prop "^4.2.1" graceful-fs "^4.1.2" make-dir "^1.0.0" unique-string "^1.0.0" @@ -1161,11 +1154,11 @@ console-control-strings@^1.0.0, console-control-strings@^1.1.0, console-control- integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= conventional-changelog-angular@^5.0.0: - version "5.0.10" - resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.10.tgz#5cf7b00dd315b6a6a558223c80d5ef24ddb34205" - integrity sha512-k7RPPRs0vp8+BtPsM9uDxRl6KcgqtCJmzRD1wRtgqmhQ96g8ifBGo9O/TZBG23jqlXS/rg8BKRDELxfnQQGiaA== + version "5.0.12" + resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz#c979b8b921cbfe26402eb3da5bbfda02d865a2b9" + integrity sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw== dependencies: - compare-func "^1.3.1" + compare-func "^2.0.0" q "^1.5.1" conventional-changelog-conventionalcommits@4.3.0: @@ -1178,40 +1171,40 @@ conventional-changelog-conventionalcommits@4.3.0: q "^1.5.1" conventional-changelog-writer@^4.0.0: - version "4.0.16" - resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.0.16.tgz#ca10f2691a8ea6d3c2eb74bd35bcf40aa052dda5" - integrity sha512-jmU1sDJDZpm/dkuFxBeRXvyNcJQeKhGtVcFFkwTphUAzyYWcwz2j36Wcv+Mv2hU3tpvLMkysOPXJTLO55AUrYQ== + version "4.1.0" + resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.1.0.tgz#1ca7880b75aa28695ad33312a1f2366f4b12659f" + integrity sha512-WwKcUp7WyXYGQmkLsX4QmU42AZ1lqlvRW9mqoyiQzdD+rJWbTepdWoKJuwXTS+yq79XKnQNa93/roViPQrAQgw== dependencies: - compare-func "^1.3.1" - conventional-commits-filter "^2.0.6" + compare-func "^2.0.0" + conventional-commits-filter "^2.0.7" dateformat "^3.0.0" handlebars "^4.7.6" json-stringify-safe "^5.0.1" lodash "^4.17.15" - meow "^7.0.0" + meow "^8.0.0" semver "^6.0.0" split "^1.0.0" - through2 "^3.0.0" + through2 "^4.0.0" -conventional-commits-filter@^2.0.0, conventional-commits-filter@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-2.0.6.tgz#0935e1240c5ca7698329affee1b6a46d33324c4c" - integrity sha512-4g+sw8+KA50/Qwzfr0hL5k5NWxqtrOVw4DDk3/h6L85a9Gz0/Eqp3oP+CWCNfesBvZZZEFHF7OTEbRe+yYSyKw== +conventional-commits-filter@^2.0.0, conventional-commits-filter@^2.0.7: + version "2.0.7" + resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz#f8d9b4f182fce00c9af7139da49365b136c8a0b3" + integrity sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA== dependencies: lodash.ismatch "^4.4.0" modify-values "^1.0.0" conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.7: - version "3.1.0" - resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.1.0.tgz#10140673d5e7ef5572633791456c5d03b69e8be4" - integrity sha512-RSo5S0WIwXZiRxUGTPuYFbqvrR4vpJ1BDdTlthFgvHt5kEdnd1+pdvwWphWn57/oIl4V72NMmOocFqqJ8mFFhA== + version "3.2.1" + resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.2.1.tgz#ba44f0b3b6588da2ee9fd8da508ebff50d116ce2" + integrity sha512-OG9kQtmMZBJD/32NEw5IhN5+HnBqVjy03eC+I71I0oQRFA5rOgA4OtPOYG7mz1GkCfCNxn3gKIX8EiHJYuf1cA== dependencies: JSONStream "^1.0.4" is-text-path "^1.0.1" lodash "^4.17.15" - meow "^7.0.0" - split2 "^2.0.0" - through2 "^3.0.0" + meow "^8.0.0" + split2 "^3.0.0" + through2 "^4.0.0" trim-off-newlines "^1.0.0" copy-concurrently@^1.0.0: @@ -1227,9 +1220,9 @@ copy-concurrently@^1.0.0: run-queue "^1.0.0" core-js@^3.6.1: - version "3.6.5" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.5.tgz#7395dc273af37fb2e50e9bd3d9fe841285231d1a" - integrity sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA== + version "3.9.0" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.9.0.tgz#790b1bb11553a2272b36e2625c7179db345492f8" + integrity sha512-PyFBJaLq93FlyYdsndE5VaueA9K5cNB7CGzeCj191YYLhkQM0gdZR2SKihM70oF0wdqKSKClv/tEBOpoRmdOVQ== core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" @@ -1274,6 +1267,8 @@ cross-spawn@^5.0.1: shebang-command "^1.2.0" which "^1.2.9" +<<<<<<< HEAD +======= cross-spawn@^6.0.0: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -1285,6 +1280,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" +>>>>>>> origin/master cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -1334,20 +1330,20 @@ debug@3.1.0: ms "2.0.0" debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" - integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== + version "4.3.1" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" + integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== dependencies: - ms "^2.1.1" + ms "2.1.2" debug@^3.1.0: - version "3.2.6" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" - integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ== + version "3.2.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== dependencies: ms "^2.1.1" -debuglog@^1.0.1: +debuglog@*, debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= @@ -1387,13 +1383,27 @@ defaults@^1.0.3: dependencies: clone "^1.0.2" -define-properties@^1.1.2, define-properties@^1.1.3: +define-properties@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== dependencies: object-keys "^1.0.12" +del@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/del/-/del-6.0.0.tgz#0b40d0332cea743f1614f818be4feb717714c952" + integrity sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ== + dependencies: + globby "^11.0.1" + graceful-fs "^4.2.4" + is-glob "^4.0.1" + is-path-cwd "^2.2.0" + is-path-inside "^3.0.2" + p-map "^4.0.0" + rimraf "^3.0.2" + slash "^3.0.0" + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -1448,13 +1458,20 @@ dot-prop@^3.0.0: dependencies: is-obj "^1.0.0" -dot-prop@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" - integrity sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ== +dot-prop@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.1.tgz#45884194a71fc2cda71cbb4bceb3a4dd2f433ba4" + integrity sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ== dependencies: is-obj "^1.0.0" +dot-prop@^5.1.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" + integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q== + dependencies: + is-obj "^2.0.0" + dotenv@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-5.0.1.tgz#a5317459bd3d79ab88cff6e44057a6a3fbb1fcef" @@ -1545,9 +1562,9 @@ err-code@^1.0.0: integrity sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA= errno@~0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" - integrity sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg== + version "0.1.8" + resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" + integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== dependencies: prr "~1.0.1" @@ -1558,22 +1575,25 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.17.0-next.1, es-abstract@^1.17.5: - version "1.17.6" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.6.tgz#9142071707857b2cacc7b89ecb670316c3e2d52a" - integrity sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw== +es-abstract@^1.18.0-next.2: + version "1.18.0-next.2" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.18.0-next.2.tgz#088101a55f0541f595e7e057199e27ddc8f3a5c2" + integrity sha512-Ih4ZMFHEtZupnUh6497zEL4y2+w8+1ljnCyaTa+adcoafI1GOvMwFlDjBLfWR7y9VLfrjRJe9ocuHY1PSR9jjw== dependencies: + call-bind "^1.0.2" es-to-primitive "^1.2.1" function-bind "^1.1.1" + get-intrinsic "^1.0.2" has "^1.0.3" has-symbols "^1.0.1" - is-callable "^1.2.0" - is-regex "^1.1.0" - object-inspect "^1.7.0" + is-callable "^1.2.2" + is-negative-zero "^2.0.1" + is-regex "^1.1.1" + object-inspect "^1.9.0" object-keys "^1.1.1" - object.assign "^4.1.0" - string.prototype.trimend "^1.0.1" - string.prototype.trimstart "^1.0.1" + object.assign "^4.1.2" + string.prototype.trimend "^1.0.3" + string.prototype.trimstart "^1.0.3" es-to-primitive@^1.2.1: version "1.2.1" @@ -1620,15 +1640,7 @@ eslint-plugin-prettier@3.3.1: dependencies: prettier-linter-helpers "^1.0.0" -eslint-scope@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.0.tgz#d0f971dfe59c69e0cada684b23d49dbf82600ce5" - integrity sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -eslint-scope@^5.1.1: +eslint-scope@^5.0.0, eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== @@ -1696,13 +1708,13 @@ eslint@7.20.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -espree@^7.3.0: - version "7.3.0" - resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.0.tgz#dc30437cf67947cf576121ebd780f15eeac72348" - integrity sha512-dksIWsvKCixn1yrEXO8UosNSxaDoSYpq9reEjZSbHLpT5hpaCAKTLBwq0RHtLrIr+c0ByiYzWT8KTMRzoRCNlw== +espree@^7.3.0, espree@^7.3.1: + version "7.3.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" + integrity sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g== dependencies: acorn "^7.4.0" - acorn-jsx "^5.2.0" + acorn-jsx "^5.3.1" eslint-visitor-keys "^1.3.0" espree@^7.3.1: @@ -1726,13 +1738,6 @@ esquery@^1.4.0: dependencies: estraverse "^5.1.0" -esrecurse@^4.1.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" - integrity sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ== - dependencies: - estraverse "^4.1.0" - esrecurse@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" @@ -1740,17 +1745,12 @@ esrecurse@^4.3.0: dependencies: estraverse "^5.2.0" -estraverse@^4.1.0, estraverse@^4.1.1: +estraverse@^4.1.1: version "4.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== -estraverse@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.1.0.tgz#374309d39fd935ae500e7b92e8a6b4c720e59642" - integrity sha512-FyohXK+R0vE+y1nHLoBM7ZTyqRpqAlhdZHCWIWEviFLiGB8b04H6bQs8G+XTthacvT8VuwvteiP7RJSxMs8UEw== - -estraverse@^5.2.0: +estraverse@^5.1.0, estraverse@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ== @@ -1773,23 +1773,10 @@ execa@^0.7.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - execa@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/execa/-/execa-4.0.3.tgz#0a34dabbad6d66100bd6f2c576c8669403f317f2" - integrity sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A== + version "4.1.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-4.1.0.tgz#4e5491ad1572f2f17a77d388c6c857135b22847a" + integrity sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA== dependencies: cross-spawn "^7.0.0" get-stream "^5.0.0" @@ -1842,9 +1829,9 @@ fast-diff@^1.1.2: integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== fast-glob@^3.1.1: - version "3.2.4" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" - integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ== + version "3.2.5" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661" + integrity sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -1864,9 +1851,9 @@ fast-levenshtein@^2.0.6: integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= fastq@^1.6.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.8.0.tgz#550e1f9f59bbc65fe185cb6a9b4d95357107f481" - integrity sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q== + version "1.10.1" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.10.1.tgz#8b8f2ac8bf3632d67afcd65dac248d5fdc45385e" + integrity sha512-AWuv6Ery3pM+dY7LYS8YIaCiQvUaos9OB1RyNgaOWnaX+Tik7Onvcsf8x8c+YtDeT0maYLniBip2hox5KtEXXA== dependencies: reusify "^1.0.4" @@ -1890,9 +1877,9 @@ figures@^3.0.0: escape-string-regexp "^1.0.5" file-entry-cache@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.0.tgz#7921a89c391c6d93efec2169ac6bf300c527ea0a" - integrity sha512-fqoO76jZ3ZnYrXLDRxBR1YvOvc0k844kcOg40bgsPrE25LAb/PDqTY+ho64Xh2c8ZXgIKldchCFHczG2UVRcWA== + version "6.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== dependencies: flat-cache "^3.0.4" @@ -1903,6 +1890,11 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +filter-obj@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" + integrity sha1-mzERErxsYSehbgFsbF1/GeCAXFs= + find-npm-prefix@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/find-npm-prefix/-/find-npm-prefix-1.0.2.tgz#8d8ce2c78b3b4b9e66c8acc6a37c231eb841cfdf" @@ -1954,9 +1946,9 @@ flat-cache@^3.0.4: rimraf "^3.0.2" flatted@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.1.0.tgz#a5d06b4a8b01e3a63771daa5cb7a1903e2e57067" - integrity sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA== + version "3.1.1" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.1.1.tgz#c4b489e80096d9df1dfc97c79871aea7c617c469" + integrity sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA== flush-write-stream@^1.0.0: version "1.1.1" @@ -2006,14 +1998,14 @@ fs-extra@^8.1.0: universalify "^0.1.0" fs-extra@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc" - integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ== + version "9.1.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== dependencies: at-least-node "^1.0.0" graceful-fs "^4.2.0" jsonfile "^6.0.1" - universalify "^1.0.0" + universalify "^2.0.0" fs-minipass@^1.2.5: version "1.2.7" @@ -2075,7 +2067,7 @@ genfun@^5.0.0: resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== -gentle-fs@^2.3.0: +gentle-fs@^2.3.0, gentle-fs@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/gentle-fs/-/gentle-fs-2.3.1.tgz#11201bf66c18f930ddca72cf69460bdfa05727b1" integrity sha512-OlwBBwqCFPcjm33rF2BjW+Pr6/ll2741l+xooiwTCeaX2CA1ZuclavyMBe0/KlR21/XGsgY6hzEQZ15BdNa13Q== @@ -2102,6 +2094,15 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== +get-intrinsic@^1.0.2: + version "1.1.1" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6" + integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + get-stdin@7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" @@ -2125,9 +2126,9 @@ get-stream@^4.0.0, get-stream@^4.1.0: pump "^3.0.0" get-stream@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" - integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== + version "5.2.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" + integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== dependencies: pump "^3.0.0" @@ -2156,15 +2157,15 @@ git-log-parser@^1.2.0: traverse "~0.6.6" git-raw-commits@^2.0.0: - version "2.0.7" - resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.7.tgz#02e9357727a9755efa8e14dd5e59b381c29068fb" - integrity sha512-SkwrTqrDxw8y0G1uGJ9Zw13F7qu3LF8V4BifyDeiJCxSnjRGZD9SaoMiMqUvvXMXh6S3sOQ1DsBN7L2fMUZW/g== + version "2.0.10" + resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.10.tgz#e2255ed9563b1c9c3ea6bd05806410290297bbc1" + integrity sha512-sHhX5lsbG9SOO6yXdlwgEMQ/ljIn7qMpAbJZCGfXX2fq5T8M5SrDnpYk9/4HswTildcIqatsWa91vty6VhWSaQ== dependencies: dargs "^7.0.0" - lodash.template "^4.0.2" - meow "^7.0.0" - split2 "^2.0.0" - through2 "^3.0.0" + lodash "^4.17.15" + meow "^8.0.0" + split2 "^3.0.0" + through2 "^4.0.0" glob-parent@^5.0.0, glob-parent@^5.1.0: version "5.1.1" @@ -2200,9 +2201,9 @@ globals@^12.1.0: type-fest "^0.8.1" globby@^11.0.0, globby@^11.0.1: - version "11.0.1" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357" - integrity sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ== + version "11.0.2" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.2.tgz#1af538b766a3b540ebfb58a32b2e2d5897321d83" + integrity sha512-2ZThXDvvV8fYFRVIxnrMQBipZQDr7MxKAmQK1vujaj9/7eF0efG7BPUKJ7jP7G5SLF37xKDXvO4S/KKLj/Z0og== dependencies: array-union "^2.1.0" dir-glob "^3.0.1" @@ -2229,14 +2230,14 @@ got@^6.7.1: url-parse-lax "^1.0.0" graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.4: - version "4.2.4" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" - integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== + version "4.2.6" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee" + integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ== handlebars@^4.7.6: - version "4.7.6" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e" - integrity sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA== + version "4.7.7" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" + integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== dependencies: minimist "^1.2.5" neo-async "^2.6.0" @@ -2251,11 +2252,11 @@ har-schema@^2.0.0: integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= har-validator@~5.1.3: - version "5.1.3" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" - integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g== + version "5.1.5" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" + integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== dependencies: - ajv "^6.5.5" + ajv "^6.12.3" har-schema "^2.0.0" hard-rejection@^2.1.0: @@ -2273,7 +2274,7 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-symbols@^1.0.0, has-symbols@^1.0.1: +has-symbols@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg== @@ -2300,10 +2301,10 @@ hosted-git-info@^2.1.4, hosted-git-info@^2.7.1, hosted-git-info@^2.8.8: resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488" integrity sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg== -hosted-git-info@^3.0.0: - version "3.0.5" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-3.0.5.tgz#bea87905ef7317442e8df3087faa3c842397df03" - integrity sha512-i4dpK6xj9BIpVOTboXIlKG9+8HMKggcrMX7WA24xZtKwX0TPelq/rbaS5rCKeNX8sJXZJGdSxpnEGtta+wismQ== +hosted-git-info@^3.0.0, hosted-git-info@^3.0.6: + version "3.0.8" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-3.0.8.tgz#6e35d4cc87af2c5f816e4cb9ce350ba87a3f370d" + integrity sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw== dependencies: lru-cache "^6.0.0" @@ -2422,9 +2423,9 @@ ignore@^5.1.4: integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" - integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== + version "3.3.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== dependencies: parent-module "^1.0.0" resolve-from "^4.0.0" @@ -2441,7 +2442,7 @@ import-lazy@^2.1.0: resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= -imurmurhash@^0.1.4: +imurmurhash@*, imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= @@ -2469,7 +2470,7 @@ inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: +ini@^1.3.4, ini@^1.3.5, ini@^1.3.8, ini@~1.3.0: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== @@ -2516,10 +2517,10 @@ is-arrayish@^0.2.1: resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= -is-callable@^1.1.4, is-callable@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.0.tgz#83336560b54a38e35e3a2df7afd0454d691468bb" - integrity sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw== +is-callable@^1.1.4, is-callable@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.3.tgz#8b1e0500b73a1d76c70487636f368e519de8db8e" + integrity sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ== is-ci@^1.0.10: version "1.2.1" @@ -2535,6 +2536,13 @@ is-cidr@^3.0.0: dependencies: cidr-regex "^2.0.10" +is-core-module@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a" + integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ== + dependencies: + has "^1.0.3" + is-date-object@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.2.tgz#bda736f2cd8fd06d32844e7743bfa7494c3bfd7e" @@ -2577,6 +2585,11 @@ is-installed-globally@^0.1.0: global-dirs "^0.1.0" is-path-inside "^1.0.0" +is-negative-zero@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.1.tgz#3de746c18dda2319241a53675908d8f766f11c24" + integrity sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w== + is-npm@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" @@ -2592,6 +2605,16 @@ is-obj@^1.0.0: resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= +is-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" + integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== + +is-path-cwd@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" + integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== + is-path-inside@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" @@ -2599,26 +2622,32 @@ is-path-inside@^1.0.0: dependencies: path-is-inside "^1.0.1" +is-path-inside@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.2.tgz#f5220fc82a3e233757291dddc9c5877f2a1f3017" + integrity sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg== + is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= -is-plain-object@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-3.0.1.tgz#662d92d24c0aa4302407b0d45d21f2251c85f85b" - integrity sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g== +is-plain-object@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" + integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== is-redirect@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= -is-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.0.tgz#ece38e389e490df0dc21caea2bd596f987f767ff" - integrity sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw== +is-regex@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.2.tgz#81c8ebde4db142f2cf1c53fc86d6a45788266251" + integrity sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg== dependencies: + call-bind "^1.0.2" has-symbols "^1.0.1" is-retry-allowed@^1.0.0: @@ -2697,9 +2726,9 @@ js-tokens@^4.0.0: integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== js-yaml@^3.13.1: - version "3.14.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482" - integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A== + version "3.14.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== dependencies: argparse "^1.0.7" esprima "^4.0.0" @@ -2714,6 +2743,11 @@ json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-bet resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -2747,11 +2781,11 @@ jsonfile@^4.0.0: graceful-fs "^4.1.6" jsonfile@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.0.1.tgz#98966cba214378c8c84b82e085907b40bf614179" - integrity sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg== + version "6.1.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== dependencies: - universalify "^1.0.0" + universalify "^2.0.0" optionalDependencies: graceful-fs "^4.1.6" @@ -2802,7 +2836,7 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" -libcipm@^4.0.7: +libcipm@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/libcipm/-/libcipm-4.0.8.tgz#dcea4919e10dfbce420327e63901613b9141bc89" integrity sha512-IN3hh2yDJQtZZ5paSV4fbvJg4aHxCCg5tcZID/dSVlTuUiWktsgaldVljJv6Z5OUlYspx6xQkbR0efNodnIrOA== @@ -2922,7 +2956,7 @@ libnpmteam@^1.0.2: get-stream "^4.0.0" npm-registry-fetch "^4.0.0" -libnpx@^10.2.2: +libnpx@^10.2.4: version "10.2.4" resolved "https://registry.yarnpkg.com/libnpx/-/libnpx-10.2.4.tgz#ef0e3258e29aef2ec7ee3276115e20e67f67d4ee" integrity sha512-BPc0D1cOjBeS8VIBKUu5F80s6njm0wbVt7CsGMrIcJ+SI7pi7V0uVPGpEMH9H5L8csOcclTxAXFE2VAsJXUhfA== @@ -2992,9 +3026,9 @@ locate-path@^6.0.0: p-locate "^5.0.0" lock-verify@^2.0.2, lock-verify@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/lock-verify/-/lock-verify-2.2.0.tgz#12432feb68bb647071c78c44bde16029a0f7d935" - integrity sha512-BhM1Vqsu7x0s+EalTifNjdDPks+ZjdAhComvnA6VcCIlDOI5ouELXqAe1BYuEIP4zGN0W08xVm6byJV1LnCiJg== + version "2.2.1" + resolved "https://registry.yarnpkg.com/lock-verify/-/lock-verify-2.2.1.tgz#81107948c51ed16f97b96ff8b60675affb243fc1" + integrity sha512-n0Zw2DVupKfZMazy/HIFVNohJ1z8fIoZ77WBnyyBGG6ixw83uJNyrbiJvvHWe1QKkGiBCjj8RCPlymltliqEww== dependencies: "@iarna/cli" "^1.2.0" npm-package-arg "^6.1.0" @@ -3007,6 +3041,11 @@ lockfile@^1.0.4: dependencies: signal-exit "^3.0.2" +lodash._baseindexof@*: + version "3.1.0" + resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" + integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw= + lodash._baseuniq@~4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8" @@ -3015,15 +3054,32 @@ lodash._baseuniq@~4.6.0: lodash._createset "~4.0.0" lodash._root "~3.0.0" +lodash._bindcallback@*: + version "3.0.1" + resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" + integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4= + +lodash._cacheindexof@*: + version "3.0.2" + resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" + integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI= + +lodash._createcache@*: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" + integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM= + dependencies: + lodash._getnative "^3.0.0" + lodash._createset@~4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY= -lodash._reinterpolate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" - integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= +lodash._getnative@*, lodash._getnative@^3.0.0: + version "3.9.1" + resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" + integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= lodash._root@~3.0.0: version "3.0.1" @@ -3060,20 +3116,10 @@ lodash.isstring@^4.0.1: resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= -lodash.template@^4.0.2: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab" - integrity sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A== - dependencies: - lodash._reinterpolate "^3.0.0" - lodash.templatesettings "^4.0.0" - -lodash.templatesettings@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33" - integrity sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ== - dependencies: - lodash._reinterpolate "^3.0.0" +lodash.restparam@*: + version "3.6.1" + resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" + integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= lodash.toarray@^4.4.0: version "4.4.0" @@ -3101,9 +3147,9 @@ lodash.without@~4.4.0: integrity sha1-PNRXSgC2e643OpS3SHcmQFB7eqw= lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.4: - version "4.17.20" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" - integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== lowercase-keys@^1.0.0: version "1.0.1" @@ -3132,11 +3178,6 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -macos-release@^2.2.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.4.0.tgz#837b39fc01785c3584f103c5599e0f0c8068b49e" - integrity sha512-ko6deozZYiAkqa/0gmcsz+p4jSy3gY7/ZsCEokPaYd8k+6/aXGkiTgr61+Owup7Sf+xjqW8u2ElhoM9SEcEfuA== - make-dir@^1.0.0: version "1.3.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" @@ -3188,10 +3229,10 @@ marked@^2.0.0: resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.0.tgz#9662bbcb77ebbded0662a7be66ff929a8611cee5" integrity sha512-NqRSh2+LlN2NInpqTQnS614Y/3NkVMFFU6sJlRFEpxJ/LHuK/qJECH7/fXZjk4VZstPW/Pevjil/VtSONsLc7Q== -meant@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/meant/-/meant-1.0.1.tgz#66044fea2f23230ec806fb515efea29c44d2115d" - integrity sha512-UakVLFjKkbbUwNWJ2frVLnnAtbb7D7DsloxRd3s/gDpI8rdv8W5Hp3NaDb+POBI1fQdeussER6NB8vpcRURvlg== +meant@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/meant/-/meant-1.0.3.tgz#67769af9de1d158773e928ae82c456114903554c" + integrity sha512-88ZRGcNxAq4EH38cQ4D85PM57pikCwS8Z99EWHODxN7KBY+UuPiqzRTtZzS8KTXO/ywSWbdjjJST2Hly/EQxLw== mem@^1.1.0: version "1.1.0" @@ -3200,24 +3241,22 @@ mem@^1.1.0: dependencies: mimic-fn "^1.0.0" -meow@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/meow/-/meow-7.0.1.tgz#1ed4a0a50b3844b451369c48362eb0515f04c1dc" - integrity sha512-tBKIQqVrAHqwit0vfuFPY3LlzJYkEOFyKa3bPgxzNl6q/RtN8KQ+ALYEASYuFayzSAsjlhXj/JZ10rH85Q6TUw== +meow@^8.0.0: + version "8.1.2" + resolved "https://registry.yarnpkg.com/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" + integrity sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q== dependencies: "@types/minimist" "^1.2.0" - arrify "^2.0.1" - camelcase "^6.0.0" camelcase-keys "^6.2.2" decamelize-keys "^1.1.0" hard-rejection "^2.1.0" - minimist-options "^4.0.2" - normalize-package-data "^2.5.0" + minimist-options "4.1.0" + normalize-package-data "^3.0.0" read-pkg-up "^7.0.1" redent "^3.0.0" trim-newlines "^3.0.0" - type-fest "^0.13.1" - yargs-parser "^18.1.3" + type-fest "^0.18.0" + yargs-parser "^20.2.3" merge-stream@^2.0.0: version "2.0.0" @@ -3237,22 +3276,22 @@ micromatch@^4.0.2: braces "^3.0.1" picomatch "^2.0.5" -mime-db@1.44.0: - version "1.44.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92" - integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg== +mime-db@1.46.0: + version "1.46.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.46.0.tgz#6267748a7f799594de3cbc8cde91def349661cee" + integrity sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ== mime-types@^2.1.12, mime-types@~2.1.19: - version "2.1.27" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f" - integrity sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w== + version "2.1.29" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.29.tgz#1d4ab77da64b91f5f72489df29236563754bb1b2" + integrity sha512-Y/jMt/S5sR9OaqteJtslsFZKWOIIqMACsJSiHghlCAyhf7jfVYjKBmLiX8OgpWeW+fjJ2b+Az69aPFPkUOY6xQ== dependencies: - mime-db "1.44.0" + mime-db "1.46.0" mime@^2.4.3: - version "2.4.6" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.6.tgz#e5b407c90db442f2beb5b162373d07b69affa4d1" - integrity sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA== + version "2.5.2" + resolved "https://registry.yarnpkg.com/mime/-/mime-2.5.2.tgz#6e3dc6cc2b9510643830e5f19d5cb753da5eeabe" + integrity sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg== mimic-fn@^1.0.0: version "1.2.0" @@ -3276,7 +3315,7 @@ minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" -minimist-options@^4.0.2: +minimist-options@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== @@ -3350,11 +3389,16 @@ ms@2.0.0: resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= -ms@^2.0.0, ms@^2.1.1: +ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== +ms@^2.0.0, ms@^2.1.1: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + mute-stream@~0.0.4: version "0.0.8" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" @@ -3375,11 +3419,6 @@ nerf-dart@^1.0.0: resolved "https://registry.yarnpkg.com/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a" integrity sha1-5tq3/r9a2Bbqgc9cYpxaDr3nLBo= -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - node-emoji@^1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/node-emoji/-/node-emoji-1.10.0.tgz#8886abd25d9c7bb61802a658523d1f8d2a89b2da" @@ -3396,7 +3435,7 @@ node-fetch-npm@^2.0.2: json-parse-better-errors "^1.0.0" safe-buffer "^5.1.1" -node-fetch@^2.3.0: +node-fetch@^2.6.1: version "2.6.1" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== @@ -3436,12 +3475,22 @@ normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package- semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" +normalize-package-data@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.0.tgz#1f8a7c423b3d2e85eb36985eaf81de381d01301a" + integrity sha512-6lUjEI0d3v6kFrtgA/lOx4zHCWULXsFNIjHolnZCKCTLA6m/G625cdn3O7eNmT0iD3jfo6HZ9cdImGZwf21prw== + dependencies: + hosted-git-info "^3.0.6" + resolve "^1.17.0" + semver "^7.3.2" + validate-npm-package-license "^3.0.1" + normalize-url@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-5.0.0.tgz#f46c9dc20670495e4e18fbd1b4396e41d199f63c" - integrity sha512-bAEm2fx8Dq/a35Z6PIRkkBBJvR56BbEJvhpNtvCZ4W9FyORSna77fn+xtYFjqk5JpBS+fMnAOG/wFgkQBmB7hw== + version "5.3.0" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-5.3.0.tgz#8959b3cdaa295b61592c1f245dded34b117618dd" + integrity sha512-9/nOVLYYe/dO/eJeQUNaGUF4m4Z5E7cb9oNTKabH+bNf19mqj60txTcveQxL0GlcWLXCxkOu2/LwL8oW0idIDA== -npm-audit-report@^1.3.2: +npm-audit-report@^1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/npm-audit-report/-/npm-audit-report-1.3.3.tgz#8226deeb253b55176ed147592a3995442f2179ed" integrity sha512-8nH/JjsFfAWMvn474HB9mpmMjrnKb1Hx/oTAdjv4PT9iZBvBxiZ+wtDUapHCJwLqYGQVPaAfs+vL5+5k9QndXw== @@ -3468,7 +3517,7 @@ npm-install-checks@^3.0.2: dependencies: semver "^2.3.0 || 3.x || 4 || 5" -npm-lifecycle@^3.0.0, npm-lifecycle@^3.1.4: +npm-lifecycle@^3.0.0, npm-lifecycle@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz#9882d3642b8c82c815782a12e6a1bfeed0026309" integrity sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g== @@ -3529,10 +3578,10 @@ npm-profile@^4.0.2, npm-profile@^4.0.4: figgy-pudding "^3.4.1" npm-registry-fetch "^4.0.0" -npm-registry-fetch@^4.0.0, npm-registry-fetch@^4.0.5: - version "4.0.5" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-4.0.5.tgz#cb87cf7f25bfb048d6c3ee19d115bebf93ea5bfa" - integrity sha512-yQ0/U4fYpCCqmueB2g8sc+89ckQ3eXpmU4+Yi2j5o/r0WkKvE2+Y0tK3DEILAtn2UaQTkjTHxIXe2/CSdit+/Q== +npm-registry-fetch@^4.0.0, npm-registry-fetch@^4.0.7: + version "4.0.7" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-4.0.7.tgz#57951bf6541e0246b34c9f9a38ab73607c9449d7" + integrity sha512-cny9v0+Mq6Tjz+e0erFAB+RYJ/AVGzkjnISiobqP8OWj9c9FLoZZu8/SPSKJWE17F1tk4018wfjV+ZbIbqC7fQ== dependencies: JSONStream "^1.3.4" bluebird "^3.5.1" @@ -3556,15 +3605,15 @@ npm-run-path@^4.0.0, npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" -npm-user-validate@~1.0.0: +npm-user-validate@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/npm-user-validate/-/npm-user-validate-1.0.1.tgz#31428fc5475fe8416023f178c0ab47935ad8c561" integrity sha512-uQwcd/tY+h1jnEaze6cdX/LrhWhoBxfSknxentoqmIuStxUExxjWd3ULMLFPiFUrZKbOVMowH6Jq2FRWfmhcEw== -npm@^6.10.3: - version "6.14.6" - resolved "https://registry.yarnpkg.com/npm/-/npm-6.14.6.tgz#1a81ce1fac2bf5457dbf6342ceed503627ff228f" - integrity sha512-axnz6iHFK6WPE0js/+mRp+4IOwpHn5tJEw5KB6FiCU764zmffrhsYHbSHi2kKqNkRBt53XasXjngZfBD3FQzrQ== +npm@^6.14.9: + version "6.14.11" + resolved "https://registry.yarnpkg.com/npm/-/npm-6.14.11.tgz#e0b5598d7b9a42d275e61d8bd28cd7eee0074a3b" + integrity sha512-1Zh7LjuIoEhIyjkBflSSGzfjuPQwDlghNloppjruOH5bmj9midT9qcNT0tRUZRR04shU9ekrxNy9+UTBrqeBpQ== dependencies: JSONStream "^1.3.5" abbrev "~1.1.1" @@ -3572,7 +3621,7 @@ npm@^6.10.3: ansistyles "~0.1.3" aproba "^2.0.0" archy "~1.0.0" - bin-links "^1.1.7" + bin-links "^1.1.8" bluebird "^3.5.5" byte-size "^5.0.1" cacache "^12.0.3" @@ -3592,7 +3641,7 @@ npm@^6.10.3: find-npm-prefix "^1.0.2" fs-vacuum "~1.2.10" fs-write-stream-atomic "~1.0.10" - gentle-fs "^2.3.0" + gentle-fs "^2.3.1" glob "^7.1.6" graceful-fs "^4.2.4" has-unicode "~2.0.1" @@ -3601,19 +3650,19 @@ npm@^6.10.3: infer-owner "^1.0.4" inflight "~1.0.6" inherits "^2.0.4" - ini "^1.3.5" + ini "^1.3.8" init-package-json "^1.10.3" is-cidr "^3.0.0" json-parse-better-errors "^1.0.2" lazy-property "~1.0.0" - libcipm "^4.0.7" + libcipm "^4.0.8" libnpm "^3.0.1" libnpmaccess "^3.0.2" libnpmhook "^5.0.3" libnpmorg "^1.0.1" libnpmsearch "^2.0.2" libnpmteam "^1.0.2" - libnpx "^10.2.2" + libnpx "^10.2.4" lock-verify "^2.1.0" lockfile "^1.0.4" lodash._baseuniq "~4.6.0" @@ -3622,26 +3671,26 @@ npm@^6.10.3: lodash.uniq "~4.5.0" lodash.without "~4.4.0" lru-cache "^5.1.1" - meant "~1.0.1" + meant "^1.0.2" mississippi "^3.0.0" mkdirp "^0.5.5" move-concurrently "^1.0.1" node-gyp "^5.1.0" nopt "^4.0.3" normalize-package-data "^2.5.0" - npm-audit-report "^1.3.2" + npm-audit-report "^1.3.3" npm-cache-filename "~1.0.2" npm-install-checks "^3.0.2" - npm-lifecycle "^3.1.4" + npm-lifecycle "^3.1.5" npm-package-arg "^6.1.1" npm-packlist "^1.4.8" npm-pick-manifest "^3.0.2" npm-profile "^4.0.4" - npm-registry-fetch "^4.0.5" - npm-user-validate "~1.0.0" + npm-registry-fetch "^4.0.7" + npm-user-validate "^1.0.1" npmlog "~4.1.2" once "~1.4.0" - opener "^1.5.1" + opener "^1.5.2" osenv "^0.1.5" pacote "^9.5.12" path-is-inside "~1.0.2" @@ -3707,33 +3756,34 @@ object-assign@^4.1.0: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= -object-inspect@^1.7.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.8.0.tgz#df807e5ecf53a609cc6bfe93eac3cc7be5b3a9d0" - integrity sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA== +object-inspect@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.9.0.tgz#c90521d74e1127b67266ded3394ad6116986533a" + integrity sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw== -object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: +object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object.assign@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da" - integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w== +object.assign@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" + integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ== dependencies: - define-properties "^1.1.2" - function-bind "^1.1.1" - has-symbols "^1.0.0" - object-keys "^1.0.11" + call-bind "^1.0.0" + define-properties "^1.1.3" + has-symbols "^1.0.1" + object-keys "^1.1.1" object.getownpropertydescriptors@^2.0.3: - version "2.1.0" - resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649" - integrity sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg== + version "2.1.2" + resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz#1bd63aeacf0d5d2d2f31b5e393b03a7c601a23f7" + integrity sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ== dependencies: + call-bind "^1.0.2" define-properties "^1.1.3" - es-abstract "^1.17.0-next.1" + es-abstract "^1.18.0-next.2" once@^1.3.0, once@^1.3.1, once@^1.4.0, once@~1.4.0: version "1.4.0" @@ -3742,10 +3792,10 @@ once@^1.3.0, once@^1.3.1, once@^1.4.0, once@~1.4.0: dependencies: wrappy "1" -onetime@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" - integrity sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== +onetime@^5.1.0, onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== dependencies: mimic-fn "^2.1.0" @@ -3761,10 +3811,10 @@ opencollective-postinstall@^2.0.2: resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz#7a0fff978f6dbfa4d006238fbac98ed4198c3259" integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q== -opener@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.1.tgz#6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed" - integrity sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA== +opener@^1.5.2: + version "1.5.2" + resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" + integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== optionator@^0.9.1: version "0.9.1" @@ -3792,14 +3842,6 @@ os-locale@^2.0.0: lcid "^1.0.0" mem "^1.1.0" -os-name@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801" - integrity sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg== - dependencies: - macos-release "^2.2.0" - windows-release "^3.1.0" - os-tmpdir@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -3814,9 +3856,9 @@ osenv@^0.1.4, osenv@^0.1.5: os-tmpdir "^1.0.0" p-each-series@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-2.1.0.tgz#961c8dd3f195ea96c747e636b262b800a6b1af48" - integrity sha512-ZuRs1miPT4HrjFa+9fRfOFXxGJfORgelKV9f9nNOWw2gl6gVsRaVDOQP0+MI0G0wGKns1Yacsu0GjOFbTK0JFQ== + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-2.2.0.tgz#105ab0357ce72b202a8a8b94933672657b5e2a9a" + integrity sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA== p-filter@^2.0.0: version "2.1.0" @@ -3889,15 +3931,22 @@ p-map@^2.0.0: resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== +p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== + dependencies: + aggregate-error "^3.0.0" + p-reduce@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== p-retry@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.2.0.tgz#ea9066c6b44f23cab4cd42f6147cdbbc6604da5d" - integrity sha512-jPH38/MRh263KKcq0wBNOGFJbm+U6784RilTmHjB/HM9kH9V8WlCpVUcdOmip9cjXOh6MxZ5yk1z2SjDUJfWmA== + version "4.4.0" + resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.4.0.tgz#fefc2abe883ca7c91ca0dd25060180438b61ebd4" + integrity sha512-gVB/tBsG+3AHI1SyDHRrX6n9ZL0Bcbifps9W9/Bgu3Oyu4/OrAh8SvDzDsvpP0oxfCt3oWNT+0fQ9LyUGwBTLg== dependencies: "@types/retry" "^0.12.0" retry "^0.12.0" @@ -3990,13 +4039,13 @@ parse-json@^4.0.0: json-parse-better-errors "^1.0.1" parse-json@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.0.0.tgz#73e5114c986d143efa3712d4ea24db9a4266f60f" - integrity sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw== + version "5.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== dependencies: "@babel/code-frame" "^7.0.0" error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" + json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" path-exists@^3.0.0: @@ -4019,7 +4068,7 @@ path-is-inside@^1.0.1, path-is-inside@^1.0.2, path-is-inside@~1.0.2: resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= -path-key@^2.0.0, path-key@^2.0.1: +path-key@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= @@ -4213,14 +4262,20 @@ qs@~6.5.2: integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== query-string@^6.8.2: - version "6.13.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.13.1.tgz#d913ccfce3b4b3a713989fe6d39466d92e71ccad" - integrity sha512-RfoButmcK+yCta1+FuU8REvisx1oEzhMKwhLUNcepQTPGcNMp1sIqjnfCtfnvGSQZQEhaBHvccujtWoUV3TTbA== + version "6.14.0" + resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.14.0.tgz#0b7b7ca326f5facf10dd2d45d26645cd287f8c92" + integrity sha512-In3o+lUxlgejoVJgwEdYtdxrmlL0cQWJXj0+kkI7RWVo7hg5AhFtybeKlC9Dpgbr8eOC4ydpEh8017WwyfzqVQ== dependencies: decode-uri-component "^0.2.0" + filter-obj "^1.1.0" split-on-first "^1.0.0" strict-uri-encode "^2.0.0" +queue-microtask@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.2.tgz#abf64491e6ecf0f38a6502403d4cda04f372dfd3" + integrity sha512-dB15eXv3p2jDlbOiNLyMabYg1/sXvppd8DP2J3EOCQ0AkuSXCW2tP7mnVouVLJKgUMY6yP0kcQDVpLCN13h4Xg== + quick-lru@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" @@ -4263,16 +4318,14 @@ read-installed@~4.0.3: graceful-fs "^4.1.2" "read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.13, read-package-json@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.1.tgz#16aa66c59e7d4dad6288f179dd9295fd59bb98f1" - integrity sha512-dAiqGtVc/q5doFz6096CcnXhpYk0ZN8dEKVkGLU0CsASt8SrgF6SF7OTKAYubfvFhWaqofl+Y8HK19GR8jwW+A== + version "2.1.2" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.2.tgz#6992b2b66c7177259feb8eaac73c3acd28b9222a" + integrity sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA== dependencies: glob "^7.1.1" - json-parse-better-errors "^1.0.1" + json-parse-even-better-errors "^2.3.0" normalize-package-data "^2.0.0" npm-normalize-package-bin "^1.0.0" - optionalDependencies: - graceful-fs "^4.1.2" read-package-tree@^5.3.1: version "5.3.1" @@ -4339,7 +4392,7 @@ read@1, read@~1.0.1, read@~1.0.7: string_decoder "~1.1.1" util-deprecate "~1.0.1" -"readable-stream@2 || 3", readable-stream@^3.6.0: +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -4384,9 +4437,9 @@ redeyed@~2.1.0: esprima "~4.0.0" regenerator-runtime@^0.13.4: - version "0.13.5" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697" - integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA== + version "0.13.7" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55" + integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew== regexpp@^3.0.0, regexpp@^3.1.0: version "3.1.0" @@ -4402,9 +4455,9 @@ registry-auth-token@^3.0.1: safe-buffer "^5.0.1" registry-auth-token@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.0.tgz#1d37dffda72bbecd0f581e4715540213a65eb7da" - integrity sha512-P+lWzPrsgfN+UEpDS3U8AQKg/UjZX6mQSJueZj3EK+vNESoqBSpBUD3gmu4sF9lOsjXWjF11dQKUqemf3veq1w== + version "4.2.1" + resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.1.tgz#6d7b4006441918972ccd5fedcd41dc322c79b250" + integrity sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw== dependencies: rc "^1.2.8" @@ -4478,11 +4531,12 @@ resolve-global@1.0.0, resolve-global@^1.0.0: dependencies: global-dirs "^0.1.1" -resolve@^1.10.0: - version "1.17.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" - integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== +resolve@^1.10.0, resolve@^1.17.0: + version "1.20.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" + integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== dependencies: + is-core-module "^2.2.0" path-parse "^1.0.6" retry@^0.10.0: @@ -4515,9 +4569,11 @@ rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@^2.7.1: glob "^7.1.3" run-parallel@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.9.tgz#c9dd3a7cf9f4b2c4b6244e173a6ed866e61dd679" - integrity sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q== + version "1.2.0" + resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" run-queue@^1.0.0, run-queue@^1.0.3: version "1.0.3" @@ -4599,12 +4655,12 @@ semver-regex@^3.1.2: resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.2.tgz#34b4c0d361eef262e07199dbef316d0f2ab11807" integrity sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA== -"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@7.3.2, semver@^7.1.2, semver@^7.2.1, semver@^7.3.2: +semver@7.3.2: version "7.3.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== @@ -4614,6 +4670,13 @@ semver@^6.0.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.1.2, semver@^7.2.1, semver@^7.3.2: + version "7.3.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" + integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== + dependencies: + lru-cache "^6.0.0" + set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -4749,21 +4812,21 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.5" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654" - integrity sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q== + version "3.0.7" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz#e9c18a410e5ed7e12442a549fbd8afa767038d65" + integrity sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ== split-on-first@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== -split2@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/split2/-/split2-2.2.0.tgz#186b2575bcf83e85b7d18465756238ee4ee42493" - integrity sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw== +split2@^3.0.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" + integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== dependencies: - through2 "^2.0.2" + readable-stream "^3.0.0" split2@~1.0.0: version "1.0.0" @@ -4875,21 +4938,21 @@ string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" -string.prototype.trimend@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz#85812a6b847ac002270f5808146064c995fb6913" - integrity sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g== +string.prototype.trimend@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz#a22bd53cca5c7cf44d7c9d5c732118873d6cd18b" + integrity sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw== dependencies: + call-bind "^1.0.0" define-properties "^1.1.3" - es-abstract "^1.17.5" -string.prototype.trimstart@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz#14af6d9f34b053f7cfc89b72f8f2ee14b9039a54" - integrity sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw== +string.prototype.trimstart@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz#9b4cb590e123bb36564401d59824298de50fd5aa" + integrity sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg== dependencies: + call-bind "^1.0.0" define-properties "^1.1.3" - es-abstract "^1.17.5" string_decoder@^1.1.1: version "1.3.0" @@ -4983,9 +5046,9 @@ supports-color@^5.3.0: has-flag "^3.0.0" supports-color@^7.0.0, supports-color@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" - integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== dependencies: has-flag "^4.0.0" @@ -5025,14 +5088,15 @@ temp-dir@^2.0.0: resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-2.0.0.tgz#bde92b05bdfeb1516e804c9c00ad45177f31321e" integrity sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg== -tempy@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/tempy/-/tempy-0.5.0.tgz#2785c89df39fcc4d1714fc554813225e1581d70b" - integrity sha512-VEY96x7gbIRfsxqsafy2l5yVxxp3PhwAGoWMyC2D2Zt5DmEv+2tGiPOrquNRpf21hhGnKLVEsuqleqiZmKG/qw== +tempy@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/tempy/-/tempy-1.0.0.tgz#4f192b3ee3328a2684d0e3fc5c491425395aab65" + integrity sha512-eLXG5B1G0mRPHmgH2WydPl5v4jH35qEn3y/rA/aahKhIa91Pn119SsU7n7v/433gtT9ONzC8ISvNHIh2JSTm0w== dependencies: + del "^6.0.0" is-stream "^2.0.0" temp-dir "^2.0.0" - type-fest "^0.12.0" + type-fest "^0.16.0" unique-string "^2.0.0" term-size@^1.2.0: @@ -5052,7 +5116,7 @@ text-table@^0.2.0, text-table@~0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= -through2@^2.0.0, through2@^2.0.2, through2@~2.0.0: +through2@^2.0.0, through2@~2.0.0: version "2.0.5" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== @@ -5060,13 +5124,12 @@ through2@^2.0.0, through2@^2.0.2, through2@~2.0.0: readable-stream "~2.3.6" xtend "~4.0.1" -through2@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/through2/-/through2-3.0.2.tgz#99f88931cfc761ec7678b41d5d7336b5b6a07bf4" - integrity sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ== +through2@^4.0.0: + version "4.0.2" + resolved "https://registry.yarnpkg.com/through2/-/through2-4.0.2.tgz#a7ce3ac2a7a8b0b966c80e7c49f0484c3b239764" + integrity sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw== dependencies: - inherits "^2.0.4" - readable-stream "2 || 3" + readable-stream "3" through@2, "through@>=2.2.7 <3": version "2.3.8" @@ -5114,14 +5177,14 @@ trim-off-newlines@^1.0.0: integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= tslib@^1.8.1: - version "1.13.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" - integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== tsutils@^3.17.1: - version "3.17.1" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" - integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g== + version "3.20.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.20.0.tgz#ea03ea45462e146b53d70ce0893de453ff24f698" + integrity sha512-RYbuQuvkhuqVeXweWT3tJLKOEJ/UUw9GjNEZGWdrLLlM+611o1gwLHBpxoFJKKl25fLprp2eVthtKs5JOrNeXg== dependencies: tslib "^1.8.1" @@ -5149,15 +5212,15 @@ type-fest@^0.11.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1" integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ== -type-fest@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.12.0.tgz#f57a27ab81c68d136a51fd71467eff94157fa1ee" - integrity sha512-53RyidyjvkGpnWPMF9bQgFtWp+Sl8O2Rp13VavmJgfAP9WWG6q6TkrKU8iyJdnwnfgHI6k2hTlgqH4aSdjoTbg== +type-fest@^0.16.0: + version "0.16.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.16.0.tgz#3240b891a78b0deae910dbeb86553e552a148860" + integrity sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg== -type-fest@^0.13.1: - version "0.13.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.13.1.tgz#0172cb5bce80b0bd542ea348db50c7e21834d934" - integrity sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg== +type-fest@^0.18.0: + version "0.18.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f" + integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw== type-fest@^0.6.0: version "0.6.0" @@ -5180,9 +5243,9 @@ typescript@4.1.3: integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg== uglify-js@^3.1.4: - version "3.10.0" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.10.0.tgz#397a7e6e31ce820bfd1cb55b804ee140c587a9e7" - integrity sha512-Esj5HG5WAyrLIdYU74Z3JdG2PxdIusvj6IWHMtlyESxc7kcDz7zYlYjpnSokn1UbpV0d/QX9fan7gkCNd/9BQA== + version "3.12.8" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.12.8.tgz#a82e6e53c9be14f7382de3d068ef1e26e7d4aaf8" + integrity sha512-fvBeuXOsvqjecUtF/l1dwsrrf5y2BCUk9AOJGzGcm6tE7vegku5u/YvqjyDaAGr422PLoLnrxg3EnRvTqsdC1w== uid-number@0.0.6: version "0.0.6" @@ -5222,13 +5285,6 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" -universal-user-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-5.0.0.tgz#a3182aa758069bf0e79952570ca757de3579c1d9" - integrity sha512-B5TPtzZleXyPrUMKCpEHFmVhMN6EhmJYjG5PQna9s7mXeSqGTLap4OpqLl5FCEFUI3UBmllkETwKf/db66Y54Q== - dependencies: - os-name "^3.1.0" - universal-user-agent@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" @@ -5239,10 +5295,10 @@ universalify@^0.1.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== -universalify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d" - integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug== +universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== unpipe@~1.0.0: version "1.0.0" @@ -5271,9 +5327,9 @@ update-notifier@^2.2.0, update-notifier@^2.3.0, update-notifier@^2.5.0: xdg-basedir "^3.0.0" uri-js@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" - integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ== + version "4.4.1" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== dependencies: punycode "^2.1.0" @@ -5312,9 +5368,9 @@ uuid@^3.3.2, uuid@^3.3.3: integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== v8-compile-cache@^2.0.3: - version "2.1.1" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz#54bc3cdd43317bca91e35dcaf305b1a7237de745" - integrity sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ== + version "2.2.0" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz#9471efa3ef9128d2f7c6a7ca39c4dd6b5055b132" + integrity sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q== validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: version "3.0.4" @@ -5385,13 +5441,6 @@ widest-line@^2.0.0: dependencies: string-width "^2.1.1" -windows-release@^3.1.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/windows-release/-/windows-release-3.3.1.tgz#cb4e80385f8550f709727287bf71035e209c4ace" - integrity sha512-Pngk/RDCaI/DkuHPlGTdIkDiTAnAkyMjoQMZqRsxydNl1qGXNIoZrB7RK8g53F2tEgQBMqQJHQdYZuQEEAu54A== - dependencies: - execa "^1.0.0" - word-wrap@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" @@ -5469,14 +5518,19 @@ xtend@~4.0.1: integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== y18n@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" - integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= + version "3.2.2" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.2.tgz#85c901bd6470ce71fc4bb723ad209b70f7f28696" + integrity sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ== y18n@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" - integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== + version "4.0.1" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.1.tgz#8db2b83c31c5d75099bb890b23f3094891e247d4" + integrity sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ== + +y18n@^5.0.5: + version "5.0.5" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.5.tgz#8769ec08d03b1ea2df2500acef561743bbb9ab18" + integrity sha512-hsRUr4FFrvhhRH12wOdfs38Gy7k2FFzB9qgN9v3aLykRq0dRcdcpz5C9FxdS2NuhOrI/628b/KSTJ3rwHysYSg== y18n@^5.0.5: version "5.0.5" @@ -5511,7 +5565,7 @@ yargs-parser@^15.0.1: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^18.1.2, yargs-parser@^18.1.3: +yargs-parser@^18.1.2: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== @@ -5519,10 +5573,10 @@ yargs-parser@^18.1.2, yargs-parser@^18.1.3: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^20.2.2: - version "20.2.4" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" - integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== +yargs-parser@^20.2.2, yargs-parser@^20.2.3: + version "20.2.5" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.5.tgz#5d37729146d3f894f39fc94b6796f5b239513186" + integrity sha512-jYRGS3zWy20NtDtK2kBgo/TlAoy5YUuhD9/LZ7z7W4j1Fdw2cqD0xEEclf8fxc8xjD6X5Qr+qQQwCEsP8iRiYg== yargs-parser@^7.0.0: version "7.0.0"