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

@slickgrid-universal/utils

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slickgrid-universal/utils - npm Package Compare versions

Comparing version 1.3.7 to 1.4.0

2

dist/commonjs/utils.d.ts

@@ -51,3 +51,3 @@ /**

*/
export declare function isObject(item: any): any;
export declare function isObject(item: any): boolean;
/**

@@ -54,0 +54,0 @@ * Check if a value has any data (undefined, null or empty string will return False...)

@@ -169,3 +169,3 @@ "use strict";

function isObject(item) {
return (item && typeof item === 'object' && !Array.isArray(item));
return item !== null && typeof item === 'object' && !Array.isArray(item) && !(item instanceof Date);
}

@@ -172,0 +172,0 @@ exports.isObject = isObject;

@@ -51,3 +51,3 @@ /**

*/
export declare function isObject(item: any): any;
export declare function isObject(item: any): boolean;
/**

@@ -54,0 +54,0 @@ * Check if a value has any data (undefined, null or empty string will return False...)

@@ -159,3 +159,3 @@ /**

export function isObject(item) {
return (item && typeof item === 'object' && !Array.isArray(item));
return item !== null && typeof item === 'object' && !Array.isArray(item) && !(item instanceof Date);
}

@@ -162,0 +162,0 @@ /**

{
"name": "@slickgrid-universal/utils",
"version": "1.3.7",
"version": "1.4.0",
"description": "Common set of small utilities",

@@ -50,3 +50,3 @@ "main": "dist/commonjs/index.js",

},
"gitHead": "7bd8203e076005690a5321321c64ebea2811aa5b"
"gitHead": "43cfa29f47287454ce0c4945a3c75575073013e1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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