diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b1baab2026..e194279ccc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -90,6 +90,22 @@ jobs: - name: Test run: yarn && yarn test + - name: Coveralls + run: yarn report && yarn coveralls + env: + GITHUB_TOKEN: ${{ secrets.github_token }} + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + COVERALLS_PARALLEL: true + COVERALLS_FLAG_NAME: node-${{ matrix.node }} + COVERALLS_SERVICE_NUMBER: ${{ github.run_id }} + + finish: + needs: test + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + run: curl "https://coveralls.io/webhook?repo_token=${{ secrets.GITHUB_TOKEN }}&repo_name=${{ github.repository }}" -d "payload[build_num]=${{ github.run_id }}&payload[status]=done" + publish: name: Publish if: >- diff --git a/CHANGELOG.md b/CHANGELOG.md index a74ff0ba3c..87f2b08349 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 10.5.0 - 2022-08-24 +* [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests. +* [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation +* [#1526](https://github.com/stripe/stripe-node/pull/1526) Add test coverage using Coveralls + +## 10.4.0 - 2022-08-23 +* [#1520](https://github.com/stripe/stripe-node/pull/1520) Add beta readme.md section +* [#1524](https://github.com/stripe/stripe-node/pull/1524) API Updates + * Change `Terminal.Reader.action` to be required + * Change `TreasuryOutboundTransferCreateParams.destination_payment_method` to be optional + * Change type of `Treasury.OutboundTransfer.destination_payment_method` from `string` to `string | null` + * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`. + * This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change. + ## 10.4.0-beta.1 - 2022-08-23 * [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch - Updated stable APIs to the latest version diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index d9f3b7218e..073a3a984e 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v183 \ No newline at end of file +v185 \ No newline at end of file diff --git a/README.md b/README.md index acadc0c38a..12801a9ef0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Version](https://img.shields.io/npm/v/stripe.svg)](https://www.npmjs.org/package/stripe) [![Build Status](https://github.com/stripe/stripe-node/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/stripe/stripe-node/actions?query=branch%3Amaster) +[![Coverage Status](https://coveralls.io/repos/github/stripe/stripe-node/badge.svg?branch=master)](https://coveralls.io/github/stripe/stripe-node?branch=master) [![Downloads](https://img.shields.io/npm/dm/stripe.svg)](https://www.npmjs.com/package/stripe) [![Try on RunKit](https://badge.runkitcdn.com/stripe.svg)](https://runkit.com/npm/stripe) @@ -10,10 +11,6 @@ applications written in server-side JavaScript. For collecting customer and payment information in the browser, use [Stripe.js][stripe-js]. -## Support - -New features and bug fixes are released on the latest major version of the `stripe` package. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates. - ## Documentation See the [`stripe-node` API docs](https://stripe.com/docs/api?lang=node) for Node.js. @@ -34,20 +31,6 @@ npm install stripe --save yarn add stripe ``` -### Beta version - -Stripe has features in the beta phase that can be accessed via the beta version of this package. -We would love for you to try these and share feedback with us before these features reach the stable phase. -The beta versions can be installed in one of two ways -- To install the latest beta version, run the command `npm install stripe@beta --save` -- To install a specific beta version, replace the term "beta" in the above command with the version number like `npm install stripe@1.2.3-beta.1 --save` - -> Note: There can be breaking changes between beta versions. Therefore we recommend pinning the package version to a specific beta version in your package.json file. This way you can install the same version each time without breaking changes unless you are intentionally looking for the latest beta version. - -We highly recommend keeping an eye on when the beta feature you are interested in goes from beta to stable so that you can move from using a beta version of the SDK to the stable version. - -The versions tab on the [stripe page on npm](https://www.npmjs.com/package/stripe) lists the current tags in use. The `beta` tag here corresponds to the the latest beta version of the package. - ## Usage The package needs to be configured with your account's secret key, which is @@ -204,7 +187,8 @@ const stripe = Stripe('sk_test_...', { | `protocol` | `'https'` | `'https'` or `'http'`. `http` is never appropriate for sending requests to Stripe servers, and we strongly discourage `http`, even in local testing scenarios, as this can result in your credentials being transmitted over an insecure channel. | | `telemetry` | `true` | Allow Stripe to send latency [telemetry](#request-latency-telemetry). | -Note: Both `maxNetworkRetries` and `timeout` can be overridden on a per-request basis. +> **Note** +> Both `maxNetworkRetries` and `timeout` can be overridden on a per-request basis. ### Configuring Timeout @@ -490,6 +474,33 @@ const stripe = new Stripe('sk_test_...', { }); ``` +### Beta SDKs + +Stripe has features in the beta phase that can be accessed via the beta version of this package. +We would love for you to try these and share feedback with us before these features reach the stable phase. +The beta versions can be installed in one of two ways +- To install the latest beta version, run the command `npm install stripe@beta --save` +- To install a specific beta version, replace the term "beta" in the above command with the version number like `npm install stripe@1.2.3-beta.1 --save` + +> **Note** +> There can be breaking changes between beta versions. Therefore we recommend pinning the package version to a specific beta version in your package.json file. This way you can install the same version each time without breaking changes unless you are intentionally looking for the latest beta version. + +We highly recommend keeping an eye on when the beta feature you are interested in goes from beta to stable so that you can move from using a beta version of the SDK to the stable version. + +The versions tab on the [stripe page on npm](https://www.npmjs.com/package/stripe) lists the current tags in use. The `beta` tag here corresponds to the the latest beta version of the package. + +If your beta feature requires a `Stripe-Version` header to be sent, use the `apiVersion` property of `config` object to set it: + +```js +const stripe = new Stripe('sk_test_...', { + apiVersion: '2022-08-01; feature_beta=v3', +}); +``` + +## Support + +New features and bug fixes are released on the latest major version of the `stripe` package. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates. + ## More Information - [REST API Version](https://github.com/stripe/stripe-node/wiki/REST-API-Version) diff --git a/lib/resources.js b/lib/resources.js index fcbd94bf2e..d56b1e23ee 100644 --- a/lib/resources.js +++ b/lib/resources.js @@ -70,6 +70,10 @@ module.exports = { Accounts: require('./resources/FinancialConnections/Accounts'), Sessions: require('./resources/FinancialConnections/Sessions'), }), + GiftCards: resourceNamespace('giftCards', { + Cards: require('./resources/GiftCards/Cards'), + Transactions: require('./resources/GiftCards/Transactions'), + }), Identity: resourceNamespace('identity', { VerificationReports: require('./resources/Identity/VerificationReports'), VerificationSessions: require('./resources/Identity/VerificationSessions'), diff --git a/lib/resources/GiftCards/Cards.js b/lib/resources/GiftCards/Cards.js new file mode 100644 index 0000000000..5baa1df68a --- /dev/null +++ b/lib/resources/GiftCards/Cards.js @@ -0,0 +1,36 @@ +// File generated from our OpenAPI spec + +'use strict'; + +const StripeResource = require('../../StripeResource'); +const stripeMethod = StripeResource.method; + +module.exports = StripeResource.extend({ + path: 'gift_cards/cards', + + create: stripeMethod({ + method: 'POST', + path: '', + }), + + retrieve: stripeMethod({ + method: 'GET', + path: '/{id}', + }), + + update: stripeMethod({ + method: 'POST', + path: '/{id}', + }), + + list: stripeMethod({ + method: 'GET', + path: '', + methodType: 'list', + }), + + validate: stripeMethod({ + method: 'POST', + path: '/validate', + }), +}); diff --git a/lib/resources/GiftCards/Transactions.js b/lib/resources/GiftCards/Transactions.js new file mode 100644 index 0000000000..b604e119df --- /dev/null +++ b/lib/resources/GiftCards/Transactions.js @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec + +'use strict'; + +const StripeResource = require('../../StripeResource'); +const stripeMethod = StripeResource.method; + +module.exports = StripeResource.extend({ + path: 'gift_cards/transactions', + + create: stripeMethod({ + method: 'POST', + path: '', + }), + + retrieve: stripeMethod({ + method: 'GET', + path: '/{id}', + }), + + update: stripeMethod({ + method: 'POST', + path: '/{id}', + }), + + list: stripeMethod({ + method: 'GET', + path: '', + methodType: 'list', + }), + + cancel: stripeMethod({ + method: 'POST', + path: '/{id}/cancel', + }), + + confirm: stripeMethod({ + method: 'POST', + path: '/{id}/confirm', + }), +}); diff --git a/package.json b/package.json index d4c555bc8b..d160342a06 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "@typescript-eslint/parser": "^2.13.0", "chai": "~4.2.0", "chai-as-promised": "~7.1.1", + "coveralls": "^3.1.1", "eslint": "^6.8.0", "eslint-config-prettier": "^4.1.0", "eslint-plugin-chai-friendly": "^0.4.0", diff --git a/test/resources/generated_examples_test.spec.js b/test/resources/generated_examples_test.spec.js index 0c0b414ae9..6d8dcaa58d 100644 --- a/test/resources/generated_examples_test.spec.js +++ b/test/resources/generated_examples_test.spec.js @@ -150,11 +150,11 @@ describe('Customer', function() { }); it('fundCashBalance method', async function() { - const customerBalanceTransaction = await stripe.testHelpers.customers.fundCashBalance( + const customerCashBalanceTransaction = await stripe.testHelpers.customers.fundCashBalance( 'cus_123', {amount: 30, currency: 'eur'} ); - expect(customerBalanceTransaction).not.to.be.null; + expect(customerCashBalanceTransaction).not.to.be.null; }); it('list method', async function() { diff --git a/types/2022-08-01/GiftCards/Cards.d.ts b/types/2022-08-01/GiftCards/Cards.d.ts new file mode 100644 index 0000000000..dd11c8a8db --- /dev/null +++ b/types/2022-08-01/GiftCards/Cards.d.ts @@ -0,0 +1,270 @@ +// File generated from our OpenAPI spec + +declare module 'stripe' { + namespace Stripe { + namespace GiftCards { + /** + * A gift card represents a single gift card owned by a customer, including the + * remaining balance, gift card code, and whether or not it is active. + */ + interface Card { + /** + * Unique identifier for the object. + */ + id: string; + + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: 'gift_cards.card'; + + /** + * Whether this gift card can be used or not. + */ + active: boolean; + + /** + * The amount of funds available for new transactions. + */ + amount_available: number; + + /** + * The amount of funds marked as held. + */ + amount_held: number; + + /** + * Code used to redeem this gift card. + */ + code: string | null; + + /** + * Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number; + + /** + * The related Stripe objects that created this gift card. + */ + created_by: Card.CreatedBy | null; + + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + */ + metadata: Stripe.Metadata | null; + + /** + * Transactions on this gift card. + */ + transactions: ApiList; + } + + namespace Card { + interface CreatedBy { + checkout?: CreatedBy.Checkout; + + order?: CreatedBy.Order; + + payment?: CreatedBy.Payment; + + /** + * The type of event that created this object. + */ + type: CreatedBy.Type; + } + + namespace CreatedBy { + interface Checkout { + /** + * The Stripe CheckoutSession that created this object. + */ + checkout_session: string; + + /** + * The Stripe CheckoutSession LineItem that created this object. + */ + line_item: string | null; + } + + interface Order { + /** + * The Stripe Order LineItem that created this object. + */ + line_item: string | null; + + /** + * The Stripe Order that created this object. + */ + order: string; + } + + interface Payment { + /** + * The PaymentIntent that created this object. + */ + payment_intent: string; + } + + type Type = 'checkout' | 'order' | 'payment'; + } + } + + interface CardCreateParams { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + /** + * The active state for the new gift card, defaults to false. The active state can be updated after creation. + */ + active?: boolean; + + /** + * Related objects which created this gift card. + */ + created_by?: CardCreateParams.CreatedBy; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * The initial amount to load onto the new gift card, defaults to 0. + */ + initial_amount?: number; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ + metadata?: Stripe.MetadataParam; + } + + namespace CardCreateParams { + interface CreatedBy { + /** + * The details for the payment that created this object. + */ + payment: CreatedBy.Payment; + + /** + * The type of event that created this object. + */ + type: 'payment'; + } + + namespace CreatedBy { + interface Payment { + /** + * The PaymentIntent used to collect payment for this object. + */ + payment_intent: string; + } + } + } + + interface CardRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CardUpdateParams { + /** + * The new active state for the gift card. + */ + active?: boolean; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ + metadata?: Stripe.Emptyable; + } + + interface CardListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CardValidateParams { + /** + * The gift card code to be validated. + */ + code: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * The pin associated with the gift card. Not all gift cards have pins. + */ + pin?: string; + } + + class CardsResource { + /** + * Creates a new gift card object. + */ + create( + params: CardCreateParams, + options?: RequestOptions + ): Promise>; + + /** + * Retrieve a gift card by id + */ + retrieve( + id: string, + params?: CardRetrieveParams, + options?: RequestOptions + ): Promise>; + retrieve( + id: string, + options?: RequestOptions + ): Promise>; + + /** + * Update a gift card + */ + update( + id: string, + params?: CardUpdateParams, + options?: RequestOptions + ): Promise>; + + /** + * List gift cards for an account + */ + list( + params?: CardListParams, + options?: RequestOptions + ): ApiListPromise; + list(options?: RequestOptions): ApiListPromise; + + /** + * Validates a gift card code, returning the matching gift card object if it exists. + */ + validate( + params: CardValidateParams, + options?: RequestOptions + ): Promise>; + } + } + } +} diff --git a/types/2022-08-01/GiftCards/Transactions.d.ts b/types/2022-08-01/GiftCards/Transactions.d.ts new file mode 100644 index 0000000000..1b884ee7df --- /dev/null +++ b/types/2022-08-01/GiftCards/Transactions.d.ts @@ -0,0 +1,323 @@ +// File generated from our OpenAPI spec + +declare module 'stripe' { + namespace Stripe { + namespace GiftCards { + /** + * A gift card transaction represents a single transaction on a referenced gift card. + * A transaction is in one of three states, `confirmed`, `held` or `canceled`. A `confirmed` + * transaction is one that has added/deducted funds. A `held` transaction has created a + * temporary hold on funds, which can then be cancelled or confirmed. A `held` transaction + * can be confirmed into a `confirmed` transaction, or canceled into a `canceled` transaction. + * A `canceled` transaction has no effect on a gift card's balance. + */ + interface Transaction { + /** + * Unique identifier for the object. + */ + id: string; + + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: 'gift_cards.transaction'; + + /** + * The amount of this transaction. A positive value indicates that funds were added to the gift card. A negative value indicates that funds were removed from the gift card. + */ + amount: number | null; + + /** + * Time at which the transaction was confirmed. Measured in seconds since the Unix epoch. + */ + confirmed_at: number | null; + + /** + * Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number | null; + + /** + * The related Stripe objects that created this gift card transaction. + */ + created_by: Transaction.CreatedBy | null; + + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string | null; + + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description: string | null; + + /** + * The gift card that this transaction occurred on + */ + gift_card: string | null; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + */ + metadata: Stripe.Metadata | null; + + /** + * Status of this transaction, one of `held`, `confirmed`, or `canceled`. + */ + status: Transaction.Status | null; + + /** + * A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers) for details. + */ + transfer_group: string | null; + } + + namespace Transaction { + interface CreatedBy { + checkout?: CreatedBy.Checkout; + + order?: CreatedBy.Order; + + payment?: CreatedBy.Payment; + + /** + * The type of event that created this object. + */ + type: CreatedBy.Type; + } + + namespace CreatedBy { + interface Checkout { + /** + * The Stripe CheckoutSession that created this object. + */ + checkout_session: string; + + /** + * The Stripe CheckoutSession LineItem that created this object. + */ + line_item: string | null; + } + + interface Order { + /** + * The Stripe Order LineItem that created this object. + */ + line_item: string | null; + + /** + * The Stripe Order that created this object. + */ + order: string; + } + + interface Payment { + /** + * The PaymentIntent that created this object. + */ + payment_intent: string; + } + + type Type = 'checkout' | 'order' | 'payment'; + } + + type Status = 'canceled' | 'confirmed' | 'held' | 'invalid'; + } + + interface TransactionCreateParams { + /** + * The amount of the transaction. A negative amount deducts funds, and a positive amount adds funds. + */ + amount: number; + + /** + * The currency of the transaction. This must match the currency of the gift card. + */ + currency: string; + + /** + * The gift card to create a new transaction on. + */ + gift_card: string; + + /** + * Whether this is a confirmed transaction. A confirmed transaction immediately deducts from/adds to the `amount_available` on the gift card. Otherwise, it creates a held transaction that increments the `amount_held` on the gift card. + */ + confirm?: boolean; + + /** + * Related objects which created this transaction. + */ + created_by?: TransactionCreateParams.CreatedBy; + + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description?: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ + metadata?: Stripe.MetadataParam; + + /** + * A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers) for details. + */ + transfer_group?: string; + } + + namespace TransactionCreateParams { + interface CreatedBy { + /** + * The details for the payment that created this object. + */ + payment: CreatedBy.Payment; + + /** + * The type of event that created this object. + */ + type: 'payment'; + } + + namespace CreatedBy { + interface Payment { + /** + * The PaymentIntent used to collect payment for this object. + */ + payment_intent: string; + } + } + } + + interface TransactionRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface TransactionUpdateParams { + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description?: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ + metadata?: Stripe.Emptyable; + } + + interface TransactionListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * The gift card to list transactions for. + */ + gift_card?: string; + + /** + * A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers) for details. + */ + transfer_group?: string; + } + + interface TransactionCancelParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface TransactionConfirmParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + class TransactionsResource { + /** + * Create a gift card transaction + */ + create( + params: TransactionCreateParams, + options?: RequestOptions + ): Promise>; + + /** + * Retrieves the gift card transaction. + */ + retrieve( + id: string, + params?: TransactionRetrieveParams, + options?: RequestOptions + ): Promise>; + retrieve( + id: string, + options?: RequestOptions + ): Promise>; + + /** + * Update a gift card transaction + */ + update( + id: string, + params?: TransactionUpdateParams, + options?: RequestOptions + ): Promise>; + + /** + * List gift card transactions for a gift card + */ + list( + params?: TransactionListParams, + options?: RequestOptions + ): ApiListPromise; + list( + options?: RequestOptions + ): ApiListPromise; + + /** + * Cancel a gift card transaction + */ + cancel( + id: string, + params?: TransactionCancelParams, + options?: RequestOptions + ): Promise>; + cancel( + id: string, + options?: RequestOptions + ): Promise>; + + /** + * Confirm a gift card transaction + */ + confirm( + id: string, + params?: TransactionConfirmParams, + options?: RequestOptions + ): Promise>; + confirm( + id: string, + options?: RequestOptions + ): Promise>; + } + } + } +} diff --git a/types/2022-08-01/Invoices.d.ts b/types/2022-08-01/Invoices.d.ts index c64bea1cea..8475fba4e4 100644 --- a/types/2022-08-01/Invoices.d.ts +++ b/types/2022-08-01/Invoices.d.ts @@ -3002,7 +3002,7 @@ declare module 'stripe' { class InvoicesResource { /** - * This endpoint creates a draft invoice for a given customer. The draft invoice created pulls in all pending invoice items on that customer, including prorations. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers. + * This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers. */ create( params?: InvoiceCreateParams, diff --git a/types/2022-08-01/Issuing/Cards.d.ts b/types/2022-08-01/Issuing/Cards.d.ts index edd1886016..e529653a19 100644 --- a/types/2022-08-01/Issuing/Cards.d.ts +++ b/types/2022-08-01/Issuing/Cards.d.ts @@ -135,6 +135,11 @@ declare module 'stripe' { */ carrier: Shipping.Carrier | null; + /** + * Additional information that may be required for clearing customs. + */ + customs: Shipping.Customs | null; + /** * A unix timestamp representing a best estimate of when the card will be delivered. */ @@ -145,6 +150,11 @@ declare module 'stripe' { */ name: string; + /** + * The phone number of the receiver of the bulk shipment. This phone number will be provided to the shipping company, who might use it to contact the receiver in case of delivery issues. + */ + phone_number: string | null; + /** * Shipment service, such as `standard` or `express`. */ @@ -174,6 +184,13 @@ declare module 'stripe' { namespace Shipping { type Carrier = 'dhl' | 'fedex' | 'royal_mail' | 'usps'; + interface Customs { + /** + * A registration number used for customs in Europe. See https://www.gov.uk/eori and https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en. + */ + eori_number: string | null; + } + type Service = 'express' | 'priority' | 'standard'; type Status = @@ -1227,11 +1244,21 @@ declare module 'stripe' { */ address: Shipping.Address; + /** + * Customs information for the shipment. + */ + customs?: Shipping.Customs; + /** * The name printed on the shipping label when shipping the card. */ name: string; + /** + * Phone number of the recipient of the shipment. + */ + phone_number?: string; + /** * Shipment service. */ @@ -1276,6 +1303,13 @@ declare module 'stripe' { state?: string; } + interface Customs { + /** + * The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe. + */ + eori_number?: string; + } + type Service = 'express' | 'priority' | 'standard'; type Type = 'bulk' | 'individual'; diff --git a/types/2022-08-01/Orders.d.ts b/types/2022-08-01/Orders.d.ts index f20819f257..4d60e9e20f 100644 --- a/types/2022-08-01/Orders.d.ts +++ b/types/2022-08-01/Orders.d.ts @@ -20,6 +20,8 @@ declare module 'stripe' { */ object: 'order'; + amount_remaining?: number; + /** * Order cost before any discounts or taxes are applied. A positive integer representing the subtotal of the order in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). */ @@ -56,6 +58,11 @@ declare module 'stripe' { */ created: number; + /** + * The credits applied to the Order. At most 10 credits can be applied to an Order. + */ + credits?: Array; + /** * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ @@ -157,6 +164,37 @@ declare module 'stripe' { phone: string | null; } + interface Credit { + /** + * The amount of this credit to apply to the order. + */ + amount: number; + + /** + * Details for a gift card. + */ + gift_card: Credit.GiftCard | null; + + /** + * Line items on this order that are ineligible for this credit + */ + ineligible_line_items: Array | null; + + /** + * The type of credit to apply to the order, only `gift_card` currently supported. + */ + type: 'gift_card'; + } + + namespace Credit { + interface GiftCard { + /** + * The token of the gift card applied to the order + */ + card: string; + } + } + interface Payment { /** * ID of the payment intent associated with this order. Null when the order is `open`. @@ -832,6 +870,8 @@ declare module 'stripe' { } interface TotalDetails { + amount_credit?: number; + /** * This is the sum of all the discounts. */ @@ -917,6 +957,11 @@ declare module 'stripe' { */ billing_details?: Stripe.Emptyable; + /** + * The credits to apply to the order, only `gift_card` currently supported. + */ + credits?: Stripe.Emptyable>; + /** * The customer associated with this order. */ @@ -998,6 +1043,18 @@ declare module 'stripe' { phone?: string; } + interface Credit { + /** + * The gift card to apply to the order. + */ + gift_card?: string; + + /** + * The type of credit to apply to the order, only `gift_card` currently supported. + */ + type: 'gift_card'; + } + interface Discount { /** * ID of the coupon to create a new discount for. @@ -2052,6 +2109,11 @@ declare module 'stripe' { */ billing_details?: Stripe.Emptyable; + /** + * The credits to apply to the order, only `gift_card` currently supported. Pass the empty string `""` to unset this field. + */ + credits?: Stripe.Emptyable>; + /** * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ @@ -2143,6 +2205,18 @@ declare module 'stripe' { phone?: string; } + interface Credit { + /** + * The gift card to apply to the order. + */ + gift_card?: string; + + /** + * The type of credit to apply to the order, only `gift_card` currently supported. + */ + type: 'gift_card'; + } + interface Discount { /** * ID of the coupon to create a new discount for. diff --git a/types/2022-08-01/Products.d.ts b/types/2022-08-01/Products.d.ts index f213a0b4d4..c8586c85f4 100644 --- a/types/2022-08-01/Products.d.ts +++ b/types/2022-08-01/Products.d.ts @@ -85,6 +85,11 @@ declare module 'stripe' { */ package_dimensions: Product.PackageDimensions | null; + /** + * Provisioning configuration for this product. + */ + provisioning?: Product.Provisioning | null; + /** * Whether this product is shipped (i.e., physical goods). */ @@ -144,6 +149,40 @@ declare module 'stripe' { width: number; } + interface Provisioning { + gift_card: Provisioning.GiftCard | null; + + /** + * The type of provisioning, only `gift_card` currently supported. + */ + type: 'gift_card'; + } + + namespace Provisioning { + interface GiftCard { + fixed_amount: GiftCard.FixedAmount | null; + + /** + * The specific type of gift_card provisioning, only `fixed_amount` currently supported. + */ + type: 'fixed_amount'; + } + + namespace GiftCard { + interface FixedAmount { + /** + * The initial amount with which the provisioned gift card will be created. + */ + amount: number; + + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + } + } + } + type Type = 'good' | 'service'; } @@ -228,6 +267,11 @@ declare module 'stripe' { */ package_dimensions?: ProductCreateParams.PackageDimensions; + /** + * Provisioning configuration for this product. + */ + provisioning?: ProductCreateParams.Provisioning; + /** * Whether this product is shipped (i.e., physical goods). */ @@ -419,6 +463,37 @@ declare module 'stripe' { width: number; } + interface Provisioning { + gift_card?: Provisioning.GiftCard; + + /** + * The type of provisioning, only `gift_card` currently supported. + */ + type: 'gift_card'; + } + + namespace Provisioning { + interface GiftCard { + fixed_amount?: GiftCard.FixedAmount; + + /** + * The specific type of gift_card provisioning, only `fixed_amount` currently supported. + */ + type: 'fixed_amount'; + } + + namespace GiftCard { + interface FixedAmount { + /** + * The initial amount with which the provisioned gift card will be created. + */ + amount: number; + + currency: string; + } + } + } + type Type = 'good' | 'service'; } diff --git a/types/2022-08-01/Terminal/Readers.d.ts b/types/2022-08-01/Terminal/Readers.d.ts index 671719e508..335ed5a654 100644 --- a/types/2022-08-01/Terminal/Readers.d.ts +++ b/types/2022-08-01/Terminal/Readers.d.ts @@ -22,7 +22,7 @@ declare module 'stripe' { /** * The most recent action performed by the reader. */ - action?: Reader.Action | null; + action: Reader.Action | null; deleted?: void; @@ -138,6 +138,9 @@ declare module 'stripe' { } interface ProcessSetupIntent { + /** + * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod. + */ generated_card?: string; /** diff --git a/types/2022-08-01/TestHelpers/Customers.d.ts b/types/2022-08-01/TestHelpers/Customers.d.ts index b8e825a5c9..9f3251cfff 100644 --- a/types/2022-08-01/TestHelpers/Customers.d.ts +++ b/types/2022-08-01/TestHelpers/Customers.d.ts @@ -30,7 +30,7 @@ declare module 'stripe' { id: string, params: CustomerFundCashBalanceParams, options?: RequestOptions - ): Promise>; + ): Promise>; } } } diff --git a/types/2022-08-01/Treasury/OutboundTransfers.d.ts b/types/2022-08-01/Treasury/OutboundTransfers.d.ts index 224dca8916..b1764b4b62 100644 --- a/types/2022-08-01/Treasury/OutboundTransfers.d.ts +++ b/types/2022-08-01/Treasury/OutboundTransfers.d.ts @@ -47,7 +47,7 @@ declare module 'stripe' { /** * The PaymentMethod used as the payment instrument for an OutboundTransfer. */ - destination_payment_method: string; + destination_payment_method: string | null; destination_payment_method_details: OutboundTransfer.DestinationPaymentMethodDetails; @@ -265,11 +265,6 @@ declare module 'stripe' { */ currency: string; - /** - * The PaymentMethod to use as the payment instrument for the OutboundTransfer. - */ - destination_payment_method: string; - /** * The FinancialAccount to pull funds from. */ @@ -280,6 +275,11 @@ declare module 'stripe' { */ description?: string; + /** + * The PaymentMethod to use as the payment instrument for the OutboundTransfer. + */ + destination_payment_method?: string; + /** * Hash describing payment method configuration details. */ diff --git a/types/2022-08-01/index.d.ts b/types/2022-08-01/index.d.ts index 283794007c..78973de27a 100644 --- a/types/2022-08-01/index.d.ts +++ b/types/2022-08-01/index.d.ts @@ -47,6 +47,8 @@ /// /// /// +/// +/// /// /// /// @@ -213,6 +215,10 @@ declare module 'stripe' { accounts: Stripe.FinancialConnections.AccountsResource; sessions: Stripe.FinancialConnections.SessionsResource; }; + giftCards: { + cards: Stripe.GiftCards.CardsResource; + transactions: Stripe.GiftCards.TransactionsResource; + }; identity: { verificationReports: Stripe.Identity.VerificationReportsResource; verificationSessions: Stripe.Identity.VerificationSessionsResource; diff --git a/yarn.lock b/yarn.lock index f3bcda28ff..7c7a6481f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -290,7 +290,7 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv@^6.10.0, ajv@^6.10.2: +ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -363,6 +363,18 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== +asn1@~0.2.3: + version "0.2.6" + resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" + integrity sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ== + dependencies: + safer-buffer "~2.1.0" + +assert-plus@1.0.0, assert-plus@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" + integrity sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw== + assertion-error@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" @@ -373,11 +385,33 @@ astral-regex@^1.0.0: resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +aws-sign2@~0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" + integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== + +aws4@^1.8.0: + 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.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== +bcrypt-pbkdf@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" + integrity sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w== + dependencies: + tweetnacl "^0.14.3" + binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" @@ -452,6 +486,11 @@ caniuse-lite@^1.0.30001219: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz#bfdc5942cd3326fa51ee0b42fbef4da9d492a7fa" integrity sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A== +caseless@~0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" + integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== + chai-as-promised@~7.1.1: version "7.1.1" resolved "https://registry.yarnpkg.com/chai-as-promised/-/chai-as-promised-7.1.1.tgz#08645d825deb8696ee61725dbf590c012eb00ca0" @@ -582,6 +621,13 @@ colorette@^1.2.2: resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== +combined-stream@^1.0.6, combined-stream@~1.0.6: + version "1.0.8" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" @@ -599,6 +645,22 @@ convert-source-map@^1.7.0: dependencies: safe-buffer "~5.1.1" +core-util-is@1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" + integrity sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ== + +coveralls@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.1.1.tgz#f5d4431d8b5ae69c5079c8f8ca00d64ac77cf081" + integrity sha512-+dxnG2NHncSD1NrqbSM3dn/lE57O6Qf/koe9+I7c+wzkqRmEvcp0kgJdxKInzYzkICKkFMZsX3Vct3++tsF9ww== + dependencies: + js-yaml "^3.13.1" + lcov-parse "^1.0.0" + log-driver "^1.2.7" + minimist "^1.2.5" + request "^2.88.2" + cross-spawn@^6.0.5: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -624,6 +686,13 @@ crypt@0.0.2: resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" integrity sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs= +dashdash@^1.12.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" + integrity sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g== + dependencies: + assert-plus "^1.0.0" + debug@4.3.1, debug@^4.0.1, debug@^4.1.1: version "4.3.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" @@ -674,6 +743,11 @@ default-require-extensions@^3.0.0: dependencies: strip-bom "^4.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" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + diff@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" @@ -686,6 +760,14 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" +ecc-jsbn@~0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" + integrity sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw== + dependencies: + jsbn "~0.1.0" + safer-buffer "^2.1.0" + electron-to-chromium@^1.3.723: version "1.3.735" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.735.tgz#fa1a8660f2790662291cb2136f0e446a444cdfdc" @@ -853,6 +935,11 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== +extend@~3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" + integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== + external-editor@^3.0.3: version "3.1.0" resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" @@ -862,6 +949,16 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" +extsprintf@1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" + integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g== + +extsprintf@^1.2.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07" + integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== + fast-deep-equal@^3.1.1: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" @@ -955,6 +1052,20 @@ foreground-child@^2.0.0: cross-spawn "^7.0.0" signal-exit "^3.0.2" +forever-agent@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" + integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== + +form-data@~2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" + integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.6" + mime-types "^2.1.12" + fromentries@^1.2.0: version "1.3.2" resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a" @@ -1014,6 +1125,13 @@ get-stdin@^6.0.0: resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== +getpass@^0.1.1: + version "0.1.7" + resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" + integrity sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng== + dependencies: + assert-plus "^1.0.0" + glob-parent@^5.0.0, glob-parent@~5.1.0: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" @@ -1067,6 +1185,19 @@ growl@1.10.5: resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== +har-schema@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" + integrity sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q== + +har-validator@~5.1.3: + version "5.1.5" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" + integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== + dependencies: + ajv "^6.12.3" + har-schema "^2.0.0" + has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -1107,6 +1238,15 @@ html-escaper@^2.0.0: resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== +http-signature@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" + integrity sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ== + dependencies: + assert-plus "^1.0.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -1218,10 +1358,10 @@ is-stream@^2.0.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== -is-typedarray@^1.0.0: +is-typedarray@^1.0.0, is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== is-windows@^1.0.2: version "1.0.2" @@ -1233,6 +1373,11 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= +isstream@~0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" + integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== + istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.0.0-alpha.1: version "3.0.0" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec" @@ -1314,6 +1459,11 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" +jsbn@~0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" + integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== + jsesc@^2.5.1: version "2.5.2" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" @@ -1324,15 +1474,20 @@ json-schema-traverse@^0.4.1: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== +json-schema@0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" + integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== + json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= -json-stringify-safe@^5.0.1: +json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= + integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== json5@^2.1.2: version "2.2.0" @@ -1341,6 +1496,21 @@ json5@^2.1.2: dependencies: minimist "^1.2.5" +jsprim@^1.2.2: + version "1.4.2" + resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" + integrity sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw== + dependencies: + assert-plus "1.0.0" + extsprintf "1.3.0" + json-schema "0.4.0" + verror "1.10.0" + +lcov-parse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-1.0.0.tgz#eb0d46b54111ebc561acb4c408ef9363bdc8f7e0" + integrity sha512-aprLII/vPzuQvYZnDRU78Fns9I2Ag3gi4Ipga/hxnVMCZC8DnR2nI7XBqrPoywGfxqIx/DgarGvDJZAD3YBTgQ== + levn@^0.3.0, levn@~0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" @@ -1378,6 +1548,11 @@ lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== +log-driver@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8" + integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg== + log-symbols@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920" @@ -1408,6 +1583,18 @@ md5@^2.1.0: crypt "0.0.2" is-buffer "~1.1.6" +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12, mime-types@~2.1.19: + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" @@ -1576,6 +1763,11 @@ nyc@^15.1.0: test-exclude "^6.0.0" yargs "^15.0.2" +oauth-sign@~0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" + integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== + object-inspect@^1.9.0: version "1.11.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1" @@ -1694,6 +1886,11 @@ pathval@^1.1.0: resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.1.tgz#8534e77a77ce7ac5a2512ea21e0fdb8fcf6c3d8d" integrity sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ== +performance-now@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" + integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== + picomatch@^2.0.4, picomatch@^2.2.1: version "2.2.3" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.3.tgz#465547f359ccc206d3c48e46a1bcb89bf7ee619d" @@ -1740,7 +1937,12 @@ propagate@^2.0.0: resolved "https://registry.yarnpkg.com/propagate/-/propagate-2.0.1.tgz#40cdedab18085c792334e64f0ac17256d38f9a45" integrity sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag== -punycode@^2.1.0: +psl@^1.1.28: + version "1.9.0" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" + integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== + +punycode@^2.1.0, punycode@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== @@ -1752,6 +1954,11 @@ qs@^6.10.3: dependencies: side-channel "^1.0.4" +qs@~6.5.2: + version "6.5.3" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" + integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== + randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" @@ -1783,6 +1990,32 @@ release-zalgo@^1.0.0: dependencies: es6-error "^4.0.1" +request@^2.88.2: + version "2.88.2" + resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" + integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== + dependencies: + aws-sign2 "~0.7.0" + aws4 "^1.8.0" + caseless "~0.12.0" + combined-stream "~1.0.6" + extend "~3.0.2" + forever-agent "~0.6.1" + form-data "~2.3.2" + har-validator "~5.1.3" + http-signature "~1.2.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.19" + oauth-sign "~0.9.0" + performance-now "^2.1.0" + qs "~6.5.2" + safe-buffer "^5.1.2" + tough-cookie "~2.5.0" + tunnel-agent "^0.6.0" + uuid "^3.3.2" + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -1837,7 +2070,7 @@ rxjs@^6.6.0: dependencies: tslib "^1.9.0" -safe-buffer@^5.1.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -1847,7 +2080,7 @@ safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -"safer-buffer@>= 2.1.2 < 3": +"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -1955,6 +2188,21 @@ sprintf-js@~1.0.2: resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= +sshpk@^1.7.0: + version "1.17.0" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.17.0.tgz#578082d92d4fe612b13007496e543fa0fbcbe4c5" + integrity sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ== + dependencies: + asn1 "~0.2.3" + assert-plus "^1.0.0" + bcrypt-pbkdf "^1.0.0" + dashdash "^1.12.0" + ecc-jsbn "~0.1.1" + getpass "^0.1.1" + jsbn "~0.1.0" + safer-buffer "^2.0.2" + tweetnacl "~0.14.0" + "string-width@^1.0.2 || 2": version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" @@ -2081,6 +2329,14 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" +tough-cookie@~2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" + integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== + dependencies: + psl "^1.1.28" + punycode "^2.1.1" + tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" @@ -2098,6 +2354,18 @@ tsutils@^3.17.1: dependencies: tslib "^1.8.1" +tunnel-agent@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" + integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== + dependencies: + safe-buffer "^5.0.1" + +tweetnacl@^0.14.3, tweetnacl@~0.14.0: + version "0.14.5" + resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" + integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== + type-check@~0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" @@ -2139,7 +2407,7 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" -uuid@^3.3.3: +uuid@^3.3.2, uuid@^3.3.3: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== @@ -2149,6 +2417,15 @@ v8-compile-cache@^2.0.3: resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== +verror@1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" + integrity sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw== + dependencies: + assert-plus "^1.0.0" + core-util-is "1.0.2" + extsprintf "^1.2.0" + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"