@sanity/cli 3.93.1-bump-pkg-utils.10.412e2ab170 → 3.93.1-next.0.3919f50978

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.
@@ -19710,7 +19710,7 @@ function requireUtils$2() {
19710
19710
  exports2.isInteger = (num) => typeof num == "number" ? Number.isInteger(num) : typeof num == "string" && num.trim() !== "" ? Number.isInteger(Number(num)) : !1, exports2.find = (node, type2) => node.nodes.find((node2) => node2.type === type2), exports2.exceedsLimit = (min2, max2, step = 1, limit) => limit === !1 || !exports2.isInteger(min2) || !exports2.isInteger(max2) ? !1 : (Number(max2) - Number(min2)) / Number(step) >= limit, exports2.escapeNode = (block, n = 0, type2) => {
19711
19711
  const node = block.nodes[n];
19712
19712
  node && (type2 && node.type === type2 || node.type === "open" || node.type === "close") && node.escaped !== !0 && (node.value = "\\" + node.value, node.escaped = !0);
19713
- }, exports2.encloseBrace = (node) => node.type !== "brace" ? !1 : node.commas >> 0 + node.ranges >> 0 === 0 ? (node.invalid = !0, !0) : !1, exports2.isInvalidBrace = (block) => block.type !== "brace" ? !1 : block.invalid === !0 || block.dollar ? !0 : block.commas >> 0 + block.ranges >> 0 === 0 || block.open !== !0 || block.close !== !0 ? (block.invalid = !0, !0) : !1, exports2.isOpenOrClose = (node) => node.type === "open" || node.type === "close" ? !0 : node.open === !0 || node.close === !0, exports2.reduce = (nodes) => nodes.reduce((acc, node) => (node.type === "text" && acc.push(node.value), node.type === "range" && (node.type = "text"), acc), []), exports2.flatten = (...args) => {
19713
+ }, exports2.encloseBrace = (node) => node.type !== "brace" || node.commas >> 0 + node.ranges >> 0 ? !1 : (node.invalid = !0, !0), exports2.isInvalidBrace = (block) => block.type !== "brace" ? !1 : block.invalid === !0 || block.dollar ? !0 : !(block.commas >> 0 + block.ranges >> 0) || block.open !== !0 || block.close !== !0 ? (block.invalid = !0, !0) : !1, exports2.isOpenOrClose = (node) => node.type === "open" || node.type === "close" ? !0 : node.open === !0 || node.close === !0, exports2.reduce = (nodes) => nodes.reduce((acc, node) => (node.type === "text" && acc.push(node.value), node.type === "range" && (node.type = "text"), acc), []), exports2.flatten = (...args) => {
19714
19714
  const result = [], flat = (arr) => {
19715
19715
  for (let i = 0; i < arr.length; i++) {
19716
19716
  const ele = arr[i];
@@ -50943,7 +50943,7 @@ class PathBase {
50943
50943
  * mutated.
50944
50944
  */
50945
50945
  async lstat() {
50946
- if ((this.#type & ENOENT) === 0)
50946
+ if (!(this.#type & ENOENT))
50947
50947
  try {
50948
50948
  return this.#applyStat(await this.#fs.promises.lstat(this.fullpath())), this;
50949
50949
  } catch (er) {
@@ -50954,7 +50954,7 @@ class PathBase {
50954
50954
  * synchronous {@link PathBase.lstat}
50955
50955
  */
50956
50956
  lstatSync() {
50957
- if ((this.#type & ENOENT) === 0)
50957
+ if (!(this.#type & ENOENT))
50958
50958
  try {
50959
50959
  return this.#applyStat(this.#fs.lstatSync(this.fullpath())), this;
50960
50960
  } catch (er) {
@@ -63501,7 +63501,7 @@ function requireUtf8() {
63501
63501
  det.fRawLength >= 3 && (input2[0] & 255) == 239 && (input2[1] & 255) == 187 && (input2[2] & 255) == 191 && (hasBOM = !0);
63502
63502
  for (var i = 0; i < det.fRawLength; i++) {
63503
63503
  var b = input2[i];
63504
- if ((b & 128) != 0) {
63504
+ if (b & 128) {
63505
63505
  if ((b & 224) == 192)
63506
63506
  trailBytes = 1;
63507
63507
  else if ((b & 240) == 224)