@pgsql/utils 17.7.9 → 17.8.0

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/README.md CHANGED
@@ -188,6 +188,7 @@ console.log(sql);
188
188
  * [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): Offers TypeScript type definitions for PostgreSQL AST nodes, facilitating type-safe construction, analysis, and manipulation of ASTs.
189
189
  * [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): Provides TypeScript enum definitions for PostgreSQL constants, enabling type-safe usage of PostgreSQL enums and constants in your applications.
190
190
  * [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): A comprehensive utility library for PostgreSQL, offering type-safe AST node creation and enum value conversions, simplifying the construction and manipulation of PostgreSQL ASTs.
191
+ * [@pgsql/traverse](https://www.npmjs.com/package/@pgsql/traverse): PostgreSQL AST traversal utilities for pgsql-parser, providing a visitor pattern for traversing PostgreSQL Abstract Syntax Tree nodes, similar to Babel's traverse functionality but specifically designed for PostgreSQL AST structures.
191
192
  * [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): A TypeScript tool that parses PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
192
193
  * [libpg-query](https://github.com/launchql/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.
193
194
 
package/asts.js CHANGED
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  /**
7
- * This file was automatically generated by pg-proto-parser@1.29.2.
7
+ * This file was automatically generated by pg-proto-parser@1.30.0.
8
8
  * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
9
9
  * and run the pg-proto-parser generate command to regenerate this file.
10
10
  */
package/esm/asts.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.29.2.
2
+ * This file was automatically generated by pg-proto-parser@1.30.0.
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
4
4
  * and run the pg-proto-parser generate command to regenerate this file.
5
5
  */
package/esm/wrapped.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.29.2.
2
+ * This file was automatically generated by pg-proto-parser@1.30.0.
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
4
4
  * and run the pg-proto-parser generate command to regenerate this file.
5
5
  */
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pgsql/utils",
3
- "version": "17.7.9",
3
+ "version": "17.8.0",
4
4
  "author": "Dan Lynch <pyramation@gmail.com>",
5
5
  "description": "PostgreSQL AST utils for pgsql-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": "SEE LICENSE IN LICENSE",
10
+ "license": "MIT",
11
11
  "publishConfig": {
12
12
  "access": "public",
13
13
  "directory": "dist"
@@ -31,13 +31,13 @@
31
31
  "test:watch": "jest --watch"
32
32
  },
33
33
  "devDependencies": {
34
- "pg-proto-parser": "^1.29.2",
35
- "pgsql-deparser": "^17.10.0"
34
+ "pg-proto-parser": "^1.30.0",
35
+ "pgsql-deparser": "^17.12.0"
36
36
  },
37
37
  "dependencies": {
38
38
  "@pgsql/types": "^17.6.1",
39
39
  "nested-obj": "0.0.1"
40
40
  },
41
41
  "keywords": [],
42
- "gitHead": "ccaa3c5ef9104de83e8c2624706520e4a2be5e88"
42
+ "gitHead": "3ae060bb9e0edcf8869d6e9da350216d6c6e01cf"
43
43
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.29.2.
2
+ * This file was automatically generated by pg-proto-parser@1.30.0.
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
4
4
  * and run the pg-proto-parser generate command to regenerate this file.
5
5
  */
package/wrapped.js CHANGED
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  /**
7
- * This file was automatically generated by pg-proto-parser@1.29.2.
7
+ * This file was automatically generated by pg-proto-parser@1.30.0.
8
8
  * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
9
9
  * and run the pg-proto-parser generate command to regenerate this file.
10
10
  */