Huge News!Announcing our $40M Series B led by Abstract Ventures.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.9 to 0.0.10

src/array-buffer-view.js

7

dist/is.bc.js

@@ -182,2 +182,6 @@ (function (global, factory) {

var isClass = (function (obj) {
return isFunction(obj) && /^\s*class\s+/.test(obj.toString());
});
var is = {

@@ -209,3 +213,4 @@ arguments: isArguments,

elementNode: elementNode,
window: isWindow
window: isWindow,
class: isClass
};

@@ -212,0 +217,0 @@

5

dist/is.cjs.js

@@ -129,2 +129,4 @@ 'use strict';

var isClass = obj => isFunction( obj ) && /^\s*class\s+/.test( obj.toString() );
var is = {

@@ -156,5 +158,6 @@ arguments : isArguments,

elementNode,
window : isWindow
window : isWindow,
class : isClass
};
module.exports = is;

@@ -133,2 +133,4 @@ (function (global, factory) {

var isClass = obj => isFunction( obj ) && /^\s*class\s+/.test( obj.toString() );
var is = {

@@ -160,3 +162,4 @@ arguments : isArguments,

elementNode,
window : isWindow
window : isWindow,
class : isClass
};

@@ -163,0 +166,0 @@

{
"name": "@lvchengbin/is",
"version": "0.0.9",
"version": "0.0.10",
"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",

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

import isWindow from './window';
import isClass from './class';

@@ -55,3 +56,4 @@ export default {

elementNode,
window : isWindow
window : isWindow,
class : isClass
};
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