@remotion/eslint-config-flat 4.0.461 → 4.0.463
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/dist/esm/index.mjs +78 -64
- package/package.json +3 -3
package/dist/esm/index.mjs
CHANGED
|
@@ -4,15 +4,29 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
function __accessProp(key) {
|
|
8
|
+
return this[key];
|
|
9
|
+
}
|
|
10
|
+
var __toESMCache_node;
|
|
11
|
+
var __toESMCache_esm;
|
|
7
12
|
var __toESM = (mod, isNodeMode, target) => {
|
|
13
|
+
var canCache = mod != null && typeof mod === "object";
|
|
14
|
+
if (canCache) {
|
|
15
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
16
|
+
var cached = cache.get(mod);
|
|
17
|
+
if (cached)
|
|
18
|
+
return cached;
|
|
19
|
+
}
|
|
8
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
9
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
10
22
|
for (let key of __getOwnPropNames(mod))
|
|
11
23
|
if (!__hasOwnProp.call(to, key))
|
|
12
24
|
__defProp(to, key, {
|
|
13
|
-
get: (
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
14
26
|
enumerable: true
|
|
15
27
|
});
|
|
28
|
+
if (canCache)
|
|
29
|
+
cache.set(mod, to);
|
|
16
30
|
return to;
|
|
17
31
|
};
|
|
18
32
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
@@ -5240,7 +5254,7 @@ var require_ExportVisitor = __commonJS((exports) => {
|
|
|
5240
5254
|
ExportDefaultDeclaration(node) {
|
|
5241
5255
|
if (node.declaration.type === types_1.AST_NODE_TYPES.Identifier) {
|
|
5242
5256
|
this.visit(node.declaration);
|
|
5243
|
-
}
|
|
5257
|
+
}
|
|
5244
5258
|
}
|
|
5245
5259
|
ExportNamedDeclaration(node) {
|
|
5246
5260
|
if (node.source) {
|
|
@@ -5248,7 +5262,7 @@ var require_ExportVisitor = __commonJS((exports) => {
|
|
|
5248
5262
|
}
|
|
5249
5263
|
if (!node.declaration) {
|
|
5250
5264
|
this.visitChildren(node);
|
|
5251
|
-
}
|
|
5265
|
+
}
|
|
5252
5266
|
}
|
|
5253
5267
|
ExportSpecifier(node) {
|
|
5254
5268
|
if (node.exportKind === "type") {
|
|
@@ -9502,7 +9516,7 @@ var require_estraverse = __commonJS((exports) => {
|
|
|
9502
9516
|
this.parent = parent;
|
|
9503
9517
|
this.key = key;
|
|
9504
9518
|
}
|
|
9505
|
-
Reference.prototype.replace = function
|
|
9519
|
+
Reference.prototype.replace = function replace2(node) {
|
|
9506
9520
|
this.parent[this.key] = node;
|
|
9507
9521
|
};
|
|
9508
9522
|
Reference.prototype.remove = function remove() {
|
|
@@ -9523,13 +9537,13 @@ var require_estraverse = __commonJS((exports) => {
|
|
|
9523
9537
|
function Controller() {}
|
|
9524
9538
|
Controller.prototype.path = function path() {
|
|
9525
9539
|
var i, iz, j, jz, result, element;
|
|
9526
|
-
function addToPath(result2,
|
|
9527
|
-
if (Array.isArray(
|
|
9528
|
-
for (j = 0, jz =
|
|
9529
|
-
result2.push(
|
|
9540
|
+
function addToPath(result2, path2) {
|
|
9541
|
+
if (Array.isArray(path2)) {
|
|
9542
|
+
for (j = 0, jz = path2.length;j < jz; ++j) {
|
|
9543
|
+
result2.push(path2[j]);
|
|
9530
9544
|
}
|
|
9531
9545
|
} else {
|
|
9532
|
-
result2.push(
|
|
9546
|
+
result2.push(path2);
|
|
9533
9547
|
}
|
|
9534
9548
|
}
|
|
9535
9549
|
if (!this.__current.path) {
|
|
@@ -9609,7 +9623,7 @@ var require_estraverse = __commonJS((exports) => {
|
|
|
9609
9623
|
function isProperty(nodeType, key) {
|
|
9610
9624
|
return (nodeType === Syntax.ObjectExpression || nodeType === Syntax.ObjectPattern) && key === "properties";
|
|
9611
9625
|
}
|
|
9612
|
-
Controller.prototype.traverse = function
|
|
9626
|
+
Controller.prototype.traverse = function traverse2(root, visitor) {
|
|
9613
9627
|
var worklist, leavelist, element, node, nodeType, ret, key, current, current2, candidates, candidate, sentinel;
|
|
9614
9628
|
this.__initialize(root, visitor);
|
|
9615
9629
|
sentinel = {};
|
|
@@ -9676,7 +9690,7 @@ var require_estraverse = __commonJS((exports) => {
|
|
|
9676
9690
|
}
|
|
9677
9691
|
}
|
|
9678
9692
|
};
|
|
9679
|
-
Controller.prototype.replace = function
|
|
9693
|
+
Controller.prototype.replace = function replace2(root, visitor) {
|
|
9680
9694
|
var worklist, leavelist, node, nodeType, target, element, current, current2, candidates, candidate, sentinel, outer, key;
|
|
9681
9695
|
function removeElem(element2) {
|
|
9682
9696
|
var i, key2, nextElem, parent;
|
|
@@ -10751,7 +10765,7 @@ var require_estraverse2 = __commonJS((exports) => {
|
|
|
10751
10765
|
this.parent = parent;
|
|
10752
10766
|
this.key = key;
|
|
10753
10767
|
}
|
|
10754
|
-
Reference.prototype.replace = function
|
|
10768
|
+
Reference.prototype.replace = function replace2(node) {
|
|
10755
10769
|
this.parent[this.key] = node;
|
|
10756
10770
|
};
|
|
10757
10771
|
Reference.prototype.remove = function remove() {
|
|
@@ -10772,13 +10786,13 @@ var require_estraverse2 = __commonJS((exports) => {
|
|
|
10772
10786
|
function Controller() {}
|
|
10773
10787
|
Controller.prototype.path = function path() {
|
|
10774
10788
|
var i, iz, j, jz, result, element;
|
|
10775
|
-
function addToPath(result2,
|
|
10776
|
-
if (Array.isArray(
|
|
10777
|
-
for (j = 0, jz =
|
|
10778
|
-
result2.push(
|
|
10789
|
+
function addToPath(result2, path2) {
|
|
10790
|
+
if (Array.isArray(path2)) {
|
|
10791
|
+
for (j = 0, jz = path2.length;j < jz; ++j) {
|
|
10792
|
+
result2.push(path2[j]);
|
|
10779
10793
|
}
|
|
10780
10794
|
} else {
|
|
10781
|
-
result2.push(
|
|
10795
|
+
result2.push(path2);
|
|
10782
10796
|
}
|
|
10783
10797
|
}
|
|
10784
10798
|
if (!this.__current.path) {
|
|
@@ -10866,7 +10880,7 @@ var require_estraverse2 = __commonJS((exports) => {
|
|
|
10866
10880
|
}
|
|
10867
10881
|
return false;
|
|
10868
10882
|
}
|
|
10869
|
-
Controller.prototype.traverse = function
|
|
10883
|
+
Controller.prototype.traverse = function traverse2(root, visitor) {
|
|
10870
10884
|
var worklist, leavelist, element, node, nodeType, ret, key, current, current2, candidates, candidate, sentinel;
|
|
10871
10885
|
this.__initialize(root, visitor);
|
|
10872
10886
|
sentinel = {};
|
|
@@ -10939,7 +10953,7 @@ var require_estraverse2 = __commonJS((exports) => {
|
|
|
10939
10953
|
}
|
|
10940
10954
|
}
|
|
10941
10955
|
};
|
|
10942
|
-
Controller.prototype.replace = function
|
|
10956
|
+
Controller.prototype.replace = function replace2(root, visitor) {
|
|
10943
10957
|
var worklist, leavelist, node, nodeType, target, element, current, current2, candidates, candidate, sentinel, outer, key;
|
|
10944
10958
|
function removeElem(element2) {
|
|
10945
10959
|
var i, key2, nextElem, parent;
|
|
@@ -12308,7 +12322,7 @@ var require_define_data_property = __commonJS((exports, module) => {
|
|
|
12308
12322
|
// ../../node_modules/.bun/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js
|
|
12309
12323
|
var require_has_property_descriptors = __commonJS((exports, module) => {
|
|
12310
12324
|
var $defineProperty = require_es_define_property();
|
|
12311
|
-
var hasPropertyDescriptors = function
|
|
12325
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
12312
12326
|
return !!$defineProperty;
|
|
12313
12327
|
};
|
|
12314
12328
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
@@ -12427,7 +12441,7 @@ var require_round = __commonJS((exports, module) => {
|
|
|
12427
12441
|
|
|
12428
12442
|
// ../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
|
|
12429
12443
|
var require_isNaN = __commonJS((exports, module) => {
|
|
12430
|
-
module.exports = Number.isNaN || function
|
|
12444
|
+
module.exports = Number.isNaN || function isNaN2(a) {
|
|
12431
12445
|
return a !== a;
|
|
12432
12446
|
};
|
|
12433
12447
|
});
|
|
@@ -12530,7 +12544,7 @@ var require_implementation2 = __commonJS((exports, module) => {
|
|
|
12530
12544
|
var toStr = Object.prototype.toString;
|
|
12531
12545
|
var max = Math.max;
|
|
12532
12546
|
var funcType = "[object Function]";
|
|
12533
|
-
var concatty = function
|
|
12547
|
+
var concatty = function concatty2(a, b) {
|
|
12534
12548
|
var arr = [];
|
|
12535
12549
|
for (var i = 0;i < a.length; i += 1) {
|
|
12536
12550
|
arr[i] = a[i];
|
|
@@ -12540,7 +12554,7 @@ var require_implementation2 = __commonJS((exports, module) => {
|
|
|
12540
12554
|
}
|
|
12541
12555
|
return arr;
|
|
12542
12556
|
};
|
|
12543
|
-
var slicy = function
|
|
12557
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
12544
12558
|
var arr = [];
|
|
12545
12559
|
for (var i = offset || 0, j = 0;i < arrLike.length; i += 1, j += 1) {
|
|
12546
12560
|
arr[j] = arrLike[i];
|
|
@@ -12581,7 +12595,7 @@ var require_implementation2 = __commonJS((exports, module) => {
|
|
|
12581
12595
|
}
|
|
12582
12596
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
12583
12597
|
if (target.prototype) {
|
|
12584
|
-
var Empty = function
|
|
12598
|
+
var Empty = function Empty2() {};
|
|
12585
12599
|
Empty.prototype = target.prototype;
|
|
12586
12600
|
bound.prototype = new Empty;
|
|
12587
12601
|
Empty.prototype = null;
|
|
@@ -12819,7 +12833,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
12819
12833
|
}
|
|
12820
12834
|
}
|
|
12821
12835
|
var errorProto;
|
|
12822
|
-
var doEval = function
|
|
12836
|
+
var doEval = function doEval2(name) {
|
|
12823
12837
|
var value;
|
|
12824
12838
|
if (name === "%AsyncFunction%") {
|
|
12825
12839
|
value = getEvalledConstructor("async function () {}");
|
|
@@ -12828,12 +12842,12 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
12828
12842
|
} else if (name === "%AsyncGeneratorFunction%") {
|
|
12829
12843
|
value = getEvalledConstructor("async function* () {}");
|
|
12830
12844
|
} else if (name === "%AsyncGenerator%") {
|
|
12831
|
-
var fn =
|
|
12845
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
12832
12846
|
if (fn) {
|
|
12833
12847
|
value = fn.prototype;
|
|
12834
12848
|
}
|
|
12835
12849
|
} else if (name === "%AsyncIteratorPrototype%") {
|
|
12836
|
-
var gen =
|
|
12850
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
12837
12851
|
if (gen && getProto) {
|
|
12838
12852
|
value = getProto(gen.prototype);
|
|
12839
12853
|
}
|
|
@@ -12904,7 +12918,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
12904
12918
|
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
12905
12919
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
12906
12920
|
var reEscapeChar = /\\(\\)?/g;
|
|
12907
|
-
var stringToPath = function
|
|
12921
|
+
var stringToPath = function stringToPath2(string) {
|
|
12908
12922
|
var first = $strSlice(string, 0, 1);
|
|
12909
12923
|
var last = $strSlice(string, -1);
|
|
12910
12924
|
if (first === "%" && last !== "%") {
|
|
@@ -12918,7 +12932,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
12918
12932
|
});
|
|
12919
12933
|
return result;
|
|
12920
12934
|
};
|
|
12921
|
-
var getBaseIntrinsic = function
|
|
12935
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
12922
12936
|
var intrinsicName = name;
|
|
12923
12937
|
var alias;
|
|
12924
12938
|
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
@@ -13751,7 +13765,7 @@ var require_CodePointAt = __commonJS((exports, module) => {
|
|
|
13751
13765
|
// ../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/isFinite.js
|
|
13752
13766
|
var require_isFinite = __commonJS((exports, module) => {
|
|
13753
13767
|
var $isNaN = require_isNaN();
|
|
13754
|
-
module.exports = function
|
|
13768
|
+
module.exports = function isFinite2(x) {
|
|
13755
13769
|
return (typeof x === "number" || typeof x === "bigint") && !$isNaN(x) && x !== Infinity && x !== -Infinity;
|
|
13756
13770
|
};
|
|
13757
13771
|
});
|
|
@@ -14428,7 +14442,7 @@ var require_OrdinaryObjectCreate = __commonJS((exports, module) => {
|
|
|
14428
14442
|
if (proto === null) {
|
|
14429
14443
|
throw new $SyntaxError("native Object.create support is required to create null objects");
|
|
14430
14444
|
}
|
|
14431
|
-
var T = function
|
|
14445
|
+
var T = function T2() {};
|
|
14432
14446
|
T.prototype = proto;
|
|
14433
14447
|
O = new T;
|
|
14434
14448
|
}
|
|
@@ -14585,7 +14599,7 @@ var require_shams2 = __commonJS((exports, module) => {
|
|
|
14585
14599
|
var require_is_string = __commonJS((exports, module) => {
|
|
14586
14600
|
var callBound = require_call_bound();
|
|
14587
14601
|
var $strValueOf = callBound("String.prototype.valueOf");
|
|
14588
|
-
var tryStringObject = function
|
|
14602
|
+
var tryStringObject = function tryStringObject2(value) {
|
|
14589
14603
|
try {
|
|
14590
14604
|
$strValueOf(value);
|
|
14591
14605
|
return true;
|
|
@@ -14704,9 +14718,9 @@ var require_GetIterator = __commonJS((exports, module) => {
|
|
|
14704
14718
|
var require_CompletionRecord = __commonJS((exports, module) => {
|
|
14705
14719
|
var $SyntaxError = require_syntax();
|
|
14706
14720
|
var SLOT = require_internal_slot();
|
|
14707
|
-
var CompletionRecord = function
|
|
14708
|
-
if (!(this instanceof
|
|
14709
|
-
return new
|
|
14721
|
+
var CompletionRecord = function CompletionRecord2(type, value) {
|
|
14722
|
+
if (!(this instanceof CompletionRecord2)) {
|
|
14723
|
+
return new CompletionRecord2(type, value);
|
|
14710
14724
|
}
|
|
14711
14725
|
if (type !== "normal" && type !== "break" && type !== "continue" && type !== "return" && type !== "throw") {
|
|
14712
14726
|
throw new $SyntaxError('Assertion failed: `type` must be one of "normal", "break", "continue", "return", or "throw"');
|
|
@@ -15513,7 +15527,7 @@ var require_es20152 = __commonJS((exports, module) => {
|
|
|
15513
15527
|
}
|
|
15514
15528
|
throw new TypeError("No default value");
|
|
15515
15529
|
};
|
|
15516
|
-
var GetMethod = function
|
|
15530
|
+
var GetMethod = function GetMethod2(O, P) {
|
|
15517
15531
|
var func = O[P];
|
|
15518
15532
|
if (func !== null && typeof func !== "undefined") {
|
|
15519
15533
|
if (!isCallable(func)) {
|
|
@@ -16330,7 +16344,7 @@ var require_SameValueZero = __commonJS((exports, module) => {
|
|
|
16330
16344
|
|
|
16331
16345
|
// ../../node_modules/.bun/es-abstract@1.23.9/node_modules/es-abstract/helpers/isNaN.js
|
|
16332
16346
|
var require_isNaN2 = __commonJS((exports, module) => {
|
|
16333
|
-
module.exports = Number.isNaN || function
|
|
16347
|
+
module.exports = Number.isNaN || function isNaN2(a) {
|
|
16334
16348
|
return a !== a;
|
|
16335
16349
|
};
|
|
16336
16350
|
});
|
|
@@ -16551,7 +16565,7 @@ var require_globalthis = __commonJS((exports, module) => {
|
|
|
16551
16565
|
|
|
16552
16566
|
// ../../node_modules/.bun/functions-have-names@1.2.3/node_modules/functions-have-names/index.js
|
|
16553
16567
|
var require_functions_have_names = __commonJS((exports, module) => {
|
|
16554
|
-
var functionsHaveNames = function
|
|
16568
|
+
var functionsHaveNames = function functionsHaveNames2() {
|
|
16555
16569
|
return typeof function f() {}.name === "string";
|
|
16556
16570
|
};
|
|
16557
16571
|
var gOPD = Object.getOwnPropertyDescriptor;
|
|
@@ -16630,8 +16644,8 @@ var require_implementation10 = __commonJS((exports, module) => {
|
|
|
16630
16644
|
var iterProto = require_iterator();
|
|
16631
16645
|
var callBound = require_call_bound();
|
|
16632
16646
|
var $isPrototypeOf = callBound("Object.prototype.isPrototypeOf");
|
|
16633
|
-
var $Iterator = typeof Iterator === "function" ? Iterator : function
|
|
16634
|
-
if (!(this instanceof
|
|
16647
|
+
var $Iterator = typeof Iterator === "function" ? Iterator : function Iterator2() {
|
|
16648
|
+
if (!(this instanceof Iterator2) || this.constructor === Iterator2 || !$isPrototypeOf(Iterator2, this.constructor)) {
|
|
16635
16649
|
throw new $TypeError("`Iterator` can not be called or constructed directly");
|
|
16636
16650
|
}
|
|
16637
16651
|
};
|
|
@@ -16876,7 +16890,7 @@ var require_CreateIteratorFromClosure = __commonJS((exports, module) => {
|
|
|
16876
16890
|
var every = require_every();
|
|
16877
16891
|
var SLOT = require_internal_slot();
|
|
16878
16892
|
var safeConcat = require_safe_array_concat();
|
|
16879
|
-
var isString = function
|
|
16893
|
+
var isString = function isString2(slot) {
|
|
16880
16894
|
return typeof slot === "string";
|
|
16881
16895
|
};
|
|
16882
16896
|
module.exports = function CreateIteratorFromClosure(closure, generatorBrand, proto) {
|
|
@@ -17128,7 +17142,7 @@ var require_IteratorHelperPrototype = __commonJS((exports, module) => {
|
|
|
17128
17142
|
};
|
|
17129
17143
|
setToStringTag(implementation, "Iterator Helper");
|
|
17130
17144
|
} else {
|
|
17131
|
-
IteratorHelper = function
|
|
17145
|
+
IteratorHelper = function IteratorHelper2() {};
|
|
17132
17146
|
IteratorHelper.prototype = iterProto;
|
|
17133
17147
|
implementation = new IteratorHelper;
|
|
17134
17148
|
delete implementation.constructor;
|
|
@@ -19086,7 +19100,7 @@ var require_doctrine = __commonJS((exports) => {
|
|
|
19086
19100
|
}
|
|
19087
19101
|
hasOwnProperty = function() {
|
|
19088
19102
|
var func = Object.prototype.hasOwnProperty;
|
|
19089
|
-
return function
|
|
19103
|
+
return function hasOwnProperty2(obj, name) {
|
|
19090
19104
|
return func.call(obj, name);
|
|
19091
19105
|
};
|
|
19092
19106
|
}();
|
|
@@ -19596,7 +19610,7 @@ var require_doctrine = __commonJS((exports) => {
|
|
|
19596
19610
|
variation: ["parseVariation"],
|
|
19597
19611
|
version: ["parseDescription"]
|
|
19598
19612
|
};
|
|
19599
|
-
TagParser.prototype.parse = function
|
|
19613
|
+
TagParser.prototype.parse = function parse2() {
|
|
19600
19614
|
var i, iz, sequences, method;
|
|
19601
19615
|
if (!this._title) {
|
|
19602
19616
|
if (!this.addError("Missing or invalid title")) {
|
|
@@ -20011,7 +20025,7 @@ var require_path_parse = __commonJS((exports, module) => {
|
|
|
20011
20025
|
var require_node_modules_paths = __commonJS((exports, module) => {
|
|
20012
20026
|
var path = __require("path");
|
|
20013
20027
|
var parse = path.parse || require_path_parse();
|
|
20014
|
-
var getNodeModulesDirs = function
|
|
20028
|
+
var getNodeModulesDirs = function getNodeModulesDirs2(absoluteStart, modules) {
|
|
20015
20029
|
var prefix = "/";
|
|
20016
20030
|
if (/^([A-Za-z]:)/.test(absoluteStart)) {
|
|
20017
20031
|
prefix = "";
|
|
@@ -20319,14 +20333,14 @@ var require_async = __commonJS((exports, module) => {
|
|
|
20319
20333
|
cb(null, realpathErr ? x : realPath);
|
|
20320
20334
|
});
|
|
20321
20335
|
};
|
|
20322
|
-
var maybeRealpath = function
|
|
20336
|
+
var maybeRealpath = function maybeRealpath2(realpath, x, opts, cb) {
|
|
20323
20337
|
if (!opts || !opts.preserveSymlinks) {
|
|
20324
20338
|
realpath(x, cb);
|
|
20325
20339
|
} else {
|
|
20326
20340
|
cb(null, x);
|
|
20327
20341
|
}
|
|
20328
20342
|
};
|
|
20329
|
-
var defaultReadPackage = function
|
|
20343
|
+
var defaultReadPackage = function defaultReadPackage2(readFile, pkgfile, cb) {
|
|
20330
20344
|
readFile(pkgfile, function(readFileErr, body) {
|
|
20331
20345
|
if (readFileErr)
|
|
20332
20346
|
cb(readFileErr);
|
|
@@ -20340,7 +20354,7 @@ var require_async = __commonJS((exports, module) => {
|
|
|
20340
20354
|
}
|
|
20341
20355
|
});
|
|
20342
20356
|
};
|
|
20343
|
-
var getPackageCandidates = function
|
|
20357
|
+
var getPackageCandidates = function getPackageCandidates2(x, start, opts) {
|
|
20344
20358
|
var dirs = nodeModulesPaths(start, opts, x);
|
|
20345
20359
|
for (var i = 0;i < dirs.length; i++) {
|
|
20346
20360
|
dirs[i] = path.join(dirs[i], x);
|
|
@@ -20669,16 +20683,16 @@ var require_sync = __commonJS((exports, module) => {
|
|
|
20669
20683
|
}
|
|
20670
20684
|
return x;
|
|
20671
20685
|
};
|
|
20672
|
-
var maybeRealpathSync = function
|
|
20686
|
+
var maybeRealpathSync = function maybeRealpathSync2(realpathSync, x, opts) {
|
|
20673
20687
|
if (!opts || !opts.preserveSymlinks) {
|
|
20674
20688
|
return realpathSync(x);
|
|
20675
20689
|
}
|
|
20676
20690
|
return x;
|
|
20677
20691
|
};
|
|
20678
|
-
var defaultReadPackageSync = function
|
|
20692
|
+
var defaultReadPackageSync = function defaultReadPackageSync2(readFileSync, pkgfile) {
|
|
20679
20693
|
return JSON.parse(readFileSync(pkgfile));
|
|
20680
20694
|
};
|
|
20681
|
-
var getPackageCandidates = function
|
|
20695
|
+
var getPackageCandidates = function getPackageCandidates2(x, start, opts) {
|
|
20682
20696
|
var dirs = nodeModulesPaths(start, opts, x);
|
|
20683
20697
|
for (var i = 0;i < dirs.length; i++) {
|
|
20684
20698
|
dirs[i] = path.join(dirs[i], x);
|
|
@@ -25126,10 +25140,10 @@ var require_expressions = __commonJS((exports) => {
|
|
|
25126
25140
|
TSNonNullExpression: _TSNonNullExpression2.default,
|
|
25127
25141
|
AssignmentExpression: _AssignmentExpression2.default
|
|
25128
25142
|
};
|
|
25129
|
-
var noop = function
|
|
25143
|
+
var noop = function noop2() {
|
|
25130
25144
|
return null;
|
|
25131
25145
|
};
|
|
25132
|
-
var errorMessage = function
|
|
25146
|
+
var errorMessage = function errorMessage2(expression) {
|
|
25133
25147
|
return "The prop value with an expression type of " + expression + " could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately.";
|
|
25134
25148
|
};
|
|
25135
25149
|
function extract(value) {
|
|
@@ -25281,7 +25295,7 @@ var require_getPropValue = __commonJS((exports) => {
|
|
|
25281
25295
|
function _interopRequireDefault(obj) {
|
|
25282
25296
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
25283
25297
|
}
|
|
25284
|
-
var extractValue = function
|
|
25298
|
+
var extractValue = function extractValue2(attribute, extractor) {
|
|
25285
25299
|
if (attribute && attribute.type === "JSXAttribute") {
|
|
25286
25300
|
if (attribute.value === null) {
|
|
25287
25301
|
return true;
|
|
@@ -27956,25 +27970,25 @@ var require_minimatch = __commonJS((exports, module) => {
|
|
|
27956
27970
|
return minimatch;
|
|
27957
27971
|
}
|
|
27958
27972
|
var orig = minimatch;
|
|
27959
|
-
var m = function
|
|
27973
|
+
var m = function minimatch2(p, pattern, options) {
|
|
27960
27974
|
return orig(p, pattern, ext(def, options));
|
|
27961
27975
|
};
|
|
27962
|
-
m.Minimatch = function
|
|
27976
|
+
m.Minimatch = function Minimatch2(pattern, options) {
|
|
27963
27977
|
return new orig.Minimatch(pattern, ext(def, options));
|
|
27964
27978
|
};
|
|
27965
27979
|
m.Minimatch.defaults = function defaults(options) {
|
|
27966
27980
|
return orig.defaults(ext(def, options)).Minimatch;
|
|
27967
27981
|
};
|
|
27968
|
-
m.filter = function
|
|
27982
|
+
m.filter = function filter2(pattern, options) {
|
|
27969
27983
|
return orig.filter(pattern, ext(def, options));
|
|
27970
27984
|
};
|
|
27971
27985
|
m.defaults = function defaults(options) {
|
|
27972
27986
|
return orig.defaults(ext(def, options));
|
|
27973
27987
|
};
|
|
27974
|
-
m.makeRe = function
|
|
27988
|
+
m.makeRe = function makeRe2(pattern, options) {
|
|
27975
27989
|
return orig.makeRe(pattern, ext(def, options));
|
|
27976
27990
|
};
|
|
27977
|
-
m.braceExpand = function
|
|
27991
|
+
m.braceExpand = function braceExpand2(pattern, options) {
|
|
27978
27992
|
return orig.braceExpand(pattern, ext(def, options));
|
|
27979
27993
|
};
|
|
27980
27994
|
m.match = function(list, pattern, options) {
|
|
@@ -31487,7 +31501,7 @@ var require_Set = __commonJS((exports, module) => {
|
|
|
31487
31501
|
return false;
|
|
31488
31502
|
}
|
|
31489
31503
|
}();
|
|
31490
|
-
module.exports = function
|
|
31504
|
+
module.exports = function Set2(O, P, V, Throw) {
|
|
31491
31505
|
if (!isObject(O)) {
|
|
31492
31506
|
throw new $TypeError("Assertion failed: `O` must be an Object");
|
|
31493
31507
|
}
|
|
@@ -31531,7 +31545,7 @@ var require_CreateRegExpStringIterator = __commonJS((exports, module) => {
|
|
|
31531
31545
|
var isObject = require_isObject();
|
|
31532
31546
|
var SLOT = require_internal_slot();
|
|
31533
31547
|
var setToStringTag = require_es_set_tostringtag();
|
|
31534
|
-
var RegExpStringIterator = function
|
|
31548
|
+
var RegExpStringIterator = function RegExpStringIterator2(R, S, global2, fullUnicode) {
|
|
31535
31549
|
if (typeof S !== "string") {
|
|
31536
31550
|
throw new $TypeError("`S` must be a string");
|
|
31537
31551
|
}
|
|
@@ -31703,7 +31717,7 @@ var require_implementation20 = __commonJS((exports, module) => {
|
|
|
31703
31717
|
var $RegExp = GetIntrinsic("%RegExp%");
|
|
31704
31718
|
var $indexOf = callBound("String.prototype.indexOf");
|
|
31705
31719
|
var regexpMatchAllPolyfill = require_polyfill_regexp_matchall();
|
|
31706
|
-
var getMatcher = function
|
|
31720
|
+
var getMatcher = function getMatcher2(regexp) {
|
|
31707
31721
|
var matcherPolyfill = regexpMatchAllPolyfill();
|
|
31708
31722
|
if (hasSymbols && typeof Symbol.matchAll === "symbol") {
|
|
31709
31723
|
var matcher = GetMethod(regexp, Symbol.matchAll);
|
|
@@ -34558,7 +34572,7 @@ var require_jsx_one_expression_per_line = __commonJS((exports, module) => {
|
|
|
34558
34572
|
if (line === closingElementStartLine) {
|
|
34559
34573
|
nextChild = closingElement;
|
|
34560
34574
|
}
|
|
34561
|
-
}
|
|
34575
|
+
}
|
|
34562
34576
|
function spaceBetweenPrev() {
|
|
34563
34577
|
return (prevChild.type === "Literal" || prevChild.type === "JSXText") && / $/.test(prevChild.raw) || (child.type === "Literal" || child.type === "JSXText") && /^ /.test(child.raw) || getSourceCode(context).isSpaceBetweenTokens(prevChild, child);
|
|
34564
34578
|
}
|
|
@@ -46241,7 +46255,7 @@ var require_eslint_plugin_react_hooks_production = __commonJS((exports) => {
|
|
|
46241
46255
|
var require_eslint_plugin_react_hooks = __commonJS((exports, module) => {
|
|
46242
46256
|
if (true) {
|
|
46243
46257
|
module.exports = require_eslint_plugin_react_hooks_production();
|
|
46244
|
-
}
|
|
46258
|
+
}
|
|
46245
46259
|
});
|
|
46246
46260
|
|
|
46247
46261
|
// src/index.ts
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/eslint-config-flat"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/eslint-config-flat",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.463",
|
|
7
7
|
"description": "Default configuration for Remotion templates (ESLint >= 9)",
|
|
8
8
|
"main": "dist/esm/index.mjs",
|
|
9
9
|
"type": "module",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"eslint": ">=9"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@remotion/eslint-plugin": "4.0.
|
|
31
|
+
"@remotion/eslint-plugin": "4.0.463",
|
|
32
32
|
"@eslint/js": "9.19.0",
|
|
33
33
|
"eslint-plugin-react": "7.37.4",
|
|
34
34
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
35
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
35
|
+
"@remotion/eslint-config-internal": "4.0.463",
|
|
36
36
|
"eslint": "9.19.0",
|
|
37
37
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
38
38
|
},
|