Skip to content

Commit

Permalink
fix: use url instead of url-parse, also move it to devDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-kubula committed Mar 19, 2021
1 parent e138fbc commit 6c982e9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 22 deletions.
2 changes: 1 addition & 1 deletion lib/units/validateURI.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const parse = require('url-parse');
const { parse } = require('url');
const deepEqual = require('deep-equal');

/**
Expand Down
41 changes: 23 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
"deep-equal": "2.0.5",
"http-string-parser": "0.0.6",
"media-typer": "1.1.0",
"tv4": "1.3.0",
"url-parse": "1.5.1"
"tv4": "1.3.0"
},
"devDependencies": {
"@rollup/plugin-json": "4.1.0",
Expand All @@ -67,7 +66,8 @@
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "7.0.2",
"semantic-release": "17.4.2",
"sinon": "9.2.4"
"sinon": "9.2.4",
"url": "0.11.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 6c982e9

Please sign in to comment.