diff --git a/posthog-node/CHANGELOG.md b/posthog-node/CHANGELOG.md index 8e12c36a..659f34b2 100644 --- a/posthog-node/CHANGELOG.md +++ b/posthog-node/CHANGELOG.md @@ -1,6 +1,7 @@ # Next 1. chore: change host to new address. +2. chore: bump axios to 1.7.4 (fixes [CVE-2024-39338](https://github.com/advisories/GHSA-8hc4-vh64-cxmj)) # 4.0.1 - 2024-04-25 @@ -30,7 +31,6 @@ 1. Fixed an issue where `shutdown` would potentially exit early if a flush was already in progress 2. Fixes some typos in types - # 4.0.0-beta.3 - 2024-03-13 1. Sets `User-Agent` headers with SDK name and version for RN diff --git a/posthog-node/package.json b/posthog-node/package.json index b46508df..4aacf438 100644 --- a/posthog-node/package.json +++ b/posthog-node/package.json @@ -23,7 +23,7 @@ "module": "lib/index.esm.js", "types": "lib/index.d.ts", "dependencies": { - "axios": "^1.6.2", + "axios": "^1.7.4", "rusha": "^0.8.14" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 074ce18d..fcbfd7b2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3356,12 +3356,12 @@ atob@^2.1.2: resolved "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -axios@^1.6.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.2.tgz#de67d42c755b571d3e698df1b6504cde9b0ee9f2" - integrity sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A== +axios@^1.7.4: + version "1.7.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.4.tgz#4c8ded1b43683c8dd362973c393f3ede24052aa2" + integrity sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw== dependencies: - follow-redirects "^1.15.0" + follow-redirects "^1.15.6" form-data "^4.0.0" proxy-from-env "^1.1.0" @@ -5309,7 +5309,7 @@ flow-parser@^0.121.0: resolved "https://registry.npmjs.org/flow-parser/-/flow-parser-0.121.0.tgz" integrity sha512-1gIBiWJNR0tKUNv8gZuk7l9rVX06OuLzY9AoGio7y/JT4V1IZErEMEq2TJS+PFcw/y0RshZ1J/27VfK1UQzYVg== -follow-redirects@^1.15.0: +follow-redirects@^1.15.6: version "1.15.6" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==