Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-url-superb

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-url-superb - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

5

index.js

@@ -8,2 +8,7 @@ 'use strict';

string = string.trim();
if (string.includes(' ')) {
return false;
}
try {

@@ -10,0 +15,0 @@ new URL(string); // eslint-disable-line no-new

6

package.json
{
"name": "is-url-superb",
"version": "4.0.0",
"version": "5.0.0",
"description": "Check if a string is a URL",

@@ -33,5 +33,5 @@ "license": "MIT",

"ava": "^2.4.0",
"tsd": "^0.11.0",
"xo": "^0.32.0"
"tsd": "^0.13.1",
"xo": "^0.35.0"
}
}

@@ -1,2 +0,2 @@

# is-url-superb [![Build Status](https://travis-ci.com/sindresorhus/is-url-superb.svg?branch=master)](https://travis-ci.com/github/sindresorhus/is-url-superb)
# is-url-superb

@@ -3,0 +3,0 @@ > Check if a string is a URL

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc