csv-to-pg 3.10.2 → 3.10.4
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 +20 -20
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# csv-to-pg
|
|
2
2
|
|
|
3
3
|
<p align="center" width="100%">
|
|
4
|
-
<img height="250" src="https://raw.githubusercontent.com/
|
|
4
|
+
<img height="250" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center" width="100%">
|
|
8
|
-
<a href="https://github.com/
|
|
9
|
-
<img height="20" src="https://github.com/
|
|
8
|
+
<a href="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml">
|
|
9
|
+
<img height="20" src="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml/badge.svg" />
|
|
10
10
|
</a>
|
|
11
|
-
<a href="https://github.com/
|
|
12
|
-
<a href="https://www.npmjs.com/package/csv-to-pg"><img height="20" src="https://img.shields.io/github/package-json/v/
|
|
11
|
+
<a href="https://github.com/constructive-io/constructive/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/csv-to-pg"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/constructive?filename=packages%2Fcsv-to-pg%2Fpackage.json"/></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
Create PostgreSQL statements from CSV files
|
|
@@ -64,9 +64,9 @@ csv2pg ./config.yaml
|
|
|
64
64
|
|
|
65
65
|
### 🧪 Testing
|
|
66
66
|
|
|
67
|
-
* [launchql/pgsql-test](https://github.com/
|
|
68
|
-
* [launchql/graphile-test](https://github.com/
|
|
69
|
-
* [launchql/pg-query-context](https://github.com/
|
|
67
|
+
* [launchql/pgsql-test](https://github.com/constructive-io/constructive/tree/main/packages/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.
|
|
68
|
+
* [launchql/graphile-test](https://github.com/constructive-io/constructive/tree/main/packages/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
|
|
69
|
+
* [launchql/pg-query-context](https://github.com/constructive-io/constructive/tree/main/packages/pg-query-context): **🔒 Session context injection** to add session-local context (e.g., `SET LOCAL`) into queries—ideal for setting `role`, `jwt.claims`, and other session settings.
|
|
70
70
|
|
|
71
71
|
### 🧠 Parsing & AST
|
|
72
72
|
|
|
@@ -79,24 +79,24 @@ csv2pg ./config.yaml
|
|
|
79
79
|
|
|
80
80
|
### 🚀 API & Dev Tools
|
|
81
81
|
|
|
82
|
-
* [launchql/server](https://github.com/
|
|
83
|
-
* [launchql/explorer](https://github.com/
|
|
82
|
+
* [launchql/server](https://github.com/constructive-io/constructive/tree/main/packages/server): **⚡ Express-based API server** powered by PostGraphile to expose a secure, scalable GraphQL API over your Postgres database.
|
|
83
|
+
* [launchql/explorer](https://github.com/constructive-io/constructive/tree/main/packages/explorer): **🔎 Visual API explorer** with GraphiQL for browsing across all databases and schemas—useful for debugging, documentation, and API prototyping.
|
|
84
84
|
|
|
85
85
|
### 🔁 Streaming & Uploads
|
|
86
86
|
|
|
87
|
-
* [launchql/s3-streamer](https://github.com/
|
|
88
|
-
* [launchql/etag-hash](https://github.com/
|
|
89
|
-
* [launchql/etag-stream](https://github.com/
|
|
90
|
-
* [launchql/uuid-hash](https://github.com/
|
|
91
|
-
* [launchql/uuid-stream](https://github.com/
|
|
92
|
-
* [launchql/upload-names](https://github.com/
|
|
87
|
+
* [launchql/s3-streamer](https://github.com/constructive-io/constructive/tree/main/packages/s3-streamer): **📤 Direct S3 streaming** for large files with support for metadata injection and content validation.
|
|
88
|
+
* [launchql/etag-hash](https://github.com/constructive-io/constructive/tree/main/packages/etag-hash): **🏷️ S3-compatible ETags** created by streaming and hashing file uploads in chunks.
|
|
89
|
+
* [launchql/etag-stream](https://github.com/constructive-io/constructive/tree/main/packages/etag-stream): **🔄 ETag computation** via Node stream transformer during upload or transfer.
|
|
90
|
+
* [launchql/uuid-hash](https://github.com/constructive-io/constructive/tree/main/packages/uuid-hash): **🆔 Deterministic UUIDs** generated from hashed content, great for deduplication and asset referencing.
|
|
91
|
+
* [launchql/uuid-stream](https://github.com/constructive-io/constructive/tree/main/packages/uuid-stream): **🌊 Streaming UUID generation** based on piped file content—ideal for upload pipelines.
|
|
92
|
+
* [launchql/upload-names](https://github.com/constructive-io/constructive/tree/main/packages/upload-names): **📂 Collision-resistant filenames** utility for structured and unique file names for uploads.
|
|
93
93
|
|
|
94
94
|
### 🧰 CLI & Codegen
|
|
95
95
|
|
|
96
|
-
* [@launchql/cli](https://github.com/
|
|
97
|
-
* [
|
|
98
|
-
* [@launchql/query-builder](https://github.com/
|
|
99
|
-
* [@launchql/query](https://github.com/
|
|
96
|
+
* [@launchql/cli](https://github.com/constructive-io/constructive/tree/main/packages/cli): **🖥️ Command-line toolkit** for managing LaunchQL projects—supports database scaffolding, migrations, seeding, code generation, and automation.
|
|
97
|
+
* [constructive-io/constructive-gen](https://github.com/constructive-io/constructive/tree/main/packages/launchql-gen): **✨ Auto-generated GraphQL** mutations and queries dynamically built from introspected schema data.
|
|
98
|
+
* [@launchql/query-builder](https://github.com/constructive-io/constructive/tree/main/packages/query-builder): **🏗️ SQL constructor** providing a robust TypeScript-based query builder for dynamic generation of `SELECT`, `INSERT`, `UPDATE`, `DELETE`, and stored procedure calls—supports advanced SQL features like `JOIN`, `GROUP BY`, and schema-qualified queries.
|
|
99
|
+
* [@launchql/query](https://github.com/constructive-io/constructive/tree/main/packages/query): **🧩 Fluent GraphQL builder** for PostGraphile schemas. ⚡ Schema-aware via introspection, 🧩 composable and ergonomic for building deeply nested queries.
|
|
100
100
|
|
|
101
101
|
## Disclaimer
|
|
102
102
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "csv-to-pg",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.4",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "csv to pg statements",
|
|
6
6
|
"main": "index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/js-yaml": "^4.0.9",
|
|
36
36
|
"makage": "^0.1.12",
|
|
37
|
-
"pgsql-parser": "^17.9.
|
|
37
|
+
"pgsql-parser": "^17.9.13"
|
|
38
38
|
},
|
|
39
39
|
"keywords": [
|
|
40
40
|
"csv",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@pgsql/types": "^17.6.2",
|
|
47
|
-
"@pgsql/utils": "^17.8.
|
|
47
|
+
"@pgsql/utils": "^17.8.14",
|
|
48
48
|
"csv-parser": "^3.2.0",
|
|
49
|
-
"inquirerer": "^4.
|
|
49
|
+
"inquirerer": "^4.7.0",
|
|
50
50
|
"js-yaml": "^4.1.0",
|
|
51
|
-
"pgsql-deparser": "^17.18.
|
|
51
|
+
"pgsql-deparser": "^17.18.1"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "8afe6b19da82facbe5f3365762ba52888af5b3c9"
|
|
54
54
|
}
|