js-partial-is-object
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -11,3 +11,3 @@ /* | ||
* @namespace js.partial | ||
* @version 0.0.1 | ||
* @version 0.0.2 | ||
* | ||
@@ -35,3 +35,3 @@ * @author Richard King <richrdkng@gmail.com> [GitHub]{@link https://github.com/richrdkng} | ||
} else { | ||
root.js_partial_isString = factory(); | ||
root.js_partial_isObject = factory(); | ||
} | ||
@@ -43,3 +43,3 @@ }(this, function() { | ||
* Determines whether an object is a plain object. | ||
* By default handles **null-prototype objects** as plain objects created via **Object.create(null)**. | ||
* By default it handles **null-prototype objects** as plain objects created via **Object.create(null)**. | ||
* | ||
@@ -46,0 +46,0 @@ * @function isObject |
@@ -1,2 +0,2 @@ | ||
/*! 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)}}); | ||
/*! js-partial-is-object v0.0.2 | MIT License | (c) Richard King - richrdkng@gmail.com */ | ||
!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof module&&module.exports?module.exports=t():e.js_partial_isObject=t()}(this,function(){"use strict";return function(e,t){var o=!0;return"boolean"==typeof t&&(o=t),null!==e&&"[object Object]"===Object.prototype.toString.call(e)&&(!!o||"undefined"!=typeof e.constructor)}}); |
{ | ||
"name": "js-partial-is-object", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A partial to check whether an object is a plain object.", | ||
@@ -5,0 +5,0 @@ "main": "dist/js-partial-is-object.js", |
@@ -13,3 +13,4 @@ # js-partial-is-object | ||
A partial to check whether an **object is a plain object**. | ||
A partial to check whether **an object is a plain object**. | ||
By default it handles **null-prototype objects as plain objects** created via **Object.create(null)**. | ||
@@ -16,0 +17,0 @@ - Written in **UMD** |
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
9728
98
0