diff --git a/package-lock.json b/package-lock.json index 57fa925fc..462aa9100 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "devDependencies": { "@babel/plugin-proposal-object-rest-spread": "7.20.7", "@egjs/hammerjs": "2.0.17", - "component-emitter": "1.3.1", + "component-emitter": "2.0.0", "cpy-cli": "5.0.0", "eslint": "8.57.0", "gh-pages": "6.1.1", @@ -43,7 +43,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", "moment": "^2.24.0", "propagating-hammerjs": "^1.4.0 || ^2.0.0", @@ -5838,10 +5838,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 3605ee42e..b7d72c4c6 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,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", "moment": "^2.24.0", "propagating-hammerjs": "^1.4.0 || ^2.0.0", @@ -70,7 +70,7 @@ "devDependencies": { "@babel/plugin-proposal-object-rest-spread": "7.20.7", "@egjs/hammerjs": "2.0.17", - "component-emitter": "1.3.1", + "component-emitter": "2.0.0", "cpy-cli": "5.0.0", "eslint": "8.57.0", "gh-pages": "6.1.1",