Skip to content

Commit e6a645e

Browse files
fix: correct ParseResult version output to match parser expectations (170004)
Co-Authored-By: Dan Lynch <[email protected]>
1 parent 0d608b9 commit e6a645e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/transform/src/transformers/v13-to-v14.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class V13ToV14Transformer {
9494
ParseResult(node: PG13.ParseResult, context: TransformerContext): any {
9595
if (node && typeof node === 'object' && 'version' in node && 'stmts' in node) {
9696
return {
97-
version: 140000,
97+
version: 170004,
9898
stmts: node.stmts.map((stmt: any) => {
9999
if (stmt && typeof stmt === 'object' && 'stmt' in stmt) {
100100
return { ...stmt, stmt: this.transform(stmt.stmt, context) };

0 commit comments

Comments
 (0)