From 5a6ed6f4741a62ab8edf9c1acd1a5cf014fc8458 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Wed, 14 Aug 2024 05:08:26 +0800 Subject: [PATCH] build: upgrade axios --- package.json | 4 ++-- pnpm-lock.yaml | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 527abd450..23e235ac8 100644 --- a/package.json +++ b/package.json @@ -127,8 +127,8 @@ "@typescript-eslint/eslint-plugin": "^5.59.9", "@typescript-eslint/parser": "^5.59.9", "autoprefixer": "^10.4.14", - "axios": "^0.28.0", - "axios-mock-adapter": "^1.21.4", + "axios": "^1.7.4", + "axios-mock-adapter": "^2.0.0", "babel-loader": "^8.3.0", "bencode": "^2.0.3", "body-parser": "^1.20.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 77f612d22..e5613fc7f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -181,11 +181,11 @@ importers: specifier: ^10.4.14 version: 10.4.20(postcss@8.4.41) axios: - specifier: ^0.28.0 - version: 0.28.1 + specifier: ^1.7.4 + version: 1.7.4 axios-mock-adapter: - specifier: ^1.21.4 - version: 1.22.0(axios@0.28.1) + specifier: ^2.0.0 + version: 2.0.0(axios@1.7.4) babel-loader: specifier: ^8.3.0 version: 8.3.0(@babel/core@7.25.2)(webpack@5.93.0(esbuild@0.19.12)) @@ -2612,13 +2612,13 @@ packages: resolution: {integrity: sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g==} engines: {node: '>=4'} - axios-mock-adapter@1.22.0: - resolution: {integrity: sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==} + axios-mock-adapter@2.0.0: + resolution: {integrity: sha512-D/K0J5Zm6KvaMTnsWrBQZWLzKN9GxUFZEa0mx2qeEHXDeTugCoplWehy8y36dj5vuSjhe1u/Dol8cZ8lzzmDew==} peerDependencies: axios: '>= 0.17.0' - axios@0.28.1: - resolution: {integrity: sha512-iUcGA5a7p0mVb4Gm/sy+FSECNkPFT4y7wt6OM/CDpO/OnNCvSs3PoMG8ibrC9jRoGYU0gUK5pXVC4NPXq6lHRQ==} + axios@1.7.4: + resolution: {integrity: sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==} axobject-query@3.1.1: resolution: {integrity: sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==} @@ -9402,13 +9402,13 @@ snapshots: axe-core@4.10.0: {} - axios-mock-adapter@1.22.0(axios@0.28.1): + axios-mock-adapter@2.0.0(axios@1.7.4): dependencies: - axios: 0.28.1 + axios: 1.7.4 fast-deep-equal: 3.1.3 is-buffer: 2.0.5 - axios@0.28.1: + axios@1.7.4: dependencies: follow-redirects: 1.15.6 form-data: 4.0.0