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

es-is

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-is - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

7

dist/index.js

@@ -5,2 +5,3 @@ 'use strict';

// src/index.coffee
var NON_HOST_TYPES;

@@ -317,2 +318,6 @@ var base64Regex;

var isPromise = function(value) {
return !!value && (typeof value === 'object' || typeof value === 'function') && typeof value.then === 'function';
};
var isHash = function(value) {

@@ -384,2 +389,3 @@ return isObject(value) && value.constructor === Object && !value.nodeType && !value.setInterval;

primitive: isPrimitive,
promise: isPromise,
hash: isHash,

@@ -439,2 +445,3 @@ regexp: isRegexp,

exports.isPrimitive = isPrimitive;
exports.isPromise = isPromise;
exports.isHash = isHash;

@@ -441,0 +448,0 @@ exports.isRegexp = isRegexp;

27

package.json
{
"name": "es-is",
"version": "3.2.1",
"version": "3.2.2",
"main": "dist/index.js",
"module": "dist/index.mjs",
"js:next": "dist/index.mjs",
"files": ["dist/"],
"files": [
"LICENSE.md",
"README.md",
"dist/"
],
"scripts": {
"prepublish": "cake build",
"test": "cake test",
"lint": "npm run jscs && npm run eslint",
"jscs": "jscs *.js */*.js",
"eslint": "eslint *.js */*.js"
"test": "cake test"
},

@@ -35,2 +36,6 @@ "author": {

"url": "https://github.com/ljharb"
},
{
"name": "Zach Kelling",
"url": "https://github.com/zeekay"
}

@@ -40,11 +45,7 @@ ],

"devDependencies": {
"@ljharb/eslint-config": "^11.0.0",
"cake-bundle": "0.1.8",
"cake-outdated": "0.1.9",
"cake-publish": "0.1.5",
"cake-test": "0.1.0",
"cake-version": "0.1.9",
"covert": "^1.1.0",
"eslint": "^3.17.0",
"foreach": "^2.0.5",
"handroll": "0.2.11",
"jscs": "^3.0.7",
"make-generator-function": "^1.1.0",

@@ -75,2 +76,2 @@ "safe-publish-latest": "^1.1.1",

}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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