Comparing version 0.7.0 to 0.8.0
@@ -0,1 +1,5 @@ | ||
0.8.0 / 2020-11-14 | ||
================== | ||
* feat: support square bracket indexing for `get()`, `set()`, `has()`, and `unset()` | ||
0.7.0 / 2020-03-24 | ||
@@ -2,0 +6,0 @@ ================== |
@@ -0,1 +1,3 @@ | ||
var stringToParts = require('./stringToParts'); | ||
// These properties are special and can open client libraries to security | ||
@@ -49,3 +51,3 @@ // issues | ||
var parts = 'string' == typeof path | ||
? path.split('.') | ||
? stringToParts(path) | ||
: path | ||
@@ -100,3 +102,3 @@ | ||
var parts = typeof path === 'string' ? | ||
path.split('.') : | ||
stringToParts(path) : | ||
path; | ||
@@ -129,3 +131,3 @@ | ||
var parts = typeof path === 'string' ? | ||
path.split('.') : | ||
stringToParts(path) : | ||
path; | ||
@@ -183,3 +185,3 @@ | ||
var parts = 'string' == typeof path | ||
? path.split('.') | ||
? stringToParts(path) | ||
: path | ||
@@ -186,0 +188,0 @@ |
{ | ||
"name": "mpath", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "{G,S}et object values using MongoDB-like path notation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90265
14
2026