Swap to @scure/base (micro-base rename) (#1392)

This commit is contained in:
Jaco
2022-01-26 07:40:28 +02:00
committed by GitHub
parent d5c541db67
commit e7d454787d
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -37,8 +37,8 @@
"@polkadot/wasm-crypto": "^4.5.1",
"@polkadot/x-bigint": "8.3.4-0",
"@polkadot/x-randomvalues": "8.3.4-0",
"@scure/base": "1.0.0-rc1",
"ed2curve": "^0.3.0",
"micro-base": "^0.10.2",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2022 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { utils } from 'micro-base';
import { utils } from '@scure/base';
import { createDecode, createEncode, createIs, createValidate } from './helpers';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2022 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { base58 } from 'micro-base';
import { base58 } from '@scure/base';
import { createDecode, createEncode, createIs, createValidate } from '../base32/helpers';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2022 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { base64 } from 'micro-base';
import { base64 } from '@scure/base';
import { createDecode, createEncode, createIs, createValidate } from '../base32/helpers';
+8 -8
View File
@@ -2115,9 +2115,9 @@ __metadata:
"@polkadot/wasm-crypto": ^4.5.1
"@polkadot/x-bigint": 8.3.4-0
"@polkadot/x-randomvalues": 8.3.4-0
"@scure/base": 1.0.0-rc1
"@types/ed2curve": ^0.2.2
ed2curve: ^0.3.0
micro-base: ^0.10.2
tweetnacl: ^1.0.3
peerDependencies:
"@polkadot/util": 8.3.4-0
@@ -2337,6 +2337,13 @@ __metadata:
languageName: node
linkType: hard
"@scure/base@npm:1.0.0-rc1":
version: 1.0.0-rc1
resolution: "@scure/base@npm:1.0.0-rc1"
checksum: 53a26a1cf674b845b66e480c37710101cfa72b61845aaecfef82ffe236a0a380b1f95865f41e335f7008985852b5e8211016f4413f8628af41a5ed2f0d64569a
languageName: node
linkType: hard
"@sindresorhus/is@npm:^0.14.0":
version: 0.14.0
resolution: "@sindresorhus/is@npm:0.14.0"
@@ -7652,13 +7659,6 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"micro-base@npm:^0.10.2":
version: 0.10.2
resolution: "micro-base@npm:0.10.2"
checksum: 4fcc9fb80cca021c5157e63d76188e3742a8f1ac5a90b1022a34cd715bf8ab19bbd82b71b908f0cf1cf6983d39533fe1aef4f24f2c0b09ec9d862fdaf5bf26ab
languageName: node
linkType: hard
"micromatch@npm:^4.0.2, micromatch@npm:^4.0.4":
version: 4.0.4
resolution: "micromatch@npm:4.0.4"