diff --git a/package-lock.json b/package-lock.json index 5989a131..0e0179a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "eslint-plugin-prettier": "5.2.1", "eslint-plugin-react": "7.37.3", "eslint-plugin-react-hooks": "5.1.0", - "eventsource": "2.0.2", + "eventsource": "3.0.2", "express": "4.21.2", "mocha": "11.0.1", "node-fetch": "2.7.0", @@ -2988,12 +2988,24 @@ } }, "node_modules/eventsource": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-2.0.2.tgz", - "integrity": "sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.2.tgz", + "integrity": "sha512-YolzkJNxsTL3tCJMWFxpxtG2sCjbZ4LQUBUrkdaJK0ub0p6lmJt+2+1SwhKjLc652lpH9L/79Ptez972H9tphw==", + "dev": true, + "dependencies": { + "eventsource-parser": "^3.0.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/eventsource-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.0.tgz", + "integrity": "sha512-T1C0XCUimhxVQzW4zFipdx0SficT651NnkR0ZSH3yQwh+mFMdLfgjABVi4YtMTtaL4s168593DaoaRLMqryavA==", "dev": true, "engines": { - "node": ">=12.0.0" + "node": ">=18.0.0" } }, "node_modules/execa": { @@ -9462,9 +9474,18 @@ "dev": true }, "eventsource": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-2.0.2.tgz", - "integrity": "sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.2.tgz", + "integrity": "sha512-YolzkJNxsTL3tCJMWFxpxtG2sCjbZ4LQUBUrkdaJK0ub0p6lmJt+2+1SwhKjLc652lpH9L/79Ptez972H9tphw==", + "dev": true, + "requires": { + "eventsource-parser": "^3.0.0" + } + }, + "eventsource-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.0.tgz", + "integrity": "sha512-T1C0XCUimhxVQzW4zFipdx0SficT651NnkR0ZSH3yQwh+mFMdLfgjABVi4YtMTtaL4s168593DaoaRLMqryavA==", "dev": true }, "execa": { diff --git a/package.json b/package.json index 2bbc604e..1da0e229 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "eslint-plugin-prettier": "5.2.1", "eslint-plugin-react": "7.37.3", "eslint-plugin-react-hooks": "5.1.0", - "eventsource": "2.0.2", + "eventsource": "3.0.2", "express": "4.21.2", "mocha": "11.0.1", "node-fetch": "2.7.0",