@datapos/datapos-development 0.3.288 → 0.3.289
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.
|
@@ -7674,10 +7674,10 @@ function Ii(e) {
|
|
|
7674
7674
|
}), r;
|
|
7675
7675
|
}
|
|
7676
7676
|
async function ve(e, t, i = [], r) {
|
|
7677
|
-
const n =
|
|
7678
|
-
e !== void 0 && se(`${e} - exec(${
|
|
7679
|
-
const { stdout:
|
|
7680
|
-
r === void 0 ?
|
|
7677
|
+
const n = (y) => y === "" ? "''" : /^[A-Za-z0-9@%_=+:,./-]+$/.test(y) ? y : `'${y.replace(/'/g, "'\\''")}'`, u = [t, ...i.map(n)].join(" ").trim();
|
|
7678
|
+
e !== void 0 && se(`${e} - exec(${u})`);
|
|
7679
|
+
const { stdout: h, stderr: d } = await Rh(u);
|
|
7680
|
+
r === void 0 ? h.trim() && console.log(h.trim()) : await Ce.writeFile(r, h.trim(), "utf8"), d.trim() && console.error(d.trim());
|
|
7681
7681
|
}
|
|
7682
7682
|
async function Dh(e, t) {
|
|
7683
7683
|
return Ce.readdir(e, t);
|
package/package.json
CHANGED