diff --git a/packages/nc-cli/package-lock.json b/packages/nc-cli/package-lock.json index 85ecb158a5..c7de2a6fed 100644 --- a/packages/nc-cli/package-lock.json +++ b/packages/nc-cli/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.28", "license": "AGPL-3.0-or-later", "dependencies": { - "axios": "^0.21.1", + "axios": "^0.28.0", "boxen": "^4.2.0", "chalk-pipe": "^4.0.0", "cli-table3": "0.6.1", @@ -1238,6 +1238,14 @@ "node": ">= 0.6.15" } }, + "node_modules/adal-node/node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, "node_modules/adal-node/node_modules/uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -2132,11 +2140,26 @@ } }, "node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.28.0.tgz", + "integrity": "sha512-Tu7NYoGY4Yoc7I+Npf9HhUMtEEpV7ZiLH9yndTCoNhcpBH0kwcvFbzYN9/u5QKI5A6uefjsNNWaz5olJVYS62Q==", "dependencies": { - "follow-redirects": "^1.14.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/axios/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" } }, "node_modules/babel-plugin-dynamic-import-node": { @@ -11258,6 +11281,11 @@ "node": ">= 0.10" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -16481,6 +16509,14 @@ "xpath.js": "~1.1.0" }, "dependencies": { + "axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "requires": { + "follow-redirects": "^1.14.0" + } + }, "uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -17186,11 +17222,25 @@ } }, "axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.28.0.tgz", + "integrity": "sha512-Tu7NYoGY4Yoc7I+Npf9HhUMtEEpV7ZiLH9yndTCoNhcpBH0kwcvFbzYN9/u5QKI5A6uefjsNNWaz5olJVYS62Q==", "requires": { - "follow-redirects": "^1.14.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + }, + "dependencies": { + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + } } }, "babel-plugin-dynamic-import-node": { @@ -24115,6 +24165,11 @@ "ipaddr.js": "1.9.1" } }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", diff --git a/packages/nc-cli/package.json b/packages/nc-cli/package.json index 3436ce6724..ecf0f878f9 100644 --- a/packages/nc-cli/package.json +++ b/packages/nc-cli/package.json @@ -66,7 +66,7 @@ "node": ">=8.9" }, "dependencies": { - "axios": "^0.21.1", + "axios": "^0.28.0", "boxen": "^4.2.0", "chalk-pipe": "^4.0.0", "cli-table3": "0.6.1", diff --git a/packages/nocodb-sdk/package.json b/packages/nocodb-sdk/package.json index 477af2ecda..231e424517 100644 --- a/packages/nocodb-sdk/package.json +++ b/packages/nocodb-sdk/package.json @@ -39,7 +39,7 @@ "preinstall": "npx only-allow pnpm" }, "dependencies": { - "axios": "^1.6.8", + "axios": "^0.28.0", "jsep": "^1.3.8", "dayjs": "^1.11.11" }, diff --git a/packages/nocodb/package.json b/packages/nocodb/package.json index a624d7fec5..735e4894d8 100644 --- a/packages/nocodb/package.json +++ b/packages/nocodb/package.json @@ -73,7 +73,7 @@ "ajv-formats": "^2.1.1", "auto-bind": "^4.0.0", "aws-sdk": "^2.1550.0", - "axios": "^1.6.8", + "axios": "^0.28.0", "bcryptjs": "^2.4.3", "boxen": "^5.1.2", "bull": "^4.12.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 61e4d78112..f0828ef62c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -556,8 +556,8 @@ importers: specifier: ^2.1550.0 version: 2.1555.0 axios: - specifier: ^1.6.8 - version: 1.6.8(debug@4.3.4) + specifier: ^0.28.0 + version: 0.28.0(debug@4.3.4) bcryptjs: specifier: ^2.4.3 version: 2.4.3 @@ -920,8 +920,8 @@ importers: packages/nocodb-sdk: dependencies: axios: - specifier: ^1.6.8 - version: 1.6.8(debug@4.3.4) + specifier: ^0.28.0 + version: 0.28.0(debug@4.3.4) dayjs: specifier: ^1.11.11 version: 1.11.11 @@ -981,8 +981,8 @@ importers: tests/playwright: dependencies: axios: - specifier: ^1.6.1 - version: 1.6.2 + specifier: ^0.28.0 + version: 0.28.0(debug@4.3.4) body-parser: specifier: ^1.20.1 version: 1.20.1 @@ -6139,8 +6139,8 @@ packages: axios-retry@3.6.1: resolution: {integrity: sha512-PQw30ntfNKdY+iAxtjYA2BXNnVc9CZiA0Z0O3nx0I+xy5AuBmEX1hBLTm5YioWIyiAW7UwrX41oHzd+9YxSndQ==} - axios@1.6.2: - resolution: {integrity: sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==} + axios@0.28.0: + resolution: {integrity: sha512-Tu7NYoGY4Yoc7I+Npf9HhUMtEEpV7ZiLH9yndTCoNhcpBH0kwcvFbzYN9/u5QKI5A6uefjsNNWaz5olJVYS62Q==} axios@1.6.8: resolution: {integrity: sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==} @@ -8238,15 +8238,6 @@ packages: focus-trap@7.5.4: resolution: {integrity: sha512-N7kHdlgsO/v+iD/dMoJKtsSqs5Dz/dXZVebRgJw23LDk+jMi/974zyiOYDziY2JPp8xivq9BmUGwIJMiuSBi7w==} - follow-redirects@1.15.4: - resolution: {integrity: sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==} - engines: {node: '>=4.0'} - peerDependencies: - debug: '*' - peerDependenciesMeta: - debug: - optional: true - follow-redirects@1.15.6: resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} engines: {node: '>=4.0'} @@ -18467,7 +18458,7 @@ snapshots: '@purge-icons/core@0.10.0(encoding@0.1.13)': dependencies: '@iconify/iconify': 2.1.2(encoding@0.1.13) - axios: 1.6.8(debug@4.3.4) + axios: 0.28.0(debug@4.3.4) debug: 4.3.4(supports-color@5.5.0) fast-glob: 3.3.2 fs-extra: 10.1.0 @@ -21652,9 +21643,9 @@ snapshots: '@babel/runtime': 7.22.11 is-retry-allowed: 2.2.0 - axios@1.6.2: + axios@0.28.0(debug@4.3.4): dependencies: - follow-redirects: 1.15.4 + follow-redirects: 1.15.6(debug@4.3.4) form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: @@ -24449,8 +24440,6 @@ snapshots: dependencies: tabbable: 6.2.0 - follow-redirects@1.15.4: {} - follow-redirects@1.15.6(debug@4.3.4): optionalDependencies: debug: 4.3.4(supports-color@5.5.0) @@ -27358,7 +27347,7 @@ snapshots: nc-help@0.3.4(debug@4.3.4)(knex@2.4.2(mysql2@3.9.7)(pg@8.11.5)(sqlite3@5.1.7)(tedious@16.6.1)): dependencies: - axios: 1.6.8(debug@4.3.4) + axios: 0.28.0(debug@4.3.4) emittery: 0.13.1 is-docker: 2.2.1 knex: 2.4.2(mysql2@3.9.7)(pg@8.11.5)(sqlite3@5.1.7)(tedious@16.6.1) @@ -28867,7 +28856,7 @@ snapshots: posthog-node@1.3.0(debug@4.3.4): dependencies: - axios: 1.6.8(debug@4.3.4) + axios: 0.28.0(debug@4.3.4) axios-retry: 3.6.1 component-type: 1.2.1 join-component: 1.1.0 diff --git a/tests/playwright/package.json b/tests/playwright/package.json index 8795142117..8afd80a178 100644 --- a/tests/playwright/package.json +++ b/tests/playwright/package.json @@ -40,7 +40,7 @@ "preinstall": "npx only-allow pnpm" }, "dependencies": { - "axios": "^1.6.1", + "axios": "^0.28.0", "body-parser": "^1.20.1", "dayjs": "^1.11.9", "express": "^4.18.1",