From 6a5478919c0c390b26c97fcd881e5b2a5ffb437b Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 27 Feb 2021 14:59:31 +0100 Subject: [PATCH] Bump deps (#905) * Bump deps * Display mismatches when no dupes are detected * test expectation * adjust * One less || --- package.json | 4 +- packages/hw-ledger-transports/package.json | 2 +- packages/hw-ledger/package.json | 2 +- packages/hw-ledger/src/detectPackage.ts | 15 ---- packages/keyring/package.json | 2 +- packages/keyring/src/detectPackage.ts | 15 ---- packages/networks/package.json | 2 +- packages/networks/src/detectPackage.ts | 15 ---- packages/util-crypto/package.json | 2 +- packages/util-crypto/src/detectPackage.ts | 15 ---- packages/util/package.json | 2 +- packages/util/src/versionDetect.spec.ts | 19 +++-- packages/util/src/versionDetect.ts | 53 +++++------- packages/x-fetch/package.json | 2 +- packages/x-global/package.json | 2 +- packages/x-randomvalues/package.json | 2 +- packages/x-rxjs/package.json | 2 +- packages/x-textdecoder/package.json | 2 +- packages/x-textencoder/package.json | 2 +- packages/x-ws/package.json | 2 +- yarn.lock | 98 +++++++++++----------- 21 files changed, 101 insertions(+), 159 deletions(-) diff --git a/package.json b/package.json index 29276840c..76001615d 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "test:one": "polkadot-dev-run-test" }, "devDependencies": { - "@babel/core": "^7.13.1", - "@polkadot/dev": "^0.61.28", + "@babel/core": "^7.13.8", + "@polkadot/dev": "^0.61.30", "@polkadot/ts": "^0.3.59", "@types/jest": "^26.0.20" }, diff --git a/packages/hw-ledger-transports/package.json b/packages/hw-ledger-transports/package.json index 1ee0af20a..a0eddc2ea 100644 --- a/packages/hw-ledger-transports/package.json +++ b/packages/hw-ledger-transports/package.json @@ -11,7 +11,7 @@ "react-native": "react-native.js", "sideEffects": false, "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@ledgerhq/hw-transport-webusb": "^5.43.0" }, "devDependencies": { diff --git a/packages/hw-ledger/package.json b/packages/hw-ledger/package.json index 7394c0d26..44793ccf6 100644 --- a/packages/hw-ledger/package.json +++ b/packages/hw-ledger/package.json @@ -12,7 +12,7 @@ "./detectPackage.mjs" ], "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@polkadot/hw-ledger-transports": "5.8.2-4", "@polkadot/util": "^5.8.2-4", "@zondax/ledger-polkadot": "^0.13.1" diff --git a/packages/hw-ledger/src/detectPackage.ts b/packages/hw-ledger/src/detectPackage.ts index d2afd6278..0d3075d25 100644 --- a/packages/hw-ledger/src/detectPackage.ts +++ b/packages/hw-ledger/src/detectPackage.ts @@ -1,21 +1,6 @@ // Copyright 2017-2021 @polkadot/hw-ledger authors & contributors // SPDX-License-Identifier: Apache-2.0 -// For esm, this should be import.meta.url or to get the same behavior as __dirname, we can use -// -// new URL(import.meta.url).pathname) -// -// The issue is the WP4 has "some" issues with import.meta.url. So because of bundlers, we can't have -// nice things... In this case it is even worse since import.meta.url won't even make it compile, so -// there is a complete dead end with usage thereof -// -// When that is fixed, a solution is to have both .js & .mjs files, with the following content - -// -// cjs: util.detectPackage(packageInfo, () => __dirname); -// esm: detectPackage(packageInfo, () => import.meta.url); -// -// With the above we additionally need a .d.ts to just export the packageInfo - import { packageInfo as transportInfo } from '@polkadot/hw-ledger-transports/packageInfo'; import { detectPackage, packageInfo as utilInfo } from '@polkadot/util'; diff --git a/packages/keyring/package.json b/packages/keyring/package.json index 1ac6961ec..04ef93b67 100644 --- a/packages/keyring/package.json +++ b/packages/keyring/package.json @@ -15,7 +15,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/keyring#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@polkadot/util": "5.8.2-4", "@polkadot/util-crypto": "5.8.2-4" }, diff --git a/packages/keyring/src/detectPackage.ts b/packages/keyring/src/detectPackage.ts index d7f5eadda..6c171132b 100644 --- a/packages/keyring/src/detectPackage.ts +++ b/packages/keyring/src/detectPackage.ts @@ -1,21 +1,6 @@ // Copyright 2017-2021 @polkadot/keyring authors & contributors // SPDX-License-Identifier: Apache-2.0 -// For esm, this should be import.meta.url or to get the same behavior as __dirname, we can use -// -// new URL(import.meta.url).pathname) -// -// The issue is the WP4 has "some" issues with import.meta.url. So because of bundlers, we can't have -// nice things... In this case it is even worse since import.meta.url won't even make it compile, so -// there is a complete dead end with usage thereof -// -// When that is fixed, a solution is to have both .js & .mjs files, with the following content - -// -// cjs: util.detectPackage(packageInfo, () => __dirname); -// esm: detectPackage(packageInfo, () => import.meta.url); -// -// With the above we additionally need a .d.ts to just export the packageInfo - import { detectPackage, packageInfo as utilInfo } from '@polkadot/util'; import { packageInfo as cryptoInfo } from '@polkadot/util-crypto/packageInfo'; diff --git a/packages/networks/package.json b/packages/networks/package.json index bf6d4471b..58e07f3ca 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -15,7 +15,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/networks#readme", "dependencies": { - "@babel/runtime": "^7.13.7" + "@babel/runtime": "^7.13.8" }, "devDependencies": { "@polkadot/util": "5.8.2-4", diff --git a/packages/networks/src/detectPackage.ts b/packages/networks/src/detectPackage.ts index 6c953a130..1a7ff5115 100644 --- a/packages/networks/src/detectPackage.ts +++ b/packages/networks/src/detectPackage.ts @@ -1,21 +1,6 @@ // Copyright 2017-2021 @polkadot/keyring authors & contributors // SPDX-License-Identifier: Apache-2.0 -// For esm, this should be import.meta.url or to get the same behavior as __dirname, we can use -// -// new URL(import.meta.url).pathname) -// -// The issue is the WP4 has "some" issues with import.meta.url. So because of bundlers, we can't have -// nice things... In this case it is even worse since import.meta.url won't even make it compile, so -// there is a complete dead end with usage thereof -// -// When that is fixed, a solution is to have both .js & .mjs files, with the following content - -// -// cjs: util.detectPackage(packageInfo, () => __dirname); -// esm: detectPackage(packageInfo, () => import.meta.url); -// -// With the above we additionally need a .d.ts to just export the packageInfo - import { detectPackage, packageInfo as utilInfo } from '@polkadot/util'; import { packageInfo as fetchInfo } from '@polkadot/x-fetch'; diff --git a/packages/util-crypto/package.json b/packages/util-crypto/package.json index 8b3cd46f1..4b32bf576 100644 --- a/packages/util-crypto/package.json +++ b/packages/util-crypto/package.json @@ -15,7 +15,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@polkadot/networks": "5.8.2-4", "@polkadot/util": "5.8.2-4", "@polkadot/wasm-crypto": "^3.2.4", diff --git a/packages/util-crypto/src/detectPackage.ts b/packages/util-crypto/src/detectPackage.ts index aa2e8daf5..0bb48c871 100644 --- a/packages/util-crypto/src/detectPackage.ts +++ b/packages/util-crypto/src/detectPackage.ts @@ -1,21 +1,6 @@ // Copyright 2017-2021 @polkadot/util-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 -// For esm, this should be import.meta.url or to get the same behavior as __dirname, we can use -// -// new URL(import.meta.url).pathname) -// -// The issue is the WP4 has "some" issues with import.meta.url. So because of bundlers, we can't have -// nice things... In this case it is even worse since import.meta.url won't even make it compile, so -// there is a complete dead end with usage thereof -// -// When that is fixed, a solution is to have both .js & .mjs files, with the following content - -// -// cjs: util.detectPackage(packageInfo, () => __dirname); -// esm: detectPackage(packageInfo, () => import.meta.url); -// -// With the above we additionally need a .d.ts to just export the packageInfo - import { packageInfo as netInfo } from '@polkadot/networks/packageInfo'; import { detectPackage, packageInfo as utilInfo } from '@polkadot/util'; import { packageInfo as randomInfo } from '@polkadot/x-randomvalues'; diff --git a/packages/util/package.json b/packages/util/package.json index 810b84d78..abc5996ca 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -15,7 +15,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/util#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@polkadot/x-textdecoder": "5.8.2-4", "@polkadot/x-textencoder": "5.8.2-4", "@types/bn.js": "^4.11.6", diff --git a/packages/util/src/versionDetect.spec.ts b/packages/util/src/versionDetect.spec.ts index 599911889..08f7d6f54 100644 --- a/packages/util/src/versionDetect.spec.ts +++ b/packages/util/src/versionDetect.spec.ts @@ -9,8 +9,12 @@ describe('detectPackage', (): void => { const VER2 = '9.7.1'; const VER3 = '9.6.1'; const PATH = '/Users/jaco/Projects/polkadot-js/api/node_modules/@polkadot/util'; - const RES2 = `Multiple instances of @polkadot/util detected, ensure that there is only one package in your dependency tree.\n\t${VER1}\t${PATH}/01\n\t${VER2} \t${PATH}/02`; - const RES3 = `${RES2}\n\t${VER3} \t${PATH}/03`; + + const MISMATCH = `@polkadot/util has multiple versions, ensure that there is only one installed. +Either remove and explicitly install matching versions or deupe using your package manager. +The following conflicting packages were found: +\t${VER1}\t${PATH}/01 +\t${VER2} \t${PATH}/02`; it('should not log the first time', (): void => { const spy = jest.spyOn(console, 'warn'); @@ -24,7 +28,7 @@ describe('detectPackage', (): void => { const spy = jest.spyOn(console, 'warn'); detectPackage({ name: PKG, version: VER2 }, `${PATH}/02`); - expect(spy).toHaveBeenCalledWith(RES2); + expect(spy).toHaveBeenCalledWith(MISMATCH); spy.mockRestore(); }); @@ -32,7 +36,8 @@ describe('detectPackage', (): void => { const spy = jest.spyOn(console, 'warn'); detectPackage({ name: PKG, version: VER3 }, () => `${PATH}/03`); - expect(spy).toHaveBeenCalledWith(RES3); + expect(spy).toHaveBeenCalledWith(`${MISMATCH} +\t${VER3} \t${PATH}/03`); spy.mockRestore(); }); }); @@ -55,7 +60,11 @@ describe('detectPackageDeps', (): void => { const spy = jest.spyOn(console, 'warn'); detectPackage({ name: '@polkadot/two', version: '1.1.1' }, false, [DEP0, DEP1, DEP2, DEP3]); - expect(spy).toHaveBeenCalled(); + expect(spy).toHaveBeenCalledWith(`@polkadot/two requires direct dependencies exactly matching version 1.1.1. +Either remove and explicitly install matching versions or deupe using your package manager. +The following conflicting packages were found: +\t1.1.2\t@polkadot/util +\t1.1.3\t@polkadot/util-crypto`); spy.mockRestore(); }); }); diff --git a/packages/util/src/versionDetect.ts b/packages/util/src/versionDetect.ts index 4b8521c38..b024d0cb2 100644 --- a/packages/util/src/versionDetect.ts +++ b/packages/util/src/versionDetect.ts @@ -7,7 +7,6 @@ import { isFunction } from './is/function'; import { isString } from './is/string'; import { assert } from './assert'; -// eslint-disable-next-line no-undef type This = typeof globalThis; interface PackageJson { @@ -27,10 +26,7 @@ interface PjsChecks extends This { type PjsWindow = (Window & This) & PjsChecks; type FnString = () => string | undefined; -/** @internal */ -function expandPath (path?: string): string { - return (!path || path.length < 5) ? '' : path; -} +const DEDUPE = 'Either remove and explicitly install matching versions or deupe using your package manager.\nThe following conflicting packages were found:'; /** @internal */ function getEntry (name: string): VersionPath[] { @@ -47,9 +43,13 @@ function getEntry (name: string): VersionPath[] { return _global.__polkadotjs[name]; } +function getVersionLength (all: { version: string }[]): number { + return all.reduce((max, { version }) => Math.max(max, version.length), 0); +} + /** @internal */ function flattenInfos (all: PackageJson[]): string { - const verLength = all.reduce((max, { version }) => Math.max(max, version.length), 0); + const verLength = getVersionLength(all); return all .map(({ name, version }) => `\t${version.padEnd(verLength)}\t${name}`) @@ -63,51 +63,44 @@ function flattenVersions (entry: VersionPath[]): string { ? { version } : version ); - const verLength = all.reduce((max, { version }) => Math.max(max, version.length), 0); + const verLength = getVersionLength(all); return all - .map(({ path, version }) => `\t${version.padEnd(verLength)}\t${expandPath(path)}`) + .map(({ path, version }) => `\t${version.padEnd(verLength)}\t${(!path || path.length < 5) ? '' : path}`) .join('\n'); } /** @internal */ -function getPath (pathOrFn?: FnString | string | false): false | string | undefined { +function getPath (pathOrFn?: FnString | string | false): string { if (isFunction(pathOrFn)) { try { - return pathOrFn(); + return pathOrFn() || ''; } catch (error) { - return undefined; + return ''; } } - return pathOrFn; -} - -/** - * @internal - */ -function detectPackageDeps (info: PackageJson, deps: PackageJson[]): void { - const mismatches = deps.filter((d) => !!d).filter(({ version }) => info.version !== version); - - if (mismatches.length) { - console.warn(`${info.name} ${info.version} requires direct dependencies with the same version. The following mismatches were found:\n${flattenInfos(mismatches)}`); - } + return pathOrFn || ''; } /** * @name detectPackage * @summary Checks that a specific package is only imported once */ -export function detectPackage (info: PackageJson, pathOrFn?: FnString | string | false, deps: PackageJson[] = []): void { - assert(info.name.startsWith('@polkadot'), `Invalid package descriptor ${info.name}`); +export function detectPackage ({ name, version }: PackageJson, pathOrFn?: FnString | string | false, deps: PackageJson[] = []): void { + assert(name.startsWith('@polkadot'), `Invalid package descriptor ${name}`); - const entry = getEntry(info.name); + const entry = getEntry(name); - entry.push({ path: getPath(pathOrFn) || '', version: info.version }); + entry.push({ path: getPath(pathOrFn), version }); if (entry.length !== 1) { - console.warn(`Multiple instances of ${info.name} detected, ensure that there is only one package in your dependency tree.\n${flattenVersions(entry)}`); - } + console.warn(`${name} has multiple versions, ensure that there is only one installed.\n${DEDUPE}\n${flattenVersions(entry)}`); + } else { + const mismatches = deps.filter((d) => d && d.version !== version); - detectPackageDeps(info, deps); + if (mismatches.length) { + console.warn(`${name} requires direct dependencies exactly matching version ${version}.\n${DEDUPE}\n${flattenInfos(mismatches)}`); + } + } } diff --git a/packages/x-fetch/package.json b/packages/x-fetch/package.json index 17f6e3b62..6b01e1257 100644 --- a/packages/x-fetch/package.json +++ b/packages/x-fetch/package.json @@ -14,7 +14,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-fetch#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@polkadot/x-global": "5.8.2-4", "@types/node-fetch": "^2.5.8", "node-fetch": "^2.6.1" diff --git a/packages/x-global/package.json b/packages/x-global/package.json index a81de17c5..e2145f4a4 100644 --- a/packages/x-global/package.json +++ b/packages/x-global/package.json @@ -12,7 +12,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-global#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@types/node-fetch": "^2.5.8", "node-fetch": "^2.6.1" } diff --git a/packages/x-randomvalues/package.json b/packages/x-randomvalues/package.json index 4db6e4ac3..2b3a4ab92 100644 --- a/packages/x-randomvalues/package.json +++ b/packages/x-randomvalues/package.json @@ -14,7 +14,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-randomvalues#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@polkadot/x-global": "5.8.2-4" }, "devDependencies": { diff --git a/packages/x-rxjs/package.json b/packages/x-rxjs/package.json index b1e20b3ce..bf137e190 100644 --- a/packages/x-rxjs/package.json +++ b/packages/x-rxjs/package.json @@ -12,7 +12,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-rxjs#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "rxjs": "^6.6.6" } } diff --git a/packages/x-textdecoder/package.json b/packages/x-textdecoder/package.json index 366ce664a..459a937bb 100644 --- a/packages/x-textdecoder/package.json +++ b/packages/x-textdecoder/package.json @@ -14,7 +14,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-textdecoder#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@polkadot/x-global": "5.8.2-4" } } diff --git a/packages/x-textencoder/package.json b/packages/x-textencoder/package.json index 1e218d265..945db5447 100644 --- a/packages/x-textencoder/package.json +++ b/packages/x-textencoder/package.json @@ -14,7 +14,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-textencoder#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@polkadot/x-global": "5.8.2-4" } } diff --git a/packages/x-ws/package.json b/packages/x-ws/package.json index 529e7a8c3..d086bedc1 100644 --- a/packages/x-ws/package.json +++ b/packages/x-ws/package.json @@ -14,7 +14,7 @@ "bugs": "https://github.com/polkadot-js/common/issues", "homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-ws#readme", "dependencies": { - "@babel/runtime": "^7.13.7", + "@babel/runtime": "^7.13.8", "@polkadot/x-global": "5.8.2-4", "@types/websocket": "^1.0.1", "websocket": "^1.0.33" diff --git a/yarn.lock b/yarn.lock index 403832370..a2d6a017a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -51,23 +51,23 @@ __metadata: languageName: node linkType: hard -"@babel/compat-data@npm:^7.13.0, @babel/compat-data@npm:^7.13.5": - version: 7.13.6 - resolution: "@babel/compat-data@npm:7.13.6" - checksum: 0bed7ac3e2c4597140e56db034e2b7a664516c7f094ee521a15efee814a208e3937fd9a5ac12e8d3d6ccfcbbfd35ceced75163fc7b2d9ca71b48d8fcfbc6f990 +"@babel/compat-data@npm:^7.13.0, @babel/compat-data@npm:^7.13.5, @babel/compat-data@npm:^7.13.8": + version: 7.13.8 + resolution: "@babel/compat-data@npm:7.13.8" + checksum: e07e24737973206dd17439224945a354352ce0896d5a0bdd22fc637464eb650bdf6651a42352dc35fa8d55842ce1b66e545a1e3c096ee8f45947dcc32a44be44 languageName: node linkType: hard -"@babel/core@npm:7.13.1, @babel/core@npm:^7.1.0, @babel/core@npm:^7.13.1, @babel/core@npm:^7.7.5": - version: 7.13.1 - resolution: "@babel/core@npm:7.13.1" +"@babel/core@npm:7.13.8, @babel/core@npm:^7.1.0, @babel/core@npm:^7.13.1, @babel/core@npm:^7.13.8, @babel/core@npm:^7.7.5": + version: 7.13.8 + resolution: "@babel/core@npm:7.13.8" dependencies: "@babel/code-frame": ^7.12.13 "@babel/generator": ^7.13.0 - "@babel/helper-compilation-targets": ^7.13.0 + "@babel/helper-compilation-targets": ^7.13.8 "@babel/helper-module-transforms": ^7.13.0 "@babel/helpers": ^7.13.0 - "@babel/parser": ^7.13.0 + "@babel/parser": ^7.13.4 "@babel/template": ^7.12.13 "@babel/traverse": ^7.13.0 "@babel/types": ^7.13.0 @@ -76,9 +76,9 @@ __metadata: gensync: ^1.0.0-beta.2 json5: ^2.1.2 lodash: ^4.17.19 - semver: 7.0.0 + semver: ^6.3.0 source-map: ^0.5.0 - checksum: 3adc8e8ce201f7e45a83c6715b11b353e5083339cf32dc84db10bda63b63e4cd785b57ee8d51e0e049a60ebbbf7cd45d594475b6511607b57917076fd5acd888 + checksum: f3c61e635aa41e127775d1191a65aedd4cf90008625eb93ddbd86214ebae6b0793cefd10503b2a4df8aa510d0e1108dfd15e29bde9bbffc899a50015f56f49c4 languageName: node linkType: hard @@ -112,17 +112,17 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.13.0": - version: 7.13.0 - resolution: "@babel/helper-compilation-targets@npm:7.13.0" +"@babel/helper-compilation-targets@npm:^7.13.0, @babel/helper-compilation-targets@npm:^7.13.8": + version: 7.13.8 + resolution: "@babel/helper-compilation-targets@npm:7.13.8" dependencies: - "@babel/compat-data": ^7.13.0 + "@babel/compat-data": ^7.13.8 "@babel/helper-validator-option": ^7.12.17 browserslist: ^4.14.5 - semver: 7.0.0 + semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: 55a5af52e24e21ad8033178e55e6fd480375f0c1558ab80de9927c62635fc10ba9e7345020a3c8ad254b8312f21aa9b1198c65043a50671a520c9439bac03fcc + checksum: dbee371e5ff226bb03a036d1af858f038ab6e71fac1ff5014bf69411b71af187bcdb0e49d5352ec5ef5e83186c9b88ee83b74295ba900691095b31017ec59f89 languageName: node linkType: hard @@ -358,7 +358,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.0.0, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.13, @babel/parser@npm:^7.13.0": +"@babel/parser@npm:^7.0.0, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.13, @babel/parser@npm:^7.13.0, @babel/parser@npm:^7.13.4": version: 7.13.4 resolution: "@babel/parser@npm:7.13.4" bin: @@ -1048,19 +1048,19 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-runtime@npm:^7.13.6": - version: 7.13.6 - resolution: "@babel/plugin-transform-runtime@npm:7.13.6" +"@babel/plugin-transform-runtime@npm:^7.13.7": + version: 7.13.8 + resolution: "@babel/plugin-transform-runtime@npm:7.13.8" dependencies: "@babel/helper-module-imports": ^7.12.13 "@babel/helper-plugin-utils": ^7.13.0 babel-plugin-polyfill-corejs2: ^0.1.4 babel-plugin-polyfill-corejs3: ^0.1.3 babel-plugin-polyfill-regenerator: ^0.1.2 - semver: 7.0.0 + semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 48d5f62f08fd3f410a580c7a242797651cae99453c18331ac4b7af2510deb3b8c877b3f6395605d675ce708994c6c163b0a678ca9f974fede5d631f642c6e299 + checksum: 481c3cdcd500eb29fe2cb5410570c63dbd06b909e66985c3e5b5f6b2d38b59fb013fd64a0f48f4f50bff866eddde1c17f7c0a5733835ba1176db76e2aa05fde4 languageName: node linkType: hard @@ -1292,12 +1292,12 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.6, @babel/runtime@npm:^7.13.7, @babel/runtime@npm:^7.8.4": - version: 7.13.7 - resolution: "@babel/runtime@npm:7.13.7" +"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.7, @babel/runtime@npm:^7.13.8, @babel/runtime@npm:^7.8.4": + version: 7.13.8 + resolution: "@babel/runtime@npm:7.13.8" dependencies: regenerator-runtime: ^0.13.4 - checksum: 8be9fd44bb684ad42069170ca1bce9e225af7bc13861f5ac9c2517b6f1c585fb167cedb54f1a0c5b3f26a8391a9e1afef874829df494d945398d3f67b39e6116 + checksum: d8db125d3629c4000322e8264d7510640ac671136f416d1fcd4b74d26d7e703bf671820fab81a29a5ee0bd11e981de518666619398ec29b1ab5e155ab8131812 languageName: node linkType: hard @@ -1849,9 +1849,9 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev@npm:^0.61.28": - version: 0.61.28 - resolution: "@polkadot/dev@npm:0.61.28" +"@polkadot/dev@npm:^0.61.30": + version: 0.61.30 + resolution: "@polkadot/dev@npm:0.61.30" dependencies: "@babel/cli": ^7.13.0 "@babel/core": ^7.13.1 @@ -1866,12 +1866,12 @@ __metadata: "@babel/plugin-syntax-import-meta": ^7.10.4 "@babel/plugin-syntax-top-level-await": ^7.12.13 "@babel/plugin-transform-regenerator": ^7.12.13 - "@babel/plugin-transform-runtime": ^7.13.6 + "@babel/plugin-transform-runtime": ^7.13.7 "@babel/preset-env": ^7.13.5 "@babel/preset-react": ^7.12.13 "@babel/preset-typescript": ^7.13.0 "@babel/register": ^7.13.0 - "@babel/runtime": ^7.13.6 + "@babel/runtime": ^7.13.7 "@rushstack/eslint-patch": ^1.0.6 "@typescript-eslint/eslint-plugin": 4.15.2 "@typescript-eslint/parser": 4.15.2 @@ -1912,7 +1912,7 @@ __metadata: typedoc: ^0.20.28 typedoc-plugin-markdown: ^3.5.0 typedoc-plugin-no-inherit: ^1.2.0 - typescript: ^4.2.2 + typescript: ^4.1.5 yargs: ^16.2.0 bin: polkadot-ci-ghact-build: scripts/polkadot-ci-ghact-build.cjs @@ -1935,7 +1935,7 @@ __metadata: polkadot-exec-tsc: scripts/polkadot-exec-tsc.cjs polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.cjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.cjs - checksum: 27be98f0da27d4087cc245c4fd45ee4bfa7bf0fbb09b7d2691b6934f48e14c0991b8c8751e65aa0e51dc73923e2023bc46111b14ae6864ad7900eed590b35de7 + checksum: 786a7d09e6397fbc36de0fc0c657eb9e3807ba4e5b017b64d19341c8c7c49f3faed5be3e47bd5ec7746490636ac4091866469a1667402b6cb987a19dc8143bbb languageName: node linkType: hard @@ -1943,7 +1943,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@ledgerhq/hw-transport-node-hid-singleton": ^5.43.0 "@ledgerhq/hw-transport-webusb": ^5.43.0 "@types/ledgerhq__hw-transport-node-hid": ^4.22.2 @@ -1958,7 +1958,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/hw-ledger@workspace:packages/hw-ledger" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/hw-ledger-transports": 5.8.2-4 "@polkadot/util": ^5.8.2-4 "@zondax/ledger-polkadot": ^0.13.1 @@ -1969,7 +1969,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/keyring@workspace:packages/keyring" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/util": 5.8.2-4 "@polkadot/util-crypto": 5.8.2-4 peerDependencies: @@ -1982,7 +1982,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/networks@workspace:packages/networks" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/util": 5.8.2-4 "@polkadot/x-fetch": 5.8.2-4 languageName: unknown @@ -2001,7 +2001,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/util-crypto@workspace:packages/util-crypto" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/networks": 5.8.2-4 "@polkadot/util": 5.8.2-4 "@polkadot/wasm-crypto": ^3.2.4 @@ -2031,7 +2031,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/util@workspace:packages/util" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/x-textdecoder": 5.8.2-4 "@polkadot/x-textencoder": 5.8.2-4 "@types/bn.js": ^4.11.6 @@ -2077,7 +2077,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-fetch@workspace:packages/x-fetch" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/x-global": 5.8.2-4 "@types/node-fetch": ^2.5.8 node-fetch: ^2.6.1 @@ -2088,7 +2088,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-global@workspace:packages/x-global" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@types/node-fetch": ^2.5.8 node-fetch: ^2.6.1 languageName: unknown @@ -2098,7 +2098,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-randomvalues@workspace:packages/x-randomvalues" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/x-global": 5.8.2-4 "@types/react-native": ^0.63.50 languageName: unknown @@ -2108,7 +2108,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-rxjs@workspace:packages/x-rxjs" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 rxjs: ^6.6.6 languageName: unknown linkType: soft @@ -2117,7 +2117,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-textdecoder@workspace:packages/x-textdecoder" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/x-global": 5.8.2-4 languageName: unknown linkType: soft @@ -2126,7 +2126,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-textencoder@workspace:packages/x-textencoder" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/x-global": 5.8.2-4 languageName: unknown linkType: soft @@ -2135,7 +2135,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-ws@workspace:packages/x-ws" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@polkadot/x-global": 5.8.2-4 "@types/websocket": ^1.0.1 websocket: ^1.0.33 @@ -9551,8 +9551,8 @@ fsevents@~2.1.2: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@babel/core": ^7.13.1 - "@polkadot/dev": ^0.61.28 + "@babel/core": ^7.13.8 + "@polkadot/dev": ^0.61.30 "@polkadot/ts": ^0.3.59 "@types/jest": ^26.0.20 languageName: unknown