create-mastra 0.10.4 → 0.10.5-alpha.0
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -415,8 +415,8 @@ function requireQuote () {
|
|
|
415
415
|
if (s && typeof s === 'object') {
|
|
416
416
|
return s.op.replace(/(.)/g, '\\$1');
|
|
417
417
|
}
|
|
418
|
-
if ((/["\s]/).test(s) && !(/'/).test(s)) {
|
|
419
|
-
return "'" + s.replace(/(['
|
|
418
|
+
if ((/["\s\\]/).test(s) && !(/'/).test(s)) {
|
|
419
|
+
return "'" + s.replace(/(['])/g, '\\$1') + "'";
|
|
420
420
|
}
|
|
421
421
|
if ((/["'\s]/).test(s)) {
|
|
422
422
|
return '"' + s.replace(/(["\\$`!])/g, '\\$1') + '"';
|