@datapos/datapos-development 0.3.152 → 0.3.153
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.
|
@@ -5131,19 +5131,14 @@ async function Vs() {
|
|
|
5131
5131
|
break;
|
|
5132
5132
|
}
|
|
5133
5133
|
for (const j in R) {
|
|
5134
|
-
if (j === "loc" || j === "range" || j === "start" || j === "end" || j === "comments")
|
|
5135
|
-
continue;
|
|
5134
|
+
if (j === "loc" || j === "range" || j === "start" || j === "end" || j === "comments") continue;
|
|
5136
5135
|
const J = R[j];
|
|
5137
5136
|
Array.isArray(J) ? J.forEach(t) : J && typeof J == "object" && typeof J.type == "string" && t(J);
|
|
5138
5137
|
}
|
|
5139
5138
|
}
|
|
5140
5139
|
};
|
|
5141
5140
|
console.info("🚀 Building connector configuration...");
|
|
5142
|
-
const e = JSON.parse(await M.readFile("package.json", "utf8")), r = JSON.parse(await M.readFile("config.json", "utf8")), a = await M.readFile("src/index.ts", "utf8"), f = K.extend(Es()).parse(a, {
|
|
5143
|
-
ecmaVersion: "latest",
|
|
5144
|
-
sourceType: "module",
|
|
5145
|
-
locations: !0
|
|
5146
|
-
}), d = /* @__PURE__ */ new Set();
|
|
5141
|
+
const e = JSON.parse(await M.readFile("package.json", "utf8")), r = JSON.parse(await M.readFile("config.json", "utf8")), a = await M.readFile("src/index.ts", "utf8"), f = K.extend(Es()).parse(a, { ecmaVersion: "latest", sourceType: "module", locations: !0 }), d = /* @__PURE__ */ new Set();
|
|
5147
5142
|
t(f), console.log(`Extracted ${d.size} functions:`, Array.from(d));
|
|
5148
5143
|
let v = !1, g = !1;
|
|
5149
5144
|
const o = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, w = [...a.matchAll(o)].filter((R) => R[1] == null && R[2] !== "constructor"), _ = [];
|
package/package.json
CHANGED