@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 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 at all, so the `await import()`
145
- // there is not what isolates pg / mysql2 / @aws-sdk — that happens one
146
- // layer down, in src/*/connection.ts (and src/dynamodb/dynamodb-db.ts).
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
@@ -4,7 +4,7 @@
4
4
  "stonyx-async",
5
5
  "stonyx-module"
6
6
  ],
7
- "version": "0.3.2-alpha.109",
7
+ "version": "0.3.2-alpha.110",
8
8
  "description": "",
9
9
  "main": "dist/index.js",
10
10
  "type": "module",
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 at all, so the `await import()`
191
- // there is not what isolates pg / mysql2 / @aws-sdk — that happens one
192
- // layer down, in src/*/connection.ts (and src/dynamodb/dynamodb-db.ts).
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');