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

validate.io-object

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validate.io-object - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

5

lib/index.js

@@ -40,6 +40,3 @@ /**

function isObject( value ) {
if ( typeof value !== 'object' || value === null || Array.isArray( value ) === true ) {
return false;
}
return true;
return ( typeof value === 'object' && value !== null && Array.isArray( value ) !== true );
} // end FUNCTION isObject()

@@ -46,0 +43,0 @@

2

package.json
{
"name": "validate.io-object",
"version": "0.0.0",
"version": "0.0.1",
"description": "Validates if a value is a plain JavaScript object.",

@@ -5,0 +5,0 @@ "author": {

@@ -15,2 +15,5 @@ Object

For use in the browser, use [browserify](https://github.com/substack/node-browserify).
## Usage

@@ -17,0 +20,0 @@

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