pgsql-ast-parser
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "pgsql-ast-parser", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Yet another simple Postgres SQL parser", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
"release": "git diff --exit-code && npm run test && npm run build && cp -r src lib/src && npm run build:deno && deno run deno-test.ts && npm publish lib && npm run && npm run release-deno", | ||
"release-deno": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag $PACKAGE_VERSION && git push --tags", | ||
"release-deno": "git add -A && git commit -m \"Build deno\" && PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag $PACKAGE_VERSION && git push --tags", | ||
"typecheck": "tsc --project tsconfig.json --noEmit", | ||
@@ -13,0 +13,0 @@ "deno:gen": "nearleyc src/syntax/main.ne -o .deno/syntax/main.ne.ts && nearleyc src/literal-syntaxes/array.ne -o .deno/literal-syntaxes/array.ne.ts", |
@@ -33,3 +33,3 @@ 🏃♀️ `pgsql-ast-parser` is a Postgres SQL syntax parser. It produces a typed AST tree, covering the most common syntaxes of pgsql. | ||
```typescript | ||
import { parse, Statement } from 'pgsql-ast-parser; | ||
import { parse, Statement } from 'pgsql-ast-parser'; | ||
@@ -36,0 +36,0 @@ // parse multiple statements |
649923