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

set-value

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

set-value - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

4

index.js

@@ -21,2 +21,6 @@ /*!

const validateKey = key => {
if (typeof key !== 'string' && typeof key !== 'number') {
key = String(key);
}
if (isUnsafeKey(key)) {

@@ -23,0 +27,0 @@ throw new Error(`Cannot set unsafe key: "${key}"`);

4

package.json
{
"name": "set-value",
"version": "4.0.0",
"version": "4.0.1",
"description": "Set nested properties on an object using dot notation.",

@@ -125,2 +125,2 @@ "license": "MIT",

}
}
}
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