@pgsql/transform 17.9.0 → 17.9.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/13/enums.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/13/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/14/enums.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/14/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/15/enums.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/15/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/16/enums.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/16/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/17/enums.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/17/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.30.0.
2
+ * This file was automatically generated by pg-proto-parser@1.30.2.
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/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # @pgsql/transform
2
2
 
3
3
  <p align="center" width="100%">
4
- <img height="120" src="https://github.com/launchql/pgsql-parser/assets/545047/6440fa7d-918b-4a3b-8d1b-755d85de8bea" />
4
+ <img height="120" src="https://github.com/constructive-io/pgsql-parser/assets/545047/6440fa7d-918b-4a3b-8d1b-755d85de8bea" />
5
5
  </p>
6
6
 
7
7
  <p align="center" width="100%">
8
- <a href="https://github.com/launchql/pgsql-parser/actions/workflows/run-tests.yaml">
9
- <img height="20" src="https://github.com/launchql/pgsql-parser/actions/workflows/run-tests.yaml/badge.svg" />
8
+ <a href="https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml">
9
+ <img height="20" src="https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml/badge.svg" />
10
10
  </a>
11
- <a href="https://github.com/launchql/pgsql-parser/blob/main/LICENSE-MIT"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
12
- <a href="https://www.npmjs.com/package/@pgsql/transform"><img height="20" src="https://img.shields.io/github/package-json/v/launchql/pgsql-parser?filename=packages%2Ftransform%2Fpackage.json"/></a>
11
+ <a href="https://github.com/constructive-io/pgsql-parser/blob/main/LICENSE-MIT"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
12
+ <a href="https://www.npmjs.com/package/@pgsql/transform"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/pgsql-parser?filename=packages%2Ftransform%2Fpackage.json"/></a>
13
13
  </p>
14
14
 
15
15
  `@pgsql/transform` is a TypeScript library for transforming PostgreSQL ASTs between different PostgreSQL versions. It serves as a crucial component for building a single source of truth deparser that can handle SQL from multiple PostgreSQL versions while maintaining backward compatibility.
@@ -115,6 +115,10 @@ The transform package fits into the broader pgsql-parser ecosystem:
115
115
 
116
116
  This enables a single source of truth for SQL generation while supporting legacy codebases.
117
117
 
118
+ ---
119
+
120
+ **🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
121
+
118
122
  ## Related
119
123
 
120
124
  * [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): The real PostgreSQL parser for Node.js, providing symmetric parsing and deparsing of SQL statements with actual PostgreSQL parser integration.
@@ -125,7 +129,7 @@ This enables a single source of truth for SQL generation while supporting legacy
125
129
  * [@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.
126
130
  * [@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.
127
131
  * [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.
128
- * [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.
132
+ * [libpg-query](https://github.com/constructive-io/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.
129
133
 
130
134
  ## Disclaimer
131
135
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pgsql/transform",
3
- "version": "17.9.0",
4
- "author": "Dan Lynch <pyramation@gmail.com>",
3
+ "version": "17.9.2",
4
+ "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Transform PostgreSQL AST types for pgsql-parser",
6
6
  "main": "index.js",
7
7
  "module": "esm/index.js",
8
8
  "types": "index.d.ts",
9
- "homepage": "https://github.com/launchql/pgsql-parser",
9
+ "homepage": "https://github.com/constructive-io/pgsql-parser",
10
10
  "license": "MIT",
11
11
  "publishConfig": {
12
12
  "access": "public",
@@ -14,15 +14,15 @@
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "https://github.com/launchql/pgsql-parser"
17
+ "url": "https://github.com/constructive-io/pgsql-parser"
18
18
  },
19
19
  "bugs": {
20
- "url": "https://github.com/launchql/pgsql-parser/issues"
20
+ "url": "https://github.com/constructive-io/pgsql-parser/issues"
21
21
  },
22
22
  "scripts": {
23
- "copy": "copyfiles -f ../../LICENSE README.md package.json dist",
24
- "clean": "rimraf dist",
25
- "prepare": "npm run build",
23
+ "copy": "makage assets",
24
+ "clean": "makage clean dist",
25
+ "prepublishOnly": "npm run build",
26
26
  "build": "npm run build:proto && npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy",
27
27
  "build:dev": "npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy",
28
28
  "build:proto": "ts-node scripts/pg-proto-parser",
@@ -33,10 +33,11 @@
33
33
  "test:ast": "ts-node scripts/test-ast.ts"
34
34
  },
35
35
  "devDependencies": {
36
- "@pgsql/parser": "^1.2.0",
37
- "pg-proto-parser": "^1.30.0",
38
- "pgsql-deparser": "^17.12.0"
36
+ "@pgsql/parser": "^1.2.1",
37
+ "makage": "^0.1.8",
38
+ "pg-proto-parser": "1.30.2",
39
+ "pgsql-deparser": "17.12.2"
39
40
  },
40
41
  "keywords": [],
41
- "gitHead": "3ae060bb9e0edcf8869d6e9da350216d6c6e01cf"
42
+ "gitHead": "de2ac125ad90c1299238b4c2f24d355bde36adb7"
42
43
  }