New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lvchengbin/is

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lvchengbin/is - npm Package Compare versions

Comparing version 0.0.15 to 0.0.17

7

dist/is.bc.js

@@ -215,3 +215,3 @@ (function (global, factory) {

function isIPv6 (ip) {
function ipv6 (ip) {
/**

@@ -270,2 +270,4 @@ * An IPv6 address should have at least one colon(:)

function isIP (ip) { return ipv4( ip ) || ipv6( ip ); }
/**

@@ -323,4 +325,5 @@ * Private IPv4 address

class : isClass,
ip : isIP,
ipv4 : ipv4,
ipv6 : isIPv6,
ipv6 : ipv6,
privateIPv4 : isPrivateIPv4,

@@ -327,0 +330,0 @@ generator: generator

@@ -201,3 +201,3 @@ 'use strict';

var isIPv6 = ip => {
var ipv6 = ip => {
/**

@@ -256,2 +256,4 @@ * An IPv6 address should have at least one colon(:)

var isIP = ip => ipv4( ip ) || ipv6( ip );
/**

@@ -309,4 +311,5 @@ * Private IPv4 address

class : isClass,
ip : isIP,
ipv4 : ipv4,
ipv6 : isIPv6,
ipv6 : ipv6,
privateIPv4 : isPrivateIPv4,

@@ -313,0 +316,0 @@ generator

@@ -205,3 +205,3 @@ (function (global, factory) {

var isIPv6 = ip => {
var ipv6 = ip => {
/**

@@ -260,2 +260,4 @@ * An IPv6 address should have at least one colon(:)

var isIP = ip => ipv4( ip ) || ipv6( ip );
/**

@@ -313,4 +315,5 @@ * Private IPv4 address

class : isClass,
ip : isIP,
ipv4 : ipv4,
ipv6 : isIPv6,
ipv6 : ipv6,
privateIPv4 : isPrivateIPv4,

@@ -317,0 +320,0 @@ generator

{
"name": "@lvchengbin/is",
"version": "0.0.15",
"version": "0.0.17",
"description": "A library, which is possible to be imported as ES6 module separately, for checking the type of a value.",

@@ -5,0 +5,0 @@ "keywords": "is check types es6",

@@ -53,4 +53,4 @@ # Is

|:--|:--|:--|
| is.arguments | import isArguments from '@lvchengbin/is/src/arguments' | |
| is.array | import isArray from '@lvchengbin/is/src/array' | |
| is.arguments | import isArguments from '@lvchengbin/is/src/arguments' |
| is.array | import isArray from '@lvchengbin/is/src/array' |
| is.arrowFunction | import isArrowFunction from '@lvchengbin/is/src/arrow-function' |

@@ -64,3 +64,3 @@ | is.asyncFunction | import isAsyncFunction from '@lvchengbin/is/src/async-function' |

| is.error | import isError from '@lvchengbin/is/src/error' |
| is.false | import isFalse from '@lvchengbin/is/src/false' | |
| is.false | import isFalse from '@lvchengbin/is/src/false' |
| is.function | import isFunction from '@lvchengbin/is/src/function' |

@@ -84,5 +84,4 @@ | is.integer | import isInteger from '@lvchengbin/is/src/integer' |

| is.ipv4 | import isIPv4 from '@lvchengbin/is/src/ipv4' |
| is.ipv6 | import isIPv6 from '@lvchengbin/is/src/ipv6' | ???? |
| is.ip | import isIP from '@lvchengbin/is/src/ip' | ???? |
| is.domain | import isDomain from '@lvchengbin/is/src/domain' | ???? |
| is.ipv6 | import isIPv6 from '@lvchengbin/is/src/ipv6' |
| is.ip | import isIP from '@lvchengbin/is/src/ip' |
| is.generator | import isGenerator from '@lvchengbin/is/src/generator' |

@@ -89,0 +88,0 @@

@@ -28,2 +28,3 @@ import isArguments from './arguments';

import isClass from './class';
import isIP from './ip';
import isIPv4 from './ipv4';

@@ -62,2 +63,3 @@ import isIPv6 from './ipv6';

class : isClass,
ip : isIP,
ipv4 : isIPv4,

@@ -64,0 +66,0 @@ ipv6 : isIPv6,

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