pgsql-parser 17.8.1 → 17.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/index.js +2 -1
- package/index.d.ts +2 -1
- package/index.js +15 -0
- package/package.json +8 -15
package/esm/index.js
CHANGED
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
17
|
exports.deparseSync = exports.deparse = exports.loadModule = exports.parseSync = exports.parse = void 0;
|
|
4
18
|
var libpg_query_1 = require("libpg-query");
|
|
@@ -8,3 +22,4 @@ Object.defineProperty(exports, "loadModule", { enumerable: true, get: function (
|
|
|
8
22
|
var pgsql_deparser_1 = require("pgsql-deparser");
|
|
9
23
|
Object.defineProperty(exports, "deparse", { enumerable: true, get: function () { return pgsql_deparser_1.deparse; } });
|
|
10
24
|
Object.defineProperty(exports, "deparseSync", { enumerable: true, get: function () { return pgsql_deparser_1.deparseSync; } });
|
|
25
|
+
__exportStar(require("@pgsql/types"), exports);
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pgsql-parser",
|
|
3
|
-
"version": "17.8.
|
|
3
|
+
"version": "17.8.2",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "The real PostgreSQL query parser",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"module": "esm/index.js",
|
|
8
8
|
"types": "index.d.ts",
|
|
9
9
|
"homepage": "https://github.com/launchql/pgsql-parser",
|
|
10
|
-
"license": "
|
|
10
|
+
"license": "MIT",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public",
|
|
13
13
|
"directory": "dist"
|
|
@@ -20,16 +20,10 @@
|
|
|
20
20
|
"url": "https://github.com/launchql/pgsql-parser/issues"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"copy": "copyfiles -f
|
|
23
|
+
"copy": "copyfiles -f ../../../../LICENSE README.md package.json dist",
|
|
24
24
|
"clean": "rimraf dist",
|
|
25
|
-
"prepare": "npm run build",
|
|
26
25
|
"build": "npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy",
|
|
27
|
-
"
|
|
28
|
-
"lint": "eslint . --fix",
|
|
29
|
-
"test": "jest",
|
|
30
|
-
"test:watch": "jest --watch",
|
|
31
|
-
"prepare-versions": "ts-node scripts/prepare-versions.ts",
|
|
32
|
-
"test:ast": "ts-node scripts/test-ast.ts"
|
|
26
|
+
"publish:pkg": "npm publish --tag pg17"
|
|
33
27
|
},
|
|
34
28
|
"keywords": [
|
|
35
29
|
"sql",
|
|
@@ -41,9 +35,8 @@
|
|
|
41
35
|
"database"
|
|
42
36
|
],
|
|
43
37
|
"dependencies": {
|
|
44
|
-
"@pgsql/types": "
|
|
38
|
+
"@pgsql/types": "17.6.1",
|
|
45
39
|
"libpg-query": "17.6.0",
|
|
46
|
-
"pgsql-deparser": "
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
}
|
|
40
|
+
"pgsql-deparser": "17.11.1"
|
|
41
|
+
}
|
|
42
|
+
}
|