silgi 0.17.7 → 0.17.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/dist/_chunks/index.mjs
CHANGED
|
@@ -1516,7 +1516,7 @@ async function createSilgiCLI(config = {}, opts = {}) {
|
|
|
1516
1516
|
|
|
1517
1517
|
function serializeToJs(obj, indent = 2, level = 0) {
|
|
1518
1518
|
if (obj === null || obj === void 0) {
|
|
1519
|
-
return String(obj);
|
|
1519
|
+
return obj === void 0 ? "undefined as any" : String(obj);
|
|
1520
1520
|
}
|
|
1521
1521
|
if (typeof obj === "function") {
|
|
1522
1522
|
return obj.toString();
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED