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

@ctx-core/object

Package Overview
Dependencies
Maintainers
1
Versions
666
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctx-core/object - npm Package Compare versions

Comparing version 3.2.4 to 3.3.0

9

lib.js

@@ -31,3 +31,12 @@ import { _andand } from '@ctx-core/function'

export const toString = Object.prototype.toString
const isArray__native = Array.isArray
/**
* Is the argument an Array?
* @param obj
* @returns {boolean}
*/
export function isArray(obj) {
return isArray__native ? isArray__native(obj) : toString.call(obj) === '[object Array]'
}
/**
* Returns boolean of `obj` is an object

@@ -34,0 +43,0 @@ * @param obj

6

package.json
{
"name": "@ctx-core/object",
"version": "3.2.4",
"version": "3.3.0",
"description": "ctx-core object",

@@ -24,5 +24,5 @@ "main": "lib.js",

"dependencies": {
"@ctx-core/function": "^5.6.1"
"@ctx-core/function": "^6.0.0"
},
"gitHead": "5c088669a3288008c13894e38be40b1344ba9791"
"gitHead": "6e0a03a3dbbf6b2d1aaadf94fe6250e537ae3457"
}
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