Comparing version 3.2.1 to 3.2.2
@@ -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; |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83622
9
730