@sanity/cli 5.2.0-next.17 → 5.2.0-next.22
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 +51 -83
- package/lib/_chunks-cjs/cli.js.map +1 -1
- package/package.json +8 -8
package/lib/_chunks-cjs/cli.js
CHANGED
|
@@ -93,9 +93,9 @@ const CliCommand = telemetry.defineTrace({
|
|
|
93
93
|
version: 1,
|
|
94
94
|
description: "A CLI command was executed"
|
|
95
95
|
});
|
|
96
|
-
var freeGlobal = typeof global == "object" && global && global.Object === Object && global, freeSelf = typeof self == "object" && self && self.Object === Object && self, root$1 = freeGlobal || freeSelf || Function("return this")(), Symbol$1 = root$1.Symbol, objectProto$
|
|
96
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global, freeSelf = typeof self == "object" && self && self.Object === Object && self, root$1 = freeGlobal || freeSelf || Function("return this")(), Symbol$1 = root$1.Symbol, objectProto$g = Object.prototype, hasOwnProperty$d = objectProto$g.hasOwnProperty, nativeObjectToString$1 = objectProto$g.toString, symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
|
|
97
97
|
function getRawTag(value) {
|
|
98
|
-
var isOwn = hasOwnProperty$
|
|
98
|
+
var isOwn = hasOwnProperty$d.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
99
99
|
try {
|
|
100
100
|
value[symToStringTag$1] = void 0;
|
|
101
101
|
var unmasked = !0;
|
|
@@ -104,7 +104,7 @@ function getRawTag(value) {
|
|
|
104
104
|
var result = nativeObjectToString$1.call(value);
|
|
105
105
|
return unmasked && (isOwn ? value[symToStringTag$1] = tag : delete value[symToStringTag$1]), result;
|
|
106
106
|
}
|
|
107
|
-
var objectProto$
|
|
107
|
+
var objectProto$f = Object.prototype, nativeObjectToString = objectProto$f.toString;
|
|
108
108
|
function objectToString(value) {
|
|
109
109
|
return nativeObjectToString.call(value);
|
|
110
110
|
}
|
|
@@ -210,8 +210,8 @@ function toSource(func) {
|
|
|
210
210
|
}
|
|
211
211
|
return "";
|
|
212
212
|
}
|
|
213
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, reIsHostCtor = /^\[object .+?Constructor\]$/, funcProto$1 = Function.prototype, objectProto$
|
|
214
|
-
"^" + funcToString$1.call(hasOwnProperty$
|
|
213
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, reIsHostCtor = /^\[object .+?Constructor\]$/, funcProto$1 = Function.prototype, objectProto$e = Object.prototype, funcToString$1 = funcProto$1.toString, hasOwnProperty$c = objectProto$e.hasOwnProperty, reIsNative = RegExp(
|
|
214
|
+
"^" + funcToString$1.call(hasOwnProperty$c).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
215
215
|
);
|
|
216
216
|
function baseIsNative(value) {
|
|
217
217
|
if (!isObject$1(value) || isMasked(value))
|
|
@@ -319,10 +319,10 @@ function baseAssignValue(object, key2, value) {
|
|
|
319
319
|
function eq(value, other) {
|
|
320
320
|
return value === other || value !== value && other !== other;
|
|
321
321
|
}
|
|
322
|
-
var objectProto$
|
|
322
|
+
var objectProto$d = Object.prototype, hasOwnProperty$b = objectProto$d.hasOwnProperty;
|
|
323
323
|
function assignValue(object, key2, value) {
|
|
324
324
|
var objValue = object[key2];
|
|
325
|
-
(!(hasOwnProperty$
|
|
325
|
+
(!(hasOwnProperty$b.call(object, key2) && eq(objValue, value)) || value === void 0 && !(key2 in object)) && baseAssignValue(object, key2, value);
|
|
326
326
|
}
|
|
327
327
|
function copyObject(source2, props, object, customizer) {
|
|
328
328
|
var isNew = !object;
|
|
@@ -360,9 +360,9 @@ function isIterateeCall(value, index, object) {
|
|
|
360
360
|
var type2 = typeof index;
|
|
361
361
|
return (type2 == "number" ? isArrayLike$1(object) && isIndex(index, object.length) : type2 == "string" && index in object) ? eq(object[index], value) : !1;
|
|
362
362
|
}
|
|
363
|
-
var objectProto$
|
|
363
|
+
var objectProto$c = Object.prototype;
|
|
364
364
|
function isPrototype(value) {
|
|
365
|
-
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$
|
|
365
|
+
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$c;
|
|
366
366
|
return value === proto;
|
|
367
367
|
}
|
|
368
368
|
function baseTimes(n, iteratee) {
|
|
@@ -374,10 +374,10 @@ var argsTag$3 = "[object Arguments]";
|
|
|
374
374
|
function baseIsArguments(value) {
|
|
375
375
|
return isObjectLike(value) && baseGetTag(value) == argsTag$3;
|
|
376
376
|
}
|
|
377
|
-
var objectProto$
|
|
377
|
+
var objectProto$b = Object.prototype, hasOwnProperty$a = objectProto$b.hasOwnProperty, propertyIsEnumerable$1 = objectProto$b.propertyIsEnumerable, isArguments = baseIsArguments(/* @__PURE__ */ (function() {
|
|
378
378
|
return arguments;
|
|
379
379
|
})()) ? baseIsArguments : function(value) {
|
|
380
|
-
return isObjectLike(value) && hasOwnProperty$
|
|
380
|
+
return isObjectLike(value) && hasOwnProperty$a.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
381
381
|
};
|
|
382
382
|
function stubFalse() {
|
|
383
383
|
return !1;
|
|
@@ -399,11 +399,11 @@ var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType &
|
|
|
399
399
|
return types2 || freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
400
400
|
} catch {
|
|
401
401
|
}
|
|
402
|
-
})(), nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray, isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray, objectProto$
|
|
402
|
+
})(), nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray, isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray, objectProto$a = Object.prototype, hasOwnProperty$9 = objectProto$a.hasOwnProperty;
|
|
403
403
|
function arrayLikeKeys(value, inherited) {
|
|
404
404
|
var isArr = isArray$1(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
|
405
405
|
for (var key2 in value)
|
|
406
|
-
(inherited || hasOwnProperty$
|
|
406
|
+
(inherited || hasOwnProperty$9.call(value, key2)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
407
407
|
(key2 == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
408
408
|
isBuff && (key2 == "offset" || key2 == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
409
409
|
isType && (key2 == "buffer" || key2 == "byteLength" || key2 == "byteOffset") || // Skip index properties.
|
|
@@ -415,13 +415,13 @@ function overArg(func, transform) {
|
|
|
415
415
|
return func(transform(arg));
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
|
-
var nativeKeys = overArg(Object.keys, Object), objectProto$
|
|
418
|
+
var nativeKeys = overArg(Object.keys, Object), objectProto$9 = Object.prototype, hasOwnProperty$8 = objectProto$9.hasOwnProperty;
|
|
419
419
|
function baseKeys(object) {
|
|
420
420
|
if (!isPrototype(object))
|
|
421
421
|
return nativeKeys(object);
|
|
422
422
|
var result = [];
|
|
423
423
|
for (var key2 in Object(object))
|
|
424
|
-
hasOwnProperty$
|
|
424
|
+
hasOwnProperty$8.call(object, key2) && key2 != "constructor" && result.push(key2);
|
|
425
425
|
return result;
|
|
426
426
|
}
|
|
427
427
|
function keys(object) {
|
|
@@ -434,13 +434,13 @@ function nativeKeysIn(object) {
|
|
|
434
434
|
result.push(key2);
|
|
435
435
|
return result;
|
|
436
436
|
}
|
|
437
|
-
var objectProto$
|
|
437
|
+
var objectProto$8 = Object.prototype, hasOwnProperty$7 = objectProto$8.hasOwnProperty;
|
|
438
438
|
function baseKeysIn(object) {
|
|
439
439
|
if (!isObject$1(object))
|
|
440
440
|
return nativeKeysIn(object);
|
|
441
441
|
var isProto = isPrototype(object), result = [];
|
|
442
442
|
for (var key2 in object)
|
|
443
|
-
key2 == "constructor" && (isProto || !hasOwnProperty$
|
|
443
|
+
key2 == "constructor" && (isProto || !hasOwnProperty$7.call(object, key2)) || result.push(key2);
|
|
444
444
|
return result;
|
|
445
445
|
}
|
|
446
446
|
function keysIn(object) {
|
|
@@ -461,19 +461,19 @@ function hashDelete(key2) {
|
|
|
461
461
|
var result = this.has(key2) && delete this.__data__[key2];
|
|
462
462
|
return this.size -= result ? 1 : 0, result;
|
|
463
463
|
}
|
|
464
|
-
var HASH_UNDEFINED$2 = "__lodash_hash_undefined__", objectProto$
|
|
464
|
+
var HASH_UNDEFINED$2 = "__lodash_hash_undefined__", objectProto$7 = Object.prototype, hasOwnProperty$6 = objectProto$7.hasOwnProperty;
|
|
465
465
|
function hashGet(key2) {
|
|
466
466
|
var data = this.__data__;
|
|
467
467
|
if (nativeCreate) {
|
|
468
468
|
var result = data[key2];
|
|
469
469
|
return result === HASH_UNDEFINED$2 ? void 0 : result;
|
|
470
470
|
}
|
|
471
|
-
return hasOwnProperty$
|
|
471
|
+
return hasOwnProperty$6.call(data, key2) ? data[key2] : void 0;
|
|
472
472
|
}
|
|
473
|
-
var objectProto$
|
|
473
|
+
var objectProto$6 = Object.prototype, hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
474
474
|
function hashHas(key2) {
|
|
475
475
|
var data = this.__data__;
|
|
476
|
-
return nativeCreate ? data[key2] !== void 0 : hasOwnProperty$
|
|
476
|
+
return nativeCreate ? data[key2] !== void 0 : hasOwnProperty$5.call(data, key2);
|
|
477
477
|
}
|
|
478
478
|
var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
|
|
479
479
|
function hashSet(key2, value) {
|
|
@@ -647,14 +647,14 @@ function flatten(array) {
|
|
|
647
647
|
function flatRest(func) {
|
|
648
648
|
return setToString(overRest(func, void 0, flatten), func + "");
|
|
649
649
|
}
|
|
650
|
-
var getPrototype = overArg(Object.getPrototypeOf, Object), objectTag$3 = "[object Object]", funcProto = Function.prototype, objectProto$
|
|
650
|
+
var getPrototype = overArg(Object.getPrototypeOf, Object), objectTag$3 = "[object Object]", funcProto = Function.prototype, objectProto$5 = Object.prototype, funcToString = funcProto.toString, hasOwnProperty$4 = objectProto$5.hasOwnProperty, objectCtorString = funcToString.call(Object);
|
|
651
651
|
function isPlainObject$1(value) {
|
|
652
652
|
if (!isObjectLike(value) || baseGetTag(value) != objectTag$3)
|
|
653
653
|
return !1;
|
|
654
654
|
var proto = getPrototype(value);
|
|
655
655
|
if (proto === null)
|
|
656
656
|
return !0;
|
|
657
|
-
var Ctor = hasOwnProperty$
|
|
657
|
+
var Ctor = hasOwnProperty$4.call(proto, "constructor") && proto.constructor;
|
|
658
658
|
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
659
659
|
}
|
|
660
660
|
function baseSlice(array, start, end) {
|
|
@@ -940,7 +940,7 @@ function arrayFilter(array, predicate) {
|
|
|
940
940
|
function stubArray() {
|
|
941
941
|
return [];
|
|
942
942
|
}
|
|
943
|
-
var objectProto$
|
|
943
|
+
var objectProto$4 = Object.prototype, propertyIsEnumerable = objectProto$4.propertyIsEnumerable, nativeGetSymbols$1 = Object.getOwnPropertySymbols, getSymbols = nativeGetSymbols$1 ? function(object) {
|
|
944
944
|
return object == null ? [] : (object = Object(object), arrayFilter(nativeGetSymbols$1(object), function(symbol) {
|
|
945
945
|
return propertyIsEnumerable.call(object, symbol);
|
|
946
946
|
}));
|
|
@@ -984,10 +984,10 @@ var DataView = getNative(root$1, "DataView"), Promise$1 = getNative(root$1, "Pro
|
|
|
984
984
|
}
|
|
985
985
|
return result;
|
|
986
986
|
});
|
|
987
|
-
var objectProto$
|
|
987
|
+
var objectProto$3 = Object.prototype, hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
988
988
|
function initCloneArray(array) {
|
|
989
989
|
var length = array.length, result = new array.constructor(length);
|
|
990
|
-
return length && typeof array[0] == "string" && hasOwnProperty$
|
|
990
|
+
return length && typeof array[0] == "string" && hasOwnProperty$3.call(array, "index") && (result.index = array.index, result.input = array.input), result;
|
|
991
991
|
}
|
|
992
992
|
var Uint8Array$1 = root$1.Uint8Array;
|
|
993
993
|
function cloneArrayBuffer(arrayBuffer) {
|
|
@@ -1205,14 +1205,14 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack2)
|
|
|
1205
1205
|
}
|
|
1206
1206
|
return !1;
|
|
1207
1207
|
}
|
|
1208
|
-
var COMPARE_PARTIAL_FLAG$3 = 1, objectProto$
|
|
1208
|
+
var COMPARE_PARTIAL_FLAG$3 = 1, objectProto$2 = Object.prototype, hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
1209
1209
|
function equalObjects(object, other, bitmask, customizer, equalFunc, stack2) {
|
|
1210
1210
|
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
|
|
1211
1211
|
if (objLength != othLength && !isPartial)
|
|
1212
1212
|
return !1;
|
|
1213
1213
|
for (var index = objLength; index--; ) {
|
|
1214
1214
|
var key2 = objProps[index];
|
|
1215
|
-
if (!(isPartial ? key2 in other : hasOwnProperty$
|
|
1215
|
+
if (!(isPartial ? key2 in other : hasOwnProperty$2.call(other, key2)))
|
|
1216
1216
|
return !1;
|
|
1217
1217
|
}
|
|
1218
1218
|
var objStacked = stack2.get(object), othStacked = stack2.get(other);
|
|
@@ -1237,7 +1237,7 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack2) {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
return stack2.delete(object), stack2.delete(other), result;
|
|
1239
1239
|
}
|
|
1240
|
-
var COMPARE_PARTIAL_FLAG$2 = 1, argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]", objectProto = Object.prototype, hasOwnProperty = objectProto.hasOwnProperty;
|
|
1240
|
+
var COMPARE_PARTIAL_FLAG$2 = 1, argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]", objectProto$1 = Object.prototype, hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
1241
1241
|
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack2) {
|
|
1242
1242
|
var objIsArr = isArray$1(object), othIsArr = isArray$1(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
|
|
1243
1243
|
objTag = objTag == argsTag ? objectTag : objTag, othTag = othTag == argsTag ? objectTag : othTag;
|
|
@@ -1250,7 +1250,7 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack2)
|
|
|
1250
1250
|
if (isSameTag && !objIsObj)
|
|
1251
1251
|
return stack2 || (stack2 = new Stack$1()), objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack2) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack2);
|
|
1252
1252
|
if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
|
|
1253
|
-
var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
|
|
1253
|
+
var objIsWrapped = objIsObj && hasOwnProperty$1.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$1.call(other, "__wrapped__");
|
|
1254
1254
|
if (objIsWrapped || othIsWrapped) {
|
|
1255
1255
|
var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
|
|
1256
1256
|
return stack2 || (stack2 = new Stack$1()), equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack2);
|
|
@@ -1410,8 +1410,26 @@ function isString(value) {
|
|
|
1410
1410
|
function parent(object, path2) {
|
|
1411
1411
|
return path2.length < 2 ? object : baseGet(object, baseSlice(path2, 0, -1));
|
|
1412
1412
|
}
|
|
1413
|
+
var objectProto = Object.prototype, hasOwnProperty = objectProto.hasOwnProperty;
|
|
1413
1414
|
function baseUnset(object, path2) {
|
|
1414
|
-
|
|
1415
|
+
path2 = castPath(path2, object);
|
|
1416
|
+
var index = -1, length = path2.length;
|
|
1417
|
+
if (!length)
|
|
1418
|
+
return !0;
|
|
1419
|
+
for (var isRootPrimitive = object == null || typeof object != "object" && typeof object != "function"; ++index < length; ) {
|
|
1420
|
+
var key2 = path2[index];
|
|
1421
|
+
if (typeof key2 == "string") {
|
|
1422
|
+
if (key2 === "__proto__" && !hasOwnProperty.call(object, "__proto__"))
|
|
1423
|
+
return !1;
|
|
1424
|
+
if (key2 === "constructor" && index + 1 < length && typeof path2[index + 1] == "string" && path2[index + 1] === "prototype") {
|
|
1425
|
+
if (isRootPrimitive && index === 0)
|
|
1426
|
+
continue;
|
|
1427
|
+
return !1;
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
var obj = parent(object, path2);
|
|
1432
|
+
return obj == null || delete obj[toKey(last$1(path2))];
|
|
1415
1433
|
}
|
|
1416
1434
|
function customOmitClone(value) {
|
|
1417
1435
|
return isPlainObject$1(value) ? void 0 : value;
|
|
@@ -23025,9 +23043,6 @@ function requireUnpack() {
|
|
|
23025
23043
|
case "Link":
|
|
23026
23044
|
case "SymbolicLink":
|
|
23027
23045
|
return this[CHECKFS](entry);
|
|
23028
|
-
case "CharacterDevice":
|
|
23029
|
-
case "BlockDevice":
|
|
23030
|
-
case "FIFO":
|
|
23031
23046
|
default:
|
|
23032
23047
|
return this[UNSUPPORTED](entry);
|
|
23033
23048
|
}
|
|
@@ -31887,7 +31902,6 @@ function requireLines() {
|
|
|
31887
31902
|
// '\r'
|
|
31888
31903
|
case 65279:
|
|
31889
31904
|
break;
|
|
31890
|
-
case 32:
|
|
31891
31905
|
// ' '
|
|
31892
31906
|
default:
|
|
31893
31907
|
count2 += 1;
|
|
@@ -33778,46 +33792,6 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
|
|
|
33778
33792
|
// https://github.com/babel/babel/pull/13191
|
|
33779
33793
|
case "TopicReference":
|
|
33780
33794
|
return (0, lines_1.fromString)("#");
|
|
33781
|
-
// Unhandled types below. If encountered, nodes of these types should
|
|
33782
|
-
// be either left alone or desugared into AST types that are fully
|
|
33783
|
-
// supported by the pretty-printer.
|
|
33784
|
-
case "ClassHeritage":
|
|
33785
|
-
// TODO
|
|
33786
|
-
case "ComprehensionBlock":
|
|
33787
|
-
// TODO
|
|
33788
|
-
case "ComprehensionExpression":
|
|
33789
|
-
// TODO
|
|
33790
|
-
case "Glob":
|
|
33791
|
-
// TODO
|
|
33792
|
-
case "GeneratorExpression":
|
|
33793
|
-
// TODO
|
|
33794
|
-
case "LetStatement":
|
|
33795
|
-
// TODO
|
|
33796
|
-
case "LetExpression":
|
|
33797
|
-
// TODO
|
|
33798
|
-
case "GraphExpression":
|
|
33799
|
-
// TODO
|
|
33800
|
-
case "GraphIndexExpression":
|
|
33801
|
-
// TODO
|
|
33802
|
-
case "XMLDefaultDeclaration":
|
|
33803
|
-
case "XMLAnyName":
|
|
33804
|
-
case "XMLQualifiedIdentifier":
|
|
33805
|
-
case "XMLFunctionQualifiedIdentifier":
|
|
33806
|
-
case "XMLAttributeSelector":
|
|
33807
|
-
case "XMLFilterExpression":
|
|
33808
|
-
case "XML":
|
|
33809
|
-
case "XMLElement":
|
|
33810
|
-
case "XMLList":
|
|
33811
|
-
case "XMLEscape":
|
|
33812
|
-
case "XMLText":
|
|
33813
|
-
case "XMLStartTag":
|
|
33814
|
-
case "XMLEndTag":
|
|
33815
|
-
case "XMLPointTag":
|
|
33816
|
-
case "XMLName":
|
|
33817
|
-
case "XMLAttribute":
|
|
33818
|
-
case "XMLCdata":
|
|
33819
|
-
case "XMLComment":
|
|
33820
|
-
case "XMLProcessingInstruction":
|
|
33821
33795
|
default:
|
|
33822
33796
|
debugger;
|
|
33823
33797
|
throw new Error("unknown type: " + JSON.stringify(n.type));
|
|
@@ -34022,7 +33996,6 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
|
|
|
34022
33996
|
}
|
|
34023
33997
|
case "single":
|
|
34024
33998
|
return swapQuotes(jsSafeStringify(swapQuotes(str2)));
|
|
34025
|
-
case "double":
|
|
34026
33999
|
default:
|
|
34027
34000
|
return jsSafeStringify(str2);
|
|
34028
34001
|
}
|
|
@@ -41911,14 +41884,9 @@ function telemetryStatusMessage(status, { chalk: chalk2 }) {
|
|
|
41911
41884
|
}
|
|
41912
41885
|
function telemetryLearnMoreMessage(status) {
|
|
41913
41886
|
const url = "https://www.sanity.io/telemetry";
|
|
41914
|
-
|
|
41915
|
-
|
|
41916
|
-
return `Learn more about the data being collected here:
|
|
41917
|
-
${url}`;
|
|
41918
|
-
default:
|
|
41919
|
-
return `Learn more here:
|
|
41887
|
+
return status === "granted" ? `Learn more about the data being collected here:
|
|
41888
|
+
${url}` : `Learn more here:
|
|
41920
41889
|
${url}`;
|
|
41921
|
-
}
|
|
41922
41890
|
}
|
|
41923
41891
|
const telemetryStatusCommand = {
|
|
41924
41892
|
name: "status",
|