@datapos/datapos-development 0.3.287 → 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 = `${t} ${i.join(" ")}`;
7678
- e !== void 0 && se(`${e} - exec(${n})`);
7679
- const { stdout: u, stderr: h } = await Rh(n);
7680
- r === void 0 ? u.trim() && console.log(u.trim()) : await Ce.writeFile(r, u.trim(), "utf8"), h.trim() && console.error(h.trim());
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.287",
3
+ "version": "0.3.289",
4
4
  "description": "A library of utilities used to manage Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",