From 4c3de392998c0398203b6124a5263eb775a7fc51 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Mon, 8 Jan 2024 12:33:22 +0530 Subject: [PATCH 1/2] axios version bump --- package-lock.json | 20 ++++----- packages/contentstack-import/package.json | 4 +- packages/contentstack-seed/package.json | 4 +- packages/contentstack-utilities/package.json | 4 +- pnpm-lock.yaml | 45 ++++++++++++-------- 5 files changed, 44 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index f59dd915e6..59ac8f095a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4235,11 +4235,11 @@ } }, "node_modules/axios": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.3.tgz", - "integrity": "sha512-fWyNdeawGam70jXSVlKl+SUNVcL6j6W79CuSIPfi6HnDUmSCH6gyUys/HrqHeA/wU0Az41rRgean494d0Jb+ww==", + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.4", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -8238,9 +8238,9 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "node_modules/follow-redirects": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", - "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", + "version": "1.15.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", + "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", "funding": [ { "type": "individual", @@ -24927,7 +24927,7 @@ "@contentstack/cli-utilities": "~1.5.10", "@contentstack/management": "~1.13.0", "@oclif/core": "^2.9.3", - "axios": "^1.6.3", + "axios": "^1.6.4", "big-json": "^3.2.0", "bluebird": "^3.7.2", "chalk": "^4.1.2", @@ -25398,7 +25398,7 @@ "@types/node": "^14.14.32", "@types/tar": "^6.1.3", "@types/tmp": "^0.2.0", - "axios": "^1.6.3", + "axios": "^1.6.4", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^3.0.8", @@ -25462,7 +25462,7 @@ "@contentstack/management": "~1.13.0", "@contentstack/marketplace-sdk": "^1.0.1", "@oclif/core": "^2.9.3", - "axios": "^1.6.3", + "axios": "^1.6.4", "chalk": "^4.0.0", "cli-cursor": "^3.1.0", "cli-table": "^0.3.11", diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index 35c212e1b1..b347f1af59 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -9,7 +9,7 @@ "@contentstack/cli-utilities": "~1.5.10", "@contentstack/management": "~1.13.0", "@oclif/core": "^2.9.3", - "axios": "^1.6.3", + "axios": "^1.6.4", "big-json": "^3.2.0", "bluebird": "^3.7.2", "chalk": "^4.1.2", @@ -99,4 +99,4 @@ } }, "repository": "https://github.com/contentstack/cli" -} \ No newline at end of file +} diff --git a/packages/contentstack-seed/package.json b/packages/contentstack-seed/package.json index 9b6f1ea5ec..fe71dadb43 100644 --- a/packages/contentstack-seed/package.json +++ b/packages/contentstack-seed/package.json @@ -22,7 +22,7 @@ "@types/node": "^14.14.32", "@types/tar": "^6.1.3", "@types/tmp": "^0.2.0", - "axios": "^1.6.3", + "axios": "^1.6.4", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^3.0.8", @@ -73,4 +73,4 @@ "version": "oclif readme && git add README.md", "clean": "rm -rf ./node_modules tsconfig.build.tsbuildinfo" } -} \ No newline at end of file +} diff --git a/packages/contentstack-utilities/package.json b/packages/contentstack-utilities/package.json index e44f9b07e2..71b0004de0 100644 --- a/packages/contentstack-utilities/package.json +++ b/packages/contentstack-utilities/package.json @@ -35,7 +35,7 @@ "@contentstack/management": "~1.13.0", "@contentstack/marketplace-sdk": "^1.0.1", "@oclif/core": "^2.9.3", - "axios": "^1.6.3", + "axios": "^1.6.4", "chalk": "^4.0.0", "cli-cursor": "^3.1.0", "cli-table": "^0.3.11", @@ -83,4 +83,4 @@ "tslib": "^1.13.0", "typescript": "^4.9.3" } -} \ No newline at end of file +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2bd64e28a5..0ff1cdadac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -740,7 +740,7 @@ importers: '@types/tar': ^4.0.3 '@types/uuid': ^9.0.7 '@typescript-eslint/eslint-plugin': ^5.48.2 - axios: ^1.6.3 + axios: ^1.6.4 big-json: ^3.2.0 bluebird: ^3.7.2 chai: ^4.2.0 @@ -771,7 +771,7 @@ importers: '@contentstack/cli-utilities': link:../contentstack-utilities '@contentstack/management': 1.13.0_debug@4.3.4 '@oclif/core': 2.15.0_ogreqof3k35xezedraj6pnd45y - axios: 1.6.3_debug@4.3.4 + axios: 1.6.5_debug@4.3.4 big-json: 3.2.0 bluebird: 3.7.2 chalk: 4.1.2 @@ -994,7 +994,7 @@ importers: '@types/node': ^14.14.32 '@types/tar': ^6.1.3 '@types/tmp': ^0.2.0 - axios: ^1.6.3 + axios: ^1.6.4 eslint: ^8.18.0 eslint-config-oclif: ^4.0.0 eslint-config-oclif-typescript: ^3.0.8 @@ -1026,7 +1026,7 @@ importers: '@types/node': 14.18.63 '@types/tar': 6.1.10 '@types/tmp': 0.2.6 - axios: 1.6.3 + axios: 1.6.5 eslint: 8.55.0 eslint-config-oclif: 4.0.0_eslint@8.55.0 eslint-config-oclif-typescript: 3.0.26_sjjl3gun7puonkp27uqtyjm5b4 @@ -1051,7 +1051,7 @@ importers: '@types/node': ^14.14.32 '@types/sinon': ^10.0.2 '@types/traverse': ^0.6.34 - axios: ^1.6.3 + axios: ^1.6.4 chai: ^4.3.4 chalk: ^4.0.0 cli-cursor: ^3.1.0 @@ -1091,7 +1091,7 @@ importers: '@contentstack/management': 1.13.0_debug@4.3.4 '@contentstack/marketplace-sdk': 1.0.1_debug@4.3.4 '@oclif/core': 2.15.0_ogreqof3k35xezedraj6pnd45y - axios: 1.6.3_debug@4.3.4 + axios: 1.6.5_debug@4.3.4 chalk: 4.1.2 cli-cursor: 3.1.0 cli-table: 0.3.11 @@ -1607,7 +1607,7 @@ packages: '@contentstack/management': 1.13.0_debug@4.3.4 '@contentstack/marketplace-sdk': 1.0.1_debug@4.3.4 '@oclif/core': 2.15.0_typescript@4.9.5 - axios: 1.6.3_debug@4.3.4 + axios: 1.6.5_debug@4.3.4 chalk: 4.1.2 cli-cursor: 3.1.0 cli-table: 0.3.11 @@ -1661,7 +1661,7 @@ packages: /@contentstack/marketplace-sdk/1.0.1_debug@4.3.4: resolution: {integrity: sha512-E9amU6qwp4i1AzXiMX4UKYJSZ8wyhncGPx5MGpwGoM2WUfJqGMwH9o1bXLAzOSBu1a8yhOMOkz/ehLwYeq6Ufg==} dependencies: - axios: 1.6.3_debug@4.3.4 + axios: 1.6.5_debug@4.3.4 transitivePeerDependencies: - debug @@ -4758,20 +4758,20 @@ packages: transitivePeerDependencies: - debug - /axios/1.6.3: - resolution: {integrity: sha512-fWyNdeawGam70jXSVlKl+SUNVcL6j6W79CuSIPfi6HnDUmSCH6gyUys/HrqHeA/wU0Az41rRgean494d0Jb+ww==} + /axios/1.6.5: + resolution: {integrity: sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==} dependencies: - follow-redirects: 1.15.3 + follow-redirects: 1.15.4 form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: - debug dev: true - /axios/1.6.3_debug@4.3.4: - resolution: {integrity: sha512-fWyNdeawGam70jXSVlKl+SUNVcL6j6W79CuSIPfi6HnDUmSCH6gyUys/HrqHeA/wU0Az41rRgean494d0Jb+ww==} + /axios/1.6.5_debug@4.3.4: + resolution: {integrity: sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==} dependencies: - follow-redirects: 1.15.3_debug@4.3.4 + follow-redirects: 1.15.4_debug@4.3.4 form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: @@ -7498,9 +7498,20 @@ packages: /fn.name/1.1.0: resolution: {integrity: sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==} - /follow-redirects/1.15.3: + /follow-redirects/1.15.3_debug@4.3.4: resolution: {integrity: sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==} engines: {node: '>=4.0'} + peerDependencies: + debug: '*' + peerDependenciesMeta: + debug: + optional: true + dependencies: + debug: 4.3.4 + + /follow-redirects/1.15.4: + resolution: {integrity: sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==} + engines: {node: '>=4.0'} peerDependencies: debug: '*' peerDependenciesMeta: @@ -7508,8 +7519,8 @@ packages: optional: true dev: true - /follow-redirects/1.15.3_debug@4.3.4: - resolution: {integrity: sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==} + /follow-redirects/1.15.4_debug@4.3.4: + resolution: {integrity: sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==} engines: {node: '>=4.0'} peerDependencies: debug: '*' From 8903916f9eafae830d973b7ee71fce6e6551aba0 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Mon, 8 Jan 2024 12:44:32 +0530 Subject: [PATCH 2/2] removed axios from import --- package-lock.json | 1 - packages/contentstack-import/package.json | 1 - pnpm-lock.yaml | 2 -- 3 files changed, 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 59ac8f095a..650b69faaf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24927,7 +24927,6 @@ "@contentstack/cli-utilities": "~1.5.10", "@contentstack/management": "~1.13.0", "@oclif/core": "^2.9.3", - "axios": "^1.6.4", "big-json": "^3.2.0", "bluebird": "^3.7.2", "chalk": "^4.1.2", diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index b347f1af59..31dc0a4a51 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -9,7 +9,6 @@ "@contentstack/cli-utilities": "~1.5.10", "@contentstack/management": "~1.13.0", "@oclif/core": "^2.9.3", - "axios": "^1.6.4", "big-json": "^3.2.0", "bluebird": "^3.7.2", "chalk": "^4.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0ff1cdadac..ac4975c142 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -740,7 +740,6 @@ importers: '@types/tar': ^4.0.3 '@types/uuid': ^9.0.7 '@typescript-eslint/eslint-plugin': ^5.48.2 - axios: ^1.6.4 big-json: ^3.2.0 bluebird: ^3.7.2 chai: ^4.2.0 @@ -771,7 +770,6 @@ importers: '@contentstack/cli-utilities': link:../contentstack-utilities '@contentstack/management': 1.13.0_debug@4.3.4 '@oclif/core': 2.15.0_ogreqof3k35xezedraj6pnd45y - axios: 1.6.5_debug@4.3.4 big-json: 3.2.0 bluebird: 3.7.2 chalk: 4.1.2