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

expre-parser

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expre-parser - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

5

lib/src/expre-parser.js

@@ -11,6 +11,9 @@ "use strict";

__export(require("./compiler"));
function prepareToSqliteParser(exp) {
return 'select ' + exp.toString().replace(/::text/g, '');
}
function sqlite_parse(expression) {
// sqliteParser works in expressions with "select" string at begining
try {
return sqliteParser('select ' + expression).statement[0].result[0];
return sqliteParser(prepareToSqliteParser(expression)).statement[0].result[0];
;

@@ -17,0 +20,0 @@ }

2

package.json
{
"name": "expre-parser",
"description": "expression parser",
"version": "0.1.15",
"version": "0.1.16",
"author": "Codenautas <codenautas@googlegroups.com>",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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