jsonpath-plus
Advanced tools
Comparing version 0.13.0 to 0.13.1
## ? | ||
## Jan 5, 2016 | ||
- Avoid double-encoding path in results | ||
- Version 0.13.1 | ||
## Dec 13, 2015 | ||
- Breaking change (from version 0.11): Silently strip `~` and `^` operators and type operators such as `@string()` in `JSONPath.toPathString()` calls. | ||
- Breaking change: Remove `Array.isArray` polyfill as longer supporting IE <= 8 | ||
- Breaking change: Remove `Array.isArray` polyfill as no longer supporting IE <= 8 | ||
- Feature: Allow omission of options first argument to `JSONPath` | ||
@@ -8,0 +11,0 @@ - Feature: Add `JSONPath.toPointer()` and "pointer" `resultType` option. |
@@ -157,3 +157,3 @@ /*global exports, require*/ | ||
case 'all': | ||
ea.path = JSONPath.toPathString(ea.path); | ||
ea.path = typeof ea.path === 'string' ? ea.path : JSONPath.toPathString(ea.path); | ||
return ea; | ||
@@ -172,3 +172,3 @@ case 'value': case 'parent': case 'parentProperty': | ||
var preferredOutput = this._getPreferredOutput(fullRetObj); | ||
fullRetObj.path = JSONPath.toPathString(fullRetObj.path); | ||
fullRetObj.path = typeof fullRetObj.path === 'string' ? fullRetObj.path : JSONPath.toPathString(fullRetObj.path); | ||
callback(preferredOutput, type, fullRetObj); | ||
@@ -175,0 +175,0 @@ } |
@@ -32,3 +32,3 @@ { | ||
"license": "MIT", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"repository": { | ||
@@ -35,0 +35,0 @@ "type": "git", |
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
38632