Skip to content

Commit 2b5715c

Browse files
authored
EPD-1930 upgrade @eppo/js-client-sdk-common and axios versions (#44)
1 parent f679c17 commit 2b5715c

File tree

3 files changed

+25
-19
lines changed

3 files changed

+25
-19
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eppo/js-client-sdk",
3-
"version": "1.4.1",
3+
"version": "1.5.0",
44
"description": "Eppo SDK for client-side JavaScript applications",
55
"main": "dist/index.js",
66
"files": [
@@ -57,8 +57,8 @@
5757
"xhr-mock": "^2.5.1"
5858
},
5959
"dependencies": {
60-
"@eppo/js-client-sdk-common": "^1.7.0",
61-
"axios": "^0.27.2",
60+
"@eppo/js-client-sdk-common": "^2.0.0",
61+
"axios": "^1.6.0",
6262
"md5": "^2.3.0"
6363
}
64-
}
64+
}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export async function init(config: IClientConfig): Promise<IEppoClient> {
152152

153153
// default behavior is to use a non-expiring cache.
154154
// this can be overridden after initialization.
155-
EppoJSClient.instance.useNonExpiringAssignmentCache();
155+
EppoJSClient.instance.useNonExpiringInMemoryAssignmentCache();
156156

157157
const configurationRequestor = new ExperimentConfigurationRequestor(localStorage, httpClient);
158158
await configurationRequestor.fetchAndStoreConfigurations();

yarn.lock

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -373,12 +373,12 @@
373373
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
374374
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==
375375

376-
"@eppo/js-client-sdk-common@^1.7.0":
377-
version "1.7.0"
378-
resolved "https://registry.yarnpkg.com/@eppo/js-client-sdk-common/-/js-client-sdk-common-1.7.0.tgz#13f563af6ae7d030f5be772bcee7a35ca07127c0"
379-
integrity sha512-2E8Okt2oRv5cPWhLzLAdoZkOFiDOUCy3pJw47XJWmfjw29AggEYH/OFjeC5/EU+XjGUA3CWBIrhBIHtkGKfqXg==
376+
"@eppo/js-client-sdk-common@^2.0.0":
377+
version "2.0.0"
378+
resolved "https://registry.yarnpkg.com/@eppo/js-client-sdk-common/-/js-client-sdk-common-2.0.0.tgz#562006a128fb33653ca8c5e17df7680f7d91d0b4"
379+
integrity sha512-yHi4BFb6N7jISPK4y++N9OwjJBQAONSLqqCoCUHAyFSlNmUm+aNc/a+j/HHPsnXYZ1GUBWAZJOIQDNne4svfPg==
380380
dependencies:
381-
axios "^0.27.2"
381+
axios "^1.6.0"
382382
lru-cache "^10.0.1"
383383
md5 "^2.3.0"
384384

@@ -1442,13 +1442,14 @@ asynckit@^0.4.0:
14421442
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
14431443
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
14441444

1445-
axios@^0.27.2:
1446-
version "0.27.2"
1447-
resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972"
1448-
integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==
1445+
axios@^1.6.0:
1446+
version "1.6.2"
1447+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.2.tgz#de67d42c755b571d3e698df1b6504cde9b0ee9f2"
1448+
integrity sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==
14491449
dependencies:
1450-
follow-redirects "^1.14.9"
1450+
follow-redirects "^1.15.0"
14511451
form-data "^4.0.0"
1452+
proxy-from-env "^1.1.0"
14521453

14531454
babel-jest@^29.7.0:
14541455
version "29.7.0"
@@ -2358,10 +2359,10 @@ flatted@^3.1.0:
23582359
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3"
23592360
integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==
23602361

2361-
follow-redirects@^1.14.9:
2362-
version "1.15.1"
2363-
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.1.tgz#0ca6a452306c9b276e4d3127483e29575e207ad5"
2364-
integrity sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==
2362+
follow-redirects@^1.15.0:
2363+
version "1.15.3"
2364+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a"
2365+
integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==
23652366

23662367
form-data@^4.0.0:
23672368
version "4.0.0"
@@ -3980,6 +3981,11 @@ prompts@^2.0.1:
39803981
kleur "^3.0.3"
39813982
sisteransi "^1.0.5"
39823983

3984+
proxy-from-env@^1.1.0:
3985+
version "1.1.0"
3986+
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
3987+
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
3988+
39833989
psl@^1.1.33:
39843990
version "1.8.0"
39853991
resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"

0 commit comments

Comments
 (0)