diff --git a/package-lock.json b/package-lock.json index aa51613d47f..f5075a1a534 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@hedgedoc/markdown-it-task-lists": "^2.0.1", "@hocuspocus/provider": "^1.1.3", "@nextcloud/auth": "^2.1.0", - "@nextcloud/axios": "^2.3.0", + "@nextcloud/axios": "^2.4.0", "@nextcloud/browser-storage": "^0.2.0", "@nextcloud/dialogs": "^4.1.0", "@nextcloud/event-bus": "^3.1.0", @@ -3429,18 +3429,17 @@ } }, "node_modules/@nextcloud/axios": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@nextcloud/axios/-/axios-2.3.0.tgz", - "integrity": "sha512-C/M+1Rnh2RJwe9o5eqTDDSRbgLoD8UI0g+O1HszdQcAz+WizGiRzqnPdXYt7vWkorXvwwM0uu37pm6AlG4OmQQ==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@nextcloud/axios/-/axios-2.4.0.tgz", + "integrity": "sha512-ARGzT9p45L0sjRIV3JZWGPtMbwgxd4eEMcMJNn58NA7UQIsMkTwHb5pXQjL+5elXY9zp/JMz7n/7SHTp0bkuXQ==", "dependencies": { - "@nextcloud/auth": "^2.0.0", - "@nextcloud/router": "^2.0.0", - "axios": "^0.27.2", - "tslib": "^2.4.1" + "@nextcloud/auth": "^2.1.0", + "@nextcloud/router": "^2.1.2", + "axios": "^1.4.0" }, "engines": { - "node": "^16.0.0", - "npm": "^7.0.0 || ^8.0.0" + "node": "^20.0.0", + "npm": "^9.0.0" } }, "node_modules/@nextcloud/babel-config": { @@ -6232,14 +6231,20 @@ "dev": true }, "node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", + "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, + "node_modules/axios/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/babel-jest": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.5.0.tgz", @@ -9422,6 +9427,7 @@ "url": "https://feross.org/support" } ], + "peer": true, "engines": { "node": ">=12.0.0" }, @@ -20355,7 +20361,8 @@ "node_modules/tslib": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", - "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==" + "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==", + "dev": true }, "node_modules/tsutils": { "version": "3.21.0", @@ -24636,14 +24643,13 @@ } }, "@nextcloud/axios": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@nextcloud/axios/-/axios-2.3.0.tgz", - "integrity": "sha512-C/M+1Rnh2RJwe9o5eqTDDSRbgLoD8UI0g+O1HszdQcAz+WizGiRzqnPdXYt7vWkorXvwwM0uu37pm6AlG4OmQQ==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@nextcloud/axios/-/axios-2.4.0.tgz", + "integrity": "sha512-ARGzT9p45L0sjRIV3JZWGPtMbwgxd4eEMcMJNn58NA7UQIsMkTwHb5pXQjL+5elXY9zp/JMz7n/7SHTp0bkuXQ==", "requires": { - "@nextcloud/auth": "^2.0.0", - "@nextcloud/router": "^2.0.0", - "axios": "^0.27.2", - "tslib": "^2.4.1" + "@nextcloud/auth": "^2.1.0", + "@nextcloud/router": "^2.1.2", + "axios": "^1.4.0" } }, "@nextcloud/babel-config": { @@ -26696,12 +26702,20 @@ "dev": true }, "axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", + "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", "requires": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + }, + "dependencies": { + "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==" + } } }, "babel-jest": { @@ -29375,6 +29389,7 @@ "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-17.1.0.tgz", "integrity": "sha512-IwHwmaBNtDK4zDHQukFDW5u/aTb8+meQWZvNFWkiGmbWjD6bqyuSSBxxXKkCftCUzc1zwCH2m/baCNDLGmuO5Q==", "dev": true, + "peer": true, "requires": {} }, "eslint-import-resolver-exports": { @@ -37294,7 +37309,8 @@ "tslib": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", - "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==" + "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==", + "dev": true }, "tsutils": { "version": "3.21.0", diff --git a/package.json b/package.json index 7f6fc43d5fa..c28f8749c94 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@hedgedoc/markdown-it-task-lists": "^2.0.1", "@hocuspocus/provider": "^1.1.3", "@nextcloud/auth": "^2.1.0", - "@nextcloud/axios": "^2.3.0", + "@nextcloud/axios": "^2.4.0", "@nextcloud/browser-storage": "^0.2.0", "@nextcloud/dialogs": "^4.1.0", "@nextcloud/event-bus": "^3.1.0",