sonamu 0.2.51 → 0.2.53
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/bin/cli-wrapper.mjs +1 -2
- package/dist/bin/cli-wrapper.mjs.map +1 -1
- package/dist/bin/cli.js +48 -48
- package/dist/bin/cli.mjs +2 -3
- package/dist/bin/cli.mjs.map +1 -1
- package/dist/{chunk-4EET56IE.js → chunk-5UCV2JP3.js} +11 -11
- package/dist/chunk-5UCV2JP3.js.map +1 -0
- package/dist/{chunk-JXJTFHF7.mjs → chunk-PTFDTOJU.mjs} +1 -2
- package/dist/{chunk-JXJTFHF7.mjs.map → chunk-PTFDTOJU.mjs.map} +1 -1
- package/dist/{chunk-HEPO4HGK.mjs → chunk-XTNCGTDO.mjs} +3 -4
- package/dist/chunk-XTNCGTDO.mjs.map +1 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/database/db.ts +3 -1
- package/dist/chunk-4EET56IE.js.map +0 -1
- package/dist/chunk-HEPO4HGK.mjs.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
const require = (await import('module')).createRequire(import.meta.url);
|
|
2
1
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
2
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
3
|
}) : x)(function(x) {
|
|
@@ -17,4 +16,4 @@ export {
|
|
|
17
16
|
__require,
|
|
18
17
|
__dirname
|
|
19
18
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
19
|
+
//# sourceMappingURL=chunk-PTFDTOJU.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../.yarn/__virtual__/tsup-virtual-f33144b08b/0/cache/tsup-npm-8.1.0-e8aa84f4b8-15b759e013.zip/node_modules/tsup/assets/esm_shims.js"],"sourcesContent":["// Shim globals in esm bundle\nimport { fileURLToPath } from 'url'\nimport path from 'path'\n\nconst getFilename = () => fileURLToPath(import.meta.url)\nconst getDirname = () => path.dirname(getFilename())\n\nexport const __dirname = /* @__PURE__ */ getDirname()\nexport const __filename = /* @__PURE__ */ getFilename()\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../.yarn/__virtual__/tsup-virtual-f33144b08b/0/cache/tsup-npm-8.1.0-e8aa84f4b8-15b759e013.zip/node_modules/tsup/assets/esm_shims.js"],"sourcesContent":["// Shim globals in esm bundle\nimport { fileURLToPath } from 'url'\nimport path from 'path'\n\nconst getFilename = () => fileURLToPath(import.meta.url)\nconst getDirname = () => path.dirname(getFilename())\n\nexport const __dirname = /* @__PURE__ */ getDirname()\nexport const __filename = /* @__PURE__ */ getFilename()\n"],"mappings":";;;;;;;;AACA,SAAS,qBAAqB;AAC9B,OAAO,UAAU;AAEjB,IAAM,cAAc,MAAM,cAAc,YAAY,GAAG;AACvD,IAAM,aAAa,MAAM,KAAK,QAAQ,YAAY,CAAC;AAE5C,IAAM,YAA4B,2BAAW;","names":[]}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
const require = (await import('module')).createRequire(import.meta.url);
|
|
2
1
|
import {
|
|
3
2
|
__dirname,
|
|
4
3
|
__require
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PTFDTOJU.mjs";
|
|
6
5
|
|
|
7
6
|
// src/types/types.ts
|
|
8
7
|
import { z } from "zod";
|
|
@@ -4162,7 +4161,7 @@ var DBClass = class {
|
|
|
4162
4161
|
);
|
|
4163
4162
|
try {
|
|
4164
4163
|
const knexfileModule = await import(dbConfigPath);
|
|
4165
|
-
return knexfileModule.default;
|
|
4164
|
+
return knexfileModule.default?.default ?? knexfileModule.default ?? knexfileModule;
|
|
4166
4165
|
} catch {
|
|
4167
4166
|
}
|
|
4168
4167
|
throw new ServiceUnavailableException(
|
|
@@ -7831,4 +7830,4 @@ export {
|
|
|
7831
7830
|
FixtureManagerClass,
|
|
7832
7831
|
FixtureManager
|
|
7833
7832
|
};
|
|
7834
|
-
//# sourceMappingURL=chunk-
|
|
7833
|
+
//# sourceMappingURL=chunk-XTNCGTDO.mjs.map
|