Huge News!Announcing our $40M Series B led by Abstract Ventures.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 5.2.3 to 5.2.4

yarn.lock

2

package.json
{
"name": "enmap",
"version": "5.2.3",
"version": "5.2.4",
"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",

@@ -579,3 +579,2 @@ // Lodash should probably be a core lib but hey, it's useful!

if (!isObject(clonedValue)) 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(clonedValue, super.get(key));
const merged = merge(clonedValue, this.get(key));

@@ -773,3 +772,3 @@ super.set(key, merged);

this[_check](key, ['Array', 'Object']);
const data = super.get(key);
const data = this.get(key);
if (!isNil(path)) {

@@ -971,3 +970,3 @@ const propValue = _get(data, path);

this[_check](key, 'Object');
const data = super.get(key);
const data = this.get(key);
if (isNil(_get(data, path))) {

@@ -974,0 +973,0 @@ throw new Err(`The property "${path}" in key "${key}" does not exist. Please set() it or ensure() it."`, 'EnmapPathError');

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