s3db.js 12.3.0 → 12.4.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 +117 -0
- package/dist/s3db.cjs.js +1171 -28
- package/dist/s3db.cjs.js.map +1 -1
- package/dist/s3db.es.js +1171 -31
- package/dist/s3db.es.js.map +1 -1
- package/package.json +2 -2
- package/src/clients/index.js +14 -0
- package/src/clients/memory-client.class.js +883 -0
- package/src/clients/memory-client.md +917 -0
- package/src/clients/memory-storage.class.js +504 -0
- package/src/{client.class.js → clients/s3-client.class.js} +11 -10
- package/src/database.class.js +2 -2
- package/src/index.js +2 -1
- package/src/plugins/replicators/bigquery-replicator.class.js +100 -20
- package/src/plugins/replicators/schema-sync.helper.js +34 -2
- package/src/plugins/tfstate/s3-driver.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "s3db.js",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"description": "Use AWS S3, the world's most reliable document storage, as a database with this ORM.",
|
|
5
5
|
"main": "dist/s3db.cjs.js",
|
|
6
6
|
"module": "dist/s3db.es.js",
|
|
@@ -131,6 +131,7 @@
|
|
|
131
131
|
"@rollup/plugin-terser": "^0.4.4",
|
|
132
132
|
"@types/node": "24.7.0",
|
|
133
133
|
"@xenova/transformers": "^2.17.2",
|
|
134
|
+
"@yao-pkg/pkg": "^6.9.0",
|
|
134
135
|
"amqplib": "^0.10.9",
|
|
135
136
|
"babel-loader": "^10.0.0",
|
|
136
137
|
"chalk": "^5.6.2",
|
|
@@ -143,7 +144,6 @@
|
|
|
143
144
|
"node-loader": "^2.1.0",
|
|
144
145
|
"ora": "^9.0.0",
|
|
145
146
|
"pg": "^8.16.3",
|
|
146
|
-
"pkg": "^5.8.1",
|
|
147
147
|
"rollup": "^4.52.5",
|
|
148
148
|
"rollup-plugin-copy": "^3.5.0",
|
|
149
149
|
"rollup-plugin-esbuild": "^6.2.1",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* S3DB Clients
|
|
3
|
+
*
|
|
4
|
+
* Provides different client implementations for S3DB:
|
|
5
|
+
* - S3Client: Production client for AWS S3, MinIO, LocalStack
|
|
6
|
+
* - MemoryClient: Ultra-fast in-memory client for testing
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export { S3Client } from './s3-client.class.js';
|
|
10
|
+
export { MemoryClient } from './memory-client.class.js';
|
|
11
|
+
export { MemoryStorage } from './memory-storage.class.js';
|
|
12
|
+
|
|
13
|
+
// Default export is S3Client for backward compatibility
|
|
14
|
+
export { S3Client as default } from './s3-client.class.js';
|