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.5.0 to 0.5.1

4

lib/cst/Trigger.d.ts
import { BaseNode, Keyword } from "./Base";
import { ColumnRef, Expr, ListExpr, TableRef } from "./Expr";
import { Statement } from "./Statement";
import { Program } from "./Program";
export declare type AllTriggerNodes = CreateTriggerStmt | DropTriggerStmt | TriggerEvent | TriggerCondition | TriggerBody | TriggerCondition | TriggerBody;

@@ -34,3 +34,3 @@ export interface CreateTriggerStmt extends BaseNode {

beginKw: Keyword<"BEGIN">;
statements: Statement[];
program: Program;
endKw: Keyword<"END">;

@@ -37,0 +37,0 @@ }

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

trigger_condition: (node) => show([node.whenKw, node.expr]),
trigger_body: (node) => show([node.beginKw, show(node.statements, ";"), ";", node.endKw]),
trigger_body: (node) => show([node.beginKw, node.program, node.endKw]),
// DROP TRIGGER

@@ -225,0 +225,0 @@ drop_trigger_stmt: (node) => show([node.dropTriggerKw, node.ifExistsKw, node.trigger]),

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

"license": "GPL-2.0-or-later",
"version": "0.5.0",
"version": "0.5.1",
"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