From 1380b6dba6773573f87bb3f85343cc1e800bde6c Mon Sep 17 00:00:00 2001 From: Ganey Date: Mon, 18 Oct 2021 14:10:31 +0100 Subject: [PATCH 1/4] Add support for axios 0.22.* --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2add21f..a57a5e6 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@babel/polyfill": "^7.0.0", "@babel/preset-env": "^7.1.0", "assert": "^1.4.1", - "axios": "~0.21.1", + "axios": "~0.21.1 || ~0.22.0", "babel-loader": "^8.0.4", "cache-control-esm": "1.0.0", "codecov": "^3.0.0", From cbf907be1986e81634ddfe9a612482513e8808ec Mon Sep 17 00:00:00 2001 From: Ganey Date: Mon, 18 Oct 2021 14:41:38 +0100 Subject: [PATCH 2/4] Update package.json update peer dependencies to include axios 0.22.* --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a57a5e6..74979a7 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "md5": "^2.2.1" }, "peerDependencies": { - "axios": "~0.21.1" + "axios": "~0.21.1 || ~0.22.0" }, "size-limit": [ { From 4cc5a01d66679ec51d3f2a0c802a358c09826d21 Mon Sep 17 00:00:00 2001 From: Ganey Date: Tue, 14 Dec 2021 07:52:04 +0000 Subject: [PATCH 3/4] Updated to include 0.23.* and 0.24.* Range updated to 0.21.1 - 0.24.* --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 74979a7..6862c6f 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@babel/polyfill": "^7.0.0", "@babel/preset-env": "^7.1.0", "assert": "^1.4.1", - "axios": "~0.21.1 || ~0.22.0", + "axios": ">=0.21.1 <0.25.0", "babel-loader": "^8.0.4", "cache-control-esm": "1.0.0", "codecov": "^3.0.0", @@ -80,7 +80,7 @@ "md5": "^2.2.1" }, "peerDependencies": { - "axios": "~0.21.1 || ~0.22.0" + "axios": ">=0.21.1 <0.25.0" }, "size-limit": [ { From 036a80c199bb10ae7e95f1f6801154b7446eab9d Mon Sep 17 00:00:00 2001 From: Ganey Date: Fri, 4 Feb 2022 14:25:38 +0000 Subject: [PATCH 4/4] accept versions up to 1 with thanks to @recs182 Co-authored-by: Renan Soares --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6862c6f..cb18ba9 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "md5": "^2.2.1" }, "peerDependencies": { - "axios": ">=0.21.1 <0.25.0" + "axios": ">=0.21.1 <1" }, "size-limit": [ {