@sanity/cli 3.63.0 → 3.64.1

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.
@@ -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(/(\\*)"/g, '$1$1\\"'), arg = arg.replace(/(\\*)$/, "$1$1"), arg = `"${arg}"`, arg = arg.replace(metaCharsRegExp, "^$1"), doubleEscapeMetaChars && (arg = arg.replace(metaCharsRegExp, "^$1")), arg;
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 in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, 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) {
@@ -45440,7 +45446,7 @@ You can find your project on Sanity Manage \u2014 https://www.sanity.io/manage/p
45440
45446
  cwd: workDir,
45441
45447
  stdio: "inherit"
45442
45448
  };
45443
- chosen === "npm" ? await execa("npm", ["install", "next-sanity@9"], execOptions) : chosen === "yarn" ? await execa("npx", ["install-peerdeps", "--yarn", "next-sanity@9"], execOptions) : chosen === "pnpm" && await execa("pnpm", ["install", "next-sanity@9"], execOptions), print(
45449
+ chosen === "npm" ? await execa("npm", ["install", "--legacy-peer-deps", "next-sanity@9"], execOptions) : chosen === "yarn" ? await execa("npx", ["install-peerdeps", "--yarn", "next-sanity@9"], execOptions) : chosen === "pnpm" && await execa("pnpm", ["install", "next-sanity@9"], execOptions), print(
45444
45450
  `
45445
45451
  ${chalk2.green("Success!")} Your Sanity configuration files has been added to this project`
45446
45452
  );