Socket
Socket
Sign inDemoInstall

jsonpath

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonpath - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

12

lib/grammar.js
var dict = require('./dict');
var fs = require('fs');
fs.readFileSync = fs.readFileSync || function() {}
require.resolve = require.resolve || function() {}
var grammar = {

@@ -102,8 +99,9 @@

[ 'Q_STRING', "$$ = $1" ] ]
},
moduleInclude: fs.readFileSync(require.resolve("../include/module.js")),
actionInclude: fs.readFileSync(require.resolve("../include/action.js"))
}
};
if (fs.readFileSync) {
grammar.moduleInclude = fs.readFileSync(require.resolve("../include/module.js"));
grammar.actionInclude = fs.readFileSync(require.resolve("../include/action.js"));
}
module.exports = grammar;
{
"name": "jsonpath",
"description": "Query JavaScript objects with JSONPath expressions. Robust / safe JSONPath engine for Node.js.",
"version": "0.2.10",
"version": "0.2.11",
"author": "david@fmail.co.uk",

@@ -6,0 +6,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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