New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

js-partial-is-object

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-partial-is-object - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

9

dist/js-partial-is-object.js

@@ -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",

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