node_modules/prettier/cli.js in rfbeam-0.2.2 vs node_modules/prettier/cli.js in rfbeam-0.3.0
- old
+ new
@@ -95,17 +95,14 @@
// node_modules/core-js/internals/function-uncurry-this.js
var require_function_uncurry_this = __commonJS({
"node_modules/core-js/internals/function-uncurry-this.js"(exports2, module2) {
var NATIVE_BIND = require_function_bind_native();
var FunctionPrototype = Function.prototype;
- var bind = FunctionPrototype.bind;
var call = FunctionPrototype.call;
- var uncurryThis = NATIVE_BIND && bind.bind(call, call);
- module2.exports = NATIVE_BIND ? function(fn) {
- return fn && uncurryThis(fn);
- } : function(fn) {
- return fn && function() {
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
+ module2.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) {
+ return function() {
return call.apply(fn, arguments);
};
};
}
});
@@ -123,32 +120,40 @@
});
// node_modules/core-js/internals/indexed-object.js
var require_indexed_object = __commonJS({
"node_modules/core-js/internals/indexed-object.js"(exports2, module2) {
- var global2 = require_global();
var uncurryThis = require_function_uncurry_this();
var fails = require_fails();
var classof = require_classof_raw();
- var Object2 = global2.Object;
+ var $Object = Object;
var split = uncurryThis("".split);
module2.exports = fails(function() {
- return !Object2("z").propertyIsEnumerable(0);
+ return !$Object("z").propertyIsEnumerable(0);
}) ? function(it) {
- return classof(it) == "String" ? split(it, "") : Object2(it);
- } : Object2;
+ return classof(it) == "String" ? split(it, "") : $Object(it);
+ } : $Object;
}
});
+// node_modules/core-js/internals/is-null-or-undefined.js
+var require_is_null_or_undefined = __commonJS({
+ "node_modules/core-js/internals/is-null-or-undefined.js"(exports2, module2) {
+ module2.exports = function(it) {
+ return it === null || it === void 0;
+ };
+ }
+});
+
// node_modules/core-js/internals/require-object-coercible.js
var require_require_object_coercible = __commonJS({
"node_modules/core-js/internals/require-object-coercible.js"(exports2, module2) {
- var global2 = require_global();
- var TypeError2 = global2.TypeError;
+ var isNullOrUndefined = require_is_null_or_undefined();
+ var $TypeError = TypeError;
module2.exports = function(it) {
- if (it == void 0)
- throw TypeError2("Can't call method on " + it);
+ if (isNullOrUndefined(it))
+ throw $TypeError("Can't call method on " + it);
return it;
};
}
});
@@ -161,24 +166,44 @@
return IndexedObject(requireObjectCoercible(it));
};
}
});
+// node_modules/core-js/internals/document-all.js
+var require_document_all = __commonJS({
+ "node_modules/core-js/internals/document-all.js"(exports2, module2) {
+ var documentAll = typeof document == "object" && document.all;
+ var IS_HTMLDDA = typeof documentAll == "undefined" && documentAll !== void 0;
+ module2.exports = {
+ all: documentAll,
+ IS_HTMLDDA
+ };
+ }
+});
+
// node_modules/core-js/internals/is-callable.js
var require_is_callable = __commonJS({
"node_modules/core-js/internals/is-callable.js"(exports2, module2) {
- module2.exports = function(argument) {
+ var $documentAll = require_document_all();
+ var documentAll = $documentAll.all;
+ module2.exports = $documentAll.IS_HTMLDDA ? function(argument) {
+ return typeof argument == "function" || argument === documentAll;
+ } : function(argument) {
return typeof argument == "function";
};
}
});
// node_modules/core-js/internals/is-object.js
var require_is_object = __commonJS({
"node_modules/core-js/internals/is-object.js"(exports2, module2) {
var isCallable = require_is_callable();
- module2.exports = function(it) {
+ var $documentAll = require_document_all();
+ var documentAll = $documentAll.all;
+ module2.exports = $documentAll.IS_HTMLDDA ? function(it) {
+ return typeof it == "object" ? it !== null : isCallable(it) || it === documentAll;
+ } : function(it) {
return typeof it == "object" ? it !== null : isCallable(it);
};
}
});
@@ -237,13 +262,13 @@
}
module2.exports = version;
}
});
-// node_modules/core-js/internals/native-symbol.js
-var require_native_symbol = __commonJS({
- "node_modules/core-js/internals/native-symbol.js"(exports2, module2) {
+// node_modules/core-js/internals/symbol-constructor-detection.js
+var require_symbol_constructor_detection = __commonJS({
+ "node_modules/core-js/internals/symbol-constructor-detection.js"(exports2, module2) {
var V8_VERSION = require_engine_v8_version();
var fails = require_fails();
module2.exports = !!Object.getOwnPropertySymbols && !fails(function() {
var symbol = Symbol();
return !String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && V8_VERSION && V8_VERSION < 41;
@@ -252,91 +277,88 @@
});
// node_modules/core-js/internals/use-symbol-as-uid.js
var require_use_symbol_as_uid = __commonJS({
"node_modules/core-js/internals/use-symbol-as-uid.js"(exports2, module2) {
- var NATIVE_SYMBOL = require_native_symbol();
+ var NATIVE_SYMBOL = require_symbol_constructor_detection();
module2.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol";
}
});
// node_modules/core-js/internals/is-symbol.js
var require_is_symbol = __commonJS({
"node_modules/core-js/internals/is-symbol.js"(exports2, module2) {
- var global2 = require_global();
var getBuiltIn = require_get_built_in();
var isCallable = require_is_callable();
var isPrototypeOf = require_object_is_prototype_of();
var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
- var Object2 = global2.Object;
+ var $Object = Object;
module2.exports = USE_SYMBOL_AS_UID ? function(it) {
return typeof it == "symbol";
} : function(it) {
var $Symbol = getBuiltIn("Symbol");
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object2(it));
+ return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
};
}
});
// node_modules/core-js/internals/try-to-string.js
var require_try_to_string = __commonJS({
"node_modules/core-js/internals/try-to-string.js"(exports2, module2) {
- var global2 = require_global();
- var String2 = global2.String;
+ var $String = String;
module2.exports = function(argument) {
try {
- return String2(argument);
+ return $String(argument);
} catch (error) {
return "Object";
}
};
}
});
// node_modules/core-js/internals/a-callable.js
var require_a_callable = __commonJS({
"node_modules/core-js/internals/a-callable.js"(exports2, module2) {
- var global2 = require_global();
var isCallable = require_is_callable();
var tryToString = require_try_to_string();
- var TypeError2 = global2.TypeError;
+ var $TypeError = TypeError;
module2.exports = function(argument) {
if (isCallable(argument))
return argument;
- throw TypeError2(tryToString(argument) + " is not a function");
+ throw $TypeError(tryToString(argument) + " is not a function");
};
}
});
// node_modules/core-js/internals/get-method.js
var require_get_method = __commonJS({
"node_modules/core-js/internals/get-method.js"(exports2, module2) {
var aCallable = require_a_callable();
+ var isNullOrUndefined = require_is_null_or_undefined();
module2.exports = function(V, P) {
var func = V[P];
- return func == null ? void 0 : aCallable(func);
+ return isNullOrUndefined(func) ? void 0 : aCallable(func);
};
}
});
// node_modules/core-js/internals/ordinary-to-primitive.js
var require_ordinary_to_primitive = __commonJS({
"node_modules/core-js/internals/ordinary-to-primitive.js"(exports2, module2) {
- var global2 = require_global();
var call = require_function_call();
var isCallable = require_is_callable();
var isObject = require_is_object();
- var TypeError2 = global2.TypeError;
+ var $TypeError = TypeError;
module2.exports = function(input, pref) {
var fn, val;
if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input)))
return val;
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input)))
return val;
if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input)))
return val;
- throw TypeError2("Can't convert object to primitive value");
+ throw $TypeError("Can't convert object to primitive value");
};
}
});
// node_modules/core-js/internals/is-pure.js
@@ -344,13 +366,13 @@
"node_modules/core-js/internals/is-pure.js"(exports2, module2) {
module2.exports = false;
}
});
-// node_modules/core-js/internals/set-global.js
-var require_set_global = __commonJS({
- "node_modules/core-js/internals/set-global.js"(exports2, module2) {
+// node_modules/core-js/internals/define-global-property.js
+var require_define_global_property = __commonJS({
+ "node_modules/core-js/internals/define-global-property.js"(exports2, module2) {
var global2 = require_global();
var defineProperty = Object.defineProperty;
module2.exports = function(key, value) {
try {
defineProperty(global2, key, { value, configurable: true, writable: true });
@@ -364,13 +386,13 @@
// node_modules/core-js/internals/shared-store.js
var require_shared_store = __commonJS({
"node_modules/core-js/internals/shared-store.js"(exports2, module2) {
var global2 = require_global();
- var setGlobal = require_set_global();
+ var defineGlobalProperty = require_define_global_property();
var SHARED = "__core-js_shared__";
- var store = global2[SHARED] || setGlobal(SHARED, {});
+ var store = global2[SHARED] || defineGlobalProperty(SHARED, {});
module2.exports = store;
}
});
// node_modules/core-js/internals/shared.js
@@ -379,27 +401,26 @@
var IS_PURE = require_is_pure();
var store = require_shared_store();
(module2.exports = function(key, value) {
return store[key] || (store[key] = value !== void 0 ? value : {});
})("versions", []).push({
- version: "3.22.2",
+ version: "3.26.1",
mode: IS_PURE ? "pure" : "global",
copyright: "\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",
- license: "https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",
+ license: "https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",
source: "https://github.com/zloirock/core-js"
});
}
});
// node_modules/core-js/internals/to-object.js
var require_to_object = __commonJS({
"node_modules/core-js/internals/to-object.js"(exports2, module2) {
- var global2 = require_global();
var requireObjectCoercible = require_require_object_coercible();
- var Object2 = global2.Object;
+ var $Object = Object;
module2.exports = function(argument) {
- return Object2(requireObjectCoercible(argument));
+ return $Object(requireObjectCoercible(argument));
};
}
});
// node_modules/core-js/internals/has-own-property.js
@@ -432,11 +453,11 @@
"node_modules/core-js/internals/well-known-symbol.js"(exports2, module2) {
var global2 = require_global();
var shared = require_shared();
var hasOwn = require_has_own_property();
var uid = require_uid();
- var NATIVE_SYMBOL = require_native_symbol();
+ var NATIVE_SYMBOL = require_symbol_constructor_detection();
var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
var WellKnownSymbolsStore = shared("wks");
var Symbol2 = global2.Symbol;
var symbolFor = Symbol2 && Symbol2["for"];
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol2 : Symbol2 && Symbol2.withoutSetter || uid;
@@ -457,18 +478,17 @@
});
// node_modules/core-js/internals/to-primitive.js
var require_to_primitive = __commonJS({
"node_modules/core-js/internals/to-primitive.js"(exports2, module2) {
- var global2 = require_global();
var call = require_function_call();
var isObject = require_is_object();
var isSymbol = require_is_symbol();
var getMethod = require_get_method();
var ordinaryToPrimitive = require_ordinary_to_primitive();
var wellKnownSymbol = require_well_known_symbol();
- var TypeError2 = global2.TypeError;
+ var $TypeError = TypeError;
var TO_PRIMITIVE = wellKnownSymbol("toPrimitive");
module2.exports = function(input, pref) {
if (!isObject(input) || isSymbol(input))
return input;
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
@@ -477,11 +497,11 @@
if (pref === void 0)
pref = "default";
result = call(exoticToPrim, input, pref);
if (!isObject(result) || isSymbol(result))
return result;
- throw TypeError2("Can't convert object to primitive value");
+ throw $TypeError("Can't convert object to primitive value");
}
if (pref === void 0)
pref = "number";
return ordinaryToPrimitive(input, pref);
};
@@ -503,14 +523,14 @@
// node_modules/core-js/internals/document-create-element.js
var require_document_create_element = __commonJS({
"node_modules/core-js/internals/document-create-element.js"(exports2, module2) {
var global2 = require_global();
var isObject = require_is_object();
- var document = global2.document;
- var EXISTS = isObject(document) && isObject(document.createElement);
+ var document2 = global2.document;
+ var EXISTS = isObject(document2) && isObject(document2.createElement);
module2.exports = function(it) {
- return EXISTS ? document.createElement(it) : {};
+ return EXISTS ? document2.createElement(it) : {};
};
}
});
// node_modules/core-js/internals/ie8-dom-define.js
@@ -571,32 +591,30 @@
});
// node_modules/core-js/internals/an-object.js
var require_an_object = __commonJS({
"node_modules/core-js/internals/an-object.js"(exports2, module2) {
- var global2 = require_global();
var isObject = require_is_object();
- var String2 = global2.String;
- var TypeError2 = global2.TypeError;
+ var $String = String;
+ var $TypeError = TypeError;
module2.exports = function(argument) {
if (isObject(argument))
return argument;
- throw TypeError2(String2(argument) + " is not an object");
+ throw $TypeError($String(argument) + " is not an object");
};
}
});
// node_modules/core-js/internals/object-define-property.js
var require_object_define_property = __commonJS({
"node_modules/core-js/internals/object-define-property.js"(exports2) {
- var global2 = require_global();
var DESCRIPTORS = require_descriptors();
var IE8_DOM_DEFINE = require_ie8_dom_define();
var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug();
var anObject = require_an_object();
var toPropertyKey = require_to_property_key();
- var TypeError2 = global2.TypeError;
+ var $TypeError = TypeError;
var $defineProperty = Object.defineProperty;
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
var ENUMERABLE = "enumerable";
var CONFIGURABLE = "configurable";
var WRITABLE = "writable";
@@ -624,11 +642,11 @@
try {
return $defineProperty(O, P, Attributes);
} catch (error) {
}
if ("get" in Attributes || "set" in Attributes)
- throw TypeError2("Accessors not supported");
+ throw $TypeError("Accessors not supported");
if ("value" in Attributes)
O[P] = Attributes.value;
return O;
};
}
@@ -647,10 +665,29 @@
return object;
};
}
});
+// node_modules/core-js/internals/function-name.js
+var require_function_name = __commonJS({
+ "node_modules/core-js/internals/function-name.js"(exports2, module2) {
+ var DESCRIPTORS = require_descriptors();
+ var hasOwn = require_has_own_property();
+ var FunctionPrototype = Function.prototype;
+ var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
+ var EXISTS = hasOwn(FunctionPrototype, "name");
+ var PROPER = EXISTS && function something() {
+ }.name === "something";
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable);
+ module2.exports = {
+ EXISTS,
+ PROPER,
+ CONFIGURABLE
+ };
+ }
+});
+
// node_modules/core-js/internals/inspect-source.js
var require_inspect_source = __commonJS({
"node_modules/core-js/internals/inspect-source.js"(exports2, module2) {
var uncurryThis = require_function_uncurry_this();
var isCallable = require_is_callable();
@@ -663,18 +700,17 @@
}
module2.exports = store.inspectSource;
}
});
-// node_modules/core-js/internals/native-weak-map.js
-var require_native_weak_map = __commonJS({
- "node_modules/core-js/internals/native-weak-map.js"(exports2, module2) {
+// node_modules/core-js/internals/weak-map-basic-detection.js
+var require_weak_map_basic_detection = __commonJS({
+ "node_modules/core-js/internals/weak-map-basic-detection.js"(exports2, module2) {
var global2 = require_global();
var isCallable = require_is_callable();
- var inspectSource = require_inspect_source();
var WeakMap2 = global2.WeakMap;
- module2.exports = isCallable(WeakMap2) && /native code/.test(inspectSource(WeakMap2));
+ module2.exports = isCallable(WeakMap2) && /native code/.test(String(WeakMap2));
}
});
// node_modules/core-js/internals/shared-key.js
var require_shared_key = __commonJS({
@@ -696,13 +732,12 @@
});
// node_modules/core-js/internals/internal-state.js
var require_internal_state = __commonJS({
"node_modules/core-js/internals/internal-state.js"(exports2, module2) {
- var NATIVE_WEAK_MAP = require_native_weak_map();
+ var NATIVE_WEAK_MAP = require_weak_map_basic_detection();
var global2 = require_global();
- var uncurryThis = require_function_uncurry_this();
var isObject = require_is_object();
var createNonEnumerableProperty = require_create_non_enumerable_property();
var hasOwn = require_has_own_property();
var shared = require_shared_store();
var sharedKey = require_shared_key();
@@ -725,32 +760,32 @@
return state;
};
};
if (NATIVE_WEAK_MAP || shared.state) {
store = shared.state || (shared.state = new WeakMap2());
- wmget = uncurryThis(store.get);
- wmhas = uncurryThis(store.has);
- wmset = uncurryThis(store.set);
+ store.get = store.get;
+ store.has = store.has;
+ store.set = store.set;
set = function(it, metadata) {
- if (wmhas(store, it))
- throw new TypeError2(OBJECT_ALREADY_INITIALIZED);
+ if (store.has(it))
+ throw TypeError2(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
- wmset(store, it, metadata);
+ store.set(it, metadata);
return metadata;
};
get = function(it) {
- return wmget(store, it) || {};
+ return store.get(it) || {};
};
has = function(it) {
- return wmhas(store, it);
+ return store.has(it);
};
} else {
STATE = sharedKey("state");
hiddenKeys[STATE] = true;
set = function(it, metadata) {
if (hasOwn(it, STATE))
- throw new TypeError2(OBJECT_ALREADY_INITIALIZED);
+ throw TypeError2(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
createNonEnumerableProperty(it, STATE, metadata);
return metadata;
};
get = function(it) {
@@ -759,13 +794,10 @@
has = function(it) {
return hasOwn(it, STATE);
};
}
var store;
- var wmget;
- var wmhas;
- var wmset;
var STATE;
module2.exports = {
set,
get,
has,
@@ -773,90 +805,126 @@
getterFor
};
}
});
-// node_modules/core-js/internals/function-name.js
-var require_function_name = __commonJS({
- "node_modules/core-js/internals/function-name.js"(exports2, module2) {
- var DESCRIPTORS = require_descriptors();
- var hasOwn = require_has_own_property();
- var FunctionPrototype = Function.prototype;
- var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
- var EXISTS = hasOwn(FunctionPrototype, "name");
- var PROPER = EXISTS && function something() {
- }.name === "something";
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable);
- module2.exports = {
- EXISTS,
- PROPER,
- CONFIGURABLE
- };
- }
-});
-
-// node_modules/core-js/internals/redefine.js
-var require_redefine = __commonJS({
- "node_modules/core-js/internals/redefine.js"(exports2, module2) {
- var global2 = require_global();
+// node_modules/core-js/internals/make-built-in.js
+var require_make_built_in = __commonJS({
+ "node_modules/core-js/internals/make-built-in.js"(exports2, module2) {
+ var fails = require_fails();
var isCallable = require_is_callable();
var hasOwn = require_has_own_property();
- var createNonEnumerableProperty = require_create_non_enumerable_property();
- var setGlobal = require_set_global();
+ var DESCRIPTORS = require_descriptors();
+ var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE;
var inspectSource = require_inspect_source();
var InternalStateModule = require_internal_state();
- var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE;
- var getInternalState = InternalStateModule.get;
var enforceInternalState = InternalStateModule.enforce;
+ var getInternalState = InternalStateModule.get;
+ var defineProperty = Object.defineProperty;
+ var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function() {
+ return defineProperty(function() {
+ }, "length", { value: 8 }).length !== 8;
+ });
var TEMPLATE = String(String).split("String");
- (module2.exports = function(O, key, value, options) {
- var unsafe = options ? !!options.unsafe : false;
- var simple = options ? !!options.enumerable : false;
- var noTargetGet = options ? !!options.noTargetGet : false;
- var name = options && options.name !== void 0 ? options.name : key;
- var state;
- if (isCallable(value)) {
- if (String(name).slice(0, 7) === "Symbol(") {
- name = "[" + String(name).replace(/^Symbol\(([^)]*)\)/, "$1") + "]";
- }
- if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {
- createNonEnumerableProperty(value, "name", name);
- }
- state = enforceInternalState(value);
- if (!state.source) {
- state.source = TEMPLATE.join(typeof name == "string" ? name : "");
- }
+ var makeBuiltIn = module2.exports = function(value, name, options) {
+ if (String(name).slice(0, 7) === "Symbol(") {
+ name = "[" + String(name).replace(/^Symbol\(([^)]*)\)/, "$1") + "]";
}
- if (O === global2) {
+ if (options && options.getter)
+ name = "get " + name;
+ if (options && options.setter)
+ name = "set " + name;
+ if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {
+ if (DESCRIPTORS)
+ defineProperty(value, "name", { value: name, configurable: true });
+ else
+ value.name = name;
+ }
+ if (CONFIGURABLE_LENGTH && options && hasOwn(options, "arity") && value.length !== options.arity) {
+ defineProperty(value, "length", { value: options.arity });
+ }
+ try {
+ if (options && hasOwn(options, "constructor") && options.constructor) {
+ if (DESCRIPTORS)
+ defineProperty(value, "prototype", { writable: false });
+ } else if (value.prototype)
+ value.prototype = void 0;
+ } catch (error) {
+ }
+ var state = enforceInternalState(value);
+ if (!hasOwn(state, "source")) {
+ state.source = TEMPLATE.join(typeof name == "string" ? name : "");
+ }
+ return value;
+ };
+ Function.prototype.toString = makeBuiltIn(function toString() {
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
+ }, "toString");
+ }
+});
+
+// node_modules/core-js/internals/define-built-in.js
+var require_define_built_in = __commonJS({
+ "node_modules/core-js/internals/define-built-in.js"(exports2, module2) {
+ var isCallable = require_is_callable();
+ var definePropertyModule = require_object_define_property();
+ var makeBuiltIn = require_make_built_in();
+ var defineGlobalProperty = require_define_global_property();
+ module2.exports = function(O, key, value, options) {
+ if (!options)
+ options = {};
+ var simple = options.enumerable;
+ var name = options.name !== void 0 ? options.name : key;
+ if (isCallable(value))
+ makeBuiltIn(value, name, options);
+ if (options.global) {
if (simple)
O[key] = value;
else
- setGlobal(key, value);
- return;
- } else if (!unsafe) {
- delete O[key];
- } else if (!noTargetGet && O[key]) {
- simple = true;
+ defineGlobalProperty(key, value);
+ } else {
+ try {
+ if (!options.unsafe)
+ delete O[key];
+ else if (O[key])
+ simple = true;
+ } catch (error) {
+ }
+ if (simple)
+ O[key] = value;
+ else
+ definePropertyModule.f(O, key, {
+ value,
+ enumerable: false,
+ configurable: !options.nonConfigurable,
+ writable: !options.nonWritable
+ });
}
- if (simple)
- O[key] = value;
- else
- createNonEnumerableProperty(O, key, value);
- })(Function.prototype, "toString", function toString() {
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
- });
+ return O;
+ };
}
});
+// node_modules/core-js/internals/math-trunc.js
+var require_math_trunc = __commonJS({
+ "node_modules/core-js/internals/math-trunc.js"(exports2, module2) {
+ var ceil = Math.ceil;
+ var floor = Math.floor;
+ module2.exports = Math.trunc || function trunc(x) {
+ var n = +x;
+ return (n > 0 ? floor : ceil)(n);
+ };
+ }
+});
+
// node_modules/core-js/internals/to-integer-or-infinity.js
var require_to_integer_or_infinity = __commonJS({
"node_modules/core-js/internals/to-integer-or-infinity.js"(exports2, module2) {
- var ceil = Math.ceil;
- var floor = Math.floor;
+ var trunc = require_math_trunc();
module2.exports = function(argument) {
var number = +argument;
- return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
+ return number !== number || number === 0 ? 0 : trunc(number);
};
}
});
// node_modules/core-js/internals/to-absolute-index.js
@@ -1047,30 +1115,30 @@
var require_export = __commonJS({
"node_modules/core-js/internals/export.js"(exports2, module2) {
var global2 = require_global();
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f;
var createNonEnumerableProperty = require_create_non_enumerable_property();
- var redefine = require_redefine();
- var setGlobal = require_set_global();
+ var defineBuiltIn = require_define_built_in();
+ var defineGlobalProperty = require_define_global_property();
var copyConstructorProperties = require_copy_constructor_properties();
var isForced = require_is_forced();
module2.exports = function(options, source) {
var TARGET = options.target;
var GLOBAL = options.global;
var STATIC = options.stat;
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
if (GLOBAL) {
target = global2;
} else if (STATIC) {
- target = global2[TARGET] || setGlobal(TARGET, {});
+ target = global2[TARGET] || defineGlobalProperty(TARGET, {});
} else {
target = (global2[TARGET] || {}).prototype;
}
if (target)
for (key in source) {
sourceProperty = source[key];
- if (options.noTargetGet) {
+ if (options.dontCallGetSet) {
descriptor = getOwnPropertyDescriptor(target, key);
targetProperty = descriptor && descriptor.value;
} else
targetProperty = target[key];
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
@@ -1080,20 +1148,32 @@
copyConstructorProperties(sourceProperty, targetProperty);
}
if (options.sham || targetProperty && targetProperty.sham) {
createNonEnumerableProperty(sourceProperty, "sham", true);
}
- redefine(target, key, sourceProperty, options);
+ defineBuiltIn(target, key, sourceProperty, options);
}
};
}
});
+// node_modules/core-js/internals/function-uncurry-this-clause.js
+var require_function_uncurry_this_clause = __commonJS({
+ "node_modules/core-js/internals/function-uncurry-this-clause.js"(exports2, module2) {
+ var classofRaw = require_classof_raw();
+ var uncurryThis = require_function_uncurry_this();
+ module2.exports = function(fn) {
+ if (classofRaw(fn) === "Function")
+ return uncurryThis(fn);
+ };
+ }
+});
+
// node_modules/core-js/internals/function-bind-context.js
var require_function_bind_context = __commonJS({
"node_modules/core-js/internals/function-bind-context.js"(exports2, module2) {
- var uncurryThis = require_function_uncurry_this();
+ var uncurryThis = require_function_uncurry_this_clause();
var aCallable = require_a_callable();
var NATIVE_BIND = require_function_bind_native();
var bind = uncurryThis(uncurryThis.bind);
module2.exports = function(fn, that) {
aCallable(fn);
@@ -1136,17 +1216,16 @@
});
// node_modules/core-js/internals/classof.js
var require_classof = __commonJS({
"node_modules/core-js/internals/classof.js"(exports2, module2) {
- var global2 = require_global();
var TO_STRING_TAG_SUPPORT = require_to_string_tag_support();
var isCallable = require_is_callable();
var classofRaw = require_classof_raw();
var wellKnownSymbol = require_well_known_symbol();
var TO_STRING_TAG = wellKnownSymbol("toStringTag");
- var Object2 = global2.Object;
+ var $Object = Object;
var CORRECT_ARGUMENTS = classofRaw(function() {
return arguments;
}()) == "Arguments";
var tryGet = function(it, key) {
try {
@@ -1154,45 +1233,45 @@
} catch (error) {
}
};
module2.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
var O, tag, result;
- return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = Object2(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == "Object" && isCallable(O.callee) ? "Arguments" : result;
+ return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == "Object" && isCallable(O.callee) ? "Arguments" : result;
};
}
});
// node_modules/core-js/internals/get-iterator-method.js
var require_get_iterator_method = __commonJS({
"node_modules/core-js/internals/get-iterator-method.js"(exports2, module2) {
var classof = require_classof();
var getMethod = require_get_method();
+ var isNullOrUndefined = require_is_null_or_undefined();
var Iterators = require_iterators();
var wellKnownSymbol = require_well_known_symbol();
var ITERATOR = wellKnownSymbol("iterator");
module2.exports = function(it) {
- if (it != void 0)
+ if (!isNullOrUndefined(it))
return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)];
};
}
});
// node_modules/core-js/internals/get-iterator.js
var require_get_iterator = __commonJS({
"node_modules/core-js/internals/get-iterator.js"(exports2, module2) {
- var global2 = require_global();
var call = require_function_call();
var aCallable = require_a_callable();
var anObject = require_an_object();
var tryToString = require_try_to_string();
var getIteratorMethod = require_get_iterator_method();
- var TypeError2 = global2.TypeError;
+ var $TypeError = TypeError;
module2.exports = function(argument, usingIterator) {
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
if (aCallable(iteratorMethod))
return anObject(call(iteratorMethod, argument));
- throw TypeError2(tryToString(argument) + " is not iterable");
+ throw $TypeError(tryToString(argument) + " is not iterable");
};
}
});
// node_modules/core-js/internals/iterator-close.js
@@ -1227,30 +1306,30 @@
});
// node_modules/core-js/internals/iterate.js
var require_iterate = __commonJS({
"node_modules/core-js/internals/iterate.js"(exports2, module2) {
- var global2 = require_global();
var bind = require_function_bind_context();
var call = require_function_call();
var anObject = require_an_object();
var tryToString = require_try_to_string();
var isArrayIteratorMethod = require_is_array_iterator_method();
var lengthOfArrayLike = require_length_of_array_like();
var isPrototypeOf = require_object_is_prototype_of();
var getIterator = require_get_iterator();
var getIteratorMethod = require_get_iterator_method();
var iteratorClose = require_iterator_close();
- var TypeError2 = global2.TypeError;
+ var $TypeError = TypeError;
var Result = function(stopped, result) {
this.stopped = stopped;
this.result = result;
};
var ResultPrototype = Result.prototype;
module2.exports = function(iterable, unboundFunction, options) {
var that = options && options.that;
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
+ var IS_RECORD = !!(options && options.IS_RECORD);
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
var INTERRUPTED = !!(options && options.INTERRUPTED);
var fn = bind(unboundFunction, that);
var iterator, iterFn, index, length, result, next, step;
var stop = function(condition) {
@@ -1263,27 +1342,29 @@
anObject(value);
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
}
return INTERRUPTED ? fn(value, stop) : fn(value);
};
- if (IS_ITERATOR) {
+ if (IS_RECORD) {
+ iterator = iterable.iterator;
+ } else if (IS_ITERATOR) {
iterator = iterable;
} else {
iterFn = getIteratorMethod(iterable);
if (!iterFn)
- throw TypeError2(tryToString(iterable) + " is not iterable");
+ throw $TypeError(tryToString(iterable) + " is not iterable");
if (isArrayIteratorMethod(iterFn)) {
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
result = callFn(iterable[index]);
if (result && isPrototypeOf(ResultPrototype, result))
return result;
}
return new Result(false);
}
iterator = getIterator(iterable, iterFn);
}
- next = iterator.next;
+ next = IS_RECORD ? iterable.next : iterator.next;
while (!(step = call(next, iterator)).done) {
try {
result = callFn(step.value);
} catch (error) {
iteratorClose(iterator, "throw", error);
@@ -1339,19 +1420,31 @@
return classof(argument) == "Array";
};
}
});
+// node_modules/core-js/internals/does-not-exceed-safe-integer.js
+var require_does_not_exceed_safe_integer = __commonJS({
+ "node_modules/core-js/internals/does-not-exceed-safe-integer.js"(exports2, module2) {
+ var $TypeError = TypeError;
+ var MAX_SAFE_INTEGER = 9007199254740991;
+ module2.exports = function(it) {
+ if (it > MAX_SAFE_INTEGER)
+ throw $TypeError("Maximum allowed index exceeded");
+ return it;
+ };
+ }
+});
+
// node_modules/core-js/internals/flatten-into-array.js
var require_flatten_into_array = __commonJS({
"node_modules/core-js/internals/flatten-into-array.js"(exports2, module2) {
"use strict";
- var global2 = require_global();
var isArray = require_is_array();
var lengthOfArrayLike = require_length_of_array_like();
+ var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer();
var bind = require_function_bind_context();
- var TypeError2 = global2.TypeError;
var flattenIntoArray = function(target, original, source, sourceLen, start, depth, mapper, thisArg) {
var targetIndex = start;
var sourceIndex = 0;
var mapFn = mapper ? bind(mapper, thisArg) : false;
var element, elementLen;
@@ -1360,12 +1453,11 @@
element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
if (depth > 0 && isArray(element)) {
elementLen = lengthOfArrayLike(element);
targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;
} else {
- if (targetIndex >= 9007199254740991)
- throw TypeError2("Exceed the acceptable array length");
+ doesNotExceedSafeInteger(targetIndex + 1);
target[targetIndex] = element;
}
targetIndex++;
}
sourceIndex++;
@@ -1428,30 +1520,29 @@
});
// node_modules/core-js/internals/array-species-constructor.js
var require_array_species_constructor = __commonJS({
"node_modules/core-js/internals/array-species-constructor.js"(exports2, module2) {
- var global2 = require_global();
var isArray = require_is_array();
var isConstructor = require_is_constructor();
var isObject = require_is_object();
var wellKnownSymbol = require_well_known_symbol();
var SPECIES = wellKnownSymbol("species");
- var Array2 = global2.Array;
+ var $Array = Array;
module2.exports = function(originalArray) {
var C;
if (isArray(originalArray)) {
C = originalArray.constructor;
- if (isConstructor(C) && (C === Array2 || isArray(C.prototype)))
+ if (isConstructor(C) && (C === $Array || isArray(C.prototype)))
C = void 0;
else if (isObject(C)) {
C = C[SPECIES];
if (C === null)
C = void 0;
}
}
- return C === void 0 ? Array2 : C;
+ return C === void 0 ? $Array : C;
};
}
});
// node_modules/core-js/internals/array-species-create.js
@@ -1509,14 +1600,107 @@
}
});
}
});
+// node_modules/core-js/internals/define-built-in-accessor.js
+var require_define_built_in_accessor = __commonJS({
+ "node_modules/core-js/internals/define-built-in-accessor.js"(exports2, module2) {
+ var makeBuiltIn = require_make_built_in();
+ var defineProperty = require_object_define_property();
+ module2.exports = function(target, name, descriptor) {
+ if (descriptor.get)
+ makeBuiltIn(descriptor.get, name, { getter: true });
+ if (descriptor.set)
+ makeBuiltIn(descriptor.set, name, { setter: true });
+ return defineProperty.f(target, name, descriptor);
+ };
+ }
+});
+
+// node_modules/core-js/internals/regexp-flags.js
+var require_regexp_flags = __commonJS({
+ "node_modules/core-js/internals/regexp-flags.js"(exports2, module2) {
+ "use strict";
+ var anObject = require_an_object();
+ module2.exports = function() {
+ var that = anObject(this);
+ var result = "";
+ if (that.hasIndices)
+ result += "d";
+ if (that.global)
+ result += "g";
+ if (that.ignoreCase)
+ result += "i";
+ if (that.multiline)
+ result += "m";
+ if (that.dotAll)
+ result += "s";
+ if (that.unicode)
+ result += "u";
+ if (that.unicodeSets)
+ result += "v";
+ if (that.sticky)
+ result += "y";
+ return result;
+ };
+ }
+});
+
+// node_modules/core-js/modules/es.regexp.flags.js
+var require_es_regexp_flags = __commonJS({
+ "node_modules/core-js/modules/es.regexp.flags.js"() {
+ var global2 = require_global();
+ var DESCRIPTORS = require_descriptors();
+ var defineBuiltInAccessor = require_define_built_in_accessor();
+ var regExpFlags = require_regexp_flags();
+ var fails = require_fails();
+ var RegExp2 = global2.RegExp;
+ var RegExpPrototype = RegExp2.prototype;
+ var FORCED = DESCRIPTORS && fails(function() {
+ var INDICES_SUPPORT = true;
+ try {
+ RegExp2(".", "d");
+ } catch (error) {
+ INDICES_SUPPORT = false;
+ }
+ var O = {};
+ var calls = "";
+ var expected = INDICES_SUPPORT ? "dgimsy" : "gimsy";
+ var addGetter = function(key2, chr) {
+ Object.defineProperty(O, key2, { get: function() {
+ calls += chr;
+ return true;
+ } });
+ };
+ var pairs = {
+ dotAll: "s",
+ global: "g",
+ ignoreCase: "i",
+ multiline: "m",
+ sticky: "y"
+ };
+ if (INDICES_SUPPORT)
+ pairs.hasIndices = "d";
+ for (var key in pairs)
+ addGetter(key, pairs[key]);
+ var result = Object.getOwnPropertyDescriptor(RegExpPrototype, "flags").get.call(O);
+ return result !== expected || calls !== expected;
+ });
+ if (FORCED)
+ defineBuiltInAccessor(RegExpPrototype, "flags", {
+ configurable: true,
+ get: regExpFlags
+ });
+ }
+});
+
// dist/_cli.js.cjs.js
require_es_object_from_entries();
require_es_array_flat_map();
require_es_array_flat();
+require_es_regexp_flags();
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
@@ -8554,10 +8738,49 @@
}
};
exports2.default = ReaderStream;
}
});
+var require_async5 = __commonJS2({
+ "node_modules/fast-glob/out/readers/async.js"(exports2) {
+ "use strict";
+ Object.defineProperty(exports2, "__esModule", {
+ value: true
+ });
+ var fsWalk = require_out3();
+ var reader_1 = require_reader2();
+ var stream_1 = require_stream3();
+ var ReaderAsync = class extends reader_1.default {
+ constructor() {
+ super(...arguments);
+ this._walkAsync = fsWalk.walk;
+ this._readerStream = new stream_1.default(this._settings);
+ }
+ dynamic(root, options) {
+ return new Promise((resolve, reject) => {
+ this._walkAsync(root, options, (error, entries) => {
+ if (error === null) {
+ resolve(entries);
+ } else {
+ reject(error);
+ }
+ });
+ });
+ }
+ async static(patterns, options) {
+ const entries = [];
+ const stream = this._readerStream.static(patterns, options);
+ return new Promise((resolve, reject) => {
+ stream.once("error", reject);
+ stream.on("data", (entry) => entries.push(entry));
+ stream.once("end", () => resolve(entries));
+ });
+ }
+ };
+ exports2.default = ReaderAsync;
+ }
+});
var require_matcher = __commonJS2({
"node_modules/fast-glob/out/providers/matchers/matcher.js"(exports2) {
"use strict";
Object.defineProperty(exports2, "__esModule", {
value: true
@@ -8737,11 +8960,12 @@
}
if (this._isSkippedByAbsoluteNegativePatterns(entry.path, negativeRe)) {
return false;
}
const filepath = this._settings.baseNameMatch ? entry.name : entry.path;
- const isMatched = this._isMatchToPatterns(filepath, positiveRe) && !this._isMatchToPatterns(entry.path, negativeRe);
+ const isDirectory = entry.dirent.isDirectory();
+ const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(entry.path, negativeRe, isDirectory);
if (this._settings.unique && isMatched) {
this._createIndexRecord(entry);
}
return isMatched;
}
@@ -8762,13 +8986,17 @@
return false;
}
const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);
return utils.pattern.matchAny(fullpath, patternsRe);
}
- _isMatchToPatterns(entryPath, patternsRe) {
+ _isMatchToPatterns(entryPath, patternsRe, isDirectory) {
const filepath = utils.path.removeLeadingDotSegment(entryPath);
- return utils.pattern.matchAny(filepath, patternsRe) || utils.pattern.matchAny(filepath + "/", patternsRe);
+ const isMatched = utils.pattern.matchAny(filepath, patternsRe);
+ if (!isMatched && isDirectory) {
+ return utils.pattern.matchAny(filepath + "/", patternsRe);
+ }
+ return isMatched;
}
};
exports2.default = EntryFilter;
}
});
@@ -8879,33 +9107,28 @@
}
};
exports2.default = Provider;
}
});
-var require_async5 = __commonJS2({
+var require_async6 = __commonJS2({
"node_modules/fast-glob/out/providers/async.js"(exports2) {
"use strict";
Object.defineProperty(exports2, "__esModule", {
value: true
});
- var stream_1 = require_stream3();
+ var async_1 = require_async5();
var provider_1 = require_provider();
var ProviderAsync = class extends provider_1.default {
constructor() {
super(...arguments);
- this._reader = new stream_1.default(this._settings);
+ this._reader = new async_1.default(this._settings);
}
- read(task) {
+ async read(task) {
const root = this._getRootDirectory(task);
const options = this._getReaderOptions(task);
- const entries = [];
- return new Promise((resolve, reject) => {
- const stream = this.api(root, task, options);
- stream.once("error", reject);
- stream.on("data", (entry) => entries.push(options.transform(entry)));
- stream.once("end", () => resolve(entries));
- });
+ const entries = await this.api(root, task, options);
+ return entries.map((entry) => options.transform(entry));
}
api(root, task, options) {
if (task.dynamic) {
return this._reader.dynamic(root, options);
}
@@ -9091,11 +9314,11 @@
var require_out4 = __commonJS2({
"node_modules/fast-glob/out/index.js"(exports2, module2) {
"use strict";
var taskManager = require_tasks();
var patternManager = require_patterns();
- var async_1 = require_async5();
+ var async_1 = require_async6();
var stream_1 = require_stream4();
var sync_1 = require_sync6();
var settings_1 = require_settings4();
var utils = require_utils4();
async function FastGlob(source, options) {
@@ -9183,11 +9406,11 @@
error: `No matching files. Patterns: ${context.filePatterns.join(" ")}`
};
}
}
async function* expandPatternsInternal(context) {
- const silentlyIgnoredDirs = [".git", ".svn", ".hg"];
+ const silentlyIgnoredDirs = [".git", ".sl", ".svn", ".hg"];
if (context.argv.withNodeModules !== true) {
silentlyIgnoredDirs.push("node_modules");
}
const globOptions = {
dot: true,
@@ -9421,11 +9644,11 @@
return res.length > 1 ? res.join("/") : "/";
};
}
});
var require_p_try = __commonJS2({
- "node_modules/pkg-dir/node_modules/p-try/index.js"(exports2, module2) {
+ "node_modules/p-try/index.js"(exports2, module2) {
"use strict";
var pTry = (fn, ...arguments_) => new Promise((resolve) => {
resolve(fn(...arguments_));
});
module2.exports = pTry;
@@ -12378,11 +12601,11 @@
};
}
function setopts(self2, pattern, options) {
if (!options)
options = {};
- if (options.matchBase && pattern.indexOf("/") === -1) {
+ if (options.matchBase && -1 === pattern.indexOf("/")) {
if (options.noglobstar) {
throw new Error("base matching requires globstar");
}
pattern = "**/" + pattern;
}
@@ -12427,10 +12650,11 @@
if (process.platform === "win32")
self2.cwdAbs = self2.cwdAbs.replace(/\\/g, "/");
self2.nomount = !!options.nomount;
options.nonegate = true;
options.nocomment = true;
+ options.allowWindowsEscape = false;
self2.minimatch = new Minimatch(pattern, options);
self2.options = self2.minimatch.options;
}
function finish(self2) {
var nou = self2.nounique;
@@ -12567,11 +12791,11 @@
this._process(this.minimatch.set[i], i, false);
}
this._finish();
}
GlobSync.prototype._finish = function() {
- assert(this instanceof GlobSync);
+ assert.ok(this instanceof GlobSync);
if (this.realpath) {
var self2 = this;
this.matches.forEach(function(matchset, index) {
var set = self2.matches[index] = /* @__PURE__ */ Object.create(null);
for (var p in matchset) {
@@ -12589,11 +12813,11 @@
});
}
common.finish(this);
};
GlobSync.prototype._process = function(pattern, index, inGlobStar) {
- assert(this instanceof GlobSync);
+ assert.ok(this instanceof GlobSync);
var n = 0;
while (typeof pattern[n] === "string") {
n++;
}
var prefix;
@@ -12610,11 +12834,13 @@
}
var remain = pattern.slice(n);
var read;
if (prefix === null)
read = ".";
- else if (isAbsolute(prefix) || isAbsolute(pattern.join("/"))) {
+ else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) {
+ return typeof p === "string" ? p : "[*]";
+ }).join("/"))) {
if (!prefix || !isAbsolute(prefix))
prefix = "/" + prefix;
read = prefix;
} else
read = prefix;
@@ -13224,10 +13450,12 @@
}
var remain = pattern.slice(n);
var read;
if (prefix === null)
read = ".";
- else if (isAbsolute(prefix) || isAbsolute(pattern.join("/"))) {
+ else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) {
+ return typeof p === "string" ? p : "[*]";
+ }).join("/"))) {
if (!prefix || !isAbsolute(prefix))
prefix = "/" + prefix;
read = prefix;
} else
read = prefix;