libpg-query
Advanced tools
Comparing version 15.1.0 to 15.1.1-rc.4
@@ -1,6 +0,7 @@ | ||
export function parseQuery(sql: string): Promise<any>; | ||
import { ParseResult } from "@pgsql/types"; | ||
export function parseQuery(sql: string): Promise<ParseResult>; | ||
export function parsePlPgSQL(funcsSql: string): Promise<any>; | ||
export function parseQuerySync(sql: string): any; | ||
export function parseQuerySync(sql: string): ParseResult; | ||
export function parsePlPgSQLSync(funcsSql: string): any; | ||
export function fingerprint(sql: string): Promise<string>; | ||
export function fingerprintSync(sql: string): string; |
{ | ||
"name": "libpg-query", | ||
"version": "15.1.0", | ||
"version": "15.1.1-rc.4", | ||
"description": "The real PostgreSQL query parser", | ||
@@ -33,5 +33,6 @@ "homepage": "https://github.com/launchql/libpg-query-node", | ||
"scripts": { | ||
"clean": "rimraf build", | ||
"configure": "node-pre-gyp configure", | ||
"install": "node-pre-gyp install --fallback-to-build", | ||
"rebuild": "node-pre-gyp configure rebuild", | ||
"install": "node-pre-gyp install --fallback-to-build --loglevel verbose", | ||
"rebuild": "node-pre-gyp rebuild --loglevel verbose", | ||
"make:wasm": "docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emmake make", | ||
@@ -42,2 +43,3 @@ "build:wasm": "yarn make:wasm build", | ||
"clean-cache:wasm": "yarn make:wasm clean-cache", | ||
"workflows": "node script/workflows.js", | ||
"test": "mocha --timeout 5000", | ||
@@ -54,6 +56,9 @@ "binary:build": "node-pre-gyp rebuild package", | ||
"devDependencies": { | ||
"@pgsql/types": "^15.0.0", | ||
"@yamlize/cli": "^0.8.0", | ||
"chai": "^3.5.0", | ||
"emnapi": "^0.43.1", | ||
"lodash": "^4.17.15", | ||
"mocha": "^5.2.0" | ||
"mocha": "^5.2.0", | ||
"rimraf": "5.0.0" | ||
}, | ||
@@ -81,2 +86,2 @@ "dependencies": { | ||
} | ||
} | ||
} |
# libpg-query | ||
<p align="center" width="100%"> | ||
<img src="https://github.com/launchql/libpg-query-node/assets/545047/7f7053b8-9f52-4f4e-95b0-201d656902ed" alt="webincubator" width="100"> | ||
<img src="https://github.com/launchql/libpg-query-node/assets/545047/5fd420cc-cdc6-4211-9b0f-0eca8321ba72" alt="webincubator" width="100"> | ||
</p> | ||
@@ -11,3 +11,13 @@ | ||
<a href="https://github.com/launchql/libpg-query/blob/main/LICENSE-MIT"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a> | ||
<a href="https://www.npmjs.com/package/libpg-query"><img height="20" src="https://img.shields.io/github/package-json/v/launchql/libpg-query-node"/></a> | ||
<a href="https://www.npmjs.com/package/libpg-query"><img height="20" src="https://img.shields.io/github/package-json/v/launchql/libpg-query-node"/></a><br /> | ||
<a href="https://github.com/launchql/libpg-query-node/actions/workflows/run-tests-linux.yml"> | ||
<img height="20" src="https://github.com/launchql/libpg-query-node/actions/workflows/run-tests-linux.yml/badge.svg" /> | ||
</a> | ||
<a href="https://github.com/launchql/libpg-query-node/actions/workflows/run-tests-mac.yml"> | ||
<img height="20" src="https://github.com/launchql/libpg-query-node/actions/workflows/run-tests-mac.yml/badge.svg" /> | ||
</a> | ||
<a href="https://github.com/launchql/libpg-query-node/actions/workflows/run-tests-win.yml"> | ||
<img height="20" src="https://github.com/launchql/libpg-query-node/actions/workflows/run-tests-win.yml/badge.svg" /> | ||
</a> | ||
</p> | ||
@@ -63,4 +73,4 @@ | ||
|--------------------------|-------------|------------------------------------------------------------------------------------------------|---------| | ||
| 16 | 16-latest | [`16-latest`](https://github.com/launchql/libpg-query-node/tree/16-latest) | [`libpg-query@16.0.0`](https://www.npmjs.com/package/libpg-query/v/latest) | ||
| 15 | 15-latest | [`15-latest`](https://github.com/launchql/libpg-query-node/tree/15-latest) | [`libpg-query@15.0.3`](https://www.npmjs.com/package/libpg-query/v/15.0.3) | ||
| 16 | 16-latest | [`16-latest`](https://github.com/launchql/libpg-query-node/tree/16-latest) | [`libpg-query@16.2.0`](https://www.npmjs.com/package/libpg-query/v/latest) | ||
| 15 | 15-latest | [`15-latest`](https://github.com/launchql/libpg-query-node/tree/15-latest) | [`libpg-query@15.1.0`](https://www.npmjs.com/package/libpg-query/v/15.1.0) | ||
| 14 | 14-latest | [`14-latest`](https://github.com/launchql/libpg-query-node/tree/14-latest) | [`libpg-query@14.0.0`](https://www.npmjs.com/package/libpg-query/v/14.0.0) | ||
@@ -67,0 +77,0 @@ | 13 | 13-latest | [`13-latest`](https://github.com/launchql/libpg-query-node/tree/13-latest) | [`libpg-query@13.3.1`](https://www.npmjs.com/package/libpg-query/v/13.3.1) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
29106324
27
482
110
7
1