Socket
Socket
Sign inDemoInstall

libnested

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libnested - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

1

index.js

@@ -10,2 +10,3 @@ function isObject (o, allowArray) {

function get (obj, path, dft) {
if(!isObject(obj, true)) return dft
if(isBasic(path)) return obj[path]

@@ -12,0 +13,0 @@ for(var i = 0; i < path.length; i++) {

2

package.json
{
"name": "libnested",
"description": "",
"version": "1.4.0",
"version": "1.4.1",
"homepage": "https://github.com/dominictarr/libnested",

@@ -6,0 +6,0 @@ "repository": {

@@ -24,3 +24,8 @@

t.deepEqual(
R.get(null, ['bar']),
undefined
)
t.deepEqual(

@@ -145,1 +150,2 @@ R.paths({foo: {bar: true}, baz: 2}),

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