sql-parser-cst
Advanced tools
Comparing version 0.5.0 to 0.5.1
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1341113
40445
0