From c23696e75ed5e609a4757c08b4b975d1d4118aad Mon Sep 17 00:00:00 2001 From: Rodrigo Manuel Navarro Lajous <40175251+rlajous@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:15:53 -0300 Subject: [PATCH] PLT-1395 Change Axios and Form-data by requiring minimum node version (#63) --- .github/workflows/npm_publish.yml | 24 +- .github/workflows/npm_publish_tag.yml | 2 +- .github/workflows/run-tests.yml | 26 +- .nvmrc | 2 +- examples/drops/backend/.env.template | 1 + examples/drops/backend/.nvmrc | 1 + examples/drops/backend/package.json | 3 + examples/drops/backend/src/index.ts | 5 +- .../drops/backend/src/methods/create_drop.ts | 5 +- examples/moments/backend/.nvmrc | 1 + examples/poaps/backend/.nvmrc | 1 + package.json | 1 + packages/drops/package.json | 9 +- packages/drops/src/types/input.ts | 2 +- packages/moments/package.json | 9 +- packages/performance/package.json | 2 +- packages/poaps/package.json | 9 +- packages/providers/package.json | 10 +- .../AuthenticationProviderHttp.ts | 30 +- .../src/core/PoapCompass/PoapCompass.ts | 10 +- .../src/core/PoapDropApi/PoapDropApi.ts | 33 +- .../src/core/PoapTokenApi/PoapTokenApi.ts | 26 +- .../src/ports/DropApiProvider/Types/input.ts | 2 +- .../test/AuthenticationProviderHttp.spec.ts | 79 +- packages/providers/test/PoapCompass.spec.ts | 27 +- packages/providers/test/PoapDropApi.spec.ts | 26 +- packages/providers/test/PoapTokenApi.spec.ts | 157 +++ packages/utils/package.json | 5 +- rollup.base.config.js | 5 +- yarn.lock | 935 ++++++++++-------- 30 files changed, 865 insertions(+), 583 deletions(-) create mode 100644 examples/drops/backend/.nvmrc create mode 100644 examples/moments/backend/.nvmrc create mode 100644 examples/poaps/backend/.nvmrc create mode 100644 packages/providers/test/PoapTokenApi.spec.ts diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index f98c2cd1..93373c3d 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -10,19 +10,19 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v3 - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '16.x' - registry-url: 'https://registry.npmjs.org' + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - - name: Install dependencies - run: yarn install --frozen-lockfile - - - name: Check package versions and publish - run: yarn publish + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Check package versions and publish + run: yarn publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/npm_publish_tag.yml b/.github/workflows/npm_publish_tag.yml index 32c5a9bf..ec4b78b5 100644 --- a/.github/workflows/npm_publish_tag.yml +++ b/.github/workflows/npm_publish_tag.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' registry-url: 'https://registry.npmjs.org' - name: Set Git config diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5fd8e633..a2e13b8a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,20 +10,20 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v3 - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '16.x' - registry-url: 'https://registry.npmjs.org' + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - - name: Install dependencies - run: yarn install --frozen-lockfile + - name: Install dependencies + run: yarn install --frozen-lockfile - - name: Build packages - run: yarn build + - name: Build packages + run: yarn build - - name: Run tests - run: yarn test + - name: Run tests + run: yarn test diff --git a/.nvmrc b/.nvmrc index 5edcff03..0828ab79 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16 \ No newline at end of file +v18 \ No newline at end of file diff --git a/examples/drops/backend/.env.template b/examples/drops/backend/.env.template index 97dffa51..dd144bff 100644 --- a/examples/drops/backend/.env.template +++ b/examples/drops/backend/.env.template @@ -2,3 +2,4 @@ CLIENT_ID= CLIENT_SECRET= API_KEY= OAUTH_SERVER_DOMAIN= +POAP_DROPS_BASE_URL= diff --git a/examples/drops/backend/.nvmrc b/examples/drops/backend/.nvmrc new file mode 100644 index 00000000..0828ab79 --- /dev/null +++ b/examples/drops/backend/.nvmrc @@ -0,0 +1 @@ +v18 \ No newline at end of file diff --git a/examples/drops/backend/package.json b/examples/drops/backend/package.json index 7ef444f5..5441703d 100644 --- a/examples/drops/backend/package.json +++ b/examples/drops/backend/package.json @@ -23,5 +23,8 @@ "@types/node-fetch": "^2.6.3", "ts-node": "^10.4.0", "typescript": "^4.5.5" + }, + "engines": { + "node": ">=18" } } diff --git a/examples/drops/backend/src/index.ts b/examples/drops/backend/src/index.ts index fb4c5e84..b24d0749 100644 --- a/examples/drops/backend/src/index.ts +++ b/examples/drops/backend/src/index.ts @@ -14,7 +14,10 @@ async function main(): Promise { // Use your library here const client = new DropsClient( new PoapCompass({ apiKey: getRequiredEnvVar('API_KEY') }), - new PoapDropApi({ apiKey: getRequiredEnvVar('API_KEY') }), + new PoapDropApi({ + apiKey: getRequiredEnvVar('API_KEY'), + baseUrl: getRequiredEnvVar('POAP_DROPS_BASE_URL'), + }), ); // Multiple Drops await measurePerformance( diff --git a/examples/drops/backend/src/methods/create_drop.ts b/examples/drops/backend/src/methods/create_drop.ts index d76d330d..c3a636f2 100644 --- a/examples/drops/backend/src/methods/create_drop.ts +++ b/examples/drops/backend/src/methods/create_drop.ts @@ -25,6 +25,9 @@ const toPOAPdate = (date: Date): string => { }; export const create_drop = async (client: DropsClient): Promise => { + const buffer = await fs.promises.readFile('src/assets/poap.png'); + const image = new Blob([buffer], { type: 'image/png' }); + const createDrop: CreateDropsInput = { name: 'Test ' + toPOAPdate(today), description: 'Description', @@ -36,7 +39,7 @@ export const create_drop = async (client: DropsClient): Promise => { eventUrl: 'https://poap.xyz/', virtualEvent: true, secretCode: '123456', - image: await fs.promises.readFile('src/assets/poap.png'), + image, filename: 'file.png', contentType: 'image/png', eventTemplateId: 1, diff --git a/examples/moments/backend/.nvmrc b/examples/moments/backend/.nvmrc new file mode 100644 index 00000000..0828ab79 --- /dev/null +++ b/examples/moments/backend/.nvmrc @@ -0,0 +1 @@ +v18 \ No newline at end of file diff --git a/examples/poaps/backend/.nvmrc b/examples/poaps/backend/.nvmrc new file mode 100644 index 00000000..0828ab79 --- /dev/null +++ b/examples/poaps/backend/.nvmrc @@ -0,0 +1 @@ +v18 \ No newline at end of file diff --git a/package.json b/package.json index 8b550739..c3a43022 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.5.0", + "jest-fetch-mock": "^3.0.3", "jest-mock-extended": "^3.0.4", "prettier": "^2.8.6", "rollup": "^3.20.2", diff --git a/packages/drops/package.json b/packages/drops/package.json index 62f5077d..1a0a616d 100644 --- a/packages/drops/package.json +++ b/packages/drops/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/drops", - "version": "0.0.39", + "version": "0.1.0", "description": "Drops module for the poap.js library", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", @@ -25,8 +25,11 @@ "scripts": { "build": "rollup -c --bundleConfigAsCjs" }, + "engines": { + "node": ">=18" + }, "dependencies": { - "@poap-xyz/providers": "0.0.39", - "@poap-xyz/utils": "0.0.39" + "@poap-xyz/providers": "0.1.0", + "@poap-xyz/utils": "0.1.0" } } diff --git a/packages/drops/src/types/input.ts b/packages/drops/src/types/input.ts index 5caab795..61eb98a3 100644 --- a/packages/drops/src/types/input.ts +++ b/packages/drops/src/types/input.ts @@ -26,7 +26,7 @@ export interface CreateDropsInput { expiryDate: string; eventUrl: string; virtualEvent: boolean; - image: Buffer; + image: Blob; filename: string; contentType: string; secretCode: string; diff --git a/packages/moments/package.json b/packages/moments/package.json index 8f66cc67..07c67ff2 100644 --- a/packages/moments/package.json +++ b/packages/moments/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/moments", - "version": "0.0.39", + "version": "0.1.0", "description": "Moments module for the poap.js library", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", @@ -26,10 +26,13 @@ "build": "rollup -c --bundleConfigAsCjs" }, "dependencies": { - "@poap-xyz/providers": "0.0.39", - "@poap-xyz/utils": "0.0.39", + "@poap-xyz/providers": "0.1.0", + "@poap-xyz/utils": "0.1.0", "uuid": "^9.0.0" }, + "engines": { + "node": ">=18" + }, "devDependencies": { "@types/uuid": "^9.0.2" } diff --git a/packages/performance/package.json b/packages/performance/package.json index f4a399c4..e1a99597 100644 --- a/packages/performance/package.json +++ b/packages/performance/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/performance", - "version": "0.0.39", + "version": "0.1.0", "description": "Performance module for the poap.js library", "type": "module", "main": "dist/cjs/index.cjs", diff --git a/packages/poaps/package.json b/packages/poaps/package.json index c791bb46..d3b9e4c6 100644 --- a/packages/poaps/package.json +++ b/packages/poaps/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/poaps", - "version": "0.0.39", + "version": "0.1.0", "description": "Poaps module for the poap.js library", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", @@ -26,7 +26,10 @@ "build": "rollup -c --bundleConfigAsCjs" }, "dependencies": { - "@poap-xyz/providers": "0.0.39", - "@poap-xyz/utils": "0.0.39" + "@poap-xyz/providers": "0.1.0", + "@poap-xyz/utils": "0.1.0" + }, + "engines": { + "node": ">=18" } } diff --git a/packages/providers/package.json b/packages/providers/package.json index 4fa4fecb..ef444e64 100644 --- a/packages/providers/package.json +++ b/packages/providers/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/providers", - "version": "0.0.39", + "version": "0.1.0", "description": "Providers module for the poap.js library", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", @@ -25,13 +25,13 @@ "build": "rollup -c --bundleConfigAsCjs" }, "dependencies": { - "@poap-xyz/utils": "0.0.39" + "@poap-xyz/utils": "0.1.0", + "axios": "^1.3.5" }, "devDependencies": { "axios-mock-adapter": "^1.21.4" }, - "peerDependencies": { - "axios": "^1.3.5", - "form-data": "^4.0.0" + "engines": { + "node": ">=18" } } diff --git a/packages/providers/src/core/AuthenticationProviderHttp/AuthenticationProviderHttp.ts b/packages/providers/src/core/AuthenticationProviderHttp/AuthenticationProviderHttp.ts index 2c51159c..1105dc14 100644 --- a/packages/providers/src/core/AuthenticationProviderHttp/AuthenticationProviderHttp.ts +++ b/packages/providers/src/core/AuthenticationProviderHttp/AuthenticationProviderHttp.ts @@ -1,5 +1,4 @@ import { AuthenticationProvider } from '../../ports'; -import axios from 'axios'; const DEFAULT_OAUTH_SERVER = 'auth.accounts.poap.xyz'; @@ -24,27 +23,34 @@ export class AuthenticationProviderHttp implements AuthenticationProvider { return this.tokenData.accessToken; } - const response = await axios.post( + const response = await fetch( `https://${this.oAuthServerDomain}/oauth/token`, { - client_id: this.clientId, - client_secret: this.clientSecret, - audience, - grant_type: 'client_credentials', - }, - { + method: 'POST', headers: { - 'content-type': 'application/json', + 'Content-Type': 'application/json', }, + body: JSON.stringify({ + client_id: this.clientId, + client_secret: this.clientSecret, + audience, + grant_type: 'client_credentials', + }), }, ); + if (!response.ok) { + throw new Error(`Network response was not ok: ${response.statusText}`); + } + + const responseData = await response.json(); + this.tokenData = { - accessToken: response.data.access_token, - expiresAt: Date.now() + response.data.expires_in * 1000, + accessToken: responseData.access_token, + expiresAt: Date.now() + responseData.expires_in * 1000, }; - return response.data.access_token; + return responseData.access_token; } private isTokenExpired(): boolean { diff --git a/packages/providers/src/core/PoapCompass/PoapCompass.ts b/packages/providers/src/core/PoapCompass/PoapCompass.ts index 6a2305d4..d20259da 100644 --- a/packages/providers/src/core/PoapCompass/PoapCompass.ts +++ b/packages/providers/src/core/PoapCompass/PoapCompass.ts @@ -1,8 +1,6 @@ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { CompassProvider } from '../../ports/CompassProvider/CompassProvider'; -import axios from 'axios'; -// TODO: Change variable type any to a more specific type const DEFAULT_COMPASS_BASE_URL = 'https://public.compass.poap.tech/v1/graphql'; @@ -44,19 +42,19 @@ export class PoapCompass implements CompassProvider { const endpoint = this.baseUrl; try { - const response = await axios(endpoint, { + const response = await fetch(endpoint, { method: 'POST', - data: { + body: JSON.stringify({ query, variables, - }, + }), headers: { 'Content-Type': 'application/json', 'x-api-key': this.apiKey, }, }); - const json = response.data; + const json = await response.json(); if (json.errors) { throw new Error( diff --git a/packages/providers/src/core/PoapDropApi/PoapDropApi.ts b/packages/providers/src/core/PoapDropApi/PoapDropApi.ts index ba5d0487..88329796 100644 --- a/packages/providers/src/core/PoapDropApi/PoapDropApi.ts +++ b/packages/providers/src/core/PoapDropApi/PoapDropApi.ts @@ -7,8 +7,6 @@ import { DropResponse, UpdateDropInput, } from '../../ports/DropApiProvider/Types'; -import FormData from 'form-data'; -import axios, { AxiosInstance } from 'axios'; const DEFAULT_DROP_BASE_URL = 'https://api.poap.tech'; @@ -21,7 +19,6 @@ const DEFAULT_DROP_BASE_URL = 'https://api.poap.tech'; export class PoapDropApi implements DropApiProvider { private apiKey: string; private baseUrl: string; - private poapApi: AxiosInstance; /** * Creates a new instance of the `PoapDropApi` class. @@ -32,9 +29,6 @@ export class PoapDropApi implements DropApiProvider { constructor(config: PoapDropApiConfig) { this.apiKey = config.apiKey; this.baseUrl = config.baseUrl || DEFAULT_DROP_BASE_URL; - this.poapApi = axios.create({ - timeout: 10000, // 10 seconds - }); } /** @@ -51,10 +45,7 @@ export class PoapDropApi implements DropApiProvider { for (const key in input) { if (Object.prototype.hasOwnProperty.call(input, key)) { if (key === 'image') { - form.append(key, input[key], { - filename: input['filename'], - contentType: input['contentType'], - }); + form.append(key, input[key]); } else { form.append(key, (input[key] as string) + ''); } @@ -63,9 +54,7 @@ export class PoapDropApi implements DropApiProvider { return await this.secureFetch(`${this.baseUrl}/events`, { method: 'POST', body: form, - headers: { - ...form.getHeaders(), - }, + headers: {}, }); } @@ -82,7 +71,9 @@ export class PoapDropApi implements DropApiProvider { return await this.secureFetch(`${this.baseUrl}/events`, { method: 'PUT', body: JSON.stringify(input), - headers: {}, + headers: { + 'Content-Type': 'application/json', + }, }); } @@ -104,13 +95,13 @@ export class PoapDropApi implements DropApiProvider { 'x-api-key': this.apiKey, }; - return ( - await this.poapApi(url, { - method: options.method, - data: options.body, - headers: headersWithApiKey, - }) - ).data; + const response = await fetch(url, { + method: options.method, + body: options.body, + headers: headersWithApiKey, + }); + + return await response.json(); } } diff --git a/packages/providers/src/core/PoapTokenApi/PoapTokenApi.ts b/packages/providers/src/core/PoapTokenApi/PoapTokenApi.ts index d0747817..8e10efb8 100644 --- a/packages/providers/src/core/PoapTokenApi/PoapTokenApi.ts +++ b/packages/providers/src/core/PoapTokenApi/PoapTokenApi.ts @@ -8,7 +8,6 @@ import { import { MintCodeInput } from './../../ports/TokensApiProvider/Types/input'; import { AuthenticationProvider } from './../../ports/AuthenticationProvider/AuthenticationProvider'; import { TokensApiProvider } from './../../ports/TokensApiProvider/TokensApiProvider'; -import axios, { AxiosInstance } from 'axios'; const DEFAULT_DROP_BASE_URL = 'https://api.poap.tech'; @@ -23,7 +22,6 @@ export class PoapTokenApi implements TokensApiProvider { private apiKey: string; private baseUrl: string; private authenticationProvider?: AuthenticationProvider; - private poapApi: AxiosInstance; /** * Constructs a new instance of the `PoapTokenApi` class. * @@ -41,9 +39,6 @@ export class PoapTokenApi implements TokensApiProvider { this.apiKey = apiKey; this.baseUrl = baseUrl; this.authenticationProvider = authenticationProvider; - this.poapApi = axios.create({ - timeout: 10000, // 10 seconds - }); } /** @@ -73,8 +68,10 @@ export class PoapTokenApi implements TokensApiProvider { `${this.baseUrl}/actions/claim-qr`, { method: 'POST', - body: input, - headers: {}, + body: JSON.stringify(input), + headers: { + 'Content-Type': 'application/json', + }, }, ); } @@ -111,13 +108,14 @@ export class PoapTokenApi implements TokensApiProvider { Authorization: await this.getAuthorizationToken(), }; - return ( - await this.poapApi(url, { - method: options.method, - data: options.body, - headers: headersWithApiKey, - }) - ).data; + const response = await fetch(url, { + method: options.method, + body: options.body, + headers: headersWithApiKey, + signal: AbortSignal.timeout(10000), + }); + + return await response.json(); } /** diff --git a/packages/providers/src/ports/DropApiProvider/Types/input.ts b/packages/providers/src/ports/DropApiProvider/Types/input.ts index 6ffac6ad..a68535a6 100644 --- a/packages/providers/src/ports/DropApiProvider/Types/input.ts +++ b/packages/providers/src/ports/DropApiProvider/Types/input.ts @@ -13,7 +13,7 @@ export interface CreateDropInput { expiry_date: string; event_url: string; virtual_event: boolean; - image: Buffer; + image: Blob; filename: string; contentType: string; secret_code: string; diff --git a/packages/providers/test/AuthenticationProviderHttp.spec.ts b/packages/providers/test/AuthenticationProviderHttp.spec.ts index 05b261f2..6df75ba3 100644 --- a/packages/providers/test/AuthenticationProviderHttp.spec.ts +++ b/packages/providers/test/AuthenticationProviderHttp.spec.ts @@ -1,28 +1,14 @@ -import MockAdapter from 'axios-mock-adapter'; -import axios from 'axios'; +import { mock } from 'node:test'; import { AuthenticationProviderHttp } from '../src'; - -const getAuthUrl = (authServer: string): string => { - return `https://${authServer}/oauth/token`; -}; +import { jest } from '@jest/globals'; describe('AuthenticationProviderHttp', () => { - jest.useFakeTimers(); - const CLIENT_ID = 'CLIENT_ID'; const CLIENT_SECRET = 'CLIENT_SECRET'; const ACCESS_TOKEN = 'ACCESS_TOKEN'; const EXPIRES_IN = 3600; - const AUDIENCE = 'https://audience.test'; - const AUTH_SERVER = 'https://auth.test'; - - let axiosMocked: MockAdapter; - let axiosPostSpy: jest.SpyInstance; - - beforeEach(() => { - axiosMocked = new MockAdapter(axios); - axiosPostSpy = jest.spyOn(axios, 'post'); - }); + const AUDIENCE = 'audience.test'; + const AUTH_SERVER = 'auth.test'; it('should return an Access Token', async () => { const provider = new AuthenticationProviderHttp( @@ -30,14 +16,23 @@ describe('AuthenticationProviderHttp', () => { CLIENT_SECRET, AUTH_SERVER, ); - axiosMocked.onPost(getAuthUrl(AUTH_SERVER)).reply(200, { - access_token: ACCESS_TOKEN, - expires_in: EXPIRES_IN, + + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => + Promise.resolve({ + access_token: ACCESS_TOKEN, + expires_in: EXPIRES_IN, + }), + }); }); const result = await provider.getJWT(AUDIENCE); expect(result).toEqual(ACCESS_TOKEN); + + mock.reset(); }); it('should request only one Access Token when Token is still valid', async () => { @@ -46,9 +41,16 @@ describe('AuthenticationProviderHttp', () => { CLIENT_SECRET, AUTH_SERVER, ); - axiosMocked.onPost(getAuthUrl(AUTH_SERVER)).reply(200, { - access_token: ACCESS_TOKEN, - expires_in: EXPIRES_IN, + + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => + Promise.resolve({ + access_token: ACCESS_TOKEN, + expires_in: EXPIRES_IN, + }), + }); }); const accessToken1 = await provider.getJWT(AUDIENCE); @@ -56,7 +58,8 @@ describe('AuthenticationProviderHttp', () => { expect(accessToken1).toEqual(ACCESS_TOKEN); expect(accessToken2).toEqual(ACCESS_TOKEN); - expect(axiosPostSpy).toHaveBeenCalledTimes(1); + + mock.reset(); }); it('should request a new Access Token when Token is expired', async () => { @@ -65,19 +68,37 @@ describe('AuthenticationProviderHttp', () => { CLIENT_SECRET, AUTH_SERVER, ); - axiosMocked.onPost(getAuthUrl(AUTH_SERVER)).reply(200, { - access_token: ACCESS_TOKEN, - expires_in: EXPIRES_IN, + + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => + Promise.resolve({ + access_token: ACCESS_TOKEN, + expires_in: EXPIRES_IN, + }), + }); }); const accessToken1 = await provider.getJWT(AUDIENCE); jest.advanceTimersByTime(EXPIRES_IN * 1000 + 1); + mock.method(global, 'fetch', () => { + return Promise.resolve({ + json: () => + Promise.resolve({ + access_token: ACCESS_TOKEN, + expires_in: EXPIRES_IN, + }), + }); + }); + const accessToken2 = await provider.getJWT(AUDIENCE); expect(accessToken1).toEqual(ACCESS_TOKEN); expect(accessToken2).toEqual(ACCESS_TOKEN); - expect(axiosPostSpy).toHaveBeenCalledTimes(2); + + mock.reset(); }); }); diff --git a/packages/providers/test/PoapCompass.spec.ts b/packages/providers/test/PoapCompass.spec.ts index e84ace7e..9b12c2c7 100644 --- a/packages/providers/test/PoapCompass.spec.ts +++ b/packages/providers/test/PoapCompass.spec.ts @@ -1,18 +1,11 @@ import { PoapCompass } from '../src/core/PoapCompass/PoapCompass'; -import MockAdapter from 'axios-mock-adapter'; -import axios from 'axios'; +import { mock } from 'node:test'; describe('PoapCompass', () => { let apiKey; - let mockAxios; beforeEach(() => { apiKey = 'test-api-key'; - mockAxios = new MockAdapter(axios); - }); - - afterEach(() => { - mockAxios.reset(); }); it('should execute a GraphQL query successfully', async () => { @@ -20,7 +13,12 @@ describe('PoapCompass', () => { const variables = { key: 'value' }; const responseData = { data: { test: 'result' } }; - mockAxios.onPost().reply(200, responseData); + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => Promise.resolve(responseData), + }); + }); const poapCompass = new PoapCompass({ apiKey }); const result = await poapCompass.request(query, variables); @@ -33,7 +31,12 @@ describe('PoapCompass', () => { const variables = { key: 'value' }; const responseData = { errors: [{ message: 'Error message' }] }; - mockAxios.onPost().reply(200, responseData); + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => Promise.resolve(responseData), + }); + }); const poapCompass = new PoapCompass(apiKey); @@ -46,7 +49,9 @@ describe('PoapCompass', () => { const query = 'query { test }'; const variables = { key: 'value' }; - mockAxios.onPost().networkError(); + mock.method(global, 'fetch', () => { + return Promise.reject(new Error('Network error')); + }); const poapCompass = new PoapCompass(apiKey); diff --git a/packages/providers/test/PoapDropApi.spec.ts b/packages/providers/test/PoapDropApi.spec.ts index d2530c0c..dd6d047c 100644 --- a/packages/providers/test/PoapDropApi.spec.ts +++ b/packages/providers/test/PoapDropApi.spec.ts @@ -1,29 +1,22 @@ -import axios from 'axios'; -import MockAdapter from 'axios-mock-adapter'; import { PoapDropApi } from '../src/core/PoapDropApi/PoapDropApi'; import { CreateDropInput, UpdateDropInput, } from '../src/ports/DropApiProvider/Types/input'; import { DropResponse } from '../src/ports/DropApiProvider/Types/response'; +import { mock } from 'node:test'; describe('PoapDropApi', () => { - let mock; let apiKey; let baseUrl; let api; beforeEach(() => { - mock = new MockAdapter(axios); apiKey = 'test-api-key'; baseUrl = 'https://api.poap.test'; api = new PoapDropApi({ apiKey, baseUrl }); }); - afterEach(() => { - mock.reset(); - }); - describe('createDrop', () => { it('should create a drop successfully', async () => { const input: CreateDropInput = { @@ -36,7 +29,7 @@ describe('PoapDropApi', () => { expiry_date: '2023-01-31T00:00:00.000Z', event_url: 'https://example.com/test-event', virtual_event: true, - image: Buffer.from('Test Image'), + image: new Blob([Buffer.from('Test Image')], { type: 'image/png' }), filename: 'test-image.png', contentType: 'image/png', secret_code: 'test123', @@ -69,8 +62,12 @@ describe('PoapDropApi', () => { created_date: '2023-01-01T00:00:00.000Z', }; - mock.onPost(`${baseUrl}/events`).reply(200, mockResponse); - + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => Promise.resolve(mockResponse), + }); + }); const result = await api.createDrop(input); expect(result).toEqual(mockResponse); }); @@ -116,7 +113,12 @@ describe('PoapDropApi', () => { created_date: '2023-01-01T00:00:00.000Z', }; - mock.onPut(`${baseUrl}/events`).reply(200, mockResponse); + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => Promise.resolve(mockResponse), + }); + }); const result = await api.updateDrop(input); expect(result).toEqual(mockResponse); diff --git a/packages/providers/test/PoapTokenApi.spec.ts b/packages/providers/test/PoapTokenApi.spec.ts new file mode 100644 index 00000000..4dc05d42 --- /dev/null +++ b/packages/providers/test/PoapTokenApi.spec.ts @@ -0,0 +1,157 @@ +import { MintingStatus } from '@poap-xyz/utils'; +import { + GetMintCodeResponse, + MintCodeInput, + MintStatusResponse, + PoapTokenApi, + PostMintCodeResponse, +} from '../src'; +import { mock } from 'node:test'; + +describe('PoapTokenApi', () => { + let api: PoapTokenApi; + const apiKey = 'test-api-key'; + const baseUrl = 'https://api.poap.tech'; + const mockJwt = 'mockJwtToken'; + + const mockAuthenticationProvider = { + getJWT: jest.fn().mockResolvedValue(mockJwt), + }; + + beforeEach(() => { + api = new PoapTokenApi({ + apiKey, + baseUrl, + authenticationProvider: mockAuthenticationProvider, + }); + }); + + describe('getMintCode', () => { + it('should retrieve the mint code details', async () => { + const mockCode = 'mockCode12345'; + const mockResponse: GetMintCodeResponse = { + id: 1, + qr_hash: mockCode, + tx_hash: '0xABC123DEF456', + event_id: 2, + beneficiary: '0xAddress1', + user_input: 'userInputData', + signer: '0xSigner1', + claimed: true, + claimed_date: '2023-09-26T10:30:00Z', + created_date: '2023-09-01T10:30:00Z', + is_active: true, + secret: 'secretCode1', + event: { + id: 3, + fancy_id: 'eventId3', + name: 'POAP Event', + description: 'Description for POAP Event', + city: 'Metropolis', + country: 'Etherland', + event_url: 'https://poap.event.xyz', + image_url: 'https://poap.image.xyz', + animation_url: 'https://poap.animation.xyz', + year: 2023, + start_date: '2023-09-20T10:30:00Z', + end_date: '2023-09-22T10:30:00Z', + expiry_date: '2024-09-22T10:30:00Z', + from_admin: false, + virtual_event: true, + private_event: false, + }, + tx_status: 'SUCCESS', + result: { + token: 1001, + }, + }; + + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => Promise.resolve(mockResponse), + }); + }); + + const result = await api.getMintCode(mockCode); + expect(result).toEqual(mockResponse); + }); + }); + + describe('postMintCode', () => { + it('should post a new mint code to the API', async () => { + const mockInput: MintCodeInput = { + address: '0xAddress1', + qr_hash: 'mockQrHash1', + secret: 'secretCode2', + sendEmail: true, + }; + const mockResponse: PostMintCodeResponse = { + id: 4, + qr_hash: 'mockQrHash1', + queue_uid: 'mockQueueUid1', + event_id: 5, + beneficiary: '0xAddress1', + user_input: 'userInputData2', + signer: '0xSigner2', + claimed: false, + claimed_date: '2023-09-26T10:40:00Z', + created_date: '2023-09-01T10:40:00Z', + is_active: true, + event: { + id: 3, + fancy_id: 'eventId3', + name: 'POAP Event', + description: 'Description for POAP Event', + city: 'Metropolis', + country: 'Etherland', + event_url: 'https://poap.event.xyz', + image_url: 'https://poap.image.xyz', + animation_url: 'https://poap.animation.xyz', + year: 2023, + start_date: '2023-09-20T10:30:00Z', + end_date: '2023-09-22T10:30:00Z', + expiry_date: '2024-09-22T10:30:00Z', + from_admin: false, + virtual_event: true, + private_event: false, + }, + }; + + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => Promise.resolve(mockResponse), + }); + }); + + const result = await api.postMintCode(mockInput); + expect(result).toEqual(mockResponse); + }); + }); + + describe('mintStatus', () => { + it('should retrieve the status of a mint by its unique identifier', async () => { + const mockUid = 'mockUid12345'; + const mockResponse: MintStatusResponse = { + uid: 1002, + operation: 'MINT', + status: MintingStatus.FINISH, + result: { + tx_hash: '0xDEF123ABC456', + error: '', + }, + }; + + mock.method(global, 'fetch', () => { + return Promise.resolve({ + ok: true, + json: () => Promise.resolve(mockResponse), + }); + }); + + const result = await api.mintStatus(mockUid); + expect(result).toEqual(mockResponse); + }); + }); +}); diff --git a/packages/utils/package.json b/packages/utils/package.json index d0bd9a6a..48e20d8f 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/utils", - "version": "0.0.39", + "version": "0.1.0", "description": "Utils module for the poap.js library", "type": "module", "main": "dist/cjs/index.cjs", @@ -24,5 +24,8 @@ "homepage": "https://github.com/poap-xyz/poap.js#readme", "scripts": { "build": "rollup -c --bundleConfigAsCjs" + }, + "engines": { + "node": ">=18" } } diff --git a/rollup.base.config.js b/rollup.base.config.js index ff5d1ead..b1c83698 100644 --- a/rollup.base.config.js +++ b/rollup.base.config.js @@ -2,7 +2,6 @@ import typescript from 'rollup-plugin-typescript2'; import { nodeResolve } from '@rollup/plugin-node-resolve'; import commonjs from '@rollup/plugin-commonjs'; import json from '@rollup/plugin-json'; -import peerDepsExternal from 'rollup-plugin-peer-deps-external'; import path from 'path'; const pkg = require(path.resolve(process.cwd(), 'package.json')); @@ -20,7 +19,6 @@ const configs = [ }, cache: false, plugins: [ - peerDepsExternal(), // Automatically externalize dependencies nodeResolve({ browser: true }), typescript({ tsconfig: `./tsconfig.json`, @@ -46,12 +44,11 @@ const configs = [ }, ], plugins: [ - peerDepsExternal(), // Automatically externalize dependencies typescript({ tsconfig: `./tsconfig.json`, }), nodeResolve({ - preferBuiltins: false, + preferBuiltins: true, }), commonjs(), json(), diff --git a/yarn.lock b/yarn.lock index d26fdd90..e423b444 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,13 +22,13 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.22.10, @babel/code-frame@npm:^7.22.5": - version: 7.22.10 - resolution: "@babel/code-frame@npm:7.22.10" +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.22.13": + version: 7.22.13 + resolution: "@babel/code-frame@npm:7.22.13" dependencies: - "@babel/highlight": ^7.22.10 + "@babel/highlight": ^7.22.13 chalk: ^2.4.2 - checksum: 89a06534ad19759da6203a71bad120b1d7b2ddc016c8e07d4c56b35dea25e7396c6da60a754e8532a86733092b131ae7f661dbe6ba5d165ea777555daa2ed3c9 + checksum: 22e342c8077c8b77eeb11f554ecca2ba14153f707b85294fcf6070b6f6150aae88a7b7436dd88d8c9289970585f3fe5b9b941c5aa3aa26a6d5a8ef3f292da058 languageName: node linkType: hard @@ -40,50 +40,50 @@ __metadata: linkType: hard "@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3": - version: 7.22.10 - resolution: "@babel/core@npm:7.22.10" + version: 7.22.17 + resolution: "@babel/core@npm:7.22.17" dependencies: "@ampproject/remapping": ^2.2.0 - "@babel/code-frame": ^7.22.10 - "@babel/generator": ^7.22.10 - "@babel/helper-compilation-targets": ^7.22.10 - "@babel/helper-module-transforms": ^7.22.9 - "@babel/helpers": ^7.22.10 - "@babel/parser": ^7.22.10 - "@babel/template": ^7.22.5 - "@babel/traverse": ^7.22.10 - "@babel/types": ^7.22.10 + "@babel/code-frame": ^7.22.13 + "@babel/generator": ^7.22.15 + "@babel/helper-compilation-targets": ^7.22.15 + "@babel/helper-module-transforms": ^7.22.17 + "@babel/helpers": ^7.22.15 + "@babel/parser": ^7.22.16 + "@babel/template": ^7.22.15 + "@babel/traverse": ^7.22.17 + "@babel/types": ^7.22.17 convert-source-map: ^1.7.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 - json5: ^2.2.2 + json5: ^2.2.3 semver: ^6.3.1 - checksum: cc4efa09209fe1f733cf512e9e4bb50870b191ab2dee8014e34cd6e731f204e48476cc53b4bbd0825d4d342304d577ae43ff5fd8ab3896080673c343321acb32 + checksum: 355216a342d1b3952d7c040dd4c99ecef6b3501ba99a713703c1fec1ae73bc92a48a0c1234562bdbb4fd334b2e452f5a6c3bb282f0e613fa89e1518c91d1aea1 languageName: node linkType: hard -"@babel/generator@npm:^7.22.10, @babel/generator@npm:^7.7.2": - version: 7.22.10 - resolution: "@babel/generator@npm:7.22.10" +"@babel/generator@npm:^7.22.15, @babel/generator@npm:^7.7.2": + version: 7.22.15 + resolution: "@babel/generator@npm:7.22.15" dependencies: - "@babel/types": ^7.22.10 + "@babel/types": ^7.22.15 "@jridgewell/gen-mapping": ^0.3.2 "@jridgewell/trace-mapping": ^0.3.17 jsesc: ^2.5.1 - checksum: 59a79730abdff9070692834bd3af179e7a9413fa2ff7f83dff3eb888765aeaeb2bfc7b0238a49613ed56e1af05956eff303cc139f2407eda8df974813e486074 + checksum: 5b2a3ccdc3634f6ea86e0a442722bcd430238369432d31f15b428a4ee8013c2f4f917b5b135bf4fc1d0a3e2f87f10fd4ce5d07955ecc2d3b9400a05c2a481374 languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.22.10": - version: 7.22.10 - resolution: "@babel/helper-compilation-targets@npm:7.22.10" +"@babel/helper-compilation-targets@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helper-compilation-targets@npm:7.22.15" dependencies: "@babel/compat-data": ^7.22.9 - "@babel/helper-validator-option": ^7.22.5 + "@babel/helper-validator-option": ^7.22.15 browserslist: ^4.21.9 lru-cache: ^5.1.1 semver: ^6.3.1 - checksum: f6f1896816392bcff671bbe6e277307729aee53befb4a66ea126e2a91eda78d819a70d06fa384c74ef46c1595544b94dca50bef6c78438d9ffd31776dafbd435 + checksum: ce85196769e091ae54dd39e4a80c2a9df1793da8588e335c383d536d54f06baf648d0a08fc873044f226398c4ded15c4ae9120ee18e7dfd7c639a68e3cdc9980 languageName: node linkType: hard @@ -113,27 +113,27 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/helper-module-imports@npm:7.22.5" +"@babel/helper-module-imports@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helper-module-imports@npm:7.22.15" dependencies: - "@babel/types": ^7.22.5 - checksum: 9ac2b0404fa38b80bdf2653fbeaf8e8a43ccb41bd505f9741d820ed95d3c4e037c62a1bcdcb6c9527d7798d2e595924c4d025daed73283badc180ada2c9c49ad + "@babel/types": ^7.22.15 + checksum: ecd7e457df0a46f889228f943ef9b4a47d485d82e030676767e6a2fdcbdaa63594d8124d4b55fd160b41c201025aec01fc27580352b1c87a37c9c6f33d116702 languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.22.9": - version: 7.22.9 - resolution: "@babel/helper-module-transforms@npm:7.22.9" +"@babel/helper-module-transforms@npm:^7.22.17": + version: 7.22.17 + resolution: "@babel/helper-module-transforms@npm:7.22.17" dependencies: "@babel/helper-environment-visitor": ^7.22.5 - "@babel/helper-module-imports": ^7.22.5 + "@babel/helper-module-imports": ^7.22.15 "@babel/helper-simple-access": ^7.22.5 "@babel/helper-split-export-declaration": ^7.22.6 - "@babel/helper-validator-identifier": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.15 peerDependencies: "@babel/core": ^7.0.0 - checksum: 2751f77660518cf4ff027514d6f4794f04598c6393be7b04b8e46c6e21606e11c19f3f57ab6129a9c21bacdf8b3ffe3af87bb401d972f34af2d0ffde02ac3001 + checksum: 458021c74093e66179765fcc9d1c1cb694f7bdf98656f23486901d35636495c38aab4661547fac2142e13d887987d1ea30cc9fe42968376a51a99bcd207b4989 languageName: node linkType: hard @@ -169,48 +169,48 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/helper-validator-identifier@npm:7.22.5" - checksum: 7f0f30113474a28298c12161763b49de5018732290ca4de13cdaefd4fd0d635a6fe3f6686c37a02905fb1e64f21a5ee2b55140cf7b070e729f1bd66866506aea +"@babel/helper-validator-identifier@npm:^7.22.15, @babel/helper-validator-identifier@npm:^7.22.5": + version: 7.22.15 + resolution: "@babel/helper-validator-identifier@npm:7.22.15" + checksum: eb0bee4bda664c0959924bc1ad5611eacfce806f46612202dd164fef1df8fef1a11682a1e7615288987100e9fb304982b6e2a4ff07ffe842ab8765b95ed1118c languageName: node linkType: hard -"@babel/helper-validator-option@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/helper-validator-option@npm:7.22.5" - checksum: bbeca8a85ee86990215c0424997438b388b8d642d69b9f86c375a174d3cdeb270efafd1ff128bc7a1d370923d13b6e45829ba8581c027620e83e3a80c5c414b3 +"@babel/helper-validator-option@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helper-validator-option@npm:7.22.15" + checksum: 68da52b1e10002a543161494c4bc0f4d0398c8fdf361d5f7f4272e95c45d5b32d974896d44f6a0ea7378c9204988879d73613ca683e13bd1304e46d25ff67a8d languageName: node linkType: hard -"@babel/helpers@npm:^7.22.10": - version: 7.22.10 - resolution: "@babel/helpers@npm:7.22.10" +"@babel/helpers@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helpers@npm:7.22.15" dependencies: - "@babel/template": ^7.22.5 - "@babel/traverse": ^7.22.10 - "@babel/types": ^7.22.10 - checksum: 3b1219e362df390b6c5d94b75a53fc1c2eb42927ced0b8022d6a29b833a839696206b9bdad45b4805d05591df49fc16b6fb7db758c9c2ecfe99e3e94cb13020f + "@babel/template": ^7.22.15 + "@babel/traverse": ^7.22.15 + "@babel/types": ^7.22.15 + checksum: 49f61a93cbae4df3328bda67af5db743fead659ae4242571226c3596b7df78546189cdf991fed1eca33b559de8abf396a90a001f474a1bab351418f07b7ae6ef languageName: node linkType: hard -"@babel/highlight@npm:^7.22.10": - version: 7.22.10 - resolution: "@babel/highlight@npm:7.22.10" +"@babel/highlight@npm:^7.22.13": + version: 7.22.13 + resolution: "@babel/highlight@npm:7.22.13" dependencies: "@babel/helper-validator-identifier": ^7.22.5 chalk: ^2.4.2 js-tokens: ^4.0.0 - checksum: f714a1e1a72dd9d72f6383f4f30fd342e21a8df32d984a4ea8f5eab691bb6ba6db2f8823d4b4cf135d98869e7a98925b81306aa32ee3c429f8cfa52c75889e1b + checksum: 7266d2bff8aa8fc78eb65b6e92a8211e12897a731126a282d2f9bb50d8fcaa4c1b02af2284f990ac7e3ab8d892d448a2cab8f5ed0ea8a90bce2c025b11ebe802 languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.10, @babel/parser@npm:^7.22.5": - version: 7.22.10 - resolution: "@babel/parser@npm:7.22.10" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.22.16": + version: 7.22.16 + resolution: "@babel/parser@npm:7.22.16" bin: parser: ./bin/babel-parser.js - checksum: af51567b7d3cdf523bc608eae057397486c7fa6c2e5753027c01fe5c36f0767b2d01ce3049b222841326cc5b8c7fda1d810ac1a01af0a97bb04679e2ef9f7049 + checksum: 944c756b5bdeb07b9fec16ecef6b3c61aff9d4c4b924abadcf01afa1840a740b8e2357ae00482b5b37daad6d2bfd848c947f27ad65138d687b6fdc924bc59edd languageName: node linkType: hard @@ -368,43 +368,43 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3": - version: 7.22.5 - resolution: "@babel/template@npm:7.22.5" +"@babel/template@npm:^7.22.15, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3": + version: 7.22.15 + resolution: "@babel/template@npm:7.22.15" dependencies: - "@babel/code-frame": ^7.22.5 - "@babel/parser": ^7.22.5 - "@babel/types": ^7.22.5 - checksum: c5746410164039aca61829cdb42e9a55410f43cace6f51ca443313f3d0bdfa9a5a330d0b0df73dc17ef885c72104234ae05efede37c1cc8a72dc9f93425977a3 + "@babel/code-frame": ^7.22.13 + "@babel/parser": ^7.22.15 + "@babel/types": ^7.22.15 + checksum: 1f3e7dcd6c44f5904c184b3f7fe280394b191f2fed819919ffa1e529c259d5b197da8981b6ca491c235aee8dbad4a50b7e31304aa531271cb823a4a24a0dd8fd languageName: node linkType: hard -"@babel/traverse@npm:^7.22.10": - version: 7.22.10 - resolution: "@babel/traverse@npm:7.22.10" +"@babel/traverse@npm:^7.22.15, @babel/traverse@npm:^7.22.17": + version: 7.22.17 + resolution: "@babel/traverse@npm:7.22.17" dependencies: - "@babel/code-frame": ^7.22.10 - "@babel/generator": ^7.22.10 + "@babel/code-frame": ^7.22.13 + "@babel/generator": ^7.22.15 "@babel/helper-environment-visitor": ^7.22.5 "@babel/helper-function-name": ^7.22.5 "@babel/helper-hoist-variables": ^7.22.5 "@babel/helper-split-export-declaration": ^7.22.6 - "@babel/parser": ^7.22.10 - "@babel/types": ^7.22.10 + "@babel/parser": ^7.22.16 + "@babel/types": ^7.22.17 debug: ^4.1.0 globals: ^11.1.0 - checksum: 9f7b358563bfb0f57ac4ed639f50e5c29a36b821a1ce1eea0c7db084f5b925e3275846d0de63bde01ca407c85d9804e0efbe370d92cd2baaafde3bd13b0f4cdb + checksum: 1153ca166a0a9b3fddf67f7f7c8c5b4f88aa2c2c00261ff2fc8424a63bc93250ed3fd08b04bd526ad19e797aeb6f22161120646a570cbfe5ff2a5d2f5d28af01 languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.10, @babel/types@npm:^7.22.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.8.3": - version: 7.22.10 - resolution: "@babel/types@npm:7.22.10" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.17, @babel/types@npm:^7.22.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.8.3": + version: 7.22.17 + resolution: "@babel/types@npm:7.22.17" dependencies: "@babel/helper-string-parser": ^7.22.5 - "@babel/helper-validator-identifier": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.15 to-fast-properties: ^2.0.0 - checksum: 095c4f4b7503fa816e4094113f0ec2351ef96ff32012010b771693066ff628c7c664b21c6bd3fb93aeb46fe7c61f6b3a3c9e4ed0034d6a2481201c417371c8af + checksum: 7382220f6eb2548f2c867a98916c3aa8a6063498d5372e5d21d8d184ba354033defb72aeba5858c1b2b42177058b896a34a7dcbae5eccd47fb0104721efa909d languageName: node linkType: hard @@ -436,9 +436,9 @@ __metadata: linkType: hard "@eslint-community/regexpp@npm:^4.4.0, @eslint-community/regexpp@npm:^4.6.1": - version: 4.7.0 - resolution: "@eslint-community/regexpp@npm:4.7.0" - checksum: 09b8d11a9957b58be870d76e36b718030ba2215e1fb9d009f7a0833733c86b47d8528c47808eeef389145ca198abc3ea4d169452840e36142ecfb9491e3a1d16 + version: 4.8.0 + resolution: "@eslint-community/regexpp@npm:4.8.0" + checksum: 601e6d033d556e98e8c929905bef335f20d7389762812df4d0f709d9b4d2631610dda975fb272e23b5b68e24a163b3851b114c8080a0a19fb4c141a1eff6305b languageName: node linkType: hard @@ -459,21 +459,21 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:^8.47.0": - version: 8.47.0 - resolution: "@eslint/js@npm:8.47.0" - checksum: 0ef57fe27b6d4c305b33f3b2d2fee1ab397a619006f1d6f4ce5ee4746b8f03d11a4e098805a7d78601ca534cf72917d37f0ac19896c992a32e26299ecb9f9de1 +"@eslint/js@npm:8.49.0": + version: 8.49.0 + resolution: "@eslint/js@npm:8.49.0" + checksum: a6601807c8aeeefe866926ad92ed98007c034a735af20ff709009e39ad1337474243d47908500a3bde04e37bfba16bcf1d3452417f962e1345bc8756edd6b830 languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.10": - version: 0.11.10 - resolution: "@humanwhocodes/config-array@npm:0.11.10" +"@humanwhocodes/config-array@npm:^0.11.11": + version: 0.11.11 + resolution: "@humanwhocodes/config-array@npm:0.11.11" dependencies: "@humanwhocodes/object-schema": ^1.2.1 debug: ^4.1.1 minimatch: ^3.0.5 - checksum: 1b1302e2403d0e35bc43e66d67a2b36b0ad1119efc704b5faff68c41f791a052355b010fb2d27ef022670f550de24cd6d08d5ecf0821c16326b7dcd0ee5d5d8a + checksum: db84507375ab77b8ffdd24f498a5b49ad6b64391d30dd2ac56885501d03964d29637e05b1ed5aefa09d57ac667e28028bc22d2da872bfcd619652fbdb5f4ca19 languageName: node linkType: hard @@ -525,9 +525,9 @@ __metadata: languageName: node linkType: hard -"@jest/console@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/console@npm:29.6.3" +"@jest/console@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/console@npm:29.6.4" dependencies: "@jest/types": ^29.6.3 "@types/node": "*" @@ -535,18 +535,18 @@ __metadata: jest-message-util: ^29.6.3 jest-util: ^29.6.3 slash: ^3.0.0 - checksum: a30b380166944ac06d36a50a36f05e65022b97064efd3ace7113d1dfc30d96966af578266f69817afa9d6ec679f8ceb6ae905352c07e5ad23d3c307fc0060174 + checksum: 1caf061a39266b86e96ca13358401839e4d930742cbaa9e87e79d7ce170a83195e52e5b2d22eb5aa9a949219b61a163a81e337ec98b8323d88d79853051df96c languageName: node linkType: hard -"@jest/core@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/core@npm:29.6.3" +"@jest/core@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/core@npm:29.6.4" dependencies: - "@jest/console": ^29.6.3 - "@jest/reporters": ^29.6.3 - "@jest/test-result": ^29.6.3 - "@jest/transform": ^29.6.3 + "@jest/console": ^29.6.4 + "@jest/reporters": ^29.6.4 + "@jest/test-result": ^29.6.4 + "@jest/transform": ^29.6.4 "@jest/types": ^29.6.3 "@types/node": "*" ansi-escapes: ^4.2.1 @@ -555,18 +555,18 @@ __metadata: exit: ^0.1.2 graceful-fs: ^4.2.9 jest-changed-files: ^29.6.3 - jest-config: ^29.6.3 - jest-haste-map: ^29.6.3 + jest-config: ^29.6.4 + jest-haste-map: ^29.6.4 jest-message-util: ^29.6.3 jest-regex-util: ^29.6.3 - jest-resolve: ^29.6.3 - jest-resolve-dependencies: ^29.6.3 - jest-runner: ^29.6.3 - jest-runtime: ^29.6.3 - jest-snapshot: ^29.6.3 + jest-resolve: ^29.6.4 + jest-resolve-dependencies: ^29.6.4 + jest-runner: ^29.6.4 + jest-runtime: ^29.6.4 + jest-snapshot: ^29.6.4 jest-util: ^29.6.3 jest-validate: ^29.6.3 - jest-watcher: ^29.6.3 + jest-watcher: ^29.6.4 micromatch: ^4.0.4 pretty-format: ^29.6.3 slash: ^3.0.0 @@ -576,44 +576,44 @@ __metadata: peerDependenciesMeta: node-notifier: optional: true - checksum: 8ec37ce75f52dc85dfe703d4f8de31acf2134d1056127d075a700cf3668bad0cccc17f742b39f0053f8c12455075018bd3551093c0b3e082d593980093cb6ce9 + checksum: 0f36532c909775814cb7d4310d61881beaefdec6229ef0b7493c6191dfca20ae5222120846ea5ef8cdeaa8cef265aae9cea8989dcab572d8daea9afd14247c7a languageName: node linkType: hard -"@jest/environment@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/environment@npm:29.6.3" +"@jest/environment@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/environment@npm:29.6.4" dependencies: - "@jest/fake-timers": ^29.6.3 + "@jest/fake-timers": ^29.6.4 "@jest/types": ^29.6.3 "@types/node": "*" jest-mock: ^29.6.3 - checksum: 96aaf9baaa58fbacbdfbde9591297f25f9d6f5566cf10cd07d744a4a25b1d82b6cfb89f217a45ccce2cc50ec6c7e3c9a0122908d6b827985a1679afb5e10b7b1 + checksum: 810d8f1fc26d293acfc44927bcb78adc58ed4ea580a64c8d94aa6c67239dcb149186bf25b94ff28b79de15253e0c877ad8d330feac205f185f3517593168510c languageName: node linkType: hard -"@jest/expect-utils@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/expect-utils@npm:29.6.3" +"@jest/expect-utils@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/expect-utils@npm:29.6.4" dependencies: jest-get-type: ^29.6.3 - checksum: aeb0c2a485df09fdb51f866d58e232010cde888a7e6e1f9b395df236918e09e98407eb8281a3d41d2b115d9ff740d100b75100d521717ba903abeacb26e2a192 + checksum: a17059e02a4c0fca98e2abb7e9e58c70df3cd3d4ebcc6a960cb57c571726f7bd738c6cd008a9bf99770b77e92f7e21c75fe1f9ceec9b7a7710010f9340bb28ad languageName: node linkType: hard -"@jest/expect@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/expect@npm:29.6.3" +"@jest/expect@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/expect@npm:29.6.4" dependencies: - expect: ^29.6.3 - jest-snapshot: ^29.6.3 - checksum: 40c3fc53aa9f86e10129fcaec243405a4b4c398a8d65a3133f97d39331f065c3833c352b133377f003b2e9acc70909d72ac91698c219a883b857b7cda559b199 + expect: ^29.6.4 + jest-snapshot: ^29.6.4 + checksum: e9d7306a96e2f9f9f7a0d93d41850cbad987ebda951a5d9a63d3f5fb61da4c1e41adb54af7f7222e4a185454ecb17ddc77845e18001ee28ac114f7a7fe9e671d languageName: node linkType: hard -"@jest/fake-timers@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/fake-timers@npm:29.6.3" +"@jest/fake-timers@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/fake-timers@npm:29.6.4" dependencies: "@jest/types": ^29.6.3 "@sinonjs/fake-timers": ^10.0.2 @@ -621,30 +621,30 @@ __metadata: jest-message-util: ^29.6.3 jest-mock: ^29.6.3 jest-util: ^29.6.3 - checksum: 60be71159bb92c8b8da593fac2b2fff50c0760c26c3b17237561a2818382d3c797bd119a1707ec1d3e9b77e8e3d6513fe88f0c668d6ca26fb2c01ab475620888 + checksum: 3f06d1090cbaaf781920fe59b10509ad86b587c401818a066ee1550101c6203e0718f0f83bbd2afa8bdf7b43eb280f89fb9f8c98886094e53ccabe5e64de9be1 languageName: node linkType: hard -"@jest/globals@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/globals@npm:29.6.3" +"@jest/globals@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/globals@npm:29.6.4" dependencies: - "@jest/environment": ^29.6.3 - "@jest/expect": ^29.6.3 + "@jest/environment": ^29.6.4 + "@jest/expect": ^29.6.4 "@jest/types": ^29.6.3 jest-mock: ^29.6.3 - checksum: c90ad4e85c4c7fa42e4c61fc6bba854dc7e12c3579b4412fe879e712bf3675e92a771d2ac4ba2a48304a4dab34182e62e9d62f36ca13ddf8dff3cca911ddfbbb + checksum: a41b18871a248151264668a38b13cb305f03db112bfd89ec44e858af0e79066e0b03d6b68c8baf1ec6c578be6fdb87519389c83438608b91471d17a5724858e0 languageName: node linkType: hard -"@jest/reporters@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/reporters@npm:29.6.3" +"@jest/reporters@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/reporters@npm:29.6.4" dependencies: "@bcoe/v8-coverage": ^0.2.3 - "@jest/console": ^29.6.3 - "@jest/test-result": ^29.6.3 - "@jest/transform": ^29.6.3 + "@jest/console": ^29.6.4 + "@jest/test-result": ^29.6.4 + "@jest/transform": ^29.6.4 "@jest/types": ^29.6.3 "@jridgewell/trace-mapping": ^0.3.18 "@types/node": "*" @@ -660,7 +660,7 @@ __metadata: istanbul-reports: ^3.1.3 jest-message-util: ^29.6.3 jest-util: ^29.6.3 - jest-worker: ^29.6.3 + jest-worker: ^29.6.4 slash: ^3.0.0 string-length: ^4.0.1 strip-ansi: ^6.0.0 @@ -670,7 +670,7 @@ __metadata: peerDependenciesMeta: node-notifier: optional: true - checksum: 8899240f018874148a24886ac78ada6dda4b7fc621fed904b276b324b981c2294d2036df92fb87411f2abb914faa351098eeb814d7685dcfa37c7c27b54660a4 + checksum: 9ee0db497f3a826f535d3af0575ceb67984f9708bc6386450359517c212c67218ae98b8ea93ab05df2f920aed9c4166ef64209d66a09b7e30fc0077c91347ad0 languageName: node linkType: hard @@ -694,33 +694,33 @@ __metadata: languageName: node linkType: hard -"@jest/test-result@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/test-result@npm:29.6.3" +"@jest/test-result@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/test-result@npm:29.6.4" dependencies: - "@jest/console": ^29.6.3 + "@jest/console": ^29.6.4 "@jest/types": ^29.6.3 "@types/istanbul-lib-coverage": ^2.0.0 collect-v8-coverage: ^1.0.0 - checksum: 0f8164520587555f4e0c5b3e0843ae8ae43c517301c2986b9ff24ca58215f407164b99f3ccfde778dc3fb299c3bb8922a3dd81cf3ccf0ff646806df61d3d2d78 + checksum: a13c82d29038e80059191a1a443240678c6934ea832fdabaec12b3ece397b6303022a064494a6bbd167a024f04e6b4d9ace1001300927ff70405ec9d854f1193 languageName: node linkType: hard -"@jest/test-sequencer@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/test-sequencer@npm:29.6.3" +"@jest/test-sequencer@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/test-sequencer@npm:29.6.4" dependencies: - "@jest/test-result": ^29.6.3 + "@jest/test-result": ^29.6.4 graceful-fs: ^4.2.9 - jest-haste-map: ^29.6.3 + jest-haste-map: ^29.6.4 slash: ^3.0.0 - checksum: 71b5fee13e28b2006b4bdea62181dd6b7a537531ac027b1230ad96a5a0c7837a4c008e9cbeebee630b0c7cc22187fede48cb18fec79209ff641492c994db8259 + checksum: 517fc66b74a87431a8a1429e4505d85bd09c11f2ba835e46c07c79911fbee23b89c01ec444c7c1d12d1b36f9eba60fcbbccc8e1bc1ae54a1a8b03b5f530ff81b languageName: node linkType: hard -"@jest/transform@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/transform@npm:29.6.3" +"@jest/transform@npm:^29.6.4": + version: 29.6.4 + resolution: "@jest/transform@npm:29.6.4" dependencies: "@babel/core": ^7.11.6 "@jest/types": ^29.6.3 @@ -730,14 +730,14 @@ __metadata: convert-source-map: ^2.0.0 fast-json-stable-stringify: ^2.1.0 graceful-fs: ^4.2.9 - jest-haste-map: ^29.6.3 + jest-haste-map: ^29.6.4 jest-regex-util: ^29.6.3 jest-util: ^29.6.3 micromatch: ^4.0.4 pirates: ^4.0.4 slash: ^3.0.0 write-file-atomic: ^4.0.2 - checksum: edc47e960a71dab5ad8f0480fc4c1b05f2950c12e5aeb62bacfd46929dd5c7101dd2fa521a2e59c62a90849118039949f0230282a485de8dc373aac711f1bff9 + checksum: 0341a200a0bb926fc67ab9aede91c7b4009458206495e92057e72a115c55da5fed117457e68c6ea821e24c58b55da75c6a7b0f272ed63c2693db583d689a3383 languageName: node linkType: hard @@ -864,8 +864,8 @@ __metadata: version: 0.0.0-use.local resolution: "@poap-xyz/drops@workspace:packages/drops" dependencies: - "@poap-xyz/providers": 0.0.39 - "@poap-xyz/utils": 0.0.39 + "@poap-xyz/providers": 0.1.0 + "@poap-xyz/utils": 0.1.0 languageName: unknown linkType: soft @@ -873,8 +873,8 @@ __metadata: version: 0.0.0-use.local resolution: "@poap-xyz/moments@workspace:packages/moments" dependencies: - "@poap-xyz/providers": 0.0.39 - "@poap-xyz/utils": 0.0.39 + "@poap-xyz/providers": 0.1.0 + "@poap-xyz/utils": 0.1.0 "@types/uuid": ^9.0.2 uuid: ^9.0.0 languageName: unknown @@ -890,24 +890,22 @@ __metadata: version: 0.0.0-use.local resolution: "@poap-xyz/poaps@workspace:packages/poaps" dependencies: - "@poap-xyz/providers": 0.0.39 - "@poap-xyz/utils": 0.0.39 + "@poap-xyz/providers": 0.1.0 + "@poap-xyz/utils": 0.1.0 languageName: unknown linkType: soft -"@poap-xyz/providers@*, @poap-xyz/providers@0.0.39, @poap-xyz/providers@workspace:packages/providers": +"@poap-xyz/providers@*, @poap-xyz/providers@0.1.0, @poap-xyz/providers@workspace:packages/providers": version: 0.0.0-use.local resolution: "@poap-xyz/providers@workspace:packages/providers" dependencies: - "@poap-xyz/utils": 0.0.39 - axios-mock-adapter: ^1.21.4 - peerDependencies: + "@poap-xyz/utils": 0.1.0 axios: ^1.3.5 - form-data: ^4.0.0 + axios-mock-adapter: ^1.21.4 languageName: unknown linkType: soft -"@poap-xyz/utils@*, @poap-xyz/utils@0.0.39, @poap-xyz/utils@workspace:packages/utils": +"@poap-xyz/utils@*, @poap-xyz/utils@0.1.0, @poap-xyz/utils@workspace:packages/utils": version: 0.0.0-use.local resolution: "@poap-xyz/utils@workspace:packages/utils" languageName: unknown @@ -1000,8 +998,8 @@ __metadata: linkType: hard "@rollup/pluginutils@npm:^5.0.1": - version: 5.0.3 - resolution: "@rollup/pluginutils@npm:5.0.3" + version: 5.0.4 + resolution: "@rollup/pluginutils@npm:5.0.4" dependencies: "@types/estree": ^1.0.0 estree-walker: ^2.0.2 @@ -1011,7 +1009,7 @@ __metadata: peerDependenciesMeta: rollup: optional: true - checksum: 8efbdeac53c58ba7b26c353a0a95acb0286cb6afec9816e0c52c3537404be80af11d897f78416a3339a8a76cbce8600269bdf4853edfdebcc89b2e90c56bf3d9 + checksum: 893d5805ac4121fc704926963a0ae4e79e9e2bc8d736c3b28499ab69a404cce5119ca3a4e0c3d3a81d62f1beb3966f35285c36935d94b061794f26e94fed4cd1 languageName: node linkType: hard @@ -1206,16 +1204,16 @@ __metadata: linkType: hard "@types/node@npm:*": - version: 20.5.3 - resolution: "@types/node@npm:20.5.3" - checksum: fe67a0fd7402218bdf91523a2b1c2e41d619f7294b1a471e0a778b8bc7bb3fcf291aed12041bcbe9622d50a3d1295a9adea0e7e19bb9386a246bf66071404721 + version: 20.6.0 + resolution: "@types/node@npm:20.6.0" + checksum: 52611801af5cf151c6fac1963aa4a8a8ca2e388a9e9ed82b01b70bca762088ded5b32cc789c5564220d5d7dccba2b8dd34446a3d4fc74736805e1f2cf262e29d languageName: node linkType: hard "@types/node@npm:^18.16.0": - version: 18.17.8 - resolution: "@types/node@npm:18.17.8" - checksum: ebb71526368c9c58f03e2c2408bfda4aa686c13d84226e2c9b48d9c4aee244fb82e672aaf4aa8ccb6e4993b4274d5f4b2b3d52d0a2e57ab187ae653903376411 + version: 18.17.15 + resolution: "@types/node@npm:18.17.15" + checksum: eed11d4398ccdb999a4c65658ee75de621a4ad57aece48ed2fb8803b1e2711fadf58d8aefbdb0a447d69cf3cba602ca32fe0fc92077575950a796e1dc13baa0f languageName: node linkType: hard @@ -1227,9 +1225,9 @@ __metadata: linkType: hard "@types/semver@npm:^7.3.12": - version: 7.5.0 - resolution: "@types/semver@npm:7.5.0" - checksum: 0a64b9b9c7424d9a467658b18dd70d1d781c2d6f033096a6e05762d20ebbad23c1b69b0083b0484722aabf35640b78ccc3de26368bcae1129c87e9df028a22e2 + version: 7.5.1 + resolution: "@types/semver@npm:7.5.1" + checksum: 2fffe938c7ac168711f245a16e1856a3578d77161ca17e29a05c3e02c7be3e9c5beefa29a3350f6c1bd982fb70aa28cc52e4845eb7d36246bcdc0377170d584d languageName: node linkType: hard @@ -1241,9 +1239,9 @@ __metadata: linkType: hard "@types/uuid@npm:^9.0.2": - version: 9.0.2 - resolution: "@types/uuid@npm:9.0.2" - checksum: 1754bcf3444e1e3aeadd6e774fc328eb53bc956665e2e8fb6ec127aa8e1f43d9a224c3d22a9a6233dca8dd81a12dc7fed4d84b8876dd5ec82d40f574f7ff8b68 + version: 9.0.3 + resolution: "@types/uuid@npm:9.0.3" + checksum: 3dde198defd71c067dd14b3050a8fe6d1ead5fe94ec318472e2c30a399d13f18941fe66cffabdcac7267177c9de2f975fdee6f0cc87cde610a2578e1ce4cc3af languageName: node linkType: hard @@ -1590,15 +1588,15 @@ __metadata: linkType: hard "array-includes@npm:^3.1.6": - version: 3.1.6 - resolution: "array-includes@npm:3.1.6" + version: 3.1.7 + resolution: "array-includes@npm:3.1.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - get-intrinsic: ^1.1.3 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + get-intrinsic: ^1.2.1 is-string: ^1.0.7 - checksum: f22f8cd8ba8a6448d91eebdc69f04e4e55085d09232b5216ee2d476dab3ef59984e8d1889e662c6a0ed939dcb1b57fd05b2c0209c3370942fc41b752c82a2ca5 + checksum: 06f9e4598fac12a919f7c59a3f04f010ea07f0b7f0585465ed12ef528a60e45f374e79d1bddbb34cdd4338357d00023ddbd0ac18b0be36964f5e726e8965d7fc languageName: node linkType: hard @@ -1610,53 +1608,54 @@ __metadata: linkType: hard "array.prototype.findlastindex@npm:^1.2.2": - version: 1.2.2 - resolution: "array.prototype.findlastindex@npm:1.2.2" + version: 1.2.3 + resolution: "array.prototype.findlastindex@npm:1.2.3" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 es-shim-unscopables: ^1.0.0 - get-intrinsic: ^1.1.3 - checksum: 8a166359f69a2a751c843f26b9c8cd03d0dc396a92cdcb85f4126b5f1cecdae5b2c0c616a71ea8aff026bde68165b44950b3664404bb73db0673e288495ba264 + get-intrinsic: ^1.2.1 + checksum: 31f35d7b370c84db56484618132041a9af401b338f51899c2e78ef7690fbba5909ee7ca3c59a7192085b328cc0c68c6fd1f6d1553db01a689a589ae510f3966e languageName: node linkType: hard "array.prototype.flat@npm:^1.3.1": - version: 1.3.1 - resolution: "array.prototype.flat@npm:1.3.1" + version: 1.3.2 + resolution: "array.prototype.flat@npm:1.3.2" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 es-shim-unscopables: ^1.0.0 - checksum: 5a8415949df79bf6e01afd7e8839bbde5a3581300e8ad5d8449dea52639e9e59b26a467665622783697917b43bf39940a6e621877c7dd9b3d1c1f97484b9b88b + checksum: 5d6b4bf102065fb3f43764bfff6feb3295d372ce89591e6005df3d0ce388527a9f03c909af6f2a973969a4d178ab232ffc9236654149173e0e187ec3a1a6b87b languageName: node linkType: hard "array.prototype.flatmap@npm:^1.3.1": - version: 1.3.1 - resolution: "array.prototype.flatmap@npm:1.3.1" + version: 1.3.2 + resolution: "array.prototype.flatmap@npm:1.3.2" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 es-shim-unscopables: ^1.0.0 - checksum: 8c1c43a4995f12cf12523436da28515184c753807b3f0bc2ca6c075f71c470b099e2090cc67dba8e5280958fea401c1d0c59e1db0143272aef6cd1103921a987 + checksum: ce09fe21dc0bcd4f30271f8144083aa8c13d4639074d6c8dc82054b847c7fc9a0c97f857491f4da19d4003e507172a78f4bcd12903098adac8b9cd374f734be3 languageName: node linkType: hard "arraybuffer.prototype.slice@npm:^1.0.1": - version: 1.0.1 - resolution: "arraybuffer.prototype.slice@npm:1.0.1" + version: 1.0.2 + resolution: "arraybuffer.prototype.slice@npm:1.0.2" dependencies: array-buffer-byte-length: ^1.0.0 call-bind: ^1.0.2 define-properties: ^1.2.0 + es-abstract: ^1.22.1 get-intrinsic: ^1.2.1 is-array-buffer: ^3.0.2 is-shared-array-buffer: ^1.0.2 - checksum: e3e9b2a3e988ebfeddce4c7e8f69df730c9e48cb04b0d40ff0874ce3d86b3d1339dd520ffde5e39c02610bc172ecfbd4bc93324b1cabd9554c44a56b131ce0ce + checksum: c200faf437786f5b2c80d4564ff5481c886a16dee642ef02abdc7306c7edd523d1f01d1dd12b769c7eb42ac9bc53874510db19a92a2c035c0f6696172aafa5d3 languageName: node linkType: hard @@ -1675,33 +1674,33 @@ __metadata: linkType: hard "axios-mock-adapter@npm:^1.21.4": - version: 1.21.5 - resolution: "axios-mock-adapter@npm:1.21.5" + version: 1.22.0 + resolution: "axios-mock-adapter@npm:1.22.0" dependencies: fast-deep-equal: ^3.1.3 is-buffer: ^2.0.5 peerDependencies: axios: ">= 0.17.0" - checksum: e3c2ccf220a2ddd316ccdff36b65754ddaf9b7a8dc70a64e9ff94da335a0694aaba3d925e6d7d5f71dd4badfe9af581bd7e6dd2dc09414d9900298afe12a71a0 + checksum: 3c0b1473a8263958f4409525fc4c9872cc1c055b69b0a9dba84084e8827e22e7b0d0241061b512a67c763f2116dee272761dd5907f235e5337df0d18ead00294 languageName: node linkType: hard "axios@npm:^1.3.5, axios@npm:^1.3.6": - version: 1.4.0 - resolution: "axios@npm:1.4.0" + version: 1.5.0 + resolution: "axios@npm:1.5.0" dependencies: follow-redirects: ^1.15.0 form-data: ^4.0.0 proxy-from-env: ^1.1.0 - checksum: 7fb6a4313bae7f45e89d62c70a800913c303df653f19eafec88e56cea2e3821066b8409bc68be1930ecca80e861c52aa787659df0ffec6ad4d451c7816b9386b + checksum: e7405a5dbbea97760d0e6cd58fecba311b0401ddb4a8efbc4108f5537da9b3f278bde566deb777935a960beec4fa18e7b8353881f2f465e4f2c0e949fead35be languageName: node linkType: hard -"babel-jest@npm:^29.6.3": - version: 29.6.3 - resolution: "babel-jest@npm:29.6.3" +"babel-jest@npm:^29.6.4": + version: 29.6.4 + resolution: "babel-jest@npm:29.6.4" dependencies: - "@jest/transform": ^29.6.3 + "@jest/transform": ^29.6.4 "@types/babel__core": ^7.1.14 babel-plugin-istanbul: ^6.1.1 babel-preset-jest: ^29.6.3 @@ -1710,7 +1709,7 @@ __metadata: slash: ^3.0.0 peerDependencies: "@babel/core": ^7.8.0 - checksum: 8b4b85d829d8ee010f0c8381cb9d67842da905c32183c1fc6e1e8833447a79b969f8279759d44197bb77001239dc41a49fff0e8222d8e8577f47a8d0428d178e + checksum: c574f1805ab6b51a7d0f5a028aad19eec4634be81e66e6f4631b79b34d8ea05dfb53629f3686c77345163872730aa0408c9e5937ed85f846984228f7ab5e5d96 languageName: node linkType: hard @@ -1965,9 +1964,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.30001517": - version: 1.0.30001522 - resolution: "caniuse-lite@npm:1.0.30001522" - checksum: 56e3551c02ae595085114073cf242f7d9d54d32255c80893ca9098a44f44fc6eef353936f234f31c7f4cb894dd2b6c9c4626e30649ee29e04d70aa127eeefeb0 + version: 1.0.30001532 + resolution: "caniuse-lite@npm:1.0.30001532" + checksum: 613abeb15e03dde307d543195a7860f7ba7450c9c9262d45642b2c8fbe097914fa060d68c8647f9d443947b1f62b09d891858bde7d2cac94fae8133a0b518b28 languageName: node linkType: hard @@ -2158,6 +2157,15 @@ __metadata: languageName: node linkType: hard +"cross-fetch@npm:^3.0.4": + version: 3.1.8 + resolution: "cross-fetch@npm:3.1.8" + dependencies: + node-fetch: ^2.6.12 + checksum: 78f993fa099eaaa041122ab037fe9503ecbbcb9daef234d1d2e0b9230a983f64d645d088c464e21a247b825a08dc444a6e7064adfa93536d3a9454b4745b3632 + languageName: node + linkType: hard + "cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -2310,9 +2318,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.4.477": - version: 1.4.499 - resolution: "electron-to-chromium@npm:1.4.499" - checksum: 9002f3bcd9018f38b3496c2ced5393c6144d3a09bc5e1ea9866541045f6364841a6d11afe8c5977838835bc70f50f8caee63ba928a910e68ac1eed45afd18120 + version: 1.4.513 + resolution: "electron-to-chromium@npm:1.4.513" + checksum: 613b66da177dcf5abca2441c502cde4b4fb247665dc049c54d1fe3b79fc3a5a3ecae92faf97d3147af0fec9c50bf90db09e8ca3f0953a5ec2fdb472d6d6253c2 languageName: node linkType: hard @@ -2376,7 +2384,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.19.0, es-abstract@npm:^1.20.4, es-abstract@npm:^1.21.2": +"es-abstract@npm:^1.22.1": version: 1.22.1 resolution: "es-abstract@npm:1.22.1" dependencies: @@ -2615,14 +2623,14 @@ __metadata: linkType: hard "eslint@npm:^8.36.0": - version: 8.47.0 - resolution: "eslint@npm:8.47.0" + version: 8.49.0 + resolution: "eslint@npm:8.49.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.6.1 "@eslint/eslintrc": ^2.1.2 - "@eslint/js": ^8.47.0 - "@humanwhocodes/config-array": ^0.11.10 + "@eslint/js": 8.49.0 + "@humanwhocodes/config-array": ^0.11.11 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 ajv: ^6.12.4 @@ -2657,7 +2665,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 1988617f703eadc5c7540468d54dc8e5171cf2bb9483f6172799cd1ff54a9a5e4470f003784e8cef92687eaa14de37172732787040e67817581a20bcb9c15970 + checksum: 4dfe257e1e42da2f9da872b05aaaf99b0f5aa022c1a91eee8f2af1ab72651b596366320c575ccd4e0469f7b4c97aff5bb85ae3323ebd6a293c3faef4028b0d81 languageName: node linkType: hard @@ -2766,16 +2774,16 @@ __metadata: languageName: node linkType: hard -"expect@npm:^29.0.0, expect@npm:^29.6.3": - version: 29.6.3 - resolution: "expect@npm:29.6.3" +"expect@npm:^29.0.0, expect@npm:^29.6.4": + version: 29.6.4 + resolution: "expect@npm:29.6.4" dependencies: - "@jest/expect-utils": ^29.6.3 + "@jest/expect-utils": ^29.6.4 jest-get-type: ^29.6.3 - jest-matcher-utils: ^29.6.3 + jest-matcher-utils: ^29.6.4 jest-message-util: ^29.6.3 jest-util: ^29.6.3 - checksum: c72de87abbc9acc17c66f42fcac8be4dff256f871f1800c3aaa004c74f95f61866cf80e8f2ddacc3f2df290fd58b0cba8adb3a0dee3a09dd5d39f97f63d2aae8 + checksum: 019b187d665562e4948b239e011a8791363e916f3076a229298d625e67fdadb06e8c2748798c49b4cf418ea223673eadd1de06537e08ba3c055c6f0efefc2306 languageName: node linkType: hard @@ -2905,16 +2913,17 @@ __metadata: linkType: hard "flat-cache@npm:^3.0.4": - version: 3.0.4 - resolution: "flat-cache@npm:3.0.4" + version: 3.1.0 + resolution: "flat-cache@npm:3.1.0" dependencies: - flatted: ^3.1.0 + flatted: ^3.2.7 + keyv: ^4.5.3 rimraf: ^3.0.2 - checksum: 4fdd10ecbcbf7d520f9040dd1340eb5dfe951e6f0ecf2252edeec03ee68d989ec8b9a20f4434270e71bcfd57800dc09b3344fca3966b2eb8f613072c7d9a2365 + checksum: 99312601d5b90f44aef403f17f056dc09be7e437703740b166cdc9386d99e681f74e6b6e8bd7d010bda66904ea643c9527276b1b80308a2119741d94108a4d8f languageName: node linkType: hard -"flatted@npm:^3.1.0": +"flatted@npm:^3.2.7": version: 3.2.7 resolution: "flatted@npm:3.2.7" checksum: 427633049d55bdb80201c68f7eb1cbd533e03eac541f97d3aecab8c5526f12a20ccecaeede08b57503e772c769e7f8680b37e8d482d1e5f8d7e2194687f9ea35 @@ -3044,18 +3053,18 @@ __metadata: linkType: hard "function.prototype.name@npm:^1.1.5": - version: 1.1.5 - resolution: "function.prototype.name@npm:1.1.5" + version: 1.1.6 + resolution: "function.prototype.name@npm:1.1.6" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.3 - es-abstract: ^1.19.0 - functions-have-names: ^1.2.2 - checksum: acd21d733a9b649c2c442f067567743214af5fa248dbeee69d8278ce7df3329ea5abac572be9f7470b4ec1cd4d8f1040e3c5caccf98ebf2bf861a0deab735c27 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + functions-have-names: ^1.2.3 + checksum: 7a3f9bd98adab09a07f6e1f03da03d3f7c26abbdeaeee15223f6c04a9fb5674792bdf5e689dac19b97ac71de6aad2027ba3048a9b883aa1b3173eed6ab07f479 languageName: node linkType: hard -"functions-have-names@npm:^1.2.2, functions-have-names@npm:^1.2.3": +"functions-have-names@npm:^1.2.3": version: 1.2.3 resolution: "functions-have-names@npm:1.2.3" checksum: c3f1f5ba20f4e962efb71344ce0a40722163e85bee2101ce25f88214e78182d2d2476aa85ef37950c579eb6cf6ee811c17b3101bb84004bb75655f3e33f3fdb5 @@ -3147,8 +3156,8 @@ __metadata: linkType: hard "glob@npm:^10.2.2": - version: 10.3.3 - resolution: "glob@npm:10.3.3" + version: 10.3.4 + resolution: "glob@npm:10.3.4" dependencies: foreground-child: ^3.1.0 jackspeak: ^2.0.3 @@ -3157,7 +3166,7 @@ __metadata: path-scurry: ^1.10.1 bin: glob: dist/cjs/src/bin.js - checksum: 29190d3291f422da0cb40b77a72fc8d2c51a36524e99b8bf412548b7676a6627489528b57250429612b6eec2e6fe7826d328451d3e694a9d15e575389308ec53 + checksum: 176b97c124414401cb51329a93d2ba112cef8814adbed10348481916b9521b677773eee2691cb6b24d66632d8c8bb8913533f5ac4bfb2d0ef5454a1856082361 languageName: node linkType: hard @@ -3747,15 +3756,15 @@ __metadata: linkType: hard "jackspeak@npm:^2.0.3": - version: 2.3.0 - resolution: "jackspeak@npm:2.3.0" + version: 2.3.3 + resolution: "jackspeak@npm:2.3.3" dependencies: "@isaacs/cliui": ^8.0.2 "@pkgjs/parseargs": ^0.11.0 dependenciesMeta: "@pkgjs/parseargs": optional: true - checksum: 71bf716f4b5793226d4aeb9761ebf2605ee093b59f91a61451d57d998dd64bbf2b54323fb749b8b2ae8b6d8a463de4f6e3fedab50108671f247bbc80195a6306 + checksum: 4313a7c0cc44c7753c4cb9869935f0b06f4cf96827515f63f58ff46b3d2f6e29aba6b3b5151778397c3f5ae67ef8bfc48871967bd10343c27e90cff198ec7808 languageName: node linkType: hard @@ -3770,13 +3779,13 @@ __metadata: languageName: node linkType: hard -"jest-circus@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-circus@npm:29.6.3" +"jest-circus@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-circus@npm:29.6.4" dependencies: - "@jest/environment": ^29.6.3 - "@jest/expect": ^29.6.3 - "@jest/test-result": ^29.6.3 + "@jest/environment": ^29.6.4 + "@jest/expect": ^29.6.4 + "@jest/test-result": ^29.6.4 "@jest/types": ^29.6.3 "@types/node": "*" chalk: ^4.0.0 @@ -3784,32 +3793,32 @@ __metadata: dedent: ^1.0.0 is-generator-fn: ^2.0.0 jest-each: ^29.6.3 - jest-matcher-utils: ^29.6.3 + jest-matcher-utils: ^29.6.4 jest-message-util: ^29.6.3 - jest-runtime: ^29.6.3 - jest-snapshot: ^29.6.3 + jest-runtime: ^29.6.4 + jest-snapshot: ^29.6.4 jest-util: ^29.6.3 p-limit: ^3.1.0 pretty-format: ^29.6.3 pure-rand: ^6.0.0 slash: ^3.0.0 stack-utils: ^2.0.3 - checksum: 65b76f853d1bd2ddc74ec5d9a37cff3d04d436e675b0ded52167ba9e5dfb9d6fbca8572c9f255d379ad332e87770bac3da6dbcabcaf840ee2ba6e0cde5b8c20e + checksum: 31f64ddf6df4aefe30ef5f8de9da137c9cba58ab5e2a25cf749450735088dc88a9974591a4256d481af0fe64608173c921219f9fad9a7dd87cbe47a79e111be8 languageName: node linkType: hard -"jest-cli@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-cli@npm:29.6.3" +"jest-cli@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-cli@npm:29.6.4" dependencies: - "@jest/core": ^29.6.3 - "@jest/test-result": ^29.6.3 + "@jest/core": ^29.6.4 + "@jest/test-result": ^29.6.4 "@jest/types": ^29.6.3 chalk: ^4.0.0 exit: ^0.1.2 graceful-fs: ^4.2.9 import-local: ^3.0.2 - jest-config: ^29.6.3 + jest-config: ^29.6.4 jest-util: ^29.6.3 jest-validate: ^29.6.3 prompts: ^2.0.1 @@ -3821,29 +3830,29 @@ __metadata: optional: true bin: jest: bin/jest.js - checksum: 69c422f1522b25756afb5a27b4b01a710d0f5ba52c592903b1ab47103ee2414ac9a9fff36a976092bb595980ba5c45f128e33b5d6ebc666c8a6973474bbf1443 + checksum: 87a85a27eff0e502717b6ee0ce861d3e50d8c47d7298477f8ca10964b958f06c20241d28f1360ce2a85072763483e4924248106a8ed530ca460a56db3fdfc53e languageName: node linkType: hard -"jest-config@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-config@npm:29.6.3" +"jest-config@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-config@npm:29.6.4" dependencies: "@babel/core": ^7.11.6 - "@jest/test-sequencer": ^29.6.3 + "@jest/test-sequencer": ^29.6.4 "@jest/types": ^29.6.3 - babel-jest: ^29.6.3 + babel-jest: ^29.6.4 chalk: ^4.0.0 ci-info: ^3.2.0 deepmerge: ^4.2.2 glob: ^7.1.3 graceful-fs: ^4.2.9 - jest-circus: ^29.6.3 - jest-environment-node: ^29.6.3 + jest-circus: ^29.6.4 + jest-environment-node: ^29.6.4 jest-get-type: ^29.6.3 jest-regex-util: ^29.6.3 - jest-resolve: ^29.6.3 - jest-runner: ^29.6.3 + jest-resolve: ^29.6.4 + jest-runner: ^29.6.4 jest-util: ^29.6.3 jest-validate: ^29.6.3 micromatch: ^4.0.4 @@ -3859,19 +3868,19 @@ __metadata: optional: true ts-node: optional: true - checksum: c3505411b89e5d046fbd294bb6e9ccc8c64a7efcf9d546450bec25512db4cbb67c8d102e4a58fa8ef8eac73052d1259533d9012b483469581ad5ed4cc5faa39f + checksum: 177352658774344896df3988dbe892e0b117579f45cc43aebc588493665bf19a557e202f097f5b4a987314ec2d84afa0769299ac6e702c5923d1fd3cfa4692b0 languageName: node linkType: hard -"jest-diff@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-diff@npm:29.6.3" +"jest-diff@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-diff@npm:29.6.4" dependencies: chalk: ^4.0.0 diff-sequences: ^29.6.3 jest-get-type: ^29.6.3 pretty-format: ^29.6.3 - checksum: 23b0a88efeab36566386f059f3da340754d2860969cbc34805154e2377714e37e3130e21a791fc68008fb460bbf5edd7ec43c16d96d15797b32ccfae5160fe37 + checksum: e205c45ab6dbcc660dc2a682cddb20f6a3cbbbdecd2821cce2050619f96dbd7560ee25f7f51d42c302596aeaddbea54390b78be3ab639340d24d67e4d270a8b0 languageName: node linkType: hard @@ -3897,17 +3906,27 @@ __metadata: languageName: node linkType: hard -"jest-environment-node@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-environment-node@npm:29.6.3" +"jest-environment-node@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-environment-node@npm:29.6.4" dependencies: - "@jest/environment": ^29.6.3 - "@jest/fake-timers": ^29.6.3 + "@jest/environment": ^29.6.4 + "@jest/fake-timers": ^29.6.4 "@jest/types": ^29.6.3 "@types/node": "*" jest-mock: ^29.6.3 jest-util: ^29.6.3 - checksum: c215d8d94d95ba0353677c8b6c7c46d3f612bfd6becafa90e842ab99cb4ba2243c7f0309f1518ea2879820d39c0f3ec0d678e9ebb41055ed6eedbeb123f2897c + checksum: 518221505af4bd32c84f2af2c03f9d771de2711bd69fe7723b648fcc2e05d95b4e75f493afa9010209e26a4a3309ebee971f9b18c45b540891771d3b68c3a16e + languageName: node + linkType: hard + +"jest-fetch-mock@npm:^3.0.3": + version: 3.0.3 + resolution: "jest-fetch-mock@npm:3.0.3" + dependencies: + cross-fetch: ^3.0.4 + promise-polyfill: ^8.1.3 + checksum: fb052f7e0ef1c8192a9c15efdd1b18d281ab68fc6b1648b30bff8880fe24418bdf12190ea79b1996932dc15417c3c01f5b2d77ef7104a7e7943e7cbe8d61071d languageName: node linkType: hard @@ -3918,9 +3937,9 @@ __metadata: languageName: node linkType: hard -"jest-haste-map@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-haste-map@npm:29.6.3" +"jest-haste-map@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-haste-map@npm:29.6.4" dependencies: "@jest/types": ^29.6.3 "@types/graceful-fs": ^4.1.3 @@ -3931,13 +3950,13 @@ __metadata: graceful-fs: ^4.2.9 jest-regex-util: ^29.6.3 jest-util: ^29.6.3 - jest-worker: ^29.6.3 + jest-worker: ^29.6.4 micromatch: ^4.0.4 walker: ^1.0.8 dependenciesMeta: fsevents: optional: true - checksum: d72b81442cf54c5962009502b4001e53b7e40ecd1717bb5d17d5b0badc89cf5529b8be5d2804442d25ee6a70809de150e554b074029170b0e86a32b7560ce430 + checksum: 4f720fd3813bb38400b7a9a094e55664cbddd907ba1769457ed746f6c870c615167647a5b697a788183d832b1dcb1b66143e52990a6f4403283f6686077fa868 languageName: node linkType: hard @@ -3951,15 +3970,15 @@ __metadata: languageName: node linkType: hard -"jest-matcher-utils@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-matcher-utils@npm:29.6.3" +"jest-matcher-utils@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-matcher-utils@npm:29.6.4" dependencies: chalk: ^4.0.0 - jest-diff: ^29.6.3 + jest-diff: ^29.6.4 jest-get-type: ^29.6.3 pretty-format: ^29.6.3 - checksum: d4965d5cc079799bc0a9075daea7a964768d4db55f0388ef879642215399c955ae9a22c967496813c908763b487f97e40701a1eb4ed5b0b7529c447b6d33e652 + checksum: 9e17bce282e74bdbba2ce5475c490e0bba4f464cd42132bfc5df0337e0853af4dba925c7f4f61cbb0a4818fa121d28d7ff0196ec8829773a22fce59a822976d2 languageName: node linkType: hard @@ -4022,72 +4041,72 @@ __metadata: languageName: node linkType: hard -"jest-resolve-dependencies@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-resolve-dependencies@npm:29.6.3" +"jest-resolve-dependencies@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-resolve-dependencies@npm:29.6.4" dependencies: jest-regex-util: ^29.6.3 - jest-snapshot: ^29.6.3 - checksum: db0e57158cc085926f1e0dd63919cc78b87dc7e5644cd40f6b4b0bdcc228f3872b5520477db9a67889f4bcf658c5b85303fef89eee1df60d02a662c356021c2f + jest-snapshot: ^29.6.4 + checksum: 34f81d22cbd72203130cc14cbb66d5783d9f59fba4d366b9653f8fb4f6feeaac25d89696f2f77c700659843d5440dc92f58ad443ba05da1da46c39234866d916 languageName: node linkType: hard -"jest-resolve@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-resolve@npm:29.6.3" +"jest-resolve@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-resolve@npm:29.6.4" dependencies: chalk: ^4.0.0 graceful-fs: ^4.2.9 - jest-haste-map: ^29.6.3 + jest-haste-map: ^29.6.4 jest-pnp-resolver: ^1.2.2 jest-util: ^29.6.3 jest-validate: ^29.6.3 resolve: ^1.20.0 resolve.exports: ^2.0.0 slash: ^3.0.0 - checksum: 94594aab55b957e4f13fec248a18c99a6d8eb4842aa33ea5ef77179604df206d3fff1c59393a8984f179d0a7c6b98322d260b356076cdc2e74f2ebf1d9fba74a + checksum: 5f0ef260aec79ef00e16e0ba7b27d527054e1faed08a144279cd191b5c5b71af67c52b9ddfd24aa2f563d254618ce9bf7519809f23fb2abf6c4fa375503caa28 languageName: node linkType: hard -"jest-runner@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-runner@npm:29.6.3" +"jest-runner@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-runner@npm:29.6.4" dependencies: - "@jest/console": ^29.6.3 - "@jest/environment": ^29.6.3 - "@jest/test-result": ^29.6.3 - "@jest/transform": ^29.6.3 + "@jest/console": ^29.6.4 + "@jest/environment": ^29.6.4 + "@jest/test-result": ^29.6.4 + "@jest/transform": ^29.6.4 "@jest/types": ^29.6.3 "@types/node": "*" chalk: ^4.0.0 emittery: ^0.13.1 graceful-fs: ^4.2.9 jest-docblock: ^29.6.3 - jest-environment-node: ^29.6.3 - jest-haste-map: ^29.6.3 + jest-environment-node: ^29.6.4 + jest-haste-map: ^29.6.4 jest-leak-detector: ^29.6.3 jest-message-util: ^29.6.3 - jest-resolve: ^29.6.3 - jest-runtime: ^29.6.3 + jest-resolve: ^29.6.4 + jest-runtime: ^29.6.4 jest-util: ^29.6.3 - jest-watcher: ^29.6.3 - jest-worker: ^29.6.3 + jest-watcher: ^29.6.4 + jest-worker: ^29.6.4 p-limit: ^3.1.0 source-map-support: 0.5.13 - checksum: 9f10100f1a558ec78d24e131494d9b3736633f788f3edcd30dbce7257c0cee6f62fec08ab99dbb684ddcc7dbb5ca846711b140ca6090a9547c5900a0e3da53f8 + checksum: ca977dd30262171fe000de8407a3187c16e7057ddf690bcc21068155aacd4824ee927b544e0fa9f2885948b47a5123b472da41e095e3bcbdebb79f1fa2f2fc56 languageName: node linkType: hard -"jest-runtime@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-runtime@npm:29.6.3" +"jest-runtime@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-runtime@npm:29.6.4" dependencies: - "@jest/environment": ^29.6.3 - "@jest/fake-timers": ^29.6.3 - "@jest/globals": ^29.6.3 + "@jest/environment": ^29.6.4 + "@jest/fake-timers": ^29.6.4 + "@jest/globals": ^29.6.4 "@jest/source-map": ^29.6.3 - "@jest/test-result": ^29.6.3 - "@jest/transform": ^29.6.3 + "@jest/test-result": ^29.6.4 + "@jest/transform": ^29.6.4 "@jest/types": ^29.6.3 "@types/node": "*" chalk: ^4.0.0 @@ -4095,44 +4114,44 @@ __metadata: collect-v8-coverage: ^1.0.0 glob: ^7.1.3 graceful-fs: ^4.2.9 - jest-haste-map: ^29.6.3 + jest-haste-map: ^29.6.4 jest-message-util: ^29.6.3 jest-mock: ^29.6.3 jest-regex-util: ^29.6.3 - jest-resolve: ^29.6.3 - jest-snapshot: ^29.6.3 + jest-resolve: ^29.6.4 + jest-snapshot: ^29.6.4 jest-util: ^29.6.3 slash: ^3.0.0 strip-bom: ^4.0.0 - checksum: 8743c61a2354dbce87282bfcbc11049f7d30d25ecd5f475ce56c1b7d926debb21b04db284d4d65a14283893a696442c66e923b35742fb02cc9f940a0a41ca49e + checksum: 93deacd06f8f2bb808dbfb8acbcbc0b724187b3d3fffafd497a32c939bf385ca21f5a3f03eebd5b958a0e93865d0e68a0db73bd0fe16dafbd5e922558aa7b359 languageName: node linkType: hard -"jest-snapshot@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-snapshot@npm:29.6.3" +"jest-snapshot@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-snapshot@npm:29.6.4" dependencies: "@babel/core": ^7.11.6 "@babel/generator": ^7.7.2 "@babel/plugin-syntax-jsx": ^7.7.2 "@babel/plugin-syntax-typescript": ^7.7.2 "@babel/types": ^7.3.3 - "@jest/expect-utils": ^29.6.3 - "@jest/transform": ^29.6.3 + "@jest/expect-utils": ^29.6.4 + "@jest/transform": ^29.6.4 "@jest/types": ^29.6.3 babel-preset-current-node-syntax: ^1.0.0 chalk: ^4.0.0 - expect: ^29.6.3 + expect: ^29.6.4 graceful-fs: ^4.2.9 - jest-diff: ^29.6.3 + jest-diff: ^29.6.4 jest-get-type: ^29.6.3 - jest-matcher-utils: ^29.6.3 + jest-matcher-utils: ^29.6.4 jest-message-util: ^29.6.3 jest-util: ^29.6.3 natural-compare: ^1.4.0 pretty-format: ^29.6.3 semver: ^7.5.3 - checksum: c63631d2c18adc678455b9aa6e569cb1ea227e97aaa8628e154b39c95ca626d89e88d62c82e07d66cc83a1fddda1f7153506dd0f49d3411bbbecb52272ed72f5 + checksum: 0c9b5ec640457fb780ac6c9b6caa814436e9e16bf744772eee3bfd055ae5f7a3085a6a09b2f30910e31915dafc3955d92357cc98189e4d5dcb417b5fdafda6e3 languageName: node linkType: hard @@ -4164,11 +4183,11 @@ __metadata: languageName: node linkType: hard -"jest-watcher@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-watcher@npm:29.6.3" +"jest-watcher@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-watcher@npm:29.6.4" dependencies: - "@jest/test-result": ^29.6.3 + "@jest/test-result": ^29.6.4 "@jest/types": ^29.6.3 "@types/node": "*" ansi-escapes: ^4.2.1 @@ -4176,30 +4195,30 @@ __metadata: emittery: ^0.13.1 jest-util: ^29.6.3 string-length: ^4.0.1 - checksum: d31ab2076342d45959d5a7d9fdd88c0c5d52c2ea6fb3b1eabe7f8c28177d90355331beb4d844e171ed9e0341a2da901b7eefaa122505ba0f0ac88e58d29b3374 + checksum: 13c0f96f7e9212e4f3ef2daf3e787045bdcec414061bf286eca934c7f4083fb04d38df9ced9c0edfbe15f3521ca581eb2ed6108c338a0db1f3e1def65687992f languageName: node linkType: hard -"jest-worker@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-worker@npm:29.6.3" +"jest-worker@npm:^29.6.4": + version: 29.6.4 + resolution: "jest-worker@npm:29.6.4" dependencies: "@types/node": "*" jest-util: ^29.6.3 merge-stream: ^2.0.0 supports-color: ^8.0.0 - checksum: 8ffb24a2d4c70ed3032034a2601defccc19353d854d89459f58793c6c8f170f88038c6722073c8047c5734c8ec8d4902ebc955f4f7acb433c2499adf616388fc + checksum: 05d19a5759ebfeb964036065be55ad8d8e8ddffa85d9b3a4c0b95765695efb1d8226ec824a4d8e660c38cda3389bfeb98d819f47232acf9fb0e79f553b7c0a76 languageName: node linkType: hard "jest@npm:^29.5.0": - version: 29.6.3 - resolution: "jest@npm:29.6.3" + version: 29.6.4 + resolution: "jest@npm:29.6.4" dependencies: - "@jest/core": ^29.6.3 + "@jest/core": ^29.6.4 "@jest/types": ^29.6.3 import-local: ^3.0.2 - jest-cli: ^29.6.3 + jest-cli: ^29.6.4 peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -4207,7 +4226,7 @@ __metadata: optional: true bin: jest: bin/jest.js - checksum: dd4f53fb84f28b665b47c628222e5d3b624e9e0afa79b22afceef4f2a53dc0d8f0edd7ca254917ace5c94c3a7bf58c108563234c4fe34e86c679ce99633cfbe6 + checksum: ba28ca7a86d029bcd742bb254c0c8d0119c1e002ddae128ff6409ebabc0b29c36f69dbf3fdd326aff16e7b2500c9a918bbc6a9a5db4d966e035127242239439f languageName: node linkType: hard @@ -4250,6 +4269,13 @@ __metadata: languageName: node linkType: hard +"json-buffer@npm:3.0.1": + version: 3.0.1 + resolution: "json-buffer@npm:3.0.1" + checksum: 9026b03edc2847eefa2e37646c579300a1f3a4586cfb62bf857832b60c852042d0d6ae55d1afb8926163fa54c2b01d83ae24705f34990348bdac6273a29d4581 + languageName: node + linkType: hard + "json-parse-even-better-errors@npm:^2.3.0": version: 2.3.1 resolution: "json-parse-even-better-errors@npm:2.3.1" @@ -4282,7 +4308,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:^2.2.2, json5@npm:^2.2.3": +"json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" bin: @@ -4311,6 +4337,15 @@ __metadata: languageName: node linkType: hard +"keyv@npm:^4.5.3": + version: 4.5.3 + resolution: "keyv@npm:4.5.3" + dependencies: + json-buffer: 3.0.1 + checksum: 3ffb4d5b72b6b4b4af443bbb75ca2526b23c750fccb5ac4c267c6116888b4b65681015c2833cb20d26cf3e6e32dac6b988c77f7f022e1a571b7d90f1442257da + languageName: node + linkType: hard + "kleur@npm:^3.0.3": version: 3.0.3 resolution: "kleur@npm:3.0.3" @@ -4713,6 +4748,20 @@ __metadata: languageName: node linkType: hard +"node-fetch@npm:^2.6.12": + version: 2.7.0 + resolution: "node-fetch@npm:2.7.0" + dependencies: + whatwg-url: ^5.0.0 + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + checksum: d76d2f5edb451a3f05b15115ec89fc6be39de37c6089f1b6368df03b91e1633fd379a7e01b7ab05089a25034b2023d959b47e59759cb38d88341b2459e89d6e5 + languageName: node + linkType: hard + "node-fetch@npm:^3.3.1": version: 3.3.2 resolution: "node-fetch@npm:3.3.2" @@ -4825,47 +4874,47 @@ __metadata: linkType: hard "object.entries@npm:^1.1.5": - version: 1.1.6 - resolution: "object.entries@npm:1.1.6" + version: 1.1.7 + resolution: "object.entries@npm:1.1.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 0f8c47517e6a9a980241eafe3b73de11e59511883173c2b93d67424a008e47e11b77c80e431ad1d8a806f6108b225a1cab9223e53e555776c612a24297117d28 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: da287d434e7e32989586cd734382364ba826a2527f2bc82e6acbf9f9bfafa35d51018b66ec02543ffdfa2a5ba4af2b6f1ca6e588c65030cb4fd9c67d6ced594c languageName: node linkType: hard "object.fromentries@npm:^2.0.6": - version: 2.0.6 - resolution: "object.fromentries@npm:2.0.6" + version: 2.0.7 + resolution: "object.fromentries@npm:2.0.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 453c6d694180c0c30df451b60eaf27a5b9bca3fb43c37908fd2b78af895803dc631242bcf05582173afa40d8d0e9c96e16e8874b39471aa53f3ac1f98a085d85 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 7341ce246e248b39a431b87a9ddd331ff52a454deb79afebc95609f94b1f8238966cf21f52188f2a353f0fdf83294f32f1ebf1f7826aae915ebad21fd0678065 languageName: node linkType: hard "object.groupby@npm:^1.0.0": - version: 1.0.0 - resolution: "object.groupby@npm:1.0.0" + version: 1.0.1 + resolution: "object.groupby@npm:1.0.1" dependencies: call-bind: ^1.0.2 define-properties: ^1.2.0 - es-abstract: ^1.21.2 + es-abstract: ^1.22.1 get-intrinsic: ^1.2.1 - checksum: 64b00b287d57580111c958e7ff375c9b61811fa356f2cf0d35372d43cab61965701f00fac66c19fd8f49c4dfa28744bee6822379c69a73648ad03e09fcdeae70 + checksum: d7959d6eaaba358b1608066fc67ac97f23ce6f573dc8fc661f68c52be165266fcb02937076aedb0e42722fdda0bdc0bbf74778196ac04868178888e9fd3b78b5 languageName: node linkType: hard "object.values@npm:^1.1.6": - version: 1.1.6 - resolution: "object.values@npm:1.1.6" + version: 1.1.7 + resolution: "object.values@npm:1.1.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: f6fff9fd817c24cfd8107f50fb33061d81cd11bacc4e3dbb3852e9ff7692fde4dbce823d4333ea27cd9637ef1b6690df5fbb61f1ed314fa2959598dc3ae23d8e + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: f3e4ae4f21eb1cc7cebb6ce036d4c67b36e1c750428d7b7623c56a0db90edced63d08af8a316d81dfb7c41a3a5fa81b05b7cc9426e98d7da986b1682460f0777 languageName: node linkType: hard @@ -5101,6 +5150,7 @@ __metadata: eslint-plugin-import: ^2.27.5 eslint-plugin-prettier: ^4.2.1 jest: ^29.5.0 + jest-fetch-mock: ^3.0.3 jest-mock-extended: ^3.0.4 prettier: ^2.8.6 rollup: ^3.20.2 @@ -5150,6 +5200,13 @@ __metadata: languageName: node linkType: hard +"promise-polyfill@npm:^8.1.3": + version: 8.3.0 + resolution: "promise-polyfill@npm:8.3.0" + checksum: 206373802076c77def0805758d0a8ece64120dfa6603f092404a1004211f8f2f67f33cadbc35953fc2a8ed0b0d38c774e88bdf01e20ce7a920723a60df84b7a5 + languageName: node + linkType: hard + "promise-retry@npm:^2.0.1": version: 2.0.1 resolution: "promise-retry@npm:2.0.1" @@ -5185,9 +5242,9 @@ __metadata: linkType: hard "pure-rand@npm:^6.0.0": - version: 6.0.2 - resolution: "pure-rand@npm:6.0.2" - checksum: 79de33876a4f515d759c48e98d00756bbd916b4ea260cc572d7adfa4b62cace9952e89f0241d0410214554503d25061140fe325c66f845213d2b1728ba8d413e + version: 6.0.3 + resolution: "pure-rand@npm:6.0.3" + checksum: d08701cfd1528c5f9cdca996776c498c92767722561f9b8f9e62645d5025c8a3bf60b90f76f262aaab124e6bb1d58e1b0850722dbca2846a19b708801956e56b languageName: node linkType: hard @@ -5380,8 +5437,8 @@ __metadata: linkType: hard "rollup@npm:^3.20.2": - version: 3.28.1 - resolution: "rollup@npm:3.28.1" + version: 3.29.1 + resolution: "rollup@npm:3.29.1" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -5389,7 +5446,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 1fcab0929c16130218447c76c19b56ccc0e677110552462297e3679188fc70185a6ec418cef8ce138ec9fb78fd5188537a3f5d28762788e8c88b12a7fb8ba0fb + checksum: eb92dbb83842f46782257c93e864dd12e9eef72eb98485a70a08026e50f7b557cfff7da71f677a4bd62906e597cc99284bf152b876f814a95b61f5a618a0f43e languageName: node linkType: hard @@ -5403,14 +5460,14 @@ __metadata: linkType: hard "safe-array-concat@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-array-concat@npm:1.0.0" + version: 1.0.1 + resolution: "safe-array-concat@npm:1.0.1" dependencies: call-bind: ^1.0.2 - get-intrinsic: ^1.2.0 + get-intrinsic: ^1.2.1 has-symbols: ^1.0.3 isarray: ^2.0.5 - checksum: f43cb98fe3b566327d0c09284de2b15fb85ae964a89495c1b1a5d50c7c8ed484190f4e5e71aacc167e16231940079b326f2c0807aea633d47cc7322f40a6b57f + checksum: 001ecf1d8af398251cbfabaf30ed66e3855127fbceee178179524b24160b49d15442f94ed6c0db0b2e796da76bb05b73bf3cc241490ec9c2b741b41d33058581 languageName: node linkType: hard @@ -5492,14 +5549,14 @@ __metadata: linkType: hard "shiki@npm:^0.14.1": - version: 0.14.3 - resolution: "shiki@npm:0.14.3" + version: 0.14.4 + resolution: "shiki@npm:0.14.4" dependencies: ansi-sequence-parser: ^1.1.0 jsonc-parser: ^3.2.0 vscode-oniguruma: ^1.7.0 vscode-textmate: ^8.0.0 - checksum: a4dd98e3b2a5dd8be207448f111ffb9ad2ed6c530f215714d8b61cbf91ec3edbabb09109b8ec58a26678aacd24e8161d5a9bc0c1fa1b4f64b27ceb180cbd0c89 + checksum: 1173f6fa9531690a8cd4bf1d8e28c9eb9295af38a4c150cba6546e95f6e32bc96c7dd98826e39e688f1ca9d36b683a9a02ef77d51ce6495900b3a46ada64f828 languageName: node linkType: hard @@ -5678,35 +5735,35 @@ __metadata: linkType: hard "string.prototype.trim@npm:^1.2.7": - version: 1.2.7 - resolution: "string.prototype.trim@npm:1.2.7" + version: 1.2.8 + resolution: "string.prototype.trim@npm:1.2.8" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 05b7b2d6af63648e70e44c4a8d10d8cc457536df78b55b9d6230918bde75c5987f6b8604438c4c8652eb55e4fc9725d2912789eb4ec457d6995f3495af190c09 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 49eb1a862a53aba73c3fb6c2a53f5463173cb1f4512374b623bcd6b43ad49dd559a06fb5789bdec771a40fc4d2a564411c0a75d35fb27e76bbe738c211ecff07 languageName: node linkType: hard "string.prototype.trimend@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimend@npm:1.0.6" + version: 1.0.7 + resolution: "string.prototype.trimend@npm:1.0.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 0fdc34645a639bd35179b5a08227a353b88dc089adf438f46be8a7c197fc3f22f8514c1c9be4629b3cd29c281582730a8cbbad6466c60f76b5f99cf2addb132e + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 2375516272fd1ba75992f4c4aa88a7b5f3c7a9ca308d963bcd5645adf689eba6f8a04ebab80c33e30ec0aefc6554181a3a8416015c38da0aa118e60ec896310c languageName: node linkType: hard "string.prototype.trimstart@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimstart@npm:1.0.6" + version: 1.0.7 + resolution: "string.prototype.trimstart@npm:1.0.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 89080feef416621e6ef1279588994305477a7a91648d9436490d56010a1f7adc39167cddac7ce0b9884b8cdbef086987c4dcb2960209f2af8bac0d23ceff4f41 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 13d0c2cb0d5ff9e926fa0bec559158b062eed2b68cd5be777ffba782c96b2b492944e47057274e064549b94dd27cf81f48b27a31fee8af5b574cff253e7eb613 languageName: node linkType: hard @@ -5800,8 +5857,8 @@ __metadata: linkType: hard "tar@npm:^6.1.11, tar@npm:^6.1.2": - version: 6.1.15 - resolution: "tar@npm:6.1.15" + version: 6.2.0 + resolution: "tar@npm:6.2.0" dependencies: chownr: ^2.0.0 fs-minipass: ^2.0.0 @@ -5809,13 +5866,13 @@ __metadata: minizlib: ^2.1.1 mkdirp: ^1.0.3 yallist: ^4.0.0 - checksum: f23832fceeba7578bf31907aac744ae21e74a66f4a17a9e94507acf460e48f6db598c7023882db33bab75b80e027c21f276d405e4a0322d58f51c7088d428268 + checksum: db4d9fe74a2082c3a5016630092c54c8375ff3b280186938cfd104f2e089c4fd9bad58688ef6be9cf186a889671bf355c7cda38f09bbf60604b281715ca57f5c languageName: node linkType: hard "terser@npm:^5.17.4": - version: 5.19.2 - resolution: "terser@npm:5.19.2" + version: 5.19.4 + resolution: "terser@npm:5.19.4" dependencies: "@jridgewell/source-map": ^0.3.3 acorn: ^8.8.2 @@ -5823,7 +5880,7 @@ __metadata: source-map-support: ~0.5.20 bin: terser: bin/terser - checksum: e059177775b4d4f4cff219ad89293175aefbd1b081252270444dc83e42a2c5f07824eb2a85eae6e22ef6eb7ef04b21af36dd7d1dd7cfb93912310e57d416a205 + checksum: 09273ce7d3fbe8fea0ec2603ad1c06cc304838bdac42bbfe77835b0b0b6c4a894054575ca518fe16c95d5c401574a8c703f4fde97da45f1c972ea568e6ecafda languageName: node linkType: hard @@ -5868,6 +5925,13 @@ __metadata: languageName: node linkType: hard +"tr46@npm:~0.0.3": + version: 0.0.3 + resolution: "tr46@npm:0.0.3" + checksum: 726321c5eaf41b5002e17ffbd1fb7245999a073e8979085dacd47c4b4e8068ff5777142fc6726d6ca1fd2ff16921b48788b87225cbc57c72636f6efa8efbffe3 + languageName: node + linkType: hard + "ts-essentials@npm:^7.0.3": version: 7.0.3 resolution: "ts-essentials@npm:7.0.3" @@ -6089,12 +6153,12 @@ __metadata: linkType: hard "typescript@npm:^5.0.2": - version: 5.1.6 - resolution: "typescript@npm:5.1.6" + version: 5.2.2 + resolution: "typescript@npm:5.2.2" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: b2f2c35096035fe1f5facd1e38922ccb8558996331405eb00a5111cc948b2e733163cc22fab5db46992aba7dd520fff637f2c1df4996ff0e134e77d3249a7350 + checksum: 7912821dac4d962d315c36800fe387cdc0a6298dba7ec171b350b4a6e988b51d7b8f051317786db1094bd7431d526b648aba7da8236607febb26cf5b871d2d3c languageName: node linkType: hard @@ -6109,12 +6173,12 @@ __metadata: linkType: hard "typescript@patch:typescript@^5.0.2#~builtin": - version: 5.1.6 - resolution: "typescript@patch:typescript@npm%3A5.1.6#~builtin::version=5.1.6&hash=85af82" + version: 5.2.2 + resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin::version=5.2.2&hash=85af82" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 21e88b0a0c0226f9cb9fd25b9626fb05b4c0f3fddac521844a13e1f30beb8f14e90bd409a9ac43c812c5946d714d6e0dee12d5d02dfc1c562c5aacfa1f49b606 + checksum: 07106822b4305de3f22835cbba949a2b35451cad50888759b6818421290ff95d522b38ef7919e70fb381c5fe9c1c643d7dea22c8b31652a717ddbd57b7f4d554 languageName: node linkType: hard @@ -6254,6 +6318,23 @@ __metadata: languageName: node linkType: hard +"webidl-conversions@npm:^3.0.0": + version: 3.0.1 + resolution: "webidl-conversions@npm:3.0.1" + checksum: c92a0a6ab95314bde9c32e1d0a6dfac83b578f8fa5f21e675bc2706ed6981bc26b7eb7e6a1fab158e5ce4adf9caa4a0aee49a52505d4d13c7be545f15021b17c + languageName: node + linkType: hard + +"whatwg-url@npm:^5.0.0": + version: 5.0.0 + resolution: "whatwg-url@npm:5.0.0" + dependencies: + tr46: ~0.0.3 + webidl-conversions: ^3.0.0 + checksum: b8daed4ad3356cc4899048a15b2c143a9aed0dfae1f611ebd55073310c7b910f522ad75d727346ad64203d7e6c79ef25eafd465f4d12775ca44b90fa82ed9e2c + languageName: node + linkType: hard + "which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2"