diff --git a/package-lock.json b/package-lock.json index 2b9b0782..4a0a9d4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@types/sinon": "17.0.1", "assert": "2.1.0", "check-dts": "0.7.2", - "component-emitter": "1.3.1", + "component-emitter": "2.0.0", "cross-env": "^7.0.3", "eslint": "8.54.0", "git-authors-cli": "1.0.47", @@ -45,7 +45,7 @@ }, "peerDependencies": { "@egjs/hammerjs": "^2.0.0", - "component-emitter": "^1.3.0" + "component-emitter": "^1.3.0 || ^2.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -5723,10 +5723,13 @@ } }, "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, + "engines": { + "node": ">=18" + }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } diff --git a/package.json b/package.json index 06c829ab..277737b4 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ }, "peerDependencies": { "@egjs/hammerjs": "^2.0.0", - "component-emitter": "^1.3.0" + "component-emitter": "^1.3.0 || ^2.0.0" }, "devDependencies": { "@egjs/hammerjs": "2.0.17", @@ -99,7 +99,7 @@ "@types/sinon": "17.0.1", "assert": "2.1.0", "check-dts": "0.7.2", - "component-emitter": "1.3.1", + "component-emitter": "2.0.0", "cross-env": "^7.0.3", "eslint": "8.54.0", "git-authors-cli": "1.0.47",