normalize-url
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -9,3 +9,3 @@ 'use strict'; | ||
module.exports = (urlString, options) => { | ||
const normalizeUrl = (urlString, options) => { | ||
options = { | ||
@@ -82,2 +82,3 @@ defaultProtocol: 'http:', | ||
} | ||
return '/'; | ||
@@ -158,1 +159,4 @@ }); | ||
}; | ||
module.exports = normalizeUrl; | ||
module.exports.default = normalizeUrl; |
{ | ||
"name": "normalize-url", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Normalize a URL", | ||
@@ -16,6 +16,7 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "xo && nyc ava" | ||
"test": "xo && nyc ava && tsd-check" | ||
}, | ||
"files": [ | ||
"index.js" | ||
"index.js", | ||
"index.d.ts" | ||
], | ||
@@ -38,7 +39,8 @@ "keywords": [ | ||
"devDependencies": { | ||
"ava": "^0.25.0", | ||
"ava": "^1.2.1", | ||
"coveralls": "^3.0.0", | ||
"nyc": "^13.1.0", | ||
"xo": "^0.23.0" | ||
"tsd-check": "^0.3.0", | ||
"xo": "^0.24.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15601
5
299
5