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

sql-parser-cst

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sql-parser-cst - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

14

lib/cst/ProceduralLanguage.d.ts
import { BaseNode, Keyword } from "./Base";
import { DataType } from "./DataType";
import { Identifier, ListExpr, ParenExpr, BinaryExpr, Expr } from "./Expr";
import { Identifier, ListExpr, ParenExpr, BinaryExpr, Expr, FuncCall } from "./Expr";
import { Program } from "./Program";
import { SubSelect } from "./Select";
export declare type AllProceduralNodes = AllProceduralStatements | DeclareDefault | IfClause | ElseifClause | ElseClause;
export declare type AllProceduralStatements = DeclareStmt | SetStmt | IfStmt | LoopStmt | RepeatStmt | WhileStmt | ForStmt | BreakStmt | ContinueStmt;
export declare type AllProceduralStatements = DeclareStmt | SetStmt | IfStmt | LoopStmt | RepeatStmt | WhileStmt | ForStmt | BreakStmt | ContinueStmt | CallStmt | ReturnStmt;
export interface DeclareStmt extends BaseNode {

@@ -89,1 +89,11 @@ type: "declare_stmt";

}
export interface CallStmt extends BaseNode {
type: "call_stmt";
callKw: Keyword<"CALL">;
func: FuncCall;
}
export interface ReturnStmt extends BaseNode {
type: "return_stmt";
returnKw: Keyword<"RETURN">;
expr?: Expr;
}

@@ -425,2 +425,4 @@ "use strict";

continue_stmt: (node) => show([node.continueKw]),
call_stmt: (node) => show([node.callKw, node.func]),
return_stmt: (node) => show([node.returnKw, node.expr]),
// SQLite-specific statements

@@ -427,0 +429,0 @@ attach_database_stmt: (node) => show([node.attachKw, node.databaseKw, node.file, node.asKw, node.schema]),

2

package.json

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

"license": "GPL-2.0-or-later",
"version": "0.9.3",
"version": "0.9.4",
"main": "lib/main.js",

@@ -8,0 +8,0 @@ "types": "lib/main.d.ts",

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