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

camel-dot-prop-immutable

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camel-dot-prop-immutable - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

7

dist/index.js

@@ -58,3 +58,8 @@ "use strict";

let match = camelDotMatch({ obj, prop });
return match.result || value;
if (typeof match.result === "undefined") {
return value;
} else {
return match.result;
}
}

@@ -61,0 +66,0 @@

@@ -52,3 +52,8 @@ import dot from "dot-prop-immutable"

let match = camelDotMatch({ obj, prop })
return match.result || value
if (typeof match.result === "undefined") {
return value
} else {
return match.result
}
}

@@ -55,0 +60,0 @@

2

package.json
{
"name": "camel-dot-prop-immutable",
"version": "1.4.0",
"version": "1.4.1",
"description":

@@ -5,0 +5,0 @@ "dot-prop-immutable w/ check for flattened props",

@@ -30,2 +30,4 @@ import dot from "../dist"

).toBe("unicorn")
expect(dot.get({ foo: false }, "foo")).toBe(false)
})

@@ -32,0 +34,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