From f476cc986917b74f9869d3fe84a8facf55433d1c Mon Sep 17 00:00:00 2001 From: Erik Post Date: Sat, 22 Feb 2025 21:59:43 +0100 Subject: [PATCH 1/6] fix: incorrect sync url and param handling --- src/lib/synchronization.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/synchronization.ts b/src/lib/synchronization.ts index c597c72..c290b82 100644 --- a/src/lib/synchronization.ts +++ b/src/lib/synchronization.ts @@ -15,7 +15,7 @@ export async function synchronization(client: AxiosInstance, params: SyncStack | config.params = { ...config.params, type: type.join(',') }; } - let response: AxiosResponse = await getData(client, '/sync', { params: humps.decamelizeKeys(config) }); + let response: AxiosResponse = await getData(client, '/stack/sync', { params: humps.decamelizeKeys(config.params) }); const data = response.data; while (recursive && 'pagination_token' in response.data) { From 99df74b98f4a57389572550824109f6746932f7e Mon Sep 17 00:00:00 2001 From: Erik Post Date: Sat, 22 Feb 2025 22:00:53 +0100 Subject: [PATCH 2/6] fix: fix typo --- src/lib/synchronization.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/synchronization.ts b/src/lib/synchronization.ts index c290b82..3f5e7c8 100644 --- a/src/lib/synchronization.ts +++ b/src/lib/synchronization.ts @@ -15,7 +15,7 @@ export async function synchronization(client: AxiosInstance, params: SyncStack | config.params = { ...config.params, type: type.join(',') }; } - let response: AxiosResponse = await getData(client, '/stack/sync', { params: humps.decamelizeKeys(config.params) }); + let response: AxiosResponse = await getData(client, '/stacks/sync', { params: humps.decamelizeKeys(config.params) }); const data = response.data; while (recursive && 'pagination_token' in response.data) { From 897562c96f299450499026d2c89a770a00bb61f1 Mon Sep 17 00:00:00 2001 From: Erik Post Date: Mon, 24 Feb 2025 09:58:28 +0100 Subject: [PATCH 3/6] fix unit tests --- test/unit/synchronization.spec.ts | 58 +++++++++++++++---------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/test/unit/synchronization.spec.ts b/test/unit/synchronization.spec.ts index 780ef19..c24a2bf 100644 --- a/test/unit/synchronization.spec.ts +++ b/test/unit/synchronization.spec.ts @@ -28,63 +28,63 @@ describe('Synchronization function', () => { }; it('should have valid init and environment params as req params when no request params is passed', async () => { await await synchronization(httpClient({})); - expect(getDataMock.mock.calls[0][1]).toBe('/sync'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('init'); - expect(getDataMock.mock.calls[0][2].params.params).toEqual({ init: true }); + expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); + expect(getDataMock.mock.calls[0][2].params).toEqual({ init: true }); }); it('should have only pagination_token param when sync is called with pagination_token.', async () => { await syncCall({ paginationToken: '' }); - expect(getDataMock.mock.calls[0][1]).toBe('/sync'); + expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); expect(getDataMock.mock.calls[0][2].params).not.toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).not.toHaveProperty('environment'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('pagination_token'); - expect(getDataMock.mock.calls[0][2].params.params).toEqual({ pagination_token: '' }); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('pagination_token'); + expect(getDataMock.mock.calls[0][2].params).toEqual({ pagination_token: '' }); }); it('should have only sync_token param when sync is called with sync_token.', async () => { await syncCall({ syncToken: '' }); - expect(getDataMock.mock.calls[0][1]).toBe('/sync'); + expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); expect(getDataMock.mock.calls[0][2].params).not.toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).not.toHaveProperty('environment'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('sync_token'); - expect(getDataMock.mock.calls[0][2].params.params).toEqual({ sync_token: '' }); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('sync_token'); + expect(getDataMock.mock.calls[0][2].params).toEqual({ sync_token: '' }); }); it('should have valid content_type_uid when content_type_uid is passed as param', async () => { await syncCall({ contentTypeUid: 'session' }); - expect(getDataMock.mock.calls[0][1]).toBe('/sync'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('init'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('content_type_uid'); - expect(getDataMock.mock.calls[0][2].params.params).toEqual({ + expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('content_type_uid'); + expect(getDataMock.mock.calls[0][2].params).toEqual({ init: true, content_type_uid: 'session', }); }); it('should have valid locale when a locale is passed as param', async () => { await syncCall({ locale: LOCALE }); - expect(getDataMock.mock.calls[0][1]).toBe('/sync'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('init'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('locale'); - expect(getDataMock.mock.calls[0][2].params.params).toEqual({ + expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('locale'); + expect(getDataMock.mock.calls[0][2].params).toEqual({ init: true, locale: LOCALE, }); }); it('should have valid date structure and other required params when start_date is passed as param', async () => { await syncCall({ startDate: '2018-10-22' }); - expect(getDataMock.mock.calls[0][1]).toBe('/sync'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('init'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('start_date'); - expect(getDataMock.mock.calls[0][2].params.params).toEqual({ + expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('start_date'); + expect(getDataMock.mock.calls[0][2].params).toEqual({ init: true, start_date: '2018-10-22', }); }); it('should have valid publish_type when type is passed as param', async () => { await syncCall({ type: [PublishType.ENTRY_PUBLISHED] }); - expect(getDataMock.mock.calls[0][1]).toBe('/sync'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('init'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('type'); - expect(getDataMock.mock.calls[0][2].params.params).toEqual({ + expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('type'); + expect(getDataMock.mock.calls[0][2].params).toEqual({ init: true, type: 'entry_published', }); @@ -95,10 +95,10 @@ describe('Synchronization function', () => { startDate: '2018-10-22', type: [PublishType.ENTRY_PUBLISHED, PublishType.CONTENT_TYPE_DELETED], }); - expect(getDataMock.mock.calls[0][1]).toBe('/sync'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('init'); - expect(getDataMock.mock.calls[0][2].params.params).toHaveProperty('type'); - expect(getDataMock.mock.calls[0][2].params.params).toEqual({ + expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); + expect(getDataMock.mock.calls[0][2].params).toHaveProperty('type'); + expect(getDataMock.mock.calls[0][2].params).toEqual({ init: true, start_date: '2018-10-22', locale: 'en-us', From 53ed708417667b3e35317ab6d3b15f16a3d676e1 Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Tue, 11 Mar 2025 17:22:45 +0530 Subject: [PATCH 4/6] chore: imports and dependencies fixed --- .talismanrc | 4 +++- package-lock.json | 18 ++++++++---------- package.json | 8 ++++---- src/lib/base-query.ts | 3 +-- src/lib/internal-types.ts | 7 ------- src/lib/pagination.ts | 3 +-- src/lib/query.ts | 3 +-- src/lib/synchronization.ts | 6 ++++-- src/lib/types.ts | 10 ++++++++++ test/unit/synchronization.spec.ts | 17 +++++++++-------- 10 files changed, 41 insertions(+), 38 deletions(-) delete mode 100644 src/lib/internal-types.ts diff --git a/.talismanrc b/.talismanrc index 9575fda..42ae5d0 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,6 +1,8 @@ fileignoreconfig: - filename: package-lock.json - checksum: 14aa4a8464718071ee723fc67f0f77748e41818f949a5b9b688da24cf1dd8bf0 + checksum: ffe61fb2806dc761b2f8e560b3d27aa58ae2fe2bdf5a48f68d80ee0fb74ffdb6 +- filename: src/lib/types.ts + checksum: 1eb6d6ec971934d65017dae2f82d6d6ef1cd0e6bfd50f43a9b46f30182307230 - filename: test/unit/image-transform.spec.ts checksum: 7beabdd07bd35d620668fcd97e1a303b9cbc40170bf3008a376d75ce0895de2a - filename: test/utils/mocks.ts diff --git a/package-lock.json b/package-lock.json index 421faa9..7a2f4d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,24 +11,24 @@ "dependencies": { "@contentstack/core": "^1.2.0", "@contentstack/utils": "^1.3.19", - "@types/humps": "^2.0.6", "axios": "^1.8.2", - "dotenv": "^16.4.7", - "humps": "^2.0.1", - "path-browserify": "^1.0.1" + "humps": "^2.0.1" }, "devDependencies": { "@nrwl/jest": "^17.3.2", + "@types/humps": "^2.0.6", "@types/jest": "^29.5.14", "@types/node-localstorage": "^1.3.3", "axios-mock-adapter": "^1.22.0", "babel-jest": "^29.7.0", + "dotenv": "^16.4.7", "esbuild-plugin-file-path-extensions": "^2.1.4", "ignore-loader": "^0.1.2", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-html-reporters": "^3.1.7", "jest-junit": "^16.0.0", + "path-browserify": "^1.0.1", "ts-jest": "^29.2.6", "ts-loader": "^9.5.2", "ts-node": "^10.9.2", @@ -1890,7 +1890,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@contentstack/core/-/core-1.2.0.tgz", "integrity": "sha512-+lvpw0QxJ6A77iqCQN8swo2IhtxaXx/Cwe2r/RE0TrFhWWdJyoIgdySA+LfYnqgxpOIv0B05ix98+xWbkNkwSQ==", - "license": "MIT", "dependencies": { "axios": "^1.7.9", "axios-mock-adapter": "^2.1.0", @@ -1915,8 +1914,7 @@ "node_modules/@contentstack/utils": { "version": "1.3.19", "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.19.tgz", - "integrity": "sha512-8xZJXBvdYlmXr480Iu162TFwP1LrDMGy0YeEjFrOTIgWZnKDJPwyFGkqaIkTxCbcLw2yrMhsxyZEy4LFrvVFuQ==", - "license": "MIT" + "integrity": "sha512-8xZJXBvdYlmXr480Iu162TFwP1LrDMGy0YeEjFrOTIgWZnKDJPwyFGkqaIkTxCbcLw2yrMhsxyZEy4LFrvVFuQ==" }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", @@ -4060,7 +4058,7 @@ "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/humps/-/humps-2.0.6.tgz", "integrity": "sha512-Fagm1/a/1J9gDKzGdtlPmmTN5eSw/aaTzHtj740oSfo+MODsSY2WglxMmhTdOglC8nxqUhGGQ+5HfVtBvxo3Kg==", - "license": "MIT" + "dev": true }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", @@ -5645,7 +5643,7 @@ "version": "16.4.7", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", - "license": "BSD-2-Clause", + "dev": true, "engines": { "node": ">=12" }, @@ -8812,7 +8810,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", - "license": "MIT" + "dev": true }, "node_modules/path-exists": { "version": "4.0.0", diff --git a/package.json b/package.json index 946352e..e64ceaa 100644 --- a/package.json +++ b/package.json @@ -35,11 +35,8 @@ "dependencies": { "@contentstack/core": "^1.2.0", "@contentstack/utils": "^1.3.19", - "@types/humps": "^2.0.6", "axios": "^1.8.2", - "dotenv": "^16.4.7", - "humps": "^2.0.1", - "path-browserify": "^1.0.1" + "humps": "^2.0.1" }, "files": [ "dist", @@ -48,16 +45,19 @@ ], "devDependencies": { "@nrwl/jest": "^17.3.2", + "@types/humps": "^2.0.6", "@types/jest": "^29.5.14", "@types/node-localstorage": "^1.3.3", "axios-mock-adapter": "^1.22.0", "babel-jest": "^29.7.0", + "dotenv": "^16.4.7", "esbuild-plugin-file-path-extensions": "^2.1.4", "ignore-loader": "^0.1.2", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-html-reporters": "^3.1.7", "jest-junit": "^16.0.0", + "path-browserify": "^1.0.1", "ts-jest": "^29.2.6", "ts-loader": "^9.5.2", "ts-node": "^10.9.2", diff --git a/src/lib/base-query.ts b/src/lib/base-query.ts index cb99594..3f214f6 100644 --- a/src/lib/base-query.ts +++ b/src/lib/base-query.ts @@ -1,7 +1,6 @@ import { AxiosInstance, getData } from '@contentstack/core'; import { Pagination } from './pagination'; -import { FindResponse } from './types'; -import { params } from './internal-types'; +import { FindResponse, params } from './types'; export class BaseQuery extends Pagination { _parameters: params = {}; // Params of query class ?query={} diff --git a/src/lib/internal-types.ts b/src/lib/internal-types.ts deleted file mode 100644 index 5c998d8..0000000 --- a/src/lib/internal-types.ts +++ /dev/null @@ -1,7 +0,0 @@ -export type params = { - [key: string]: any -} - -export type queryParams = { - [key: string]: string | boolean | number | string[] -} diff --git a/src/lib/pagination.ts b/src/lib/pagination.ts index c5c5d5d..0a4748a 100644 --- a/src/lib/pagination.ts +++ b/src/lib/pagination.ts @@ -1,5 +1,4 @@ -import { PaginationObj } from './types'; -import { queryParams } from './internal-types'; +import { PaginationObj, queryParams } from './types'; export class Pagination { _queryParams: queryParams = {}; diff --git a/src/lib/query.ts b/src/lib/query.ts index d2f519e..fb1cee6 100644 --- a/src/lib/query.ts +++ b/src/lib/query.ts @@ -1,7 +1,6 @@ import { AxiosInstance } from '@contentstack/core'; import { BaseQuery } from './base-query'; -import { BaseQueryParameters, QueryOperation, QueryOperator, TaxonomyQueryOperation } from './types'; -import { params, queryParams } from './internal-types'; +import { BaseQueryParameters, QueryOperation, QueryOperator, TaxonomyQueryOperation, params, queryParams } from './types'; export class Query extends BaseQuery { private _contentTypeUid?: string; diff --git a/src/lib/synchronization.ts b/src/lib/synchronization.ts index 3f5e7c8..27abf41 100644 --- a/src/lib/synchronization.ts +++ b/src/lib/synchronization.ts @@ -5,6 +5,8 @@ import humps from 'humps'; export async function synchronization(client: AxiosInstance, params: SyncStack | SyncType = {}, recursive = false) { const config: AxiosRequestConfig = { params }; + const SYNC_URL = '/stacks/sync'; + if (!('paginationToken' in params || 'syncToken' in params)) { // for every config except sync and pagination token config.params = { ...params, init: true }; @@ -15,13 +17,13 @@ export async function synchronization(client: AxiosInstance, params: SyncStack | config.params = { ...config.params, type: type.join(',') }; } - let response: AxiosResponse = await getData(client, '/stacks/sync', { params: humps.decamelizeKeys(config.params) }); + let response: AxiosResponse = await getData(client, SYNC_URL, { params: humps.decamelizeKeys(config.params) }); const data = response.data; while (recursive && 'pagination_token' in response.data) { const recResponse: AxiosResponse = await getData( client, - '/sync', + SYNC_URL, humps.decamelizeKeys({ paginationToken: data.pagination_token }) ); recResponse.data.items = { ...response.data.items, ...recResponse.data.items }; diff --git a/src/lib/types.ts b/src/lib/types.ts index 3988f20..78769bd 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -2,6 +2,16 @@ import { HttpClientParams } from '@contentstack/core'; import { PersistanceStoreOptions, StorageType } from '../persistance'; +// Internal Types +export type params = { + [key: string]: any +} + +export type queryParams = { + [key: string]: string | boolean | number | string[] +} + +// External Types export enum Region { US = 'us', EU = 'eu', diff --git a/test/unit/synchronization.spec.ts b/test/unit/synchronization.spec.ts index c24a2bf..fa21fc2 100644 --- a/test/unit/synchronization.spec.ts +++ b/test/unit/synchronization.spec.ts @@ -9,6 +9,7 @@ jest.mock('@contentstack/core'); const getDataMock = >(core.getData); describe('Synchronization function', () => { + const SYNC_URL = '/stacks/sync'; beforeEach(() => { getDataMock.mockImplementation((_client, _url, params) => { const resp: any = axiosGetMock; @@ -28,14 +29,14 @@ describe('Synchronization function', () => { }; it('should have valid init and environment params as req params when no request params is passed', async () => { await await synchronization(httpClient({})); - expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][1]).toBe(SYNC_URL); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).toEqual({ init: true }); }); it('should have only pagination_token param when sync is called with pagination_token.', async () => { await syncCall({ paginationToken: '' }); - expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][1]).toBe(SYNC_URL); expect(getDataMock.mock.calls[0][2].params).not.toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).not.toHaveProperty('environment'); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('pagination_token'); @@ -43,7 +44,7 @@ describe('Synchronization function', () => { }); it('should have only sync_token param when sync is called with sync_token.', async () => { await syncCall({ syncToken: '' }); - expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][1]).toBe(SYNC_URL); expect(getDataMock.mock.calls[0][2].params).not.toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).not.toHaveProperty('environment'); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('sync_token'); @@ -51,7 +52,7 @@ describe('Synchronization function', () => { }); it('should have valid content_type_uid when content_type_uid is passed as param', async () => { await syncCall({ contentTypeUid: 'session' }); - expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][1]).toBe(SYNC_URL); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('content_type_uid'); expect(getDataMock.mock.calls[0][2].params).toEqual({ @@ -61,7 +62,7 @@ describe('Synchronization function', () => { }); it('should have valid locale when a locale is passed as param', async () => { await syncCall({ locale: LOCALE }); - expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][1]).toBe(SYNC_URL); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('locale'); expect(getDataMock.mock.calls[0][2].params).toEqual({ @@ -71,7 +72,7 @@ describe('Synchronization function', () => { }); it('should have valid date structure and other required params when start_date is passed as param', async () => { await syncCall({ startDate: '2018-10-22' }); - expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][1]).toBe(SYNC_URL); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('start_date'); expect(getDataMock.mock.calls[0][2].params).toEqual({ @@ -81,7 +82,7 @@ describe('Synchronization function', () => { }); it('should have valid publish_type when type is passed as param', async () => { await syncCall({ type: [PublishType.ENTRY_PUBLISHED] }); - expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][1]).toBe(SYNC_URL); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('type'); expect(getDataMock.mock.calls[0][2].params).toEqual({ @@ -95,7 +96,7 @@ describe('Synchronization function', () => { startDate: '2018-10-22', type: [PublishType.ENTRY_PUBLISHED, PublishType.CONTENT_TYPE_DELETED], }); - expect(getDataMock.mock.calls[0][1]).toBe('/stacks/sync'); + expect(getDataMock.mock.calls[0][1]).toBe(SYNC_URL); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('init'); expect(getDataMock.mock.calls[0][2].params).toHaveProperty('type'); expect(getDataMock.mock.calls[0][2].params).toEqual({ From bc20febb0ea4c23aa80a16e1e61ed89efdb671c7 Mon Sep 17 00:00:00 2001 From: "harshitha.d" Date: Thu, 20 Mar 2025 10:54:27 +0530 Subject: [PATCH 5/6] chore: update version to 4.6.1 and fix imports, dependencies, and unit tests --- CHANGELOG.md | 5 +++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f114973..6f97299 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### Version: 4.6.1 +#### Date: March-24-2025 +Fix: Update imports and dependencies +Fix: Unit test cases + ### Version: 4.6.0 #### Date: March-10-2025 Enh: Added GCP-EU support diff --git a/package-lock.json b/package-lock.json index 7a2f4d8..6586161 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@contentstack/delivery-sdk", - "version": "4.6.0", + "version": "4.6.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@contentstack/delivery-sdk", - "version": "4.6.0", + "version": "4.6.1", "license": "MIT", "dependencies": { "@contentstack/core": "^1.2.0", diff --git a/package.json b/package.json index e64ceaa..f232339 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/delivery-sdk", - "version": "4.6.0", + "version": "4.6.1", "type": "module", "license": "MIT", "main": "./dist/legacy/index.cjs", From e29dd4d1c5fd4c819ca7ad70d2f05c1543081857 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Mon, 24 Mar 2025 17:32:13 +0530 Subject: [PATCH 6/6] Fix: Axios Updated --- package-lock.json | 1108 +++------------------------------------------ package.json | 2 +- 2 files changed, 61 insertions(+), 1049 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6586161..5a0e4fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@contentstack/core": "^1.2.0", "@contentstack/utils": "^1.3.19", - "axios": "^1.8.2", + "axios": "^1.8.4", "humps": "^2.0.1" }, "devDependencies": { @@ -1890,6 +1890,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@contentstack/core/-/core-1.2.0.tgz", "integrity": "sha512-+lvpw0QxJ6A77iqCQN8swo2IhtxaXx/Cwe2r/RE0TrFhWWdJyoIgdySA+LfYnqgxpOIv0B05ix98+xWbkNkwSQ==", + "license": "MIT", "dependencies": { "axios": "^1.7.9", "axios-mock-adapter": "^2.1.0", @@ -1914,7 +1915,8 @@ "node_modules/@contentstack/utils": { "version": "1.3.19", "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.19.tgz", - "integrity": "sha512-8xZJXBvdYlmXr480Iu162TFwP1LrDMGy0YeEjFrOTIgWZnKDJPwyFGkqaIkTxCbcLw2yrMhsxyZEy4LFrvVFuQ==" + "integrity": "sha512-8xZJXBvdYlmXr480Iu162TFwP1LrDMGy0YeEjFrOTIgWZnKDJPwyFGkqaIkTxCbcLw2yrMhsxyZEy4LFrvVFuQ==", + "license": "MIT" }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", @@ -1950,426 +1952,18 @@ "node": ">=10.0.0" } }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.1.tgz", - "integrity": "sha512-kfYGy8IdzTGy+z0vFGvExZtxkFlA4zAxgKEahG9KE1ScBjpQnFsNOX8KTU5ojNru5ed5CVoJYXFtoxaq5nFbjQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.1.tgz", - "integrity": "sha512-dp+MshLYux6j/JjdqVLnMglQlFu+MuVeNrmT5nk6q07wNhCdSnB7QZj+7G8VMUGh1q+vj2Bq8kRsuyA00I/k+Q==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.1.tgz", - "integrity": "sha512-50tM0zCJW5kGqgG7fQ7IHvQOcAn9TKiVRuQ/lN0xR+T2lzEFvAi1ZcS8DiksFcEpf1t/GYOeOfCAgDHFpkiSmA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.1.tgz", - "integrity": "sha512-GCj6WfUtNldqUzYkN/ITtlhwQqGWu9S45vUXs7EIYf+7rCiiqH9bCloatO9VhxsL0Pji+PF4Lz2XXCES+Q8hDw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.1.tgz", - "integrity": "sha512-5hEZKPf+nQjYoSr/elb62U19/l1mZDdqidGfmFutVUjjUZrOazAtwK+Kr+3y0C/oeJfLlxo9fXb1w7L+P7E4FQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.1.tgz", - "integrity": "sha512-hxVnwL2Dqs3fM1IWq8Iezh0cX7ZGdVhbTfnOy5uURtao5OIVCEyj9xIzemDi7sRvKsuSdtCAhMKarxqtlyVyfA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.1.tgz", - "integrity": "sha512-1MrCZs0fZa2g8E+FUo2ipw6jw5qqQiH+tERoS5fAfKnRx6NXH31tXBKI3VpmLijLH6yriMZsxJtaXUyFt/8Y4A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.1.tgz", - "integrity": "sha512-0IZWLiTyz7nm0xuIs0q1Y3QWJC52R8aSXxe40VUxm6BB1RNmkODtW6LHvWRrGiICulcX7ZvyH6h5fqdLu4gkww==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.1.tgz", - "integrity": "sha512-NdKOhS4u7JhDKw9G3cY6sWqFcnLITn6SqivVArbzIaf3cemShqfLGHYMx8Xlm/lBit3/5d7kXvriTUGa5YViuQ==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.1.tgz", - "integrity": "sha512-jaN3dHi0/DDPelk0nLcXRm1q7DNJpjXy7yWaWvbfkPvI+7XNSc/lDOnCLN7gzsyzgu6qSAmgSvP9oXAhP973uQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.1.tgz", - "integrity": "sha512-OJykPaF4v8JidKNGz8c/q1lBO44sQNUQtq1KktJXdBLn1hPod5rE/Hko5ugKKZd+D2+o1a9MFGUEIUwO2YfgkQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.1.tgz", - "integrity": "sha512-nGfornQj4dzcq5Vp835oM/o21UMlXzn79KobKlcs3Wz9smwiifknLy4xDCLUU0BWp7b/houtdrgUz7nOGnfIYg==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.1.tgz", - "integrity": "sha512-1osBbPEFYwIE5IVB/0g2X6i1qInZa1aIoj1TdL4AaAb55xIIgbg8Doq6a5BzYWgr+tEcDzYH67XVnTmUzL+nXg==", - "cpu": [ - "mips64el" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.1.tgz", - "integrity": "sha512-/6VBJOwUf3TdTvJZ82qF3tbLuWsscd7/1w+D9LH0W/SqUgM5/JJD0lrJ1fVIfZsqB6RFmLCe0Xz3fmZc3WtyVg==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.1.tgz", - "integrity": "sha512-nSut/Mx5gnilhcq2yIMLMe3Wl4FK5wx/o0QuuCLMtmJn+WeWYoEGDN1ipcN72g1WHsnIbxGXd4i/MF0gTcuAjQ==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.1.tgz", - "integrity": "sha512-cEECeLlJNfT8kZHqLarDBQso9a27o2Zd2AQ8USAEoGtejOrCYHNtKP8XQhMDJMtthdF4GBmjR2au3x1udADQQQ==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.1.tgz", - "integrity": "sha512-xbfUhu/gnvSEg+EGovRc+kjBAkrvtk38RlerAzQxvMzlB4fXpCFCeUAYzJvrnhFtdeyVCDANSjJvOvGYoeKzFA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.1.tgz", - "integrity": "sha512-O96poM2XGhLtpTh+s4+nP7YCCAfb4tJNRVZHfIE7dgmax+yMP2WgMd2OecBuaATHKTHsLWHQeuaxMRnCsH8+5g==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.1.tgz", - "integrity": "sha512-X53z6uXip6KFXBQ+Krbx25XHV/NCbzryM6ehOAeAil7X7oa4XIq+394PWGnwaSQ2WRA0KI6PUO6hTO5zeF5ijA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.1.tgz", - "integrity": "sha512-Na9T3szbXezdzM/Kfs3GcRQNjHzM6GzFBeU1/6IV/npKP5ORtp9zbQjvkDJ47s6BCgaAZnnnu/cY1x342+MvZg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.1.tgz", - "integrity": "sha512-T3H78X2h1tszfRSf+txbt5aOp/e7TAz3ptVKu9Oyir3IAOFPGV6O9c2naym5TOriy1l0nNf6a4X5UXRZSGX/dw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.1.tgz", - "integrity": "sha512-2H3RUvcmULO7dIE5EWJH8eubZAI4xw54H1ilJnRNZdeo8dTADEZ21w6J22XBkXqGJbe0+wnNJtw3UXRoLJnFEg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.1.tgz", - "integrity": "sha512-GE7XvrdOzrb+yVKB9KsRMq+7a2U/K5Cf/8grVFRAGJmfADr/e/ODQ134RK2/eeHqYV5eQRFxb1hY7Nr15fv1NQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.1.tgz", - "integrity": "sha512-uOxSJCIcavSiT6UnBhBzE8wy3n0hOkJsBOzy7HDAuTDE++1DJMRRVCPGisULScHL+a/ZwdXPpXD3IyFKjA7K8A==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-x64": { + "node_modules/@esbuild/darwin-arm64": { "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.1.tgz", - "integrity": "sha512-Y1EQdcfwMSeQN/ujR5VayLOJ1BHaK+ssyk0AEzPjC+t1lITgsnccPqFjb6V+LsTp/9Iov4ysfjxLaGJ9RPtkVg==", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.1.tgz", + "integrity": "sha512-5hEZKPf+nQjYoSr/elb62U19/l1mZDdqidGfmFutVUjjUZrOazAtwK+Kr+3y0C/oeJfLlxo9fXb1w7L+P7E4FQ==", "cpu": [ - "x64" + "arm64" ], "dev": true, "license": "MIT", "optional": true, "os": [ - "win32" + "darwin" ], "engines": { "node": ">=18" @@ -3098,322 +2692,27 @@ "ts-node-esm": "dist/bin-esm.js", "ts-node-script": "dist/bin-script.js", "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, - "node_modules/@nx/nx-darwin-arm64": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-18.3.5.tgz", - "integrity": "sha512-4I5UpZ/x2WO9OQyETXKjaYhXiZKUTYcLPewruRMODWu6lgTM9hHci0SqMQB+TWe3f80K8VT8J8x3+uJjvllGlg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/nx-darwin-x64": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-18.3.5.tgz", - "integrity": "sha512-Drn6jOG237AD/s6OWPt06bsMj0coGKA5Ce1y5gfLhptOGk4S4UPE/Ay5YCjq+/yhTo1gDHzCHxH0uW2X9MN9Fg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/nx-freebsd-x64": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-18.3.5.tgz", - "integrity": "sha512-8tA8Yw0Iir4liFjffIFS5THTS3TtWY/No2tkVj91gwy/QQ/otvKbOyc5RCIPpbZU6GS3ZWfG92VyCSm06dtMFg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/nx-linux-arm-gnueabihf": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-18.3.5.tgz", - "integrity": "sha512-BrPGAHM9FCGkB9/hbvlJhe+qtjmvpjIjYixGIlUxL3gGc8E/ucTyCnz5pRFFPFQlBM7Z/9XmbHvGPoUi/LYn5A==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/nx-linux-arm64-gnu": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-18.3.5.tgz", - "integrity": "sha512-/Xd0Q3LBgJeigJqXC/Jck/9l5b+fK+FCM0nRFMXgPXrhZPhoxWouFkoYl2F1Ofr+AQf4jup4DkVTB5r98uxSCA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/nx-linux-arm64-musl": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-18.3.5.tgz", - "integrity": "sha512-r18qd7pUrl1haAZ/e9Q+xaFTsLJnxGARQcf/Y76q+K2psKmiUXoRlqd3HAOw43KTllaUJ5HkzLq2pIwg3p+xBw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/nx-linux-x64-gnu": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-18.3.5.tgz", - "integrity": "sha512-vYrikG6ff4I9cvr3Ysk3y3gjQ9cDcvr3iAr+4qqcQ4qVE+OLL2++JDS6xfPvG/TbS3GTQpyy2STRBwiHgxTeJw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/nx-linux-x64-musl": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-18.3.5.tgz", - "integrity": "sha512-6np86lcYy3+x6kkW/HrBHIdNWbUu/MIsvMuNH5UXgyFs60l5Z7Cocay2f7WOaAbTLVAr0W7p4RxRPamHLRwWFA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/nx-win32-arm64-msvc": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-18.3.5.tgz", - "integrity": "sha512-H3p2ZVhHV1WQWTICrQUTplOkNId0y3c23X3A2fXXFDbWSBs0UgW7m55LhMcA9p0XZ7wDHgh+yFtVgu55TXLjug==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/nx-win32-x64-msvc": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-18.3.5.tgz", - "integrity": "sha512-xFwKVTIXSgjdfxkpriqHv5NpmmFILTrWLEkUGSoimuRaAm1u15YWx/VmaUQ+UWuJnmgqvB/so4SMHSfNkq3ijA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "peer": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/workspace": { - "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/workspace/-/workspace-17.3.2.tgz", - "integrity": "sha512-2y952OmJx+0Rj+LQIxat8SLADjIkgB6NvjtgYZt8uRQ94jRS/JsRvGTw0V8DsY9mvsNbYoIRdJP25T3pGnI3gQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nrwl/workspace": "17.3.2", - "@nx/devkit": "17.3.2", - "chalk": "^4.1.0", - "enquirer": "~2.3.6", - "nx": "17.3.2", - "tslib": "^2.3.0", - "yargs-parser": "21.1.1" - } - }, - "node_modules/@nx/workspace/node_modules/@nrwl/tao": { - "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-17.3.2.tgz", - "integrity": "sha512-5uvpSmij0J9tteFV/0M/024K+H/o3XAlqtSdU8j03Auj1IleclSLF2yCTuIo7pYXhG3cgx1+nR+3nMs1QVAdUA==", - "dev": true, - "license": "MIT", - "dependencies": { - "nx": "17.3.2", - "tslib": "^2.3.0" - }, - "bin": { - "tao": "index.js" - } - }, - "node_modules/@nx/workspace/node_modules/@nx/nx-darwin-arm64": { - "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-17.3.2.tgz", - "integrity": "sha512-hn12o/tt26Pf4wG+8rIBgNIEZq5BFlHLv3scNrgKbd5SancHlTbY4RveRGct737UQ/78GCMCgMDRgNdagbCr6w==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/workspace/node_modules/@nx/nx-darwin-x64": { - "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-17.3.2.tgz", - "integrity": "sha512-5F28wrfE7yU60MzEXGjndy1sPJmNMIaV2W/g82kTXzxAbGHgSjwrGFmrJsrexzLp9oDlWkbc6YmInKV8gmmIaQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/workspace/node_modules/@nx/nx-freebsd-x64": { - "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-17.3.2.tgz", - "integrity": "sha512-07MMTfsJooONqL1Vrm5L6qk/gzmSrYLazjkiTmJz+9mrAM61RdfSYfO3mSyAoyfgWuQ5yEvfI56P036mK8aoPg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/workspace/node_modules/@nx/nx-linux-arm-gnueabihf": { - "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-17.3.2.tgz", - "integrity": "sha512-gQxMF6U/h18Rz+FZu50DZCtfOdk27hHghNh3d3YTeVsrJTd1SmUQbYublmwU/ia1HhFS8RVI8GvkaKt5ph0HoA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/workspace/node_modules/@nx/nx-linux-arm64-gnu": { - "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-17.3.2.tgz", - "integrity": "sha512-X20wiXtXmKlC01bpVEREsRls1uVOM22xDTpqILvVty6+P+ytEYFR3Vs5EjDtzBKF51wjrwf03rEoToZbmgM8MA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } } }, - "node_modules/@nx/workspace/node_modules/@nx/nx-linux-arm64-musl": { - "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-17.3.2.tgz", - "integrity": "sha512-yko3Xsezkn4tjeudZYLjxFl07X/YB84K+DLK7EFyh9elRWV/8VjFcQmBAKUS2r9LfaEMNXq8/vhWMOWYyWBrIA==", + "node_modules/@nx/nx-darwin-arm64": { + "version": "18.3.5", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-18.3.5.tgz", + "integrity": "sha512-4I5UpZ/x2WO9OQyETXKjaYhXiZKUTYcLPewruRMODWu6lgTM9hHci0SqMQB+TWe3f80K8VT8J8x3+uJjvllGlg==", "cpu": [ "arm64" ], @@ -3421,50 +2720,47 @@ "license": "MIT", "optional": true, "os": [ - "linux" + "darwin" ], + "peer": true, "engines": { "node": ">= 10" } }, - "node_modules/@nx/workspace/node_modules/@nx/nx-linux-x64-gnu": { + "node_modules/@nx/workspace": { "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-17.3.2.tgz", - "integrity": "sha512-RiPvvQMmlZmDu9HdT6n6sV0+fEkyAqR5VocrD5ZAzEzFIlh4dyVLripFR3+MD+QhIhXyPt/hpri1kq9sgs4wnw==", - "cpu": [ - "x64" - ], + "resolved": "https://registry.npmjs.org/@nx/workspace/-/workspace-17.3.2.tgz", + "integrity": "sha512-2y952OmJx+0Rj+LQIxat8SLADjIkgB6NvjtgYZt8uRQ94jRS/JsRvGTw0V8DsY9mvsNbYoIRdJP25T3pGnI3gQ==", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" + "dependencies": { + "@nrwl/workspace": "17.3.2", + "@nx/devkit": "17.3.2", + "chalk": "^4.1.0", + "enquirer": "~2.3.6", + "nx": "17.3.2", + "tslib": "^2.3.0", + "yargs-parser": "21.1.1" } }, - "node_modules/@nx/workspace/node_modules/@nx/nx-linux-x64-musl": { + "node_modules/@nx/workspace/node_modules/@nrwl/tao": { "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-17.3.2.tgz", - "integrity": "sha512-PWfVGmFsFJi+N1Nljg/jTKLHdufpGuHlxyfHqhDso/o4Qc0exZKSeZ1C63WkD7eTcT5kInifTQ/PffLiIDE3MA==", - "cpu": [ - "x64" - ], + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-17.3.2.tgz", + "integrity": "sha512-5uvpSmij0J9tteFV/0M/024K+H/o3XAlqtSdU8j03Auj1IleclSLF2yCTuIo7pYXhG3cgx1+nR+3nMs1QVAdUA==", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" + "dependencies": { + "nx": "17.3.2", + "tslib": "^2.3.0" + }, + "bin": { + "tao": "index.js" } }, - "node_modules/@nx/workspace/node_modules/@nx/nx-win32-arm64-msvc": { + "node_modules/@nx/workspace/node_modules/@nx/nx-darwin-arm64": { "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-17.3.2.tgz", - "integrity": "sha512-O+4FFPbQz1mqaIj+SVE02ppe7T9ELj7Z5soQct5TbRRhwjGaw5n5xaPPBW7jUuQe2L5htid1E82LJyq3JpVc8A==", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-17.3.2.tgz", + "integrity": "sha512-hn12o/tt26Pf4wG+8rIBgNIEZq5BFlHLv3scNrgKbd5SancHlTbY4RveRGct737UQ/78GCMCgMDRgNdagbCr6w==", "cpu": [ "arm64" ], @@ -3472,24 +2768,7 @@ "license": "MIT", "optional": true, "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/workspace/node_modules/@nx/nx-win32-x64-msvc": { - "version": "17.3.2", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-17.3.2.tgz", - "integrity": "sha512-4hQm+7coy+hBqGY9J709hz/tUPijhf/WS7eML2r2xBmqBew3PMHfeZuaAAYWN690nIsu0WX3wyDsNjulR8HGPQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" + "darwin" ], "engines": { "node": ">= 10" @@ -3637,34 +2916,6 @@ "node": ">=14" } }, - "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.35.0.tgz", - "integrity": "sha512-uYQ2WfPaqz5QtVgMxfN6NpLD+no0MYHDBywl7itPYd3K5TjjSghNKmX8ic9S8NU8w81NVhJv/XojcHptRly7qQ==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-android-arm64": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.35.0.tgz", - "integrity": "sha512-FtKddj9XZudurLhdJnBl9fl6BwCJ3ky8riCXjEw3/UIbjmIY58ppWwPEvU3fNu+W7FUsAsB1CdH+7EQE6CXAPA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, "node_modules/@rollup/rollup-darwin-arm64": { "version": "4.35.0", "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.35.0.tgz", @@ -3679,230 +2930,6 @@ "darwin" ] }, - "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.35.0.tgz", - "integrity": "sha512-3IrHjfAS6Vkp+5bISNQnPogRAW5GAV1n+bNCrDwXmfMHbPl5EhTmWtfmwlJxFRUCBZ+tZ/OxDyU08aF6NI/N5Q==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.35.0.tgz", - "integrity": "sha512-sxjoD/6F9cDLSELuLNnY0fOrM9WA0KrM0vWm57XhrIMf5FGiN8D0l7fn+bpUeBSU7dCgPV2oX4zHAsAXyHFGcQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.35.0.tgz", - "integrity": "sha512-2mpHCeRuD1u/2kruUiHSsnjWtHjqVbzhBkNVQ1aVD63CcexKVcQGwJ2g5VphOd84GvxfSvnnlEyBtQCE5hxVVw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.35.0.tgz", - "integrity": "sha512-mrA0v3QMy6ZSvEuLs0dMxcO2LnaCONs1Z73GUDBHWbY8tFFocM6yl7YyMu7rz4zS81NDSqhrUuolyZXGi8TEqg==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.35.0.tgz", - "integrity": "sha512-DnYhhzcvTAKNexIql8pFajr0PiDGrIsBYPRvCKlA5ixSS3uwo/CWNZxB09jhIapEIg945KOzcYEAGGSmTSpk7A==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.35.0.tgz", - "integrity": "sha512-uagpnH2M2g2b5iLsCTZ35CL1FgyuzzJQ8L9VtlJ+FckBXroTwNOaD0z0/UF+k5K3aNQjbm8LIVpxykUOQt1m/A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.35.0.tgz", - "integrity": "sha512-XQxVOCd6VJeHQA/7YcqyV0/88N6ysSVzRjJ9I9UA/xXpEsjvAgDTgH3wQYz5bmr7SPtVK2TsP2fQ2N9L4ukoUg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.35.0.tgz", - "integrity": "sha512-5pMT5PzfgwcXEwOaSrqVsz/LvjDZt+vQ8RT/70yhPU06PTuq8WaHhfT1LW+cdD7mW6i/J5/XIkX/1tCAkh1W6g==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.35.0.tgz", - "integrity": "sha512-c+zkcvbhbXF98f4CtEIP1EBA/lCic5xB0lToneZYvMeKu5Kamq3O8gqrxiYYLzlZH6E3Aq+TSW86E4ay8iD8EA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.35.0.tgz", - "integrity": "sha512-s91fuAHdOwH/Tad2tzTtPX7UZyytHIRR6V4+2IGlV0Cej5rkG0R61SX4l4y9sh0JBibMiploZx3oHKPnQBKe4g==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.35.0.tgz", - "integrity": "sha512-hQRkPQPLYJZYGP+Hj4fR9dDBMIM7zrzJDWFEMPdTnTy95Ljnv0/4w/ixFw3pTBMEuuEuoqtBINYND4M7ujcuQw==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.35.0.tgz", - "integrity": "sha512-Pim1T8rXOri+0HmV4CdKSGrqcBWX0d1HoPnQ0uw0bdp1aP5SdQVNBy8LjYncvnLgu3fnnCt17xjWGd4cqh8/hA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.35.0.tgz", - "integrity": "sha512-QysqXzYiDvQWfUiTm8XmJNO2zm9yC9P/2Gkrwg2dH9cxotQzunBHYr6jk4SujCTqnfGxduOmQcI7c2ryuW8XVg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.35.0.tgz", - "integrity": "sha512-OUOlGqPkVJCdJETKOCEf1mw848ZyJ5w50/rZ/3IBQVdLfR5jk/6Sr5m3iO2tdPgwo0x7VcncYuOvMhBWZq8ayg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.35.0.tgz", - "integrity": "sha512-2/lsgejMrtwQe44glq7AFFHLfJBPafpsTa6JvP2NGef/ifOa4KBoglVf7AKN7EV9o32evBPRqfg96fEHzWo5kw==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.35.0.tgz", - "integrity": "sha512-PIQeY5XDkrOysbQblSW7v3l1MDZzkTEzAfTPkj5VAu3FW8fS4ynyLg2sINp0fp3SjZ8xkRYpLqoKcYqAkhU1dw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, "node_modules/@sinclair/typebox": { "version": "0.27.8", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", @@ -4058,7 +3085,7 @@ "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/humps/-/humps-2.0.6.tgz", "integrity": "sha512-Fagm1/a/1J9gDKzGdtlPmmTN5eSw/aaTzHtj740oSfo+MODsSY2WglxMmhTdOglC8nxqUhGGQ+5HfVtBvxo3Kg==", - "dev": true + "license": "MIT" }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", @@ -4679,9 +3706,9 @@ "license": "MIT" }, "node_modules/axios": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.2.tgz", - "integrity": "sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==", + "version": "1.8.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz", + "integrity": "sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==", "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", @@ -5643,7 +4670,7 @@ "version": "16.4.7", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", - "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=12" }, @@ -6348,21 +5375,6 @@ "dev": true, "license": "ISC" }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -8810,7 +7822,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", - "dev": true + "license": "MIT" }, "node_modules/path-exists": { "version": "4.0.0", diff --git a/package.json b/package.json index f232339..c67fa70 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "dependencies": { "@contentstack/core": "^1.2.0", "@contentstack/utils": "^1.3.19", - "axios": "^1.8.2", + "axios": "^1.8.4", "humps": "^2.0.1" }, "files": [