isurl
Advanced tools
Comparing version 1.0.0-alpha6 to 1.0.0
@@ -21,3 +21,3 @@ "use strict"; | ||
function isURL(url, supportIncomplete/*=false*/) | ||
const isURL = (url, supportIncomplete/*=false*/) => | ||
{ | ||
@@ -52,3 +52,3 @@ if (!isObject(url)) return false; | ||
isURL.lenient = function(url) | ||
isURL.lenient = url => | ||
{ | ||
@@ -55,0 +55,0 @@ return isURL(url, true); |
{ | ||
"name": "isurl", | ||
"description": "Checks whether a value is a WHATWG URL.", | ||
"version": "1.0.0-alpha6", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
@@ -13,6 +13,6 @@ "author": "Steven Vachon <contact@svachon.com> (https://www.svachon.com/)", | ||
"devDependencies": { | ||
"chai": "^4.0.0", | ||
"chai": "^4.0.2", | ||
"mocha": "^3.4.2", | ||
"universal-url": "^1.0.0-alpha", | ||
"whatwg-url": "^5.0.0" | ||
"semver": "^5.3.0", | ||
"universal-url": "^1.0.0" | ||
}, | ||
@@ -23,3 +23,3 @@ "engines": { | ||
"scripts": { | ||
"test": "mocha test --reporter spec --check-leaks --bail" | ||
"test": "mocha test --check-leaks --bail" | ||
}, | ||
@@ -26,0 +26,0 @@ "files": [ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
4025