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

enmap

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enmap - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

2

package.json
{
"name": "enmap",
"version": "4.1.2",
"version": "4.1.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -152,7 +152,7 @@ // Lodash should probably be a core lib but hey, it's useful!

this[_readyCheck]();
key = key.toString();
this[_fetchCheck](key);
if (_.isNil(key) || !['String', 'Number'].includes(key.constructor.name)) {
throw new Err('Enmap require keys to be strings or numbers.', 'EnmapKeyTypeError');
}
key = key.toString();
this[_fetchCheck](key);
let data = super.get(key);

@@ -159,0 +159,0 @@ const oldValue = super.has(key) ? data : null;

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