Socket
Socket
Sign inDemoInstall

isurl

Package Overview
Dependencies
3
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-alpha6 to 1.0.0

4

index.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc