diff --git a/package-lock.json b/package-lock.json index 2b04b21d3..abfab5743 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@types/sinon": "17.0.3", "@types/uuid": "9.0.8", "compare-versions": "6.1.0", - "component-emitter": "1.3.1", + "component-emitter": "2.0.0", "cross-env": "7.0.3", "cypress": "13.10.0", "cypress-visual-regression": "3.0.0", @@ -54,7 +54,7 @@ }, "peerDependencies": { "@egjs/hammerjs": "^2.0.0", - "component-emitter": "^1.3.0", + "component-emitter": "^1.3.0 || ^2.0.0", "keycharm": "^0.2.0 || ^0.3.0 || ^0.4.0", "uuid": "^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", "vis-data": "^6.3.0 || ^7.0.0", @@ -5952,10 +5952,14 @@ "dev": true }, "node_modules/component-emitter": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz", - "integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-2.0.0.tgz", + "integrity": "sha512-4m5s3Me2xxlVKG9PkZpQqHQR7bgpnN7joDMJ4yvVkVXngjoITG76IaZmzmywSeRTeTpc6N6r3H3+KyUurV8OYw==", "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } diff --git a/package.json b/package.json index 33d9a7e2b..5a6a8c000 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ }, "peerDependencies": { "@egjs/hammerjs": "^2.0.0", - "component-emitter": "^1.3.0", + "component-emitter": "^1.3.0 || ^2.0.0", "keycharm": "^0.2.0 || ^0.3.0 || ^0.4.0", "uuid": "^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", "vis-data": "^6.3.0 || ^7.0.0", @@ -114,7 +114,7 @@ "@types/sinon": "17.0.3", "@types/uuid": "9.0.8", "compare-versions": "6.1.0", - "component-emitter": "1.3.1", + "component-emitter": "2.0.0", "cross-env": "7.0.3", "cypress": "13.10.0", "cypress-visual-regression": "3.0.0",