Skip to content

Commit 8fe5c4e

Browse files
ciffeliaLinusU
andauthored
2.x: Specify encoding as an optional peer dependency in package.json (#1310)
* Specify `encoding` as an optional peer dependency * Update package.json Co-authored-by: Linus Unnebäck <[email protected]> Co-authored-by: Linus Unnebäck <[email protected]>
1 parent f56b0c6 commit 8fe5c4e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
"dependencies": {
4040
"whatwg-url": "^5.0.0"
4141
},
42+
"peerDependencies": {
43+
"encoding": "^0.1.0"
44+
},
45+
"peerDependenciesMeta": {
46+
"encoding": {
47+
"optional": true
48+
}
49+
},
4250
"devDependencies": {
4351
"@ungap/url-search-params": "^0.1.2",
4452
"abort-controller": "^1.1.0",

0 commit comments

Comments
 (0)