From 2063183f50d69691d2a17e7d347c2d6dc9d54403 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sun, 8 Nov 2020 13:45:10 +0100 Subject: [PATCH] 4.0 (#752) * 4.0 * Exact deps --- CHANGELOG.md | 2 +- package.json | 4 +-- packages/keyring/package.json | 10 ++++-- packages/networks/package.json | 6 ++-- packages/util-crypto/package.json | 11 ++++--- packages/util/package.json | 6 ++-- packages/x-fetch/package.json | 2 +- packages/x-randomvalues/package.json | 2 +- packages/x-textdecoder/package.json | 2 +- packages/x-textencoder/package.json | 2 +- packages/x-ws/package.json | 2 +- yarn.lock | 47 +++++++++++++++------------- 12 files changed, 54 insertions(+), 42 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10de0f2c2..35e599f27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## 4.0.0-x +## 4.0.1 Nov 8, 2020 - **Breaking change** Polyfills are not injected by these libraries anymore to avoid clobbering external globals, the user should provide them if their environment is missing base functionality. diff --git a/package.json b/package.json index 61c154065..a83f62c67 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ }, "devDependencies": { "@babel/core": "^7.12.3", - "@polkadot/dev": "^0.59.19", + "@polkadot/dev": "^0.59.20", "@polkadot/ts": "^0.3.53", "@types/jest": "^26.0.15" }, - "version": "4.0.0-11" + "version": "4.0.0" } diff --git a/packages/keyring/package.json b/packages/keyring/package.json index f068b4977..19ba1371d 100644 --- a/packages/keyring/package.json +++ b/packages/keyring/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/keyring", - "version": "4.0.0-11", + "version": "4.0.0", "description": "Keyring management", "main": "index.js", "publishConfig": { @@ -28,7 +28,11 @@ "homepage": "https://github.com/polkadot-js/common/tree/master/packages/keyring#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/util": "^4.0.0-11", - "@polkadot/util-crypto": "^4.0.0-11" + "@polkadot/util": "4.0.0", + "@polkadot/util-crypto": "4.0.0" + }, + "peerDependencies": { + "@polkadot/util": "4.0.0", + "@polkadot/util-crypto": "4.0.0" } } diff --git a/packages/networks/package.json b/packages/networks/package.json index 438897ba7..0db1c8fc0 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/networks", - "version": "4.0.0-11", + "version": "4.0.0", "description": "A list of all available Substrate networks and their applicable prefixes", "main": "index.js", "publishConfig": { @@ -29,7 +29,7 @@ "@babel/runtime": "^7.12.1" }, "devDependencies": { - "@polkadot/util": "^4.0.0-11", - "@polkadot/x-fetch": "^4.0.0-11" + "@polkadot/util": "4.0.0", + "@polkadot/x-fetch": "4.0.0" } } diff --git a/packages/util-crypto/package.json b/packages/util-crypto/package.json index 229c8aa06..2880d58ac 100644 --- a/packages/util-crypto/package.json +++ b/packages/util-crypto/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/util-crypto", - "version": "4.0.0-11", + "version": "4.0.0", "description": "A collection of useful crypto utilities for @polkadot", "main": "index.js", "keywords": [ @@ -26,10 +26,10 @@ "homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/networks": "^4.0.0-11", - "@polkadot/util": "^4.0.0-11", + "@polkadot/networks": "4.0.0", + "@polkadot/util": "4.0.0", "@polkadot/wasm-crypto": "^2.0.1", - "@polkadot/x-randomvalues": "^4.0.0-11", + "@polkadot/x-randomvalues": "4.0.0", "base-x": "^3.0.8", "blakejs": "^1.1.0", "bn.js": "^5.1.3", @@ -48,5 +48,8 @@ "@types/pbkdf2": "^3.1.0", "@types/scryptsy": "^2.0.0", "@types/xxhashjs": "^0.2.2" + }, + "peerDependencies": { + "@polkadot/util": "4.0.0" } } diff --git a/packages/util/package.json b/packages/util/package.json index a30452bd2..42c0ec199 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/util", - "version": "4.0.0-11", + "version": "4.0.0", "description": "A collection of useful utilities for @polkadot", "main": "index.js", "keywords": [ @@ -26,8 +26,8 @@ "homepage": "https://github.com/polkadot-js/common/tree/master/packages/util#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/x-textdecoder": "^4.0.0-11", - "@polkadot/x-textencoder": "^4.0.0-11", + "@polkadot/x-textdecoder": "4.0.0", + "@polkadot/x-textencoder": "4.0.0", "@types/bn.js": "^4.11.6", "bn.js": "^5.1.3", "camelcase": "^5.3.1", diff --git a/packages/x-fetch/package.json b/packages/x-fetch/package.json index 381cea416..d6a78db97 100644 --- a/packages/x-fetch/package.json +++ b/packages/x-fetch/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/x-fetch", - "version": "4.0.0-11", + "version": "4.0.0", "description": "A cross-environment fetch replacement", "browser": "browser.js", "main": "node.js", diff --git a/packages/x-randomvalues/package.json b/packages/x-randomvalues/package.json index 6abbbe6fb..6f96e0c14 100644 --- a/packages/x-randomvalues/package.json +++ b/packages/x-randomvalues/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/x-randomvalues", - "version": "4.0.0-11", + "version": "4.0.0", "description": "A cross-environment window.crypto.getRandomValues replacement", "browser": "browser.js", "main": "node.js", diff --git a/packages/x-textdecoder/package.json b/packages/x-textdecoder/package.json index 1d48e7008..d2ff7ca42 100644 --- a/packages/x-textdecoder/package.json +++ b/packages/x-textdecoder/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/x-textdecoder", - "version": "4.0.0-11", + "version": "4.0.0", "description": "A TextDecoder replacement", "browser": "browser.js", "main": "node.js", diff --git a/packages/x-textencoder/package.json b/packages/x-textencoder/package.json index 9eae94bdb..cab6c00df 100644 --- a/packages/x-textencoder/package.json +++ b/packages/x-textencoder/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/x-textencoder", - "version": "4.0.0-11", + "version": "4.0.0", "description": "A TextDecoder replacement", "browser": "browser.js", "main": "node.js", diff --git a/packages/x-ws/package.json b/packages/x-ws/package.json index f140ab00f..6e4dad966 100644 --- a/packages/x-ws/package.json +++ b/packages/x-ws/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/x-ws", - "version": "4.0.0-11", + "version": "4.0.0", "description": "A cross-environment WebSocket replacement", "browser": "browser.js", "main": "node.js", diff --git a/yarn.lock b/yarn.lock index 45ac7e499..b5fea29ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1733,9 +1733,9 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev@npm:^0.59.19": - version: 0.59.19 - resolution: "@polkadot/dev@npm:0.59.19" +"@polkadot/dev@npm:^0.59.20": + version: 0.59.20 + resolution: "@polkadot/dev@npm:0.59.20" dependencies: "@babel/cli": ^7.12.1 "@babel/core": ^7.12.3 @@ -1821,7 +1821,7 @@ __metadata: polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.js polkadot-exec-vuepress: scripts/polkadot-exec-vuepress.js polkadot-exec-webpack: scripts/polkadot-exec-webpack.js - checksum: d8d93ad37a15a4c95b09a5f94929e79f06e7a80f9804836b04fdc5c290bd35706c0db745c115bd0007718773b5fde7b955d5fbcd4de05d67712d5a91a5fa8b50 + checksum: 4d589615cc8bc2d1b302113d734e4f0a22ae8fb86f202648cb4b4a3780022fd7dab1d04ce85c5e8040849878c0372fbf19578ed6cf5cf95589054bda475fbc9b languageName: node linkType: hard @@ -1830,18 +1830,21 @@ __metadata: resolution: "@polkadot/keyring@workspace:packages/keyring" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/util": ^4.0.0-11 - "@polkadot/util-crypto": ^4.0.0-11 + "@polkadot/util": 4.0.0 + "@polkadot/util-crypto": 4.0.0 + peerDependencies: + "@polkadot/util": 4.0.0 + "@polkadot/util-crypto": 4.0.0 languageName: unknown linkType: soft -"@polkadot/networks@^4.0.0-11, @polkadot/networks@workspace:packages/networks": +"@polkadot/networks@4.0.0, @polkadot/networks@workspace:packages/networks": version: 0.0.0-use.local resolution: "@polkadot/networks@workspace:packages/networks" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/util": ^4.0.0-11 - "@polkadot/x-fetch": ^4.0.0-11 + "@polkadot/util": 4.0.0 + "@polkadot/x-fetch": 4.0.0 languageName: unknown linkType: soft @@ -1854,15 +1857,15 @@ __metadata: languageName: node linkType: hard -"@polkadot/util-crypto@^4.0.0-11, @polkadot/util-crypto@workspace:packages/util-crypto": +"@polkadot/util-crypto@4.0.0, @polkadot/util-crypto@workspace:packages/util-crypto": version: 0.0.0-use.local resolution: "@polkadot/util-crypto@workspace:packages/util-crypto" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/networks": ^4.0.0-11 - "@polkadot/util": ^4.0.0-11 + "@polkadot/networks": 4.0.0 + "@polkadot/util": 4.0.0 "@polkadot/wasm-crypto": ^2.0.1 - "@polkadot/x-randomvalues": ^4.0.0-11 + "@polkadot/x-randomvalues": 4.0.0 "@types/bn.js": ^4.11.6 "@types/create-hash": ^1.2.2 "@types/elliptic": ^6.4.12 @@ -1879,16 +1882,18 @@ __metadata: scryptsy: ^2.1.0 tweetnacl: ^1.0.3 xxhashjs: ^0.2.2 + peerDependencies: + "@polkadot/util": 4.0.0 languageName: unknown linkType: soft -"@polkadot/util@^4.0.0-11, @polkadot/util@workspace:packages/util": +"@polkadot/util@4.0.0, @polkadot/util@workspace:packages/util": version: 0.0.0-use.local resolution: "@polkadot/util@workspace:packages/util" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/x-textdecoder": ^4.0.0-11 - "@polkadot/x-textencoder": ^4.0.0-11 + "@polkadot/x-textdecoder": 4.0.0 + "@polkadot/x-textencoder": 4.0.0 "@types/bn.js": ^4.11.6 bn.js: ^5.1.3 camelcase: ^5.3.1 @@ -1906,7 +1911,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-fetch@^4.0.0-11, @polkadot/x-fetch@workspace:packages/x-fetch": +"@polkadot/x-fetch@4.0.0, @polkadot/x-fetch@workspace:packages/x-fetch": version: 0.0.0-use.local resolution: "@polkadot/x-fetch@workspace:packages/x-fetch" dependencies: @@ -1916,7 +1921,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/x-randomvalues@^4.0.0-11, @polkadot/x-randomvalues@workspace:packages/x-randomvalues": +"@polkadot/x-randomvalues@4.0.0, @polkadot/x-randomvalues@workspace:packages/x-randomvalues": version: 0.0.0-use.local resolution: "@polkadot/x-randomvalues@workspace:packages/x-randomvalues" dependencies: @@ -1925,7 +1930,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/x-textdecoder@^4.0.0-11, @polkadot/x-textdecoder@workspace:packages/x-textdecoder": +"@polkadot/x-textdecoder@4.0.0, @polkadot/x-textdecoder@workspace:packages/x-textdecoder": version: 0.0.0-use.local resolution: "@polkadot/x-textdecoder@workspace:packages/x-textdecoder" dependencies: @@ -1933,7 +1938,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/x-textencoder@^4.0.0-11, @polkadot/x-textencoder@workspace:packages/x-textencoder": +"@polkadot/x-textencoder@4.0.0, @polkadot/x-textencoder@workspace:packages/x-textencoder": version: 0.0.0-use.local resolution: "@polkadot/x-textencoder@workspace:packages/x-textencoder" dependencies: @@ -9085,7 +9090,7 @@ fsevents@^1.2.7: resolution: "root-workspace-0b6124@workspace:." dependencies: "@babel/core": ^7.12.3 - "@polkadot/dev": ^0.59.19 + "@polkadot/dev": ^0.59.20 "@polkadot/ts": ^0.3.53 "@types/jest": ^26.0.15 languageName: unknown