@stonyx/orm 0.3.2-alpha.109 → 0.3.2-alpha.110
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/dist/main.js +5 -3
- package/package.json +1 -1
- package/src/main.ts +5 -3
package/dist/main.js
CHANGED
|
@@ -141,9 +141,11 @@ export default class Orm {
|
|
|
141
141
|
// optional peer.
|
|
142
142
|
//
|
|
143
143
|
// NOT the same reason the SQL/DynamoDB drivers above are lazy: those
|
|
144
|
-
// modules carry no static peer specifier
|
|
145
|
-
//
|
|
146
|
-
//
|
|
144
|
+
// modules carry no static peer specifier that survives to `dist/`
|
|
145
|
+
// (postgres-db.ts:15 and mysql-db.ts:17 are `import type`, erased by
|
|
146
|
+
// tsc), so the `await import()` there is not what isolates pg / mysql2 /
|
|
147
|
+
// @aws-sdk — that happens one layer down, in src/*/connection.ts (and
|
|
148
|
+
// src/dynamodb/dynamodb-db.ts).
|
|
147
149
|
// setup-rest-server.js is the only dist module whose laziness is
|
|
148
150
|
// load-bearing for peer resolution. (#280)
|
|
149
151
|
const { default: setupRestServer } = await import('./setup-rest-server.js');
|
package/package.json
CHANGED
package/src/main.ts
CHANGED
|
@@ -187,9 +187,11 @@ export default class Orm {
|
|
|
187
187
|
// optional peer.
|
|
188
188
|
//
|
|
189
189
|
// NOT the same reason the SQL/DynamoDB drivers above are lazy: those
|
|
190
|
-
// modules carry no static peer specifier
|
|
191
|
-
//
|
|
192
|
-
//
|
|
190
|
+
// modules carry no static peer specifier that survives to `dist/`
|
|
191
|
+
// (postgres-db.ts:15 and mysql-db.ts:17 are `import type`, erased by
|
|
192
|
+
// tsc), so the `await import()` there is not what isolates pg / mysql2 /
|
|
193
|
+
// @aws-sdk — that happens one layer down, in src/*/connection.ts (and
|
|
194
|
+
// src/dynamodb/dynamodb-db.ts).
|
|
193
195
|
// setup-rest-server.js is the only dist module whose laziness is
|
|
194
196
|
// load-bearing for peer resolution. (#280)
|
|
195
197
|
const { default: setupRestServer } = await import('./setup-rest-server.js');
|