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

is2

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is2 - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

14

index.js

@@ -241,3 +241,3 @@ /**

/**
* Test if 'value' is a uuid.
* Test if 'value' is a uuid (v1-v5)
* @param {Any} value to test.

@@ -1240,1 +1240,13 @@ * @return {Boolean} true if 'value is a valid RFC4122 UUID. Case non-specific.

is.phone = is.phoneNumber;
/**
* Test is a string is a valid URL
* @param {string} val - the possible url to check
* @return true if str contains a phone number, false otherwise.
*/
var isUrl = require('is-url');
is.url = function(val) {
return isUrl(val);
};
is.uri = is.url;

5

package.json
{
"name": "is2",
"version": "1.0.3",
"version": "1.0.4",
"description": "A type checking library where each exported function returns either true or false and does not throw. Also added tests.",

@@ -48,3 +48,4 @@ "license": "MIT",

"dependencies": {
"deep-is": "0.1.3",
"deep-is": "^0.1.3",
"is-url": "^1.2.1",
"objectid": "^3.2.1"

@@ -51,0 +52,0 @@ },

@@ -110,2 +110,3 @@ is2

* is.systemPort(val) - is.sysPort
* is.url(val) - is.uri
* is.userPort(val)

@@ -112,0 +113,0 @@

Sorry, the diff of this file is too big to display

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