Skip to content

Commit

Permalink
Make re2 an optional peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNovak committed Dec 7, 2021
1 parent 96484cf commit 58b9a1a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion package.json
Expand Up @@ -17,9 +17,16 @@
],
"dependencies": {
"ip-regex": "^4.3.0",
"re2": "^1.16.0",
"tlds": "^1.217.0"
},
"peerDependencies": {
"re2": "^1.16.0"
},
"peerDependenciesMeta": {
"re2": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.12.16",
"@babel/core": "^7.12.16",
Expand Down

0 comments on commit 58b9a1a

Please sign in to comment.