diff --git a/CHANGELOG.md b/CHANGELOG.md index 60361231f..25d8486af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG +## 3.1.3 Mar 25, 2023 + +Changes: + +- Align `eventemitter` version with `@polkadot/api` + + ## 3.1.2 Mar 25, 2023 Changes: diff --git a/package.json b/package.json index 437864f90..1c6df532e 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "3.1.2", + "version": "3.1.3", "versions": { "git": "3.1.2", "npm": "3.1.2" @@ -33,7 +33,7 @@ "test:one": "polkadot-dev-run-test --env browser" }, "devDependencies": { - "@polkadot/dev": "^0.72.22", + "@polkadot/dev": "^0.72.24", "@polkadot/x-bundle": "^11.1.2", "@types/node": "^18.15.9", "react": "^18.2.0", diff --git a/packages/react-identicon/package.json b/packages/react-identicon/package.json index 57a9f7df0..ee1d8ef7f 100644 --- a/packages/react-identicon/package.json +++ b/packages/react-identicon/package.json @@ -18,12 +18,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "3.1.2", + "version": "3.1.3", "main": "index.js", "dependencies": { "@polkadot/keyring": "^11.1.2", - "@polkadot/ui-settings": "3.1.2", - "@polkadot/ui-shared": "3.1.2", + "@polkadot/ui-settings": "3.1.3", + "@polkadot/ui-shared": "3.1.3", "@polkadot/util": "^11.1.2", "@polkadot/util-crypto": "^11.1.2", "ethereum-blockies-base64": "^1.0.2", diff --git a/packages/react-qr/package.json b/packages/react-qr/package.json index 31ce9c7c4..516eb394f 100644 --- a/packages/react-qr/package.json +++ b/packages/react-qr/package.json @@ -18,10 +18,10 @@ "./detectPackage.cjs" ], "type": "module", - "version": "3.1.2", + "version": "3.1.3", "main": "index.js", "dependencies": { - "@polkadot/ui-settings": "3.1.2", + "@polkadot/ui-settings": "3.1.3", "@polkadot/util": "^11.1.2", "@polkadot/util-crypto": "^11.1.2", "qrcode-generator": "^1.4.4", diff --git a/packages/reactnative-identicon/package.json b/packages/reactnative-identicon/package.json index ad8557c32..81b77415b 100644 --- a/packages/reactnative-identicon/package.json +++ b/packages/reactnative-identicon/package.json @@ -18,10 +18,10 @@ "./detectPackage.cjs" ], "type": "module", - "version": "3.1.2", + "version": "3.1.3", "main": "index.js", "dependencies": { - "@polkadot/ui-shared": "3.1.2", + "@polkadot/ui-shared": "3.1.3", "@polkadot/util": "^11.1.2", "@polkadot/util-crypto": "^11.1.2", "react-native-svg": "^12.5.1", diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 6d20a922c..bc532024b 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -17,11 +17,11 @@ "./detectPackage.cjs" ], "type": "module", - "version": "3.1.2", + "version": "3.1.3", "main": "index.js", "dependencies": { "@polkadot/keyring": "^11.1.2", - "@polkadot/ui-settings": "3.1.2", + "@polkadot/ui-settings": "3.1.3", "@polkadot/util": "^11.1.2", "@polkadot/util-crypto": "^11.1.2", "mkdirp": "^2.1.6", diff --git a/packages/ui-settings/package.json b/packages/ui-settings/package.json index efa188274..6c10edd8c 100644 --- a/packages/ui-settings/package.json +++ b/packages/ui-settings/package.json @@ -18,12 +18,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "3.1.2", + "version": "3.1.3", "main": "index.js", "dependencies": { "@polkadot/networks": "^11.1.2", "@polkadot/util": "^11.1.2", - "eventemitter3": "^4.0.7", + "eventemitter3": "^5.0.0", "store": "^2.0.12", "tslib": "^2.5.0" }, diff --git a/packages/ui-settings/src/Settings.ts b/packages/ui-settings/src/Settings.ts index e6cd0386d..07b85ae65 100644 --- a/packages/ui-settings/src/Settings.ts +++ b/packages/ui-settings/src/Settings.ts @@ -3,7 +3,7 @@ import type { Endpoint, EndpointType, Option, SettingsStruct } from './types.js'; -import EventEmitter from 'eventemitter3'; +import { EventEmitter } from 'eventemitter3'; import store from 'store'; import { hasProcess, isUndefined } from '@polkadot/util'; diff --git a/packages/ui-shared/package.json b/packages/ui-shared/package.json index 764e12b2c..92898e8e0 100644 --- a/packages/ui-shared/package.json +++ b/packages/ui-shared/package.json @@ -18,7 +18,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "3.1.2", + "version": "3.1.3", "main": "index.js", "dependencies": { "colord": "^2.9.3", diff --git a/packages/vue-identicon/package.json b/packages/vue-identicon/package.json index 66aee0de7..6932c0e51 100644 --- a/packages/vue-identicon/package.json +++ b/packages/vue-identicon/package.json @@ -18,10 +18,10 @@ "./detectPackage.cjs" ], "type": "module", - "version": "3.1.2", + "version": "3.1.3", "main": "index.js", "dependencies": { - "@polkadot/ui-shared": "3.1.2", + "@polkadot/ui-shared": "3.1.3", "@polkadot/util": "^11.1.2", "@polkadot/util-crypto": "^11.1.2", "jdenticon": "3.2.0", diff --git a/yarn.lock b/yarn.lock index c80605f11..511cdf742 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1415,34 +1415,34 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev-test@npm:^0.72.22": - version: 0.72.22 - resolution: "@polkadot/dev-test@npm:0.72.22" +"@polkadot/dev-test@npm:^0.72.24": + version: 0.72.24 + resolution: "@polkadot/dev-test@npm:0.72.24" dependencies: jsdom: ^21.1.1 tslib: ^2.5.0 - checksum: c7be66ff77796083ae984410b8e5127f55017ed2bccb35a41fe1aba3662c2e14215f65c0cdcc7030c7596f6d8f7ff266ab97c68f67514fbaa179de0f365b36c6 + checksum: cf45cd2e9d6352d2c6f82fe3b52cb6b24435f9e693b570d71333cfe942584c41b634ac0fafd72a24c131269a253b6c2b8d075e28fc0f544cc5dc8131e2f7ab2a languageName: node linkType: hard -"@polkadot/dev-ts@npm:^0.72.22": - version: 0.72.22 - resolution: "@polkadot/dev-ts@npm:0.72.22" +"@polkadot/dev-ts@npm:^0.72.24": + version: 0.72.24 + resolution: "@polkadot/dev-ts@npm:0.72.24" dependencies: json5: ^2.2.3 tslib: ^2.5.0 typescript: ^5.0.2 - checksum: 2cdaf00cf35b7ee01cfa7ccccd67699a1885475e6e16242995d92385ad626236a68809f5f7c555ff8477acb431c8ca9675ab28be10beddcca3befa8c023fdbd2 + checksum: acc084e8e38881b3f49fe05b1a8dff59575cbda5ddc19e7cc6791e03e822815d17ee0bb7753dc78570cb2c365aaf216d2b520d228923d7c9af09a467af557629 languageName: node linkType: hard -"@polkadot/dev@npm:^0.72.22": - version: 0.72.22 - resolution: "@polkadot/dev@npm:0.72.22" +"@polkadot/dev@npm:^0.72.24": + version: 0.72.24 + resolution: "@polkadot/dev@npm:0.72.24" dependencies: "@eslint/js": ^8.36.0 - "@polkadot/dev-test": ^0.72.22 - "@polkadot/dev-ts": ^0.72.22 + "@polkadot/dev-test": ^0.72.24 + "@polkadot/dev-ts": ^0.72.24 "@rollup/plugin-alias": ^4.0.3 "@rollup/plugin-commonjs": ^24.0.1 "@rollup/plugin-dynamic-import-vars": ^2.0.3 @@ -1503,7 +1503,7 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 0bb16caeb3a41969ea7971e3f6e2fbe3af228488fa28da9d7406292124f1a0d162068b060c80d890b3e91d75f8426a2b701bdfa9da07b404d81f7c64e64d12e9 + checksum: fad1958dc40ae0cdc1dbaa29f97c4b9ef90aade92bb27e05725803c72855f0aa9669d4e5cebde627aebf9f08c2d03e45b2d235168cf3535afa8261b38c7aab8e languageName: node linkType: hard @@ -1537,8 +1537,8 @@ __metadata: resolution: "@polkadot/react-identicon@workspace:packages/react-identicon" dependencies: "@polkadot/keyring": ^11.1.2 - "@polkadot/ui-settings": 3.1.2 - "@polkadot/ui-shared": 3.1.2 + "@polkadot/ui-settings": 3.1.3 + "@polkadot/ui-shared": 3.1.3 "@polkadot/util": ^11.1.2 "@polkadot/util-crypto": ^11.1.2 "@types/react-copy-to-clipboard": ^5.0.4 @@ -1565,7 +1565,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/react-qr@workspace:packages/react-qr" dependencies: - "@polkadot/ui-settings": 3.1.2 + "@polkadot/ui-settings": 3.1.3 "@polkadot/util": ^11.1.2 "@polkadot/util-crypto": ^11.1.2 "@types/react-qr-reader": ^2.1.4 @@ -1587,7 +1587,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/reactnative-identicon@workspace:packages/reactnative-identicon" dependencies: - "@polkadot/ui-shared": 3.1.2 + "@polkadot/ui-shared": 3.1.3 "@polkadot/util": ^11.1.2 "@polkadot/util-crypto": ^11.1.2 "@types/react-native": ^0.71.5 @@ -1606,7 +1606,7 @@ __metadata: resolution: "@polkadot/ui-keyring@workspace:packages/ui-keyring" dependencies: "@polkadot/keyring": ^11.1.2 - "@polkadot/ui-settings": 3.1.2 + "@polkadot/ui-settings": 3.1.3 "@polkadot/util": ^11.1.2 "@polkadot/util-crypto": ^11.1.2 "@types/mkdirp": ^2.0.0 @@ -1622,14 +1622,14 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/ui-settings@3.1.2, @polkadot/ui-settings@workspace:packages/ui-settings": +"@polkadot/ui-settings@3.1.3, @polkadot/ui-settings@workspace:packages/ui-settings": version: 0.0.0-use.local resolution: "@polkadot/ui-settings@workspace:packages/ui-settings" dependencies: "@polkadot/networks": ^11.1.2 "@polkadot/util": ^11.1.2 "@types/store": ^2.0.2 - eventemitter3: ^4.0.7 + eventemitter3: ^5.0.0 store: ^2.0.12 tslib: ^2.5.0 peerDependencies: @@ -1638,7 +1638,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/ui-shared@3.1.2, @polkadot/ui-shared@workspace:packages/ui-shared": +"@polkadot/ui-shared@3.1.3, @polkadot/ui-shared@workspace:packages/ui-shared": version: 0.0.0-use.local resolution: "@polkadot/ui-shared@workspace:packages/ui-shared" dependencies: @@ -1693,7 +1693,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/vue-identicon@workspace:packages/vue-identicon" dependencies: - "@polkadot/ui-shared": 3.1.2 + "@polkadot/ui-shared": 3.1.3 "@polkadot/util": ^11.1.2 "@polkadot/util-crypto": ^11.1.2 jdenticon: 3.2.0 @@ -5947,13 +5947,20 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:^4.0.0, eventemitter3@npm:^4.0.7": +"eventemitter3@npm:^4.0.0": version: 4.0.7 resolution: "eventemitter3@npm:4.0.7" checksum: 1875311c42fcfe9c707b2712c32664a245629b42bb0a5a84439762dd0fd637fc54d078155ea83c2af9e0323c9ac13687e03cfba79b03af9f40c89b4960099374 languageName: node linkType: hard +"eventemitter3@npm:^5.0.0": + version: 5.0.0 + resolution: "eventemitter3@npm:5.0.0" + checksum: b974bafbab860e0a5bbb21add4c4e82f9d5691c583c03f2e4c5d44a2d6c4556d79223621bdcfc6c8e14366a4af9df6b5ea9d6caf65fbffc80b66f3e1dceacbc9 + languageName: node + linkType: hard + "events@npm:^3.2.0": version: 3.3.0 resolution: "events@npm:3.3.0" @@ -11109,7 +11116,7 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/dev": ^0.72.22 + "@polkadot/dev": ^0.72.24 "@polkadot/x-bundle": ^11.1.2 "@types/node": ^18.15.9 react: ^18.2.0