js-partial-is-object
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -11,3 +11,3 @@ /* | ||
* @namespace js.partial | ||
* @version 0.0.0 | ||
* @version 0.0.1 | ||
* | ||
@@ -56,6 +56,7 @@ * @author Richard King <richrdkng@gmail.com> [GitHub]{@link https://github.com/richrdkng} | ||
return function isObject(object, handleNullPrototypeObjectAsPlainObject) { | ||
var handleNullProtoObj = true; | ||
var handleNullProtoObj = typeof handleNullPrototypeObjectAsPlainObject === 'boolean' | ||
? handleNullPrototypeObjectAsPlainObject | ||
: true; | ||
if (typeof handleNullPrototypeObjectAsPlainObject === 'boolean') { | ||
handleNullProtoObj = handleNullPrototypeObjectAsPlainObject; | ||
} | ||
@@ -62,0 +63,0 @@ if (object !== null) { |
@@ -1,2 +0,2 @@ | ||
/*! js-partial-is-object v0.0.0 | MIT License | (c) Richard King - richrdkng@gmail.com */ | ||
!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.js_partial_isString=e()}(this,function(){"use strict";return function(t,e){var o="boolean"!=typeof e||e;return null!==t&&"[object Object]"===Object.prototype.toString.call(t)&&(!!o||"undefined"!=typeof t.constructor)}}); | ||
/*! js-partial-is-object v0.0.1 | MIT License | (c) Richard King - richrdkng@gmail.com */ | ||
!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.js_partial_isString=e()}(this,function(){"use strict";return function(t,e){var o=!0;return"boolean"==typeof e&&(o=e),null!==t&&"[object Object]"===Object.prototype.toString.call(t)&&(!!o||"undefined"!=typeof t.constructor)}}); |
{ | ||
"name": "js-partial-is-object", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "A partial to check whether an object is a plain object.", | ||
@@ -5,0 +5,0 @@ "main": "dist/js-partial-is-object.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
65
9622
1