@fordi-org/sdn 0.0.3 → 0.0.4

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/lib/shellQuote.js CHANGED
@@ -7,5 +7,5 @@ export function shellQuote(s, ...rest) {
7
7
  }
8
8
  if (s === '') return `''`;
9
9
  if (!/[^%+,-.\/:=@_0-9A-Za-z]/.test(s)) return s;
10
- return `'` + s.replace(/'/g, `'\''`) + `'`;
10
+ return `'` + s.replace(/'/g, `'\\''`) + `'`;
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fordi-org/sdn",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Make an npm project run as a systemd service",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",