diff --git a/package-lock.json b/package-lock.json index fec1f0805..1ef54af6e 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.1", "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", @@ -5846,10 +5846,14 @@ } }, "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 8450c427a..e1da96390 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.1", "gh-pages": "6.1.1",