orchid-orm 1.5.5 → 1.5.8
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 +20 -0
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/codegen/utils.ts +4 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# orchid-orm
|
|
2
2
|
|
|
3
|
+
## 1.5.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix import path on windows in generated code
|
|
8
|
+
|
|
9
|
+
## 1.5.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- pqb@0.9.6
|
|
15
|
+
|
|
16
|
+
## 1.5.6
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- pqb@0.9.5
|
|
22
|
+
|
|
3
23
|
## 1.5.5
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1586,12 +1586,10 @@ const ts = {
|
|
|
1586
1586
|
}
|
|
1587
1587
|
};
|
|
1588
1588
|
|
|
1589
|
-
const getRelativePath = (from, to) => {
|
|
1590
|
-
const rel = path__default["default"].relative(path__default["default"].dirname(from), to);
|
|
1591
|
-
return rel.startsWith("./") || rel.startsWith("../") ? rel : `./${rel}`;
|
|
1592
|
-
};
|
|
1593
1589
|
const getImportPath = (from, to) => {
|
|
1594
|
-
|
|
1590
|
+
const rel = path__default["default"].posix.relative(path__default["default"].dirname(from), to);
|
|
1591
|
+
const importPath = rel.startsWith("./") || rel.startsWith("../") ? rel : `./${rel}`;
|
|
1592
|
+
return importPath.replace(/\.[tj]s$/, "");
|
|
1595
1593
|
};
|
|
1596
1594
|
|
|
1597
1595
|
const libraryName = "orchid-orm";
|