@sanity/cli 3.63.0 → 3.64.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/lib/_chunks-cjs/cli.js
CHANGED
@@ -18348,7 +18348,7 @@ function require_escape() {
|
|
18348
18348
|
return arg = arg.replace(metaCharsRegExp, "^$1"), arg;
|
18349
18349
|
}
|
18350
18350
|
function escapeArgument(arg, doubleEscapeMetaChars) {
|
18351
|
-
return arg = `${arg}`, arg = arg.replace(/(
|
18351
|
+
return arg = `${arg}`, arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"'), arg = arg.replace(/(?=(\\+?)?)\1$/, "$1$1"), arg = `"${arg}"`, arg = arg.replace(metaCharsRegExp, "^$1"), doubleEscapeMetaChars && (arg = arg.replace(metaCharsRegExp, "^$1")), arg;
|
18352
18352
|
}
|
18353
18353
|
return _escape.command = escapeCommand, _escape.argument = escapeArgument, _escape;
|
18354
18354
|
}
|
@@ -24045,11 +24045,17 @@ var __setModuleDefault = Object.create ? function(o, v) {
|
|
24045
24045
|
Object.defineProperty(o, "default", { enumerable: !0, value: v });
|
24046
24046
|
} : function(o, v) {
|
24047
24047
|
o.default = v;
|
24048
|
+
}, ownKeys = function(o) {
|
24049
|
+
return ownKeys = Object.getOwnPropertyNames || function(o2) {
|
24050
|
+
var ar = [];
|
24051
|
+
for (var k in o2) Object.prototype.hasOwnProperty.call(o2, k) && (ar[ar.length] = k);
|
24052
|
+
return ar;
|
24053
|
+
}, ownKeys(o);
|
24048
24054
|
};
|
24049
24055
|
function __importStar(mod) {
|
24050
24056
|
if (mod && mod.__esModule) return mod;
|
24051
24057
|
var result = {};
|
24052
|
-
if (mod != null) for (var k
|
24058
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) k[i] !== "default" && __createBinding(result, mod, k[i]);
|
24053
24059
|
return __setModuleDefault(result, mod), result;
|
24054
24060
|
}
|
24055
24061
|
function __importDefault(mod) {
|