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.6.4 to 4.6.5

2

package.json
{
"name": "enmap",
"version": "4.6.4",
"version": "4.6.5",
"description": "A simple database wrapper to make sqlite database interactions much easier for beginners, with additional array helper methods.",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

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

if (!_.isObject(defaultValue)) throw new Err(`Default value for "${key}" in enmap "${this.name}" must be an object when merging with an object value.`, 'EnmapArgumentError');
const merged = Object.assign(super.get(key), defaultValue);
super.set(merged);
const merged = Object.assign(defaultValue, super.get(key));
super.set(key, merged);
return merged;

@@ -763,3 +763,3 @@ }

* @example
* // Using local variables and the mongodb provider.
* // Using local variables.
* const Enmap = require('enmap');

@@ -766,0 +766,0 @@ * const { settings, tags, blacklist } = Enmap.multi(['settings', 'tags', 'blacklist']);

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