From 48905839bb8ef9bff81a2f558f68c12ebba068a1 Mon Sep 17 00:00:00 2001 From: Patricio Sanchez Date: Thu, 2 May 2024 12:13:56 -0700 Subject: [PATCH] Revert axios --- package-lock.json | 114 ++++++++++++++-------------------------------- package.json | 5 +- 2 files changed, 35 insertions(+), 84 deletions(-) diff --git a/package-lock.json b/package-lock.json index a8040f102..51cbcfc12 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@monaco-editor/react": "^4.3.1", "@types/react-transition-group": "^4.4.2", "ajv": "^8.10.0", - "axios": "^1.6.0", + "axios": "^0.21.1", "axios-retry": "^3.1.9", "azure-iot-dtdl-parser": "^0.0.1-beta.0", "constantinople": "^4.0.1", @@ -2349,14 +2349,6 @@ "node": ">=8.3.0" } }, - "node_modules/@chromaui/localtunnel/node_modules/axios": { - "version": "0.21.4", - "dev": true, - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.14.0" - } - }, "node_modules/@cnakazawa/watch": { "version": "1.0.4", "dev": true, @@ -13254,6 +13246,7 @@ }, "node_modules/asynckit": { "version": "0.4.0", + "dev": true, "license": "MIT" }, "node_modules/at-least-node": { @@ -13362,13 +13355,11 @@ } }, "node_modules/axios": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", - "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "dependencies": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" + "follow-redirects": "^1.14.0" } }, "node_modules/axios-retry": { @@ -13378,19 +13369,6 @@ "is-retry-allowed": "^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/azure-iot-dtdl-parser": { "version": "0.0.1-beta.0", "resolved": "https://registry.npmjs.org/azure-iot-dtdl-parser/-/azure-iot-dtdl-parser-0.0.1-beta.0.tgz", @@ -15613,6 +15591,7 @@ }, "node_modules/combined-stream": { "version": "1.0.8", + "dev": true, "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" @@ -17566,6 +17545,7 @@ }, "node_modules/delayed-stream": { "version": "1.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=0.4.0" @@ -26194,6 +26174,7 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, "engines": { "node": ">= 0.6" } @@ -26202,6 +26183,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, "dependencies": { "mime-db": "1.52.0" }, @@ -29750,11 +29732,6 @@ "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", "dev": true, @@ -38332,15 +38309,6 @@ "debug": "4.3.1", "openurl": "1.1.1", "yargs": "16.2.0" - }, - "dependencies": { - "axios": { - "version": "0.21.4", - "dev": true, - "requires": { - "follow-redirects": "^1.14.0" - } - } } }, "@cnakazawa/watch": { @@ -38348,7 +38316,7 @@ "dev": true, "requires": { "exec-sh": "^0.3.2", - "minimist": "^1.2.0" + "minimist": "1.2.6" } }, "@commitlint/execute-rule": { @@ -44448,7 +44416,7 @@ "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "requires": { - "minimist": "^1.2.5" + "minimist": "1.2.6" } }, "nth-check": { @@ -45941,7 +45909,8 @@ } }, "asynckit": { - "version": "0.4.0" + "version": "0.4.0", + "dev": true }, "at-least-node": { "version": "1.0.0", @@ -46004,25 +45973,11 @@ "dev": true }, "axios": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", - "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "requires": { - "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" - } - } + "follow-redirects": "^1.14.0" } }, "axios-retry": { @@ -46114,7 +46069,7 @@ "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "requires": { - "minimist": "^1.2.0" + "minimist": "1.2.6" } }, "loader-utils": { @@ -46982,7 +46937,7 @@ "version": "0.5.5", "dev": true, "requires": { - "minimist": "^1.2.5" + "minimist": "1.2.6" } }, "rimraf": { @@ -47552,6 +47507,7 @@ }, "combined-stream": { "version": "1.0.8", + "dev": true, "requires": { "delayed-stream": "~1.0.0" } @@ -47577,7 +47533,7 @@ "inquirer": "6.5.2", "is-utf8": "^0.2.1", "lodash": "^4.17.20", - "minimist": "1.2.5", + "minimist": "1.2.6", "strip-bom": "4.0.0", "strip-json-comments": "3.0.1" }, @@ -47904,7 +47860,7 @@ "version": "0.5.5", "dev": true, "requires": { - "minimist": "^1.2.5" + "minimist": "1.2.6" } }, "rimraf": { @@ -48158,7 +48114,7 @@ "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "requires": { - "minimist": "^1.2.0" + "minimist": "1.2.6" } }, "loader-utils": { @@ -48841,7 +48797,7 @@ "decamelize": "^1.1.2", "loud-rejection": "^1.0.0", "map-obj": "^1.0.1", - "minimist": "^1.1.3", + "minimist": "1.2.6", "normalize-package-data": "^2.3.4", "object-assign": "^4.0.1", "read-pkg-up": "^1.0.1", @@ -49016,7 +48972,8 @@ } }, "delayed-stream": { - "version": "1.0.0" + "version": "1.0.0", + "dev": true }, "delegates": { "version": "1.0.0", @@ -51543,7 +51500,7 @@ "version": "4.3.0", "dev": true, "requires": { - "minimist": "^1.2.5" + "minimist": "1.2.6" } }, "graceful-fs": { @@ -51564,7 +51521,7 @@ "version": "4.7.7", "dev": true, "requires": { - "minimist": "^1.2.5", + "minimist": "1.2.6", "neo-async": "^2.6.0", "source-map": "^0.6.1", "uglify-js": "^3.1.4", @@ -51932,7 +51889,7 @@ "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "requires": { - "minimist": "^1.2.0" + "minimist": "1.2.6" } }, "loader-utils": { @@ -53953,7 +53910,7 @@ "json-schema-ref-parser": "^9.0.6", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.20", - "minimist": "^1.2.5", + "minimist": "1.2.6", "mkdirp": "^1.0.4", "mz": "^2.7.0", "prettier": "^2.2.0" @@ -54871,12 +54828,14 @@ "mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true }, "mime-types": { "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, "requires": { "mime-db": "1.52.0" } @@ -57248,11 +57207,6 @@ "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", "dev": true diff --git a/package.json b/package.json index 3fb54c30a..1b3e8f065 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,6 @@ "test:watch": "jest --watch", "test": "jest" }, - "resolutions": { - "axios": "^1.6.0" - }, "dependencies": { "@azure/msal-browser": "2.14.2", "@babylonjs/core": "^5.11.0", @@ -49,7 +46,7 @@ "@monaco-editor/react": "^4.3.1", "@types/react-transition-group": "^4.4.2", "ajv": "^8.10.0", - "axios": "^1.6.0", + "axios": "^0.21.1", "axios-retry": "^3.1.9", "azure-iot-dtdl-parser": "^0.0.1-beta.0", "constantinople": "^4.0.1",