orchid-orm 1.5.22 → 1.5.23
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 +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/codegen/utils.ts +6 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1591,7 +1591,7 @@ const ts = {
|
|
|
1591
1591
|
};
|
|
1592
1592
|
|
|
1593
1593
|
const getImportPath = (from, to) => {
|
|
1594
|
-
const rel = path__default["default"].
|
|
1594
|
+
const rel = path__default["default"].relative(path__default["default"].dirname(from), to).split(path__default["default"].sep).join(path__default["default"].posix.sep);
|
|
1595
1595
|
const importPath = rel.startsWith("./") || rel.startsWith("../") ? rel : `./${rel}`;
|
|
1596
1596
|
return importPath.replace(/\.[tj]s$/, "");
|
|
1597
1597
|
};
|