Socket
Socket
Sign inDemoInstall

jsonpath-plus

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonpath-plus - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

5

CHANGES.md
## ?
## 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.

4

lib/jsonpath.js

@@ -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",

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