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

node-sql-parser

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sql-parser - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

2

lib/parser.js

@@ -43,3 +43,3 @@ "use strict";

const typeCase = database.toLowerCase();
if (parser[typeCase]) return parser[typeCase](sql);
if (parser[typeCase]) return parser[typeCase](sql.trim());
throw new Error(`${database} is not supported currently`);

@@ -46,0 +46,0 @@ }

{
"name": "node-sql-parser",
"version": "1.6.5",
"version": "1.6.6",
"description": "simple node sql parser",

@@ -5,0 +5,0 @@ "main": "index.js",

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