Skip to content

Commit 65b07d2

Browse files
authored
SDK-405 Bump version to 2.2.2 and pin axios to v1.14.0 (#554)
* Bump minor version * Pin axios to version 1.14.0
1 parent e38d2dc commit 65b07d2

8 files changed

Lines changed: 97 additions & 68 deletions

File tree

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@
5656
"webpack-dev-server": "^5.2.2"
5757
},
5858
"dependencies": {
59-
"axios": "^1.12.2"
59+
"axios": "1.14.0"
6060
}
6161
}

example/yarn.lock

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,14 +1527,14 @@ asynckit@^0.4.0:
15271527
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
15281528
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
15291529

1530-
axios@^1.12.2:
1531-
version "1.12.2"
1532-
resolved "https://registry.yarnpkg.com/axios/-/axios-1.12.2.tgz#6c307390136cf7a2278d09cec63b136dfc6e6da7"
1533-
integrity sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==
1530+
axios@1.14.0:
1531+
version "1.14.0"
1532+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.14.0.tgz#7c29f4cf2ea91ef05018d5aa5399bf23ed3120eb"
1533+
integrity sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==
15341534
dependencies:
1535-
follow-redirects "^1.15.6"
1536-
form-data "^4.0.4"
1537-
proxy-from-env "^1.1.0"
1535+
follow-redirects "^1.15.11"
1536+
form-data "^4.0.5"
1537+
proxy-from-env "^2.1.0"
15381538

15391539
babel-jest@^28.1.3:
15401540
version "28.1.3"
@@ -2707,12 +2707,17 @@ flatted@^3.2.9:
27072707
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
27082708
integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
27092709

2710-
follow-redirects@^1.0.0, follow-redirects@^1.15.6:
2710+
follow-redirects@^1.0.0:
27112711
version "1.15.9"
27122712
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1"
27132713
integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==
27142714

2715-
form-data@^4.0.0, form-data@^4.0.4:
2715+
follow-redirects@^1.15.11:
2716+
version "1.15.11"
2717+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.11.tgz#777d73d72a92f8ec4d2e410eb47352a56b8e8340"
2718+
integrity sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==
2719+
2720+
form-data@^4.0.0:
27162721
version "4.0.4"
27172722
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
27182723
integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
@@ -2723,6 +2728,17 @@ form-data@^4.0.0, form-data@^4.0.4:
27232728
hasown "^2.0.2"
27242729
mime-types "^2.1.12"
27252730

2731+
form-data@^4.0.5:
2732+
version "4.0.5"
2733+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.5.tgz#b49e48858045ff4cbf6b03e1805cebcad3679053"
2734+
integrity sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==
2735+
dependencies:
2736+
asynckit "^0.4.0"
2737+
combined-stream "^1.0.8"
2738+
es-set-tostringtag "^2.1.0"
2739+
hasown "^2.0.2"
2740+
mime-types "^2.1.12"
2741+
27262742
27272743
version "0.2.0"
27282744
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
@@ -4298,10 +4314,10 @@ proxy-addr@~2.0.7:
42984314
forwarded "0.2.0"
42994315
ipaddr.js "1.9.1"
43004316

4301-
proxy-from-env@^1.1.0:
4302-
version "1.1.0"
4303-
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
4304-
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
4317+
proxy-from-env@^2.1.0:
4318+
version "2.1.0"
4319+
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-2.1.0.tgz#a7487568adad577cfaaa7e88c49cab3ab3081aba"
4320+
integrity sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==
43054321

43064322
psl@^1.1.33:
43074323
version "1.15.0"

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@iterable/web-sdk",
33
"description": "Iterable SDK for JavaScript and Node.",
4-
"version": "2.2.1",
4+
"version": "2.2.2",
55
"homepage": "https://iterable.com/",
66
"repository": {
77
"type": "git",
@@ -34,7 +34,7 @@
3434
"dependencies": {
3535
"@pabra/sortby": "^1.0.1",
3636
"@types/ws": "8.5.4",
37-
"axios": "^1.12.2",
37+
"axios": "1.14.0",
3838
"axios-mock-adapter": "^1.22.0",
3939
"buffer": "^6.0.3",
4040
"copy-webpack-plugin": "^11.0.0",
@@ -113,6 +113,9 @@
113113
"pre-push": "yarn test --changedSince main"
114114
}
115115
},
116+
"resolutions": {
117+
"axios": "1.14.0"
118+
},
116119
"lint-staged": {
117120
"*.{ts,tsx,js}": [
118121
"eslint --fix",

react-example/.env.example

Lines changed: 0 additions & 25 deletions
This file was deleted.

react-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"webpack-dev-server": "^5.2.2"
7373
},
7474
"dependencies": {
75-
"axios": "^1.12.2",
75+
"axios": "1.14.0",
7676
"react": "^18.2.0",
7777
"react-dom": "^18.2.0",
7878
"react-router-dom": "^6.2.1",

react-example/webpack.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ module.exports = {
3737
static: {
3838
directory: './dist'
3939
},
40+
proxy: [
41+
{
42+
context: ['/generate'],
43+
target: 'https://jwt-generator.stg-itbl.co',
44+
changeOrigin: true,
45+
secure: true
46+
}
47+
],
4048
client: {
4149
overlay: {
4250
errors: true,

react-example/yarn.lock

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,14 +1731,14 @@ available-typed-arrays@^1.0.7:
17311731
dependencies:
17321732
possible-typed-array-names "^1.0.0"
17331733

1734-
axios@^1.12.2:
1735-
version "1.12.2"
1736-
resolved "https://registry.yarnpkg.com/axios/-/axios-1.12.2.tgz#6c307390136cf7a2278d09cec63b136dfc6e6da7"
1737-
integrity sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==
1734+
axios@1.14.0:
1735+
version "1.14.0"
1736+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.14.0.tgz#7c29f4cf2ea91ef05018d5aa5399bf23ed3120eb"
1737+
integrity sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==
17381738
dependencies:
1739-
follow-redirects "^1.15.6"
1740-
form-data "^4.0.4"
1741-
proxy-from-env "^1.1.0"
1739+
follow-redirects "^1.15.11"
1740+
form-data "^4.0.5"
1741+
proxy-from-env "^2.1.0"
17421742

17431743
babel-jest@^28.1.3:
17441744
version "28.1.3"
@@ -3137,7 +3137,7 @@ flatted@^3.2.9:
31373137
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.3.tgz#67c8fad95454a7c7abebf74bb78ee74a44023358"
31383138
integrity sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==
31393139

3140-
follow-redirects@^1.0.0, follow-redirects@^1.15.6:
3140+
follow-redirects@^1.0.0, follow-redirects@^1.15.11:
31413141
version "1.15.11"
31423142
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.11.tgz#777d73d72a92f8ec4d2e410eb47352a56b8e8340"
31433143
integrity sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==
@@ -3149,7 +3149,7 @@ for-each@^0.3.3, for-each@^0.3.5:
31493149
dependencies:
31503150
is-callable "^1.2.7"
31513151

3152-
form-data@^4.0.0, form-data@^4.0.4:
3152+
form-data@^4.0.0:
31533153
version "4.0.4"
31543154
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
31553155
integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
@@ -3160,6 +3160,17 @@ form-data@^4.0.0, form-data@^4.0.4:
31603160
hasown "^2.0.2"
31613161
mime-types "^2.1.12"
31623162

3163+
form-data@^4.0.5:
3164+
version "4.0.5"
3165+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.5.tgz#b49e48858045ff4cbf6b03e1805cebcad3679053"
3166+
integrity sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==
3167+
dependencies:
3168+
asynckit "^0.4.0"
3169+
combined-stream "^1.0.8"
3170+
es-set-tostringtag "^2.1.0"
3171+
hasown "^2.0.2"
3172+
mime-types "^2.1.12"
3173+
31633174
31643175
version "0.2.0"
31653176
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
@@ -5194,10 +5205,10 @@ proxy-addr@~2.0.7:
51945205
forwarded "0.2.0"
51955206
ipaddr.js "1.9.1"
51965207

5197-
proxy-from-env@^1.1.0:
5198-
version "1.1.0"
5199-
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
5200-
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
5208+
proxy-from-env@^2.1.0:
5209+
version "2.1.0"
5210+
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-2.1.0.tgz#a7487568adad577cfaaa7e88c49cab3ab3081aba"
5211+
integrity sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==
52015212

52025213
psl@^1.1.33:
52035214
version "1.15.0"

yarn.lock

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2315,14 +2315,14 @@ axios-mock-adapter@^1.22.0:
23152315
fast-deep-equal "^3.1.3"
23162316
is-buffer "^2.0.5"
23172317

2318-
axios@^1.12.2:
2319-
version "1.12.2"
2320-
resolved "https://registry.yarnpkg.com/axios/-/axios-1.12.2.tgz#6c307390136cf7a2278d09cec63b136dfc6e6da7"
2321-
integrity sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==
2318+
axios@1.14.0:
2319+
version "1.14.0"
2320+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.14.0.tgz#7c29f4cf2ea91ef05018d5aa5399bf23ed3120eb"
2321+
integrity sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==
23222322
dependencies:
2323-
follow-redirects "^1.15.6"
2324-
form-data "^4.0.4"
2325-
proxy-from-env "^1.1.0"
2323+
follow-redirects "^1.15.11"
2324+
form-data "^4.0.5"
2325+
proxy-from-env "^2.1.0"
23262326

23272327
babel-jest@^28.1.3:
23282328
version "28.1.3"
@@ -4023,19 +4023,24 @@ flatten@^1.0.2:
40234023
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.3.tgz#c1283ac9f27b368abc1e36d1ff7b04501a30356b"
40244024
integrity sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg==
40254025

4026-
follow-redirects@^1.0.0, follow-redirects@^1.15.6:
4026+
follow-redirects@^1.0.0:
40274027
version "1.15.9"
40284028
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1"
40294029
integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==
40304030

4031+
follow-redirects@^1.15.11:
4032+
version "1.15.11"
4033+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.11.tgz#777d73d72a92f8ec4d2e410eb47352a56b8e8340"
4034+
integrity sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==
4035+
40314036
for-each@^0.3.3:
40324037
version "0.3.3"
40334038
resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e"
40344039
integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==
40354040
dependencies:
40364041
is-callable "^1.1.3"
40374042

4038-
form-data@^4.0.0, form-data@^4.0.4:
4043+
form-data@^4.0.0:
40394044
version "4.0.4"
40404045
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
40414046
integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
@@ -4046,6 +4051,17 @@ form-data@^4.0.0, form-data@^4.0.4:
40464051
hasown "^2.0.2"
40474052
mime-types "^2.1.12"
40484053

4054+
form-data@^4.0.5:
4055+
version "4.0.5"
4056+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.5.tgz#b49e48858045ff4cbf6b03e1805cebcad3679053"
4057+
integrity sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==
4058+
dependencies:
4059+
asynckit "^0.4.0"
4060+
combined-stream "^1.0.8"
4061+
es-set-tostringtag "^2.1.0"
4062+
hasown "^2.0.2"
4063+
mime-types "^2.1.12"
4064+
40494065
40504066
version "0.2.0"
40514067
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
@@ -6342,10 +6358,10 @@ proxy-addr@~2.0.7:
63426358
forwarded "0.2.0"
63436359
ipaddr.js "1.9.1"
63446360

6345-
proxy-from-env@^1.1.0:
6346-
version "1.1.0"
6347-
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
6348-
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
6361+
proxy-from-env@^2.1.0:
6362+
version "2.1.0"
6363+
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-2.1.0.tgz#a7487568adad577cfaaa7e88c49cab3ab3081aba"
6364+
integrity sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==
63496365

63506366
psl@^1.1.33:
63516367
version "1.15.0"

0 commit comments

Comments
 (0)