Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

Commit 068030d

Browse files
authored
chore: remove web-encoding (#89)
TextEncoder and TextDecoder are supported everywhere we run so the extra dep is not necessary.
1 parent 27fc923 commit 068030d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
"release-major": "aegir release --type major"
3232
},
3333
"dependencies": {
34-
"@multiformats/base-x": "^4.0.1",
35-
"web-encoding": "^1.1.0"
34+
"@multiformats/base-x": "^4.0.1"
3635
},
3736
"devDependencies": {
3837
"aegir": "^31.0.0",

src/util.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
'use strict'
22

3-
// @ts-ignore
4-
const { TextEncoder, TextDecoder } = require('web-encoding')
5-
63
const textDecoder = new TextDecoder()
74
/**
85
* @param {ArrayBufferView|ArrayBuffer} bytes

0 commit comments

Comments
 (0)