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

json-query

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-query - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

lib/tokenize.js

@@ -62,3 +62,3 @@ // todo: syntax checking

if (buffer){
push({filter:buffer})
push({filter:buffer.trim()})
}

@@ -65,0 +65,0 @@ },

@@ -5,3 +5,3 @@ {

"description": "Retrieves values from JSON objects for data binding. Offers params, nested queries, deep queries, custom reduce/filter functions and simple boolean logic. Browserify compatible.",
"version": "1.3.0",
"version": "1.3.1",
"homepage": "http://github.com/mmckegg/json-query",

@@ -8,0 +8,0 @@ "repository": {

@@ -28,2 +28,11 @@ require('es5-shim')

// test for whitespace handling
check(" items[id=1]\n .name:not ",[
{root: true},
{get: 'items'},
{select: ['id', '1']},
{get: 'name'},
{filter:'not'}
])
check("items[][id=1].name",[

@@ -30,0 +39,0 @@ {root: true},

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