Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-react-web-api

Package Overview
Dependencies
Maintainers
1
Versions
1830
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-web-api - npm Package Compare versions

Comparing version
3.0.0-next.55
to
3.0.0-next.56
+5
-16
dist/index.d.ts

@@ -1,20 +0,9 @@

import * as _eslint_react_shared0 from "@eslint-react/shared";
import { ESLint, Linter } from "eslint";
//#region src/index.d.ts
declare const _default: {
configs: {
recommended: {
plugins: {};
name?: string;
rules?: Record<string, _eslint_react_shared0.RuleConfig>;
settings?: _eslint_react_shared0.SettingsConfig;
};
};
meta: {
name: string;
version: string;
};
rules: Record<string, _eslint_react_shared0.CompatibleRule>;
type ConfigName = "recommended";
declare const finalPlugin: ESLint.Plugin & {
configs: Record<ConfigName, Linter.Config>;
};
//#endregion
export { _default as default };
export { finalPlugin as default };

@@ -1,2 +0,2 @@

import { DEFAULT_ESLINT_REACT_SETTINGS, WEBSITE_URL, defineRuleListener, getConfigAdapters } from "@eslint-react/shared";
import { DEFAULT_ESLINT_REACT_SETTINGS, WEBSITE_URL, defineRuleListener } from "@eslint-react/shared";
import * as ast from "@eslint-react/ast";

@@ -28,21 +28,5 @@ import * as core from "@eslint-react/core";

//#endregion
//#region src/configs/recommended.ts
var recommended_exports = /* @__PURE__ */ __exportAll({
name: () => name$1,
rules: () => rules,
settings: () => settings
});
const name$1 = "react-web-api/recommended";
const rules = {
"react-web-api/no-leaked-event-listener": "warn",
"react-web-api/no-leaked-interval": "warn",
"react-web-api/no-leaked-resize-observer": "warn",
"react-web-api/no-leaked-timeout": "warn"
};
const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
//#endregion
//#region package.json
var name = "eslint-plugin-react-web-api";
var version = "3.0.0-next.55";
var name$1 = "eslint-plugin-react-web-api";
var version = "3.0.0-next.56";

@@ -608,3 +592,3 @@ //#endregion

meta: {
name,
name: name$1,
version

@@ -621,10 +605,27 @@ },

//#endregion
//#region src/configs/recommended.ts
var recommended_exports = /* @__PURE__ */ __exportAll({
name: () => name,
plugins: () => plugins,
rules: () => rules,
settings: () => settings
});
const name = "react-web-api/recommended";
const rules = {
"react-web-api/no-leaked-event-listener": "warn",
"react-web-api/no-leaked-interval": "warn",
"react-web-api/no-leaked-resize-observer": "warn",
"react-web-api/no-leaked-timeout": "warn"
};
const plugins = { "react-web-api": plugin };
const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
//#endregion
//#region src/index.ts
const { toFlatConfig } = getConfigAdapters("react-web-api", plugin);
var src_default = {
const finalPlugin = {
...plugin,
configs: { ["recommended"]: toFlatConfig(recommended_exports) }
configs: { ["recommended"]: recommended_exports }
};
//#endregion
export { src_default as default };
export { finalPlugin as default };
{
"name": "eslint-plugin-react-web-api",
"version": "3.0.0-next.55",
"version": "3.0.0-next.56",
"description": "ESLint React's ESLint plugin for interacting with Web APIs",

@@ -46,7 +46,7 @@ "keywords": [

"ts-pattern": "^5.9.0",
"@eslint-react/ast": "3.0.0-next.55",
"@eslint-react/core": "3.0.0-next.55",
"@eslint-react/eff": "3.0.0-next.55",
"@eslint-react/shared": "3.0.0-next.55",
"@eslint-react/var": "3.0.0-next.55"
"@eslint-react/ast": "3.0.0-next.56",
"@eslint-react/core": "3.0.0-next.56",
"@eslint-react/eff": "3.0.0-next.56",
"@eslint-react/shared": "3.0.0-next.56",
"@eslint-react/var": "3.0.0-next.56"
},

@@ -56,3 +56,4 @@ "devDependencies": {

"@types/react-dom": "^19.2.3",
"tsdown": "^0.21.0-beta.1",
"eslint": "^10.0.2",
"tsdown": "^0.21.0-beta.2",
"@local/configs": "0.0.0"

@@ -59,0 +60,0 @@ },