orchid-orm 1.5.3 → 1.5.5
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/CHANGELOG.md +13 -0
- package/dist/index.js +22 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/codegen/tsUtils.ts +2 -3
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { getColumnTypes, addQueryOn, VirtualColumn, pushQueryValue, isQueryRetur
|
|
|
2
2
|
import * as path from 'path';
|
|
3
3
|
import path__default from 'path';
|
|
4
4
|
import fs from 'fs/promises';
|
|
5
|
-
import
|
|
5
|
+
import typescript from 'typescript';
|
|
6
6
|
|
|
7
7
|
const createBaseTable = (options) => {
|
|
8
8
|
return class BaseTable {
|
|
@@ -1419,6 +1419,7 @@ class FileChanges {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
1422
|
+
const { createSourceFile, ScriptTarget, SyntaxKind } = typescript;
|
|
1422
1423
|
const iterate = (kind) => {
|
|
1423
1424
|
return function* (statements) {
|
|
1424
1425
|
for (const node of statements) {
|