You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-react-debug

Package Overview
Dependencies
Maintainers
1
Versions
1402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-debug - npm Package Compare versions

Comparing version

to
1.5.8-next.5

72

dist/index.js

@@ -15,5 +15,5 @@ 'use strict';

var name = "eslint-plugin-react-debug";
var version = "1.5.8-next.4";
var version = "1.5.8-next.5";
// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Function.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Function.js
var Function_exports = {};

@@ -193,7 +193,7 @@ __export(Function_exports, {

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/internal/version.js
var moduleVersion = "2.4.17";
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/internal/version.js
var moduleVersion = "2.4.18";
var getCurrentVersion = () => moduleVersion;
// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/GlobalValue.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/GlobalValue.js
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);

@@ -211,3 +211,3 @@ if (!(globalStoreId in globalThis)) {

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Predicate.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Predicate.js
var isFunction2 = isFunction;

@@ -219,3 +219,3 @@ var isRecordOrArray = (input) => typeof input === "object" && input !== null;

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Utils.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Utils.js
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");

@@ -440,3 +440,3 @@ var GenKindImpl = class {

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Hash.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Hash.js
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());

@@ -527,3 +527,3 @@ var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Equal.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Equal.js
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");

@@ -554,6 +554,6 @@ function equals() {

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Equivalence.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Equivalence.js
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Inspectable.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Inspectable.js
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");

@@ -570,3 +570,3 @@ var toJSON = (x) => {

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Option.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Option.js
var Option_exports = {};

@@ -633,3 +633,3 @@ __export(Option_exports, {

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Pipeable.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Pipeable.js
var pipeArguments = (self, args) => {

@@ -665,3 +665,3 @@ switch (args.length) {

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/internal/effectable.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/internal/effectable.js
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");

@@ -724,3 +724,3 @@ var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/internal/option.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/internal/option.js
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");

@@ -783,3 +783,3 @@ var CommonProto = {

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/internal/either.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/internal/either.js
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");

@@ -848,6 +848,6 @@ var CommonProto2 = {

// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Order.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Order.js
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
// ../../../node_modules/.pnpm/effect@2.4.17/node_modules/effect/dist/esm/Option.js
// ../../../node_modules/.pnpm/effect@2.4.18/node_modules/effect/dist/esm/Option.js
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");

@@ -1020,3 +1020,2 @@ var none2 = () => none;

var class_component_default = createRule({
name: RULE_NAME,
meta: {

@@ -1028,8 +1027,8 @@ type: "problem",

},
schema: [],
messages: {
CLASS_COMPONENT: "[class component] name: {{name}}"
}
},
schema: []
},
defaultOptions: [],
name: RULE_NAME,
create(context) {

@@ -1052,7 +1051,7 @@ const { ctx, listeners } = core.useComponentCollectorLegacy(context);

};
}
},
defaultOptions: []
});
var RULE_NAME2 = "function-component";
var function_component_default = createRule({
name: RULE_NAME2,
meta: {

@@ -1064,8 +1063,8 @@ type: "problem",

},
schema: [],
messages: {
FUNCTION_COMPONENT: "[function component] name: {{name}}, memo: {{memo}}, forwardRef: {{forwardRef}}, hookCalls: {{hookCalls}}"
}
},
schema: []
},
defaultOptions: [],
name: RULE_NAME2,
create(context) {

@@ -1077,3 +1076,3 @@ const { ctx, listeners } = core.useComponentCollector(context);

const components = ctx.getAllComponents(node);
for (const { name: name2, flag, node: node2, hookCalls } of components.values()) {
for (const { name: name2, flag, hookCalls, node: node2 } of components.values()) {
context.report({

@@ -1083,4 +1082,4 @@ data: {

forwardRef: Boolean(flag & core.ERFunctionComponentFlag.ForwardRef),
memo: Boolean(flag & core.ERFunctionComponentFlag.Memo),
hookCalls: hookCalls.length
hookCalls: hookCalls.length,
memo: Boolean(flag & core.ERFunctionComponentFlag.Memo)
},

@@ -1093,7 +1092,7 @@ messageId: "FUNCTION_COMPONENT",

};
}
},
defaultOptions: []
});
var RULE_NAME3 = "react-hooks";
var react_hooks_default = createRule({
name: RULE_NAME3,
meta: {

@@ -1105,8 +1104,8 @@ type: "problem",

},
schema: [],
messages: {
REACT_HOOKS: "[react hooks] name: {{name}}, hookCalls: {{hookCalls}}"
}
},
schema: []
},
defaultOptions: [],
name: RULE_NAME3,
create(context) {

@@ -1130,3 +1129,4 @@ const { ctx, listeners } = core.useHookCollector();

};
}
},
defaultOptions: []
});

@@ -1133,0 +1133,0 @@

{
"name": "eslint-plugin-react-debug",
"version": "1.5.8-next.4",
"version": "1.5.8-next.5",
"description": "ESLint React's ESLint plugin for debugging related rules.",

@@ -44,12 +44,12 @@ "homepage": "https://github.com/rel1cx/eslint-react",

"string-ts": "2.1.0",
"@eslint-react/ast": "1.5.8-next.4",
"@eslint-react/core": "1.5.8-next.4",
"@eslint-react/jsx": "1.5.8-next.4",
"@eslint-react/shared": "1.5.8-next.4",
"@eslint-react/tools": "1.5.8-next.4",
"@eslint-react/types": "1.5.8-next.4"
"@eslint-react/ast": "1.5.8-next.5",
"@eslint-react/core": "1.5.8-next.5",
"@eslint-react/jsx": "1.5.8-next.5",
"@eslint-react/shared": "1.5.8-next.5",
"@eslint-react/tools": "1.5.8-next.5",
"@eslint-react/types": "1.5.8-next.5"
},
"peerDependencies": {
"@typescript-eslint/parser": ">=7.5.0",
"eslint": ">=8.57.0",
"eslint": ">=9.0.0",
"typescript": ">=5.3.3"

@@ -56,0 +56,0 @@ },

Sorry, the diff of this file is not supported yet