@remotion/eslint-config-flat 4.0.286 → 4.0.287
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 +62 -124
- package/package.json +3 -3
package/dist/esm/index.mjs
CHANGED
|
@@ -3858,8 +3858,7 @@ var require_PatternVisitor = __commonJS((exports) => {
|
|
|
3858
3858
|
});
|
|
3859
3859
|
this.visit(node.callee);
|
|
3860
3860
|
}
|
|
3861
|
-
Decorator() {
|
|
3862
|
-
}
|
|
3861
|
+
Decorator() {}
|
|
3863
3862
|
Identifier(pattern) {
|
|
3864
3863
|
var _a;
|
|
3865
3864
|
const lastRestElement = (_a = __classPrivateFieldGet(this, _PatternVisitor_restElements, "f")[__classPrivateFieldGet(this, _PatternVisitor_restElements, "f").length - 1]) !== null && _a !== undefined ? _a : null;
|
|
@@ -3889,8 +3888,7 @@ var require_PatternVisitor = __commonJS((exports) => {
|
|
|
3889
3888
|
SpreadElement(node) {
|
|
3890
3889
|
this.visit(node.argument);
|
|
3891
3890
|
}
|
|
3892
|
-
TSTypeAnnotation() {
|
|
3893
|
-
}
|
|
3891
|
+
TSTypeAnnotation() {}
|
|
3894
3892
|
}
|
|
3895
3893
|
exports.PatternVisitor = PatternVisitor;
|
|
3896
3894
|
_PatternVisitor_rootPattern = new WeakMap, _PatternVisitor_callback = new WeakMap, _PatternVisitor_assignments = new WeakMap, _PatternVisitor_restElements = new WeakMap;
|
|
@@ -5179,8 +5177,7 @@ var require_ClassVisitor = __commonJS((exports) => {
|
|
|
5179
5177
|
Identifier(node) {
|
|
5180
5178
|
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(node);
|
|
5181
5179
|
}
|
|
5182
|
-
PrivateIdentifier() {
|
|
5183
|
-
}
|
|
5180
|
+
PrivateIdentifier() {}
|
|
5184
5181
|
}
|
|
5185
5182
|
exports.ClassVisitor = ClassVisitor;
|
|
5186
5183
|
_ClassVisitor_classNode = new WeakMap, _ClassVisitor_referencer = new WeakMap, _ClassVisitor_emitDecoratorMetadata = new WeakMap;
|
|
@@ -5243,8 +5240,7 @@ var require_ExportVisitor = __commonJS((exports) => {
|
|
|
5243
5240
|
ExportDefaultDeclaration(node) {
|
|
5244
5241
|
if (node.declaration.type === types_1.AST_NODE_TYPES.Identifier) {
|
|
5245
5242
|
this.visit(node.declaration);
|
|
5246
|
-
} else {
|
|
5247
|
-
}
|
|
5243
|
+
} else {}
|
|
5248
5244
|
}
|
|
5249
5245
|
ExportNamedDeclaration(node) {
|
|
5250
5246
|
if (node.source) {
|
|
@@ -5252,8 +5248,7 @@ var require_ExportVisitor = __commonJS((exports) => {
|
|
|
5252
5248
|
}
|
|
5253
5249
|
if (!node.declaration) {
|
|
5254
5250
|
this.visitChildren(node);
|
|
5255
|
-
} else {
|
|
5256
|
-
}
|
|
5251
|
+
} else {}
|
|
5257
5252
|
}
|
|
5258
5253
|
ExportSpecifier(node) {
|
|
5259
5254
|
if (node.exportKind === "type") {
|
|
@@ -8454,8 +8449,7 @@ var require_Referencer = __commonJS((exports) => {
|
|
|
8454
8449
|
this.visitChildren(node);
|
|
8455
8450
|
this.close(node);
|
|
8456
8451
|
}
|
|
8457
|
-
BreakStatement() {
|
|
8458
|
-
}
|
|
8452
|
+
BreakStatement() {}
|
|
8459
8453
|
CallExpression(node) {
|
|
8460
8454
|
this.visitChildren(node, ["typeParameters"]);
|
|
8461
8455
|
this.visitType(node.typeParameters);
|
|
@@ -8478,10 +8472,8 @@ var require_Referencer = __commonJS((exports) => {
|
|
|
8478
8472
|
ClassDeclaration(node) {
|
|
8479
8473
|
this.visitClass(node);
|
|
8480
8474
|
}
|
|
8481
|
-
ContinueStatement() {
|
|
8482
|
-
}
|
|
8483
|
-
ExportAllDeclaration() {
|
|
8484
|
-
}
|
|
8475
|
+
ContinueStatement() {}
|
|
8476
|
+
ExportAllDeclaration() {}
|
|
8485
8477
|
ExportDefaultDeclaration(node) {
|
|
8486
8478
|
if (node.declaration.type === types_1.AST_NODE_TYPES.Identifier) {
|
|
8487
8479
|
ExportVisitor_1.ExportVisitor.visit(this, node);
|
|
@@ -8526,8 +8518,7 @@ var require_Referencer = __commonJS((exports) => {
|
|
|
8526
8518
|
JSXAttribute(node) {
|
|
8527
8519
|
this.visit(node.value);
|
|
8528
8520
|
}
|
|
8529
|
-
JSXClosingElement() {
|
|
8530
|
-
}
|
|
8521
|
+
JSXClosingElement() {}
|
|
8531
8522
|
JSXFragment(node) {
|
|
8532
8523
|
this.referenceJsxPragma();
|
|
8533
8524
|
this.referenceJsxFragment();
|
|
@@ -8568,14 +8559,12 @@ var require_Referencer = __commonJS((exports) => {
|
|
|
8568
8559
|
this.visit(node.property);
|
|
8569
8560
|
}
|
|
8570
8561
|
}
|
|
8571
|
-
MetaProperty() {
|
|
8572
|
-
}
|
|
8562
|
+
MetaProperty() {}
|
|
8573
8563
|
NewExpression(node) {
|
|
8574
8564
|
this.visitChildren(node, ["typeParameters"]);
|
|
8575
8565
|
this.visitType(node.typeParameters);
|
|
8576
8566
|
}
|
|
8577
|
-
PrivateIdentifier() {
|
|
8578
|
-
}
|
|
8567
|
+
PrivateIdentifier() {}
|
|
8579
8568
|
Program(node) {
|
|
8580
8569
|
const globalScope = this.scopeManager.nestGlobalScope(node);
|
|
8581
8570
|
this.populateGlobalsFromLib(globalScope);
|
|
@@ -8693,8 +8682,7 @@ var require_Referencer = __commonJS((exports) => {
|
|
|
8693
8682
|
this.visit(node.body);
|
|
8694
8683
|
this.close(node);
|
|
8695
8684
|
}
|
|
8696
|
-
ImportAttribute() {
|
|
8697
|
-
}
|
|
8685
|
+
ImportAttribute() {}
|
|
8698
8686
|
}
|
|
8699
8687
|
exports.Referencer = Referencer;
|
|
8700
8688
|
_Referencer_jsxPragma = new WeakMap, _Referencer_jsxFragmentName = new WeakMap, _Referencer_hasReferencedJsxFactory = new WeakMap, _Referencer_hasReferencedJsxFragmentFactory = new WeakMap, _Referencer_lib = new WeakMap, _Referencer_emitDecoratorMetadata = new WeakMap;
|
|
@@ -9160,8 +9148,7 @@ var require_RuleTester2 = __commonJS((exports) => {
|
|
|
9160
9148
|
afterAll(() => {
|
|
9161
9149
|
try {
|
|
9162
9150
|
__require(parser).clearCaches();
|
|
9163
|
-
} catch (_a2) {
|
|
9164
|
-
}
|
|
9151
|
+
} catch (_a2) {}
|
|
9165
9152
|
});
|
|
9166
9153
|
}
|
|
9167
9154
|
}
|
|
@@ -9533,8 +9520,7 @@ var require_estraverse = __commonJS((exports) => {
|
|
|
9533
9520
|
this.wrap = wrap;
|
|
9534
9521
|
this.ref = ref;
|
|
9535
9522
|
}
|
|
9536
|
-
function Controller() {
|
|
9537
|
-
}
|
|
9523
|
+
function Controller() {}
|
|
9538
9524
|
Controller.prototype.path = function path() {
|
|
9539
9525
|
var i, iz, j, jz, result, element;
|
|
9540
9526
|
function addToPath(result2, path) {
|
|
@@ -10518,10 +10504,8 @@ var require_scope_manager = __commonJS((exports, module) => {
|
|
|
10518
10504
|
}
|
|
10519
10505
|
return null;
|
|
10520
10506
|
}
|
|
10521
|
-
attach() {
|
|
10522
|
-
}
|
|
10523
|
-
detach() {
|
|
10524
|
-
}
|
|
10507
|
+
attach() {}
|
|
10508
|
+
detach() {}
|
|
10525
10509
|
__nestScope(scope) {
|
|
10526
10510
|
if (scope instanceof GlobalScope) {
|
|
10527
10511
|
assert(this.__currentScope === null);
|
|
@@ -10785,8 +10769,7 @@ var require_estraverse2 = __commonJS((exports) => {
|
|
|
10785
10769
|
this.wrap = wrap;
|
|
10786
10770
|
this.ref = ref;
|
|
10787
10771
|
}
|
|
10788
|
-
function Controller() {
|
|
10789
|
-
}
|
|
10772
|
+
function Controller() {}
|
|
10790
10773
|
Controller.prototype.path = function path() {
|
|
10791
10774
|
var i, iz, j, jz, result, element;
|
|
10792
10775
|
function addToPath(result2, path) {
|
|
@@ -11637,10 +11620,8 @@ var require_referencer2 = __commonJS((exports, module) => {
|
|
|
11637
11620
|
MethodDefinition(node) {
|
|
11638
11621
|
this.visitProperty(node);
|
|
11639
11622
|
}
|
|
11640
|
-
BreakStatement() {
|
|
11641
|
-
}
|
|
11642
|
-
ContinueStatement() {
|
|
11643
|
-
}
|
|
11623
|
+
BreakStatement() {}
|
|
11624
|
+
ContinueStatement() {}
|
|
11644
11625
|
LabeledStatement(node) {
|
|
11645
11626
|
this.visit(node.body);
|
|
11646
11627
|
}
|
|
@@ -11745,8 +11726,7 @@ var require_referencer2 = __commonJS((exports, module) => {
|
|
|
11745
11726
|
const local = node.id || node.local;
|
|
11746
11727
|
this.visit(local);
|
|
11747
11728
|
}
|
|
11748
|
-
MetaProperty() {
|
|
11749
|
-
}
|
|
11729
|
+
MetaProperty() {}
|
|
11750
11730
|
}
|
|
11751
11731
|
module.exports = Referencer;
|
|
11752
11732
|
});
|
|
@@ -12089,8 +12069,7 @@ var require_implementation = __commonJS((exports, module) => {
|
|
|
12089
12069
|
isArgs = require_isArguments();
|
|
12090
12070
|
isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
12091
12071
|
hasDontEnumBug = !isEnumerable.call({ toString: null }, "toString");
|
|
12092
|
-
hasProtoEnumBug = isEnumerable.call(function() {
|
|
12093
|
-
}, "prototype");
|
|
12072
|
+
hasProtoEnumBug = isEnumerable.call(function() {}, "prototype");
|
|
12094
12073
|
dontEnums = [
|
|
12095
12074
|
"toString",
|
|
12096
12075
|
"toLocaleString",
|
|
@@ -12602,8 +12581,7 @@ var require_implementation2 = __commonJS((exports, module) => {
|
|
|
12602
12581
|
}
|
|
12603
12582
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
12604
12583
|
if (target.prototype) {
|
|
12605
|
-
var Empty = function Empty() {
|
|
12606
|
-
};
|
|
12584
|
+
var Empty = function Empty() {};
|
|
12607
12585
|
Empty.prototype = target.prototype;
|
|
12608
12586
|
bound.prototype = new Empty;
|
|
12609
12587
|
Empty.prototype = null;
|
|
@@ -12723,8 +12701,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
12723
12701
|
var getEvalledConstructor = function(expressionSyntax) {
|
|
12724
12702
|
try {
|
|
12725
12703
|
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
12726
|
-
} catch (e) {
|
|
12727
|
-
}
|
|
12704
|
+
} catch (e) {}
|
|
12728
12705
|
};
|
|
12729
12706
|
var $gOPD = require_gopd();
|
|
12730
12707
|
var $defineProperty = require_es_define_property();
|
|
@@ -13388,8 +13365,7 @@ var require_object_inspect = __commonJS((exports, module) => {
|
|
|
13388
13365
|
try {
|
|
13389
13366
|
symToString.call(obj);
|
|
13390
13367
|
return true;
|
|
13391
|
-
} catch (e) {
|
|
13392
|
-
}
|
|
13368
|
+
} catch (e) {}
|
|
13393
13369
|
return false;
|
|
13394
13370
|
}
|
|
13395
13371
|
function isBigInt(obj) {
|
|
@@ -13399,8 +13375,7 @@ var require_object_inspect = __commonJS((exports, module) => {
|
|
|
13399
13375
|
try {
|
|
13400
13376
|
bigIntValueOf.call(obj);
|
|
13401
13377
|
return true;
|
|
13402
|
-
} catch (e) {
|
|
13403
|
-
}
|
|
13378
|
+
} catch (e) {}
|
|
13404
13379
|
return false;
|
|
13405
13380
|
}
|
|
13406
13381
|
var hasOwn = Object.prototype.hasOwnProperty || function(key) {
|
|
@@ -13445,8 +13420,7 @@ var require_object_inspect = __commonJS((exports, module) => {
|
|
|
13445
13420
|
return true;
|
|
13446
13421
|
}
|
|
13447
13422
|
return x instanceof Map;
|
|
13448
|
-
} catch (e) {
|
|
13449
|
-
}
|
|
13423
|
+
} catch (e) {}
|
|
13450
13424
|
return false;
|
|
13451
13425
|
}
|
|
13452
13426
|
function isWeakMap(x) {
|
|
@@ -13461,8 +13435,7 @@ var require_object_inspect = __commonJS((exports, module) => {
|
|
|
13461
13435
|
return true;
|
|
13462
13436
|
}
|
|
13463
13437
|
return x instanceof WeakMap;
|
|
13464
|
-
} catch (e) {
|
|
13465
|
-
}
|
|
13438
|
+
} catch (e) {}
|
|
13466
13439
|
return false;
|
|
13467
13440
|
}
|
|
13468
13441
|
function isWeakRef(x) {
|
|
@@ -13472,8 +13445,7 @@ var require_object_inspect = __commonJS((exports, module) => {
|
|
|
13472
13445
|
try {
|
|
13473
13446
|
weakRefDeref.call(x);
|
|
13474
13447
|
return true;
|
|
13475
|
-
} catch (e) {
|
|
13476
|
-
}
|
|
13448
|
+
} catch (e) {}
|
|
13477
13449
|
return false;
|
|
13478
13450
|
}
|
|
13479
13451
|
function isSet(x) {
|
|
@@ -13488,8 +13460,7 @@ var require_object_inspect = __commonJS((exports, module) => {
|
|
|
13488
13460
|
return true;
|
|
13489
13461
|
}
|
|
13490
13462
|
return x instanceof Set;
|
|
13491
|
-
} catch (e) {
|
|
13492
|
-
}
|
|
13463
|
+
} catch (e) {}
|
|
13493
13464
|
return false;
|
|
13494
13465
|
}
|
|
13495
13466
|
function isWeakSet(x) {
|
|
@@ -13504,8 +13475,7 @@ var require_object_inspect = __commonJS((exports, module) => {
|
|
|
13504
13475
|
return true;
|
|
13505
13476
|
}
|
|
13506
13477
|
return x instanceof WeakSet;
|
|
13507
|
-
} catch (e) {
|
|
13508
|
-
}
|
|
13478
|
+
} catch (e) {}
|
|
13509
13479
|
return false;
|
|
13510
13480
|
}
|
|
13511
13481
|
function isElement(x) {
|
|
@@ -14010,8 +13980,7 @@ var require_is_callable = __commonJS((exports, module) => {
|
|
|
14010
13980
|
try {
|
|
14011
13981
|
var str = toStr.call(value);
|
|
14012
13982
|
return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
|
|
14013
|
-
} catch (e) {
|
|
14014
|
-
}
|
|
13983
|
+
} catch (e) {}
|
|
14015
13984
|
}
|
|
14016
13985
|
return false;
|
|
14017
13986
|
};
|
|
@@ -14459,8 +14428,7 @@ var require_OrdinaryObjectCreate = __commonJS((exports, module) => {
|
|
|
14459
14428
|
if (proto === null) {
|
|
14460
14429
|
throw new $SyntaxError("native Object.create support is required to create null objects");
|
|
14461
14430
|
}
|
|
14462
|
-
var T = function T() {
|
|
14463
|
-
};
|
|
14431
|
+
var T = function T() {};
|
|
14464
14432
|
T.prototype = proto;
|
|
14465
14433
|
O = new T;
|
|
14466
14434
|
}
|
|
@@ -15873,8 +15841,7 @@ var require_IsConstructor = __commonJS((exports, module) => {
|
|
|
15873
15841
|
var $construct = GetIntrinsic("%Reflect.construct%", true);
|
|
15874
15842
|
var DefinePropertyOrThrow = require_DefinePropertyOrThrow();
|
|
15875
15843
|
try {
|
|
15876
|
-
DefinePropertyOrThrow({}, "", { "[[Get]]": function() {
|
|
15877
|
-
} });
|
|
15844
|
+
DefinePropertyOrThrow({}, "", { "[[Get]]": function() {} });
|
|
15878
15845
|
} catch (e) {
|
|
15879
15846
|
DefinePropertyOrThrow = null;
|
|
15880
15847
|
}
|
|
@@ -16585,8 +16552,7 @@ var require_globalthis = __commonJS((exports, module) => {
|
|
|
16585
16552
|
// ../../node_modules/.pnpm/functions-have-names@1.2.3/node_modules/functions-have-names/index.js
|
|
16586
16553
|
var require_functions_have_names = __commonJS((exports, module) => {
|
|
16587
16554
|
var functionsHaveNames = function functionsHaveNames() {
|
|
16588
|
-
return typeof function f() {
|
|
16589
|
-
}.name === "string";
|
|
16555
|
+
return typeof function f() {}.name === "string";
|
|
16590
16556
|
};
|
|
16591
16557
|
var gOPD = Object.getOwnPropertyDescriptor;
|
|
16592
16558
|
if (gOPD) {
|
|
@@ -16600,14 +16566,12 @@ var require_functions_have_names = __commonJS((exports, module) => {
|
|
|
16600
16566
|
if (!functionsHaveNames() || !gOPD) {
|
|
16601
16567
|
return false;
|
|
16602
16568
|
}
|
|
16603
|
-
var desc = gOPD(function() {
|
|
16604
|
-
}, "name");
|
|
16569
|
+
var desc = gOPD(function() {}, "name");
|
|
16605
16570
|
return !!desc && !!desc.configurable;
|
|
16606
16571
|
};
|
|
16607
16572
|
var $bind = Function.prototype.bind;
|
|
16608
16573
|
functionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {
|
|
16609
|
-
return functionsHaveNames() && typeof $bind === "function" && function f() {
|
|
16610
|
-
}.bind().name !== "";
|
|
16574
|
+
return functionsHaveNames() && typeof $bind === "function" && function f() {}.bind().name !== "";
|
|
16611
16575
|
};
|
|
16612
16576
|
module.exports = functionsHaveNames;
|
|
16613
16577
|
});
|
|
@@ -17164,8 +17128,7 @@ var require_IteratorHelperPrototype = __commonJS((exports, module) => {
|
|
|
17164
17128
|
};
|
|
17165
17129
|
setToStringTag(implementation, "Iterator Helper");
|
|
17166
17130
|
} else {
|
|
17167
|
-
IteratorHelper = function IteratorHelper() {
|
|
17168
|
-
};
|
|
17131
|
+
IteratorHelper = function IteratorHelper() {};
|
|
17169
17132
|
IteratorHelper.prototype = iterProto;
|
|
17170
17133
|
implementation = new IteratorHelper;
|
|
17171
17134
|
delete implementation.constructor;
|
|
@@ -17242,8 +17205,7 @@ var require_polyfill10 = __commonJS((exports, module) => {
|
|
|
17242
17205
|
module.exports = function getPolyfill() {
|
|
17243
17206
|
if (typeof Iterator === "function" && typeof Iterator.prototype.map === "function") {
|
|
17244
17207
|
try {
|
|
17245
|
-
Iterator.prototype.map.call({ next: null }, function() {
|
|
17246
|
-
}).next();
|
|
17208
|
+
Iterator.prototype.map.call({ next: null }, function() {}).next();
|
|
17247
17209
|
} catch (e) {
|
|
17248
17210
|
return Iterator.prototype.map;
|
|
17249
17211
|
}
|
|
@@ -17463,13 +17425,11 @@ var require_ast = __commonJS((exports, module) => {
|
|
|
17463
17425
|
function traverseReturns(ASTNode, context, onReturn) {
|
|
17464
17426
|
const nodeType = ASTNode.type;
|
|
17465
17427
|
if (nodeType === "ReturnStatement") {
|
|
17466
|
-
onReturn(ASTNode.argument, () => {
|
|
17467
|
-
});
|
|
17428
|
+
onReturn(ASTNode.argument, () => {});
|
|
17468
17429
|
return;
|
|
17469
17430
|
}
|
|
17470
17431
|
if (nodeType === "ArrowFunctionExpression" && ASTNode.expression) {
|
|
17471
|
-
onReturn(ASTNode.body, () => {
|
|
17472
|
-
});
|
|
17432
|
+
onReturn(ASTNode.body, () => {});
|
|
17473
17433
|
return;
|
|
17474
17434
|
}
|
|
17475
17435
|
if (nodeType !== "FunctionExpression" && nodeType !== "FunctionDeclaration" && nodeType !== "ArrowFunctionExpression" && nodeType !== "MethodDefinition") {
|
|
@@ -18119,8 +18079,7 @@ var require_utility = __commonJS((exports) => {
|
|
|
18119
18079
|
this.message = message;
|
|
18120
18080
|
}
|
|
18121
18081
|
DoctrineError.prototype = function() {
|
|
18122
|
-
var Middle = function() {
|
|
18123
|
-
};
|
|
18082
|
+
var Middle = function() {};
|
|
18124
18083
|
Middle.prototype = Error.prototype;
|
|
18125
18084
|
return new Middle;
|
|
18126
18085
|
}();
|
|
@@ -19431,8 +19390,7 @@ var require_doctrine = __commonJS((exports) => {
|
|
|
19431
19390
|
} else if (isAllowedType(this._title)) {
|
|
19432
19391
|
try {
|
|
19433
19392
|
this._tag.type = parseType(this._title, this._last, this._options.range);
|
|
19434
|
-
} catch (e) {
|
|
19435
|
-
}
|
|
19393
|
+
} catch (e) {}
|
|
19436
19394
|
}
|
|
19437
19395
|
return true;
|
|
19438
19396
|
};
|
|
@@ -20818,8 +20776,7 @@ var require_sync = __commonJS((exports, module) => {
|
|
|
20818
20776
|
if (isFile(pkgfile)) {
|
|
20819
20777
|
try {
|
|
20820
20778
|
var pkg = readPackageSync(readFileSync, pkgfile);
|
|
20821
|
-
} catch (e) {
|
|
20822
|
-
}
|
|
20779
|
+
} catch (e) {}
|
|
20823
20780
|
if (pkg && opts.packageFilter) {
|
|
20824
20781
|
pkg = opts.packageFilter(pkg, pkgfile, x2);
|
|
20825
20782
|
}
|
|
@@ -20843,8 +20800,7 @@ var require_sync = __commonJS((exports, module) => {
|
|
|
20843
20800
|
var checkIndex = loadAsFileSync(path.resolve(x2, "index"));
|
|
20844
20801
|
if (checkIndex)
|
|
20845
20802
|
return checkIndex;
|
|
20846
|
-
} catch (e) {
|
|
20847
|
-
}
|
|
20803
|
+
} catch (e) {}
|
|
20848
20804
|
var incorrectMainError = new Error("Cannot find module '" + path.resolve(x2, pkg.main) + `'. Please verify that the package.json has a valid "main" entry`);
|
|
20849
20805
|
incorrectMainError.code = "INCORRECT_PACKAGE_MAIN";
|
|
20850
20806
|
throw incorrectMainError;
|
|
@@ -20890,8 +20846,7 @@ var require_semver = __commonJS((exports, module) => {
|
|
|
20890
20846
|
console.log.apply(console, args);
|
|
20891
20847
|
};
|
|
20892
20848
|
} else {
|
|
20893
|
-
debug = function() {
|
|
20894
|
-
};
|
|
20849
|
+
debug = function() {};
|
|
20895
20850
|
}
|
|
20896
20851
|
exports.SEMVER_SPEC_VERSION = "2.0.0";
|
|
20897
20852
|
var MAX_LENGTH = 256;
|
|
@@ -22262,8 +22217,7 @@ var require_polyfill11 = __commonJS((exports, module) => {
|
|
|
22262
22217
|
module.exports = function getPolyfill() {
|
|
22263
22218
|
if (typeof Iterator === "function" && typeof Iterator.prototype.filter === "function") {
|
|
22264
22219
|
try {
|
|
22265
|
-
Iterator.prototype.filter.call({ next: null }, function() {
|
|
22266
|
-
}).next();
|
|
22220
|
+
Iterator.prototype.filter.call({ next: null }, function() {}).next();
|
|
22267
22221
|
} catch (e) {
|
|
22268
22222
|
return Iterator.prototype.filter;
|
|
22269
22223
|
}
|
|
@@ -23590,8 +23544,7 @@ var require_IsConstructor2 = __commonJS((exports, module) => {
|
|
|
23590
23544
|
var $construct = GetIntrinsic("%Reflect.construct%", true);
|
|
23591
23545
|
var DefinePropertyOrThrow = require_DefinePropertyOrThrow2();
|
|
23592
23546
|
try {
|
|
23593
|
-
DefinePropertyOrThrow({}, "", { "[[Get]]": function() {
|
|
23594
|
-
} });
|
|
23547
|
+
DefinePropertyOrThrow({}, "", { "[[Get]]": function() {} });
|
|
23595
23548
|
} catch (e) {
|
|
23596
23549
|
DefinePropertyOrThrow = null;
|
|
23597
23550
|
}
|
|
@@ -27954,8 +27907,7 @@ var require_minimatch = __commonJS((exports, module) => {
|
|
|
27954
27907
|
var path = function() {
|
|
27955
27908
|
try {
|
|
27956
27909
|
return __require("path");
|
|
27957
|
-
} catch (e) {
|
|
27958
|
-
}
|
|
27910
|
+
} catch (e) {}
|
|
27959
27911
|
}() || {
|
|
27960
27912
|
sep: "/"
|
|
27961
27913
|
};
|
|
@@ -28063,8 +28015,7 @@ var require_minimatch = __commonJS((exports, module) => {
|
|
|
28063
28015
|
this.partial = !!options.partial;
|
|
28064
28016
|
this.make();
|
|
28065
28017
|
}
|
|
28066
|
-
Minimatch.prototype.debug = function() {
|
|
28067
|
-
};
|
|
28018
|
+
Minimatch.prototype.debug = function() {};
|
|
28068
28019
|
Minimatch.prototype.make = make;
|
|
28069
28020
|
function make() {
|
|
28070
28021
|
var pattern = this.pattern;
|
|
@@ -33632,8 +33583,7 @@ var require_polyfill20 = __commonJS((exports, module) => {
|
|
|
33632
33583
|
module.exports = function getPolyfill() {
|
|
33633
33584
|
if (typeof Iterator === "function" && typeof Iterator.prototype.flatMap === "function") {
|
|
33634
33585
|
try {
|
|
33635
|
-
Iterator.prototype.flatMap.call({ next: null }, function() {
|
|
33636
|
-
}).next();
|
|
33586
|
+
Iterator.prototype.flatMap.call({ next: null }, function() {}).next();
|
|
33637
33587
|
} catch (e) {
|
|
33638
33588
|
return Iterator.prototype.flatMap;
|
|
33639
33589
|
}
|
|
@@ -34283,8 +34233,7 @@ var require_jsx_no_target_blank = __commonJS((exports, module) => {
|
|
|
34283
34233
|
if (linkComponents.has(node.name.name)) {
|
|
34284
34234
|
if (!attributeValuePossiblyBlank(node.attributes[targetIndex])) {
|
|
34285
34235
|
const hasSpread = spreadAttributeIndex >= 0;
|
|
34286
|
-
if (warnOnSpreadAttributes && hasSpread) {
|
|
34287
|
-
} else if (hasSpread && targetIndex < spreadAttributeIndex || !hasSpread || !warnOnSpreadAttributes) {
|
|
34236
|
+
if (warnOnSpreadAttributes && hasSpread) {} else if (hasSpread && targetIndex < spreadAttributeIndex || !hasSpread || !warnOnSpreadAttributes) {
|
|
34288
34237
|
return;
|
|
34289
34238
|
}
|
|
34290
34239
|
}
|
|
@@ -34328,8 +34277,7 @@ var require_jsx_no_target_blank = __commonJS((exports, module) => {
|
|
|
34328
34277
|
if (formComponents.has(node.name.name)) {
|
|
34329
34278
|
if (!attributeValuePossiblyBlank(node.attributes[targetIndex])) {
|
|
34330
34279
|
const hasSpread = spreadAttributeIndex >= 0;
|
|
34331
|
-
if (warnOnSpreadAttributes && hasSpread) {
|
|
34332
|
-
} else if (hasSpread && targetIndex < spreadAttributeIndex || !hasSpread || !warnOnSpreadAttributes) {
|
|
34280
|
+
if (warnOnSpreadAttributes && hasSpread) {} else if (hasSpread && targetIndex < spreadAttributeIndex || !hasSpread || !warnOnSpreadAttributes) {
|
|
34333
34281
|
return;
|
|
34334
34282
|
}
|
|
34335
34283
|
}
|
|
@@ -34610,8 +34558,7 @@ var require_jsx_one_expression_per_line = __commonJS((exports, module) => {
|
|
|
34610
34558
|
if (line === closingElementStartLine) {
|
|
34611
34559
|
nextChild = closingElement;
|
|
34612
34560
|
}
|
|
34613
|
-
} else {
|
|
34614
|
-
}
|
|
34561
|
+
} else {}
|
|
34615
34562
|
function spaceBetweenPrev() {
|
|
34616
34563
|
return (prevChild.type === "Literal" || prevChild.type === "JSXText") && / $/.test(prevChild.raw) || (child.type === "Literal" || child.type === "JSXText") && /^ /.test(child.raw) || getSourceCode(context).isSpaceBetweenTokens(prevChild, child);
|
|
34617
34564
|
}
|
|
@@ -35922,8 +35869,7 @@ var require_implementation23 = __commonJS((exports, module) => {
|
|
|
35922
35869
|
try {
|
|
35923
35870
|
var match = $stringMatch($functionToString(fn), classRegex);
|
|
35924
35871
|
return !!match;
|
|
35925
|
-
} catch (e) {
|
|
35926
|
-
}
|
|
35872
|
+
} catch (e) {}
|
|
35927
35873
|
return false;
|
|
35928
35874
|
};
|
|
35929
35875
|
var regex = /\s*function\s+([^(\s]*)\s*/;
|
|
@@ -35942,8 +35888,7 @@ var require_implementation23 = __commonJS((exports, module) => {
|
|
|
35942
35888
|
try {
|
|
35943
35889
|
var str = toStr(value);
|
|
35944
35890
|
return (str === ddaClass || str === objectClass) && value("") == null;
|
|
35945
|
-
} catch (e) {
|
|
35946
|
-
}
|
|
35891
|
+
} catch (e) {}
|
|
35947
35892
|
}
|
|
35948
35893
|
return false;
|
|
35949
35894
|
};
|
|
@@ -36030,8 +35975,7 @@ var require_function_prototype = __commonJS((exports, module) => {
|
|
|
36030
35975
|
// ../../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/isAbstractClosure.js
|
|
36031
35976
|
var require_isAbstractClosure = __commonJS((exports, module) => {
|
|
36032
35977
|
var functionName = require_function_prototype();
|
|
36033
|
-
var anon = functionName(function() {
|
|
36034
|
-
});
|
|
35978
|
+
var anon = functionName(function() {});
|
|
36035
35979
|
module.exports = function isAbstractClosure(x) {
|
|
36036
35980
|
return typeof x === "function" && (!x.prototype || functionName(x) === anon);
|
|
36037
35981
|
};
|
|
@@ -36217,8 +36161,7 @@ var require_propTypesSort = __commonJS((exports, module) => {
|
|
|
36217
36161
|
try {
|
|
36218
36162
|
commentBefore = sourceCode.getCommentsBefore(node);
|
|
36219
36163
|
commentAfter = sourceCode.getCommentsAfter(node);
|
|
36220
|
-
} catch (e) {
|
|
36221
|
-
}
|
|
36164
|
+
} catch (e) {}
|
|
36222
36165
|
if (commentAfter.length === 0 || commentBefore.length === 0) {
|
|
36223
36166
|
newStart = node.range[0];
|
|
36224
36167
|
newEnd = node.range[1];
|
|
@@ -36401,8 +36344,7 @@ var require_jsx_sort_props = __commonJS((exports, module) => {
|
|
|
36401
36344
|
let comment = [];
|
|
36402
36345
|
try {
|
|
36403
36346
|
comment = sourceCode.getCommentsAfter(attribute);
|
|
36404
|
-
} catch (e) {
|
|
36405
|
-
}
|
|
36347
|
+
} catch (e) {}
|
|
36406
36348
|
const lastAttr = attributes[i - 1];
|
|
36407
36349
|
const attrIsSpread = attribute.type === "JSXSpreadAttribute";
|
|
36408
36350
|
if (!lastAttr || lastAttr.type === "JSXSpreadAttribute" && !attrIsSpread) {
|
|
@@ -39656,10 +39598,8 @@ var require_ReactPropTypesSecret = __commonJS((exports, module) => {
|
|
|
39656
39598
|
// ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js
|
|
39657
39599
|
var require_factoryWithThrowingShims = __commonJS((exports, module) => {
|
|
39658
39600
|
var ReactPropTypesSecret = require_ReactPropTypesSecret();
|
|
39659
|
-
function emptyFunction() {
|
|
39660
|
-
}
|
|
39661
|
-
function emptyFunctionWithReset() {
|
|
39662
|
-
}
|
|
39601
|
+
function emptyFunction() {}
|
|
39602
|
+
function emptyFunctionWithReset() {}
|
|
39663
39603
|
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
39664
39604
|
module.exports = function() {
|
|
39665
39605
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
@@ -39704,8 +39644,7 @@ var require_factoryWithThrowingShims = __commonJS((exports, module) => {
|
|
|
39704
39644
|
|
|
39705
39645
|
// ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js
|
|
39706
39646
|
var require_prop_types = __commonJS((exports, module) => {
|
|
39707
|
-
if (false) {
|
|
39708
|
-
} else {
|
|
39647
|
+
if (false) {} else {
|
|
39709
39648
|
module.exports = require_factoryWithThrowingShims()();
|
|
39710
39649
|
}
|
|
39711
39650
|
var ReactIs;
|
|
@@ -46302,8 +46241,7 @@ var require_eslint_plugin_react_hooks_production = __commonJS((exports) => {
|
|
|
46302
46241
|
var require_eslint_plugin_react_hooks = __commonJS((exports, module) => {
|
|
46303
46242
|
if (true) {
|
|
46304
46243
|
module.exports = require_eslint_plugin_react_hooks_production();
|
|
46305
|
-
} else {
|
|
46306
|
-
}
|
|
46244
|
+
} else {}
|
|
46307
46245
|
});
|
|
46308
46246
|
|
|
46309
46247
|
// 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.287",
|
|
7
7
|
"description": "Default configuration for Remotion templates (ESLint >= 9)",
|
|
8
8
|
"main": "dist/esm/index.mjs",
|
|
9
9
|
"type": "module",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"eslint-plugin-react": "7.37.4",
|
|
27
27
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
28
28
|
"eslint": "9.19.0",
|
|
29
|
-
"@remotion/eslint-plugin": "4.0.
|
|
30
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
29
|
+
"@remotion/eslint-plugin": "4.0.287",
|
|
30
|
+
"@remotion/eslint-config-internal": "4.0.287"
|
|
31
31
|
},
|
|
32
32
|
"keywords": [
|
|
33
33
|
"remotion",
|