Skip to content

Commit

Permalink
2.x: Specify encoding as an optional peer dependency in package.json (#…
Browse files Browse the repository at this point in the history
…1310)

* Specify `encoding` as an optional peer dependency

* Update package.json

Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>

Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
  • Loading branch information
ciffelia and LinusU committed Nov 5, 2021
1 parent f56b0c6 commit 8fe5c4e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Expand Up @@ -39,6 +39,14 @@
"dependencies": {
"whatwg-url": "^5.0.0"
},
"peerDependencies": {
"encoding": "^0.1.0"
},
"peerDependenciesMeta": {
"encoding": {
"optional": true
}
},
"devDependencies": {
"@ungap/url-search-params": "^0.1.2",
"abort-controller": "^1.1.0",
Expand Down

0 comments on commit 8fe5c4e

Please sign in to comment.