@r_masseater/oxlint-typed-rules 0.6.6 → 0.6.7
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/react.mjs +23 -28
- package/dist/react.mjs.map +1 -1
- package/package.json +5 -5
package/dist/react.mjs
CHANGED
|
@@ -5238,7 +5238,7 @@ function refine(fn, _params = {}) {
|
|
|
5238
5238
|
function superRefine(fn, params) {
|
|
5239
5239
|
return /* @__PURE__ */ _superRefine(fn, params);
|
|
5240
5240
|
}
|
|
5241
|
-
// ../../node_modules/.pnpm/@eslint-react+shared@5.30.
|
|
5241
|
+
// ../../node_modules/.pnpm/@eslint-react+shared@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__supports-c_610a6fc64632b84b131b8fbe43494cf4/node_modules/@eslint-react/shared/dist/index.js
|
|
5242
5242
|
const pipeArguments$8 = (self, args) => {
|
|
5243
5243
|
switch (args.length) {
|
|
5244
5244
|
case 0: return self;
|
|
@@ -5409,7 +5409,7 @@ const getNormalizedSettings = memoize$1((settings) => normalizeSettings(decodeSe
|
|
|
5409
5409
|
function getSettingsFromContext(context) {
|
|
5410
5410
|
return getNormalizedSettings(context.settings["react-x"]);
|
|
5411
5411
|
}
|
|
5412
|
-
// ../../node_modules/.pnpm/@eslint-react+ast@5.30.
|
|
5412
|
+
// ../../node_modules/.pnpm/@eslint-react+ast@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__supports-colo_04d9bf1ed24efd5a76594184bead938f/node_modules/@eslint-react/ast/dist/rolldown-runtime-D3KUYPsf.js
|
|
5413
5413
|
var import_eslint_utils = /* @__PURE__ */ __toESM(require_eslint_utils$2(), 1);
|
|
5414
5414
|
var __defProp$7 = Object.defineProperty;
|
|
5415
5415
|
var __exportAll$7 = (all, flags) => {
|
|
@@ -8446,7 +8446,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8446
8446
|
}
|
|
8447
8447
|
});
|
|
8448
8448
|
}));
|
|
8449
|
-
// ../../node_modules/.pnpm/@eslint-react+ast@5.30.
|
|
8449
|
+
// ../../node_modules/.pnpm/@eslint-react+ast@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__supports-colo_04d9bf1ed24efd5a76594184bead938f/node_modules/@eslint-react/ast/dist/index.js
|
|
8450
8450
|
var import_dist$1 = require_dist$2();
|
|
8451
8451
|
var import_ast_utils = /* @__PURE__ */ __toESM(require_ast_utils(), 1);
|
|
8452
8452
|
var import_dist$2 = require_dist$1();
|
|
@@ -8571,7 +8571,7 @@ function isArrayPatternElementDefault(node) {
|
|
|
8571
8571
|
return node.type === import_dist$1.AST_NODE_TYPES.AssignmentPattern && node.parent.type === import_dist$1.AST_NODE_TYPES.ArrayPattern;
|
|
8572
8572
|
}
|
|
8573
8573
|
function isObjectPatternElementDefault(node) {
|
|
8574
|
-
return node.type === import_dist$1.AST_NODE_TYPES.AssignmentPattern && node.parent.type === import_dist$1.AST_NODE_TYPES.Property && node.parent.value === node
|
|
8574
|
+
return node.type === import_dist$1.AST_NODE_TYPES.AssignmentPattern && node.parent.type === import_dist$1.AST_NODE_TYPES.Property && node.parent.value === node;
|
|
8575
8575
|
}
|
|
8576
8576
|
const isJSX = isOneOf([
|
|
8577
8577
|
import_dist$1.AST_NODE_TYPES.JSXIdentifier,
|
|
@@ -9084,7 +9084,7 @@ function isUnconditionallyTerminating(node) {
|
|
|
9084
9084
|
default: return false;
|
|
9085
9085
|
}
|
|
9086
9086
|
}
|
|
9087
|
-
// ../../node_modules/.pnpm/@eslint-react+eslint@5.30.
|
|
9087
|
+
// ../../node_modules/.pnpm/@eslint-react+eslint@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__supports-c_d4666b39940238668b64563f45881508/node_modules/@eslint-react/eslint/dist/index.js
|
|
9088
9088
|
function getDocsUrl$6(ruleName) {
|
|
9089
9089
|
return `https://eslint-react.xyz/docs/rules/${ruleName}`;
|
|
9090
9090
|
}
|
|
@@ -9113,7 +9113,7 @@ function merge(base, ...rest) {
|
|
|
9113
9113
|
}
|
|
9114
9114
|
return base;
|
|
9115
9115
|
}
|
|
9116
|
-
// ../../node_modules/.pnpm/@eslint-react+jsx@5.30.
|
|
9116
|
+
// ../../node_modules/.pnpm/@eslint-react+jsx@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__supports-colo_2baebcb820fea760673cf5ab697f81d7/node_modules/@eslint-react/jsx/dist/index.js
|
|
9117
9117
|
const pipeArguments$6 = (self, args) => {
|
|
9118
9118
|
switch (args.length) {
|
|
9119
9119
|
case 0: return self;
|
|
@@ -16567,7 +16567,7 @@ var require_analyze = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
16567
16567
|
return scopeManager;
|
|
16568
16568
|
}
|
|
16569
16569
|
}));
|
|
16570
|
-
// ../../node_modules/.pnpm/@eslint-react+var@5.30.
|
|
16570
|
+
// ../../node_modules/.pnpm/@eslint-react+var@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__supports-colo_1a874cec0e4340609338912ba3f632df/node_modules/@eslint-react/var/dist/index.js
|
|
16571
16571
|
var import_dist = (/* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
|
|
16572
16572
|
var __createBinding = this$2 && this$2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
16573
16573
|
if (k2 === void 0) k2 = k;
|
|
@@ -17167,7 +17167,7 @@ function resolveOriginChain(context, node, options) {
|
|
|
17167
17167
|
}
|
|
17168
17168
|
return check_exports.isIdentifier(current) ? null : current;
|
|
17169
17169
|
}
|
|
17170
|
-
// ../../node_modules/.pnpm/@eslint-react+core@5.30.
|
|
17170
|
+
// ../../node_modules/.pnpm/@eslint-react+core@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__supports-col_06923ac9d5a96692e911de5bd80de2be/node_modules/@eslint-react/core/dist/index.js
|
|
17171
17171
|
function isAPI(api) {
|
|
17172
17172
|
function impl(context, node) {
|
|
17173
17173
|
if (node == null) return false;
|
|
@@ -18240,7 +18240,7 @@ function delimiterCase(str, delimiter) {
|
|
|
18240
18240
|
function snakeCase(str) {
|
|
18241
18241
|
return toLowerCase(delimiterCase(removeApostrophe(str), "_"));
|
|
18242
18242
|
}
|
|
18243
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-x@5.30.
|
|
18243
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-x@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__supports-_a3cc70d79d37ad7d45d853d7d00524c7/node_modules/eslint-plugin-react-x/dist/index.js
|
|
18244
18244
|
var __defProp$6 = Object.defineProperty;
|
|
18245
18245
|
var __exportAll$6 = (all, flags) => {
|
|
18246
18246
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -18351,7 +18351,7 @@ const rules$6$6 = {
|
|
|
18351
18351
|
"react-x/no-unused-props": "off"
|
|
18352
18352
|
};
|
|
18353
18353
|
var name$6$6 = "eslint-plugin-react-x";
|
|
18354
|
-
var version$6 = "5.30.
|
|
18354
|
+
var version$6 = "5.30.7";
|
|
18355
18355
|
function getDocsUrl$5(ruleName) {
|
|
18356
18356
|
return `https://eslint-react.xyz/docs/rules/${ruleName}`;
|
|
18357
18357
|
}
|
|
@@ -25372,12 +25372,7 @@ function resolveValueAtPath(context, node, path, isInsideRender, seen) {
|
|
|
25372
25372
|
for (const property of expr.properties) {
|
|
25373
25373
|
if (property.type !== import_dist$1.AST_NODE_TYPES.Property || property.computed) continue;
|
|
25374
25374
|
if ((property.key.type === import_dist$1.AST_NODE_TYPES.Identifier ? property.key.name : isString$1(property.key.value) ? property.key.value : null) !== head) continue;
|
|
25375
|
-
|
|
25376
|
-
if (value.type === import_dist$1.AST_NODE_TYPES.ArrayPattern) continue;
|
|
25377
|
-
if (value.type === import_dist$1.AST_NODE_TYPES.ObjectPattern) continue;
|
|
25378
|
-
if (value.type === import_dist$1.AST_NODE_TYPES.AssignmentPattern) continue;
|
|
25379
|
-
if (value.type === import_dist$1.AST_NODE_TYPES.TSEmptyBodyFunctionExpression) continue;
|
|
25380
|
-
return resolveValueAtPath(context, value, rest, isInsideRender, seen);
|
|
25375
|
+
return resolveValueAtPath(context, property.value, rest, isInsideRender, seen);
|
|
25381
25376
|
}
|
|
25382
25377
|
return null;
|
|
25383
25378
|
}
|
|
@@ -26085,7 +26080,7 @@ const finalPlugin$6 = {
|
|
|
26085
26080
|
["strict-typescript"]: createConfig$6(strict_typescript_exports$2)
|
|
26086
26081
|
}
|
|
26087
26082
|
};
|
|
26088
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-dom@5.30.
|
|
26083
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-dom@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__support_baf9f92d624436484ee9e276e2ce944d/node_modules/eslint-plugin-react-dom/dist/index.js
|
|
26089
26084
|
var __defProp$5 = Object.defineProperty;
|
|
26090
26085
|
var __exportAll$5 = (all, flags) => {
|
|
26091
26086
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -26097,7 +26092,7 @@ var __exportAll$5 = (all, flags) => {
|
|
|
26097
26092
|
return flags & 2 ? target : Object.preventExtensions(target);
|
|
26098
26093
|
};
|
|
26099
26094
|
var name$2$25 = "eslint-plugin-react-dom";
|
|
26100
|
-
var version$5 = "5.30.
|
|
26095
|
+
var version$5 = "5.30.7";
|
|
26101
26096
|
function getDocsUrl$4(ruleName) {
|
|
26102
26097
|
return `https://eslint-react.xyz/docs/rules/dom-${ruleName}`;
|
|
26103
26098
|
}
|
|
@@ -28486,7 +28481,7 @@ function decodeHtmlText(input, mode) {
|
|
|
28486
28481
|
function decodeHTMLStrict(htmlString) {
|
|
28487
28482
|
return decodeHtmlText(htmlString, DecodingMode.Strict);
|
|
28488
28483
|
}
|
|
28489
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-jsx@5.30.
|
|
28484
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-jsx@5.30.7_patch_hash=b992c01baefacc91e5b12432715428f4c3ec7bc2494b0_22bf30d4c695422d6585fcd1a757d64d/node_modules/eslint-plugin-react-jsx/dist/index.js
|
|
28490
28485
|
var __defProp$4 = Object.defineProperty;
|
|
28491
28486
|
var __exportAll$4 = (all, flags) => {
|
|
28492
28487
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -28498,7 +28493,7 @@ var __exportAll$4 = (all, flags) => {
|
|
|
28498
28493
|
return flags & 2 ? target : Object.preventExtensions(target);
|
|
28499
28494
|
};
|
|
28500
28495
|
var name$2$23 = "eslint-plugin-react-jsx";
|
|
28501
|
-
var version$4 = "5.30.
|
|
28496
|
+
var version$4 = "5.30.7";
|
|
28502
28497
|
function getDocsUrl$3(ruleName) {
|
|
28503
28498
|
return `https://eslint-react.xyz/docs/rules/jsx-${ruleName}`;
|
|
28504
28499
|
}
|
|
@@ -29041,7 +29036,7 @@ const finalPlugin$4 = {
|
|
|
29041
29036
|
["strict"]: createConfig$4(strict_exports$2)
|
|
29042
29037
|
}
|
|
29043
29038
|
};
|
|
29044
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-naming-convention@5.30.
|
|
29039
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-naming-convention@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@1_c648fb993de4c59d50c6e365ffff42e2/node_modules/eslint-plugin-react-naming-convention/dist/index.js
|
|
29045
29040
|
var __defProp$3 = Object.defineProperty;
|
|
29046
29041
|
var __exportAll$3 = (all, flags) => {
|
|
29047
29042
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -29053,7 +29048,7 @@ var __exportAll$3 = (all, flags) => {
|
|
|
29053
29048
|
return flags & 2 ? target : Object.preventExtensions(target);
|
|
29054
29049
|
};
|
|
29055
29050
|
var name$1$28 = "eslint-plugin-react-naming-convention";
|
|
29056
|
-
var version$3 = "5.30.
|
|
29051
|
+
var version$3 = "5.30.7";
|
|
29057
29052
|
function getDocsUrl$2(ruleName) {
|
|
29058
29053
|
return `https://eslint-react.xyz/docs/rules/naming-convention-${ruleName}`;
|
|
29059
29054
|
}
|
|
@@ -29230,7 +29225,7 @@ const finalPlugin$3 = {
|
|
|
29230
29225
|
...plugin$4,
|
|
29231
29226
|
configs: { ["recommended"]: createConfig$3(recommended_exports$3) }
|
|
29232
29227
|
};
|
|
29233
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-rsc@5.30.
|
|
29228
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-rsc@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__support_a61632dfa88d386f2b3cd4e5d0e3790e/node_modules/eslint-plugin-react-rsc/dist/index.js
|
|
29234
29229
|
var __defProp$2 = Object.defineProperty;
|
|
29235
29230
|
var __exportAll$2 = (all, flags) => {
|
|
29236
29231
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -29248,7 +29243,7 @@ var disable_experimental_exports$1 = /* @__PURE__ */ __exportAll$2({
|
|
|
29248
29243
|
const name$5$2 = "react-rsc/disable-experimental";
|
|
29249
29244
|
const rules$4$2 = { "react-rsc/function-definition": "off" };
|
|
29250
29245
|
var name$4$2 = "eslint-plugin-react-rsc";
|
|
29251
|
-
var version$2 = "5.30.
|
|
29246
|
+
var version$2 = "5.30.7";
|
|
29252
29247
|
function getDocsUrl$1(ruleName) {
|
|
29253
29248
|
return `https://eslint-react.xyz/docs/rules/rsc-${ruleName}`;
|
|
29254
29249
|
}
|
|
@@ -29833,7 +29828,7 @@ const finalPlugin$2 = {
|
|
|
29833
29828
|
["strict-typescript"]: createConfig$2(strict_typescript_exports$1)
|
|
29834
29829
|
}
|
|
29835
29830
|
};
|
|
29836
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-web-api@5.30.
|
|
29831
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-web-api@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__sup_84dffc38219aab4be7f28c1421177502/node_modules/eslint-plugin-react-web-api/dist/index.js
|
|
29837
29832
|
var __defProp$1 = Object.defineProperty;
|
|
29838
29833
|
var __exportAll$1 = (all, flags) => {
|
|
29839
29834
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -29845,7 +29840,7 @@ var __exportAll$1 = (all, flags) => {
|
|
|
29845
29840
|
return flags & 2 ? target : Object.preventExtensions(target);
|
|
29846
29841
|
};
|
|
29847
29842
|
var name$1$1 = "eslint-plugin-react-web-api";
|
|
29848
|
-
var version$1 = "5.30.
|
|
29843
|
+
var version$1 = "5.30.7";
|
|
29849
29844
|
function getDocsUrl(ruleName) {
|
|
29850
29845
|
return `https://eslint-react.xyz/docs/rules/web-api-${ruleName}`;
|
|
29851
29846
|
}
|
|
@@ -31014,7 +31009,7 @@ const finalPlugin$1 = {
|
|
|
31014
31009
|
...plugin$2,
|
|
31015
31010
|
configs: { ["recommended"]: createConfig$1(recommended_exports$1) }
|
|
31016
31011
|
};
|
|
31017
|
-
// ../../node_modules/.pnpm/@eslint-react+eslint-plugin@5.30.
|
|
31012
|
+
// ../../node_modules/.pnpm/@eslint-react+eslint-plugin@5.30.7_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__sup_ae5e8690ba015fa990288f4f7c404f30/node_modules/@eslint-react/eslint-plugin/dist/index.js
|
|
31018
31013
|
var __defProp = Object.defineProperty;
|
|
31019
31014
|
var __exportAll = (all, flags) => {
|
|
31020
31015
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -31414,7 +31409,7 @@ const rules = {
|
|
|
31414
31409
|
const settings = { ...settings$1 };
|
|
31415
31410
|
const languageOptions = languageOptions$1;
|
|
31416
31411
|
var name = "@eslint-react/eslint-plugin";
|
|
31417
|
-
var version = "5.30.
|
|
31412
|
+
var version = "5.30.7";
|
|
31418
31413
|
function typeOf(t) {
|
|
31419
31414
|
return Object.prototype.toString.call(t).replace(/^\[object (.+)\]$/, "$1").toLowerCase();
|
|
31420
31415
|
}
|