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

mpath

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mpath - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

4

History.md

@@ -0,1 +1,5 @@

0.4.1 / 2018-04-08
==================
* fix: allow opting out of weird `$` set behavior re: Automattic/mongoose#6273
0.4.0 / 2018-03-27

@@ -2,0 +6,0 @@ ==================

5

lib/index.js

@@ -182,4 +182,5 @@ /**

// the array to the one by one to matching positions of the
// current array.
var copy = _copying || /\$/.test(path)
// current array. Unless the user explicitly opted out by passing
// false, see Automattic/mongoose#6273
var copy = _copying || (/\$/.test(path) && _copying !== false)
, obj = o

@@ -186,0 +187,0 @@ , part

{
"name": "mpath",
"version": "0.4.0",
"version": "0.4.1",
"description": "{G,S}et object values using MongoDB-like path notation",

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

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