From 96f161a5789e50fc621654c9c98f2abe167add5c Mon Sep 17 00:00:00 2001 From: Mohammed Faragallah Date: Fri, 3 May 2024 20:52:04 +0300 Subject: [PATCH] Upgrade eventemitter3 from v4 to v5 --- packages/ra-core/package.json | 2 +- yarn.lock | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/ra-core/package.json b/packages/ra-core/package.json index 1b2328febba..4c4291ce5f3 100644 --- a/packages/ra-core/package.json +++ b/packages/ra-core/package.json @@ -62,7 +62,7 @@ "@tanstack/react-query": "^5.8.4", "clsx": "^1.1.1", "date-fns": "^3.6.0", - "eventemitter3": "^4.0.7", + "eventemitter3": "^5.0.1", "hotscript": "^1.0.12", "inflection": "^3.0.0", "jsonexport": "^3.2.0", diff --git a/yarn.lock b/yarn.lock index f048b2b8b9b..06be4553ec7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11741,13 +11741,20 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:^4.0.1, eventemitter3@npm:^4.0.4, eventemitter3@npm:^4.0.7": +"eventemitter3@npm:^4.0.1, eventemitter3@npm:^4.0.4": version: 4.0.7 resolution: "eventemitter3@npm:4.0.7" checksum: 5f6d97cbcbac47be798e6355e3a7639a84ee1f7d9b199a07017f1d2f1e2fe236004d14fa5dfaeba661f94ea57805385e326236a6debbc7145c8877fbc0297c6b languageName: node linkType: hard +"eventemitter3@npm:^5.0.1": + version: 5.0.1 + resolution: "eventemitter3@npm:5.0.1" + checksum: 4ba5c00c506e6c786b4d6262cfbce90ddc14c10d4667e5c83ae993c9de88aa856033994dd2b35b83e8dc1170e224e66a319fa80adc4c32adcd2379bbc75da814 + languageName: node + linkType: hard + "events@npm:^3.2.0": version: 3.3.0 resolution: "events@npm:3.3.0" @@ -18677,7 +18684,7 @@ __metadata: clsx: "npm:^1.1.1" cross-env: "npm:^5.2.0" date-fns: "npm:^3.6.0" - eventemitter3: "npm:^4.0.7" + eventemitter3: "npm:^5.0.1" expect: "npm:^27.4.6" hotscript: "npm:^1.0.12" ignore-styles: "npm:~5.0.1"