* 2.11.3

* Fix lint

* Update polkadot-dev-run-test

* Adjust jest setupEnv
This commit is contained in:
Jaco
2023-02-19 15:38:09 +02:00
committed by GitHub
parent 4d2fe495ed
commit 864efca1e6
15 changed files with 576 additions and 530 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## 2.11.3 Feb 19, 2023
Changes:
- Bump to `@polkadot/util` 10.4.2
## 2.11.2 Feb 15, 2023
Changes:
+2 -2
View File
@@ -1,9 +1,9 @@
// Copyright 2017-2023 @polkadot/ui authors & contributors
// SPDX-License-Identifier: Apache-2.0
const nodeCrypto = require('crypto');
import nodeCrypto from 'crypto';
window.crypto = {
window.crypto ??= {
getRandomValues: function (buffer) {
return nodeCrypto.randomFillSync(buffer);
}
+4 -4
View File
@@ -11,7 +11,7 @@
},
"sideEffects": false,
"type": "module",
"version": "2.11.2",
"version": "2.11.3",
"versions": {
"git": "2.11.2",
"npm": "2.11.2"
@@ -28,14 +28,14 @@
"example:vue": "yarn build && cd packages/example-vue && yarn polkadot-exec-webpack --config webpack.config.cjs",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"test": "polkadot-dev-run-test --coverage --runInBand",
"test": "polkadot-dev-run-test --env jest -- --coverage --runInBand",
"test:one": "polkadot-dev-run-test"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/runtime": "^7.20.13",
"@polkadot/dev": "^0.68.28",
"@polkadot/x-bundle": "^10.4.1",
"@polkadot/dev": "^0.68.38",
"@polkadot/x-bundle": "^10.4.2",
"@types/jest": "^29.4.0",
"babel-loader": "^8.3.0",
"babel-plugin-transform-vue-template": "^0.4.2",
+1 -1
View File
@@ -14,7 +14,7 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13"
+1 -1
View File
@@ -14,7 +14,7 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13"
+6 -6
View File
@@ -17,15 +17,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13",
"@polkadot/keyring": "^10.4.1",
"@polkadot/ui-settings": "2.11.2",
"@polkadot/ui-shared": "2.11.2",
"@polkadot/util": "^10.4.1",
"@polkadot/util-crypto": "^10.4.1",
"@polkadot/keyring": "^10.4.2",
"@polkadot/ui-settings": "2.11.3",
"@polkadot/ui-shared": "2.11.3",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"color": "^3.2.1",
"ethereum-blockies-base64": "^1.0.2",
"jdenticon": "3.2.0",
+4 -4
View File
@@ -17,13 +17,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13",
"@polkadot/ui-settings": "2.11.2",
"@polkadot/util": "^10.4.1",
"@polkadot/util-crypto": "^10.4.1",
"@polkadot/ui-settings": "2.11.3",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"qrcode-generator": "^1.4.4",
"react-qr-reader": "^2.2.1",
"styled-components": "^5.3.6"
+4 -4
View File
@@ -17,13 +17,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13",
"@polkadot/ui-shared": "2.11.2",
"@polkadot/util": "^10.4.1",
"@polkadot/util-crypto": "^10.4.1",
"@polkadot/ui-shared": "2.11.3",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"react-native-svg": "^12.5.1"
},
"devDependencies": {
@@ -63,7 +63,7 @@ export default class IdentityIcon extends React.PureComponent<Props, State> {
}
public override render (): React.ReactNode {
const { theme = DEFAULT_THEME, size = DEFAULT_SIZE } = this.props;
const { size = DEFAULT_SIZE, theme = DEFAULT_THEME } = this.props;
const { address, publicKey } = this.state;
const Component = !address
+2 -2
View File
@@ -13,10 +13,10 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13",
"@polkadot/util": "^10.4.1"
"@polkadot/util": "^10.4.2"
}
}
+5 -5
View File
@@ -16,14 +16,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13",
"@polkadot/keyring": "^10.4.1",
"@polkadot/ui-settings": "2.11.2",
"@polkadot/util": "^10.4.1",
"@polkadot/util-crypto": "^10.4.1",
"@polkadot/keyring": "^10.4.2",
"@polkadot/ui-settings": "2.11.3",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"mkdirp": "^2.1.3",
"rxjs": "^7.8.0",
"store": "^2.0.12"
+3 -3
View File
@@ -17,12 +17,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13",
"@polkadot/networks": "^10.4.1",
"@polkadot/util": "^10.4.1",
"@polkadot/networks": "^10.4.2",
"@polkadot/util": "^10.4.2",
"eventemitter3": "^4.0.7",
"store": "^2.0.12"
},
+3 -3
View File
@@ -17,15 +17,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13",
"color": "^3.2.1"
},
"devDependencies": {
"@polkadot/util": "^10.4.1",
"@polkadot/util-crypto": "^10.4.1",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"@types/color": "^3.0.3",
"@types/xmlserializer": "^0.6.3",
"xmlserializer": "^0.6.1"
+4 -4
View File
@@ -17,13 +17,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.11.2",
"version": "2.11.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.13",
"@polkadot/ui-shared": "2.11.2",
"@polkadot/util": "^10.4.1",
"@polkadot/util-crypto": "^10.4.1",
"@polkadot/ui-shared": "2.11.3",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"jdenticon": "3.2.0"
},
"devDependencies": {
+529 -490
View File
File diff suppressed because it is too large Load Diff