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 1.0.1 to 1.0.2

6

lib/index.js

@@ -7,3 +7,3 @@ /**

* DESCRIPTION:
* - Validates if a value is a plain JavaScript object.
* - Validates if a value is a JavaScript object.
*

@@ -41,6 +41,6 @@ *

* FUNCTION: isObject( value )
* Validates if a value is a plain object; e.g., {}.
* Validates if a value is a object; e.g., {}.
*
* @param {*} value - value to be validated
* @returns {Boolean} boolean indicating whether value is a plain object
* @returns {Boolean} boolean indicating whether value is a object
*/

@@ -47,0 +47,0 @@ function isObject( value ) {

{
"name": "validate.io-object",
"version": "1.0.1",
"description": "Validates if a value is a plain JavaScript object.",
"version": "1.0.2",
"description": "Validates if a value is a JavaScript object.",
"author": {

@@ -6,0 +6,0 @@ "name": "Athan Reines",

@@ -5,3 +5,3 @@ Object

> Validates if a value is a plain JavaScript object.
> Validates if a value is a JavaScript object.

@@ -28,3 +28,3 @@

Validates if a `value` is a plain JavaScript `object`.
Validates if a `value` is a JavaScript `object`.

@@ -38,3 +38,5 @@ ``` javascript

__Note__: in this implementation, `arrays` and `null` are __not__ considered valid `objects`.
## Examples

@@ -41,0 +43,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