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

is-empty-object

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-empty-object - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

index.js

@@ -17,3 +17,3 @@ /**

function isEmptyObject(obj) {
if (!obj || !typeof obj === 'object' || isArray(obj))
if (!obj || typeof obj !== 'object' || isArray(obj))
return false

@@ -20,0 +20,0 @@ return !Object.keys(obj).length

{
"name": "is-empty-object",
"version": "1.1.0",
"version": "1.1.1",
"description": "Check if an object is empty.",

@@ -5,0 +5,0 @@ "main": "index.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