-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update dependency eslint to v9 [security] #295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Generated by renovateBot
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
This PR contains the following updates:
8.54.0→9.26.0GitHub Vulnerability Alerts
CVE-2025-50537
There is a Stack Overflow vulnerability in eslint before 9.26.0 when serializing objects with circular references in
eslint/lib/shared/serialization.js. The exploit is triggered via theRuleTester.run()method, which validates test cases and checks for duplicates. During validation, the internal functioncheckDuplicateTestCase()is called, which in turn uses theisSerializable()function for serialization checks. When a circular reference object is passed in,isSerializable()enters infinite recursion, ultimately causing a Stack Overflow.Release Notes
eslint/eslint (eslint)
v9.26.0Compare Source
Features
e9754e7feat: add reportGlobalThis to no-shadow-restricted-names (#19670) (sethamus)0fa2b7afeat: add suggestions foreqeqeqrule (#19640) (Nitin Kumar)dcbdcc9feat: Add MCP server (#19592) (Nicholas C. Zakas)2dfd83efeat: addignoreDirectivesoption inno-unused-expressions(#19645) (sethamus)Bug Fixes
96e84defix: check cache file existence before deletion (#19648) (sethamus)d683aebfix: don't crash on tests with circular references inRuleTester(#19664) (Milos Djermanovic)9736d5dfix: addnamespacetoPlugin.metatype (#19661) (Milos Djermanovic)17bae69fix: updateRuleTester.run()type (#19634) (Nitin Kumar)Documentation
dd98d63docs: Update README (GitHub Actions Bot)c25e858docs: Update README (GitHub Actions Bot)b2397e9docs: Update README (GitHub Actions Bot)addd0a6docs: fix formatting of unordered lists in Markdown (#19660) (Milos Djermanovic)a21b38ddocs: Update README (GitHub Actions Bot)c0721a7docs: fix double space in command (#19657) (CamWass)Chores
5b247c8chore: upgrade to@eslint/js@9.26.0(#19681) (Francesco Trotta)d6fa4acchore: package.json update for @eslint/js release (Jenkins)0958690chore: disambiguate internal typesLanguageOptionsandRule(#19669) (Francesco Trotta)f1c858echore: fix internal type references toPluginandRule(#19665) (Francesco Trotta)40dd299refactor: One-shot ESQuery selector analysis (#19652) (Nicholas C. Zakas)1cfd702chore: update dependency @eslint/json to ^0.12.0 (#19656) (renovate[bot])v9.25.1Compare Source
Bug Fixes
cdc8e8cfix: revert directive detection in no-unused-expressions (#19639) (sethamus)Chores
1f2b057chore: upgrade @eslint/js@9.25.1 (#19642) (Milos Djermanovic)771317fchore: package.json update for @eslint/js release (Jenkins)v9.25.0Compare Source
Features
dcd95aafeat: support TypeScript syntax in no-empty-function rule (#19551) (sethamus)77d6d5bfeat: support TS syntax inno-unused-expressions(#19564) (Sweta Tanwar)90228e5feat: supportJSRuleDefinitiontype (#19604) (루밀LuMir)59ba6b7feat: add allowObjects option to no-restricted-properties (#19607) (sethamus)db650a0feat: support TypeScript syntax inno-invalid-thisrule (#19532) (Tanuj Kanti)9535cfffeat: support TS syntax inno-loop-func(#19559) (Nitin Kumar)Bug Fixes
910bd13fix:nodeTypeKeynot being used inNodeEventGenerator(#19631) (StyleShit)Documentation
ca7a735docs: updateno-undef-initwhen not to use section (#19624) (Tanuj Kanti)1b870c9docs: useeslint-config-xoin the getting started guide (#19629) (Nitin Kumar)5d4af16docs: add types for multiple rule options (#19616) (Tanuj Kanti)e8f8d57docs: Update README (GitHub Actions Bot)a40348fdocs: no-use-before-define tweaks (#19622) (Kirk Waiblinger)0ba3ae3docs: Update README (GitHub Actions Bot)865dbfedocs: ensure "learn more" deprecation links point to useful resource (#19590) (Kirk Waiblinger)f80b746docs: add known limitations for no-self-compare (#19612) (Nitin Kumar)865aed6docs: Update README (GitHub Actions Bot)Chores
88dc196chore: upgrade @eslint/js@9.25.0 (#19636) (Milos Djermanovic)345288dchore: package.json update for @eslint/js release (Jenkins)affe6bechore: upgrade trunk (#19628) (sethamus)dd20cf2test: fixno-loop-functest with duplicate variable reports (#19610) (Milos Djermanovic)bd05397chore: upgrade@eslint/*dependencies (#19606) (Milos Djermanovic)22ea18bchore: replace invalidinttype withnumberinside JSDocs. (#19597) (Arya Emami)v9.24.0Compare Source
Features
556c25bfeat: support loading TS config files using--experimental-strip-types(#19401) (Arya Emami)72650acfeat: support TS syntax ininit-declarations(#19540) (Nitin Kumar)03fb0bcfeat: normalize patterns to handle "./" prefix in files and ignores (#19568) (Pixel998)071dcd3feat: support TS syntax inno-dupe-class-members(#19558) (Nitin Kumar)cd72bccfeat: Introduce a way to suppress violations (#19159) (Iacovos Constantinou)2a81578feat: support TS syntax inno-loss-of-precision(#19560) (Nitin Kumar)30ae4edfeat: add new options to class-methods-use-this (#19527) (sethamus)b79ade6feat: support TypeScript syntax inno-array-constructor(#19493) (Tanuj Kanti)Bug Fixes
b23d1c5fix: deduplicate variable names in no-loop-func error messages (#19595) (Nitin Kumar)fb8cdb8fix: useany[]type forcontext.options(#19584) (Francesco Trotta)Documentation
f857820docs: update documentation for--experimental-strip-types(#19594) (Nikolas Schröter)803e4afdocs: simplify gitignore path handling in includeIgnoreFile section (#19596) (Thomas Broyer)6d979ccdocs: Update README (GitHub Actions Bot)82177e4docs: Update README (GitHub Actions Bot)e849dc0docs: replace existing var with const (#19578) (Sweta Tanwar)0c65c62docs: don't pass filename when linting rule examples (#19571) (Milos Djermanovic)6be36c9docs: Update custom-rules.md code example of fixer (#19555) (Yifan Pan)Build Related
366e369build: re-enable Prettier formatting forpackage.jsonfiles (#19569) (Francesco Trotta)Chores
ef67420chore: upgrade @eslint/js@9.24.0 (#19602) (Milos Djermanovic)4946847chore: package.json update for @eslint/js release (Jenkins)a995acbchore: correct 'flter'/'filter' typo in package script (#19587) (Josh Goldberg ✨)b9a5efatest: skip symlink test on Windows (#19503) (fisker Cheung)46eea6dchore: removeRule&FormatterFunctionfromshared/types.js(#19556) (Nitin Kumar)bdcc91dchore: modify .editorconfig to keep parity with prettier config (#19577) (Sweta Tanwar)7790d83chore: fix some typos in comment (#19576) (todaymoon)76064a6test: ignorepackage-lock.jsonforeslint-webpack-plugin(#19572) (Francesco Trotta)v9.23.0Compare Source
Features
557a0d2feat: support TypeScript syntax in no-useless-constructor (#19535) (Josh Goldberg ✨)8320241feat: support TypeScript syntax indefault-param-last(#19431) (Josh Goldberg ✨)833c4a3feat: defineConfig() supports "flat/" config prefix (#19533) (Nicholas C. Zakas)4a0df16feat: circular autofix/conflicting rules detection (#19514) (Milos Djermanovic)be56a68feat: support TypeScript syntax inclass-methods-use-this(#19498) (Josh Goldberg ✨)Bug Fixes
0e20aa7fix: move deprecatedRuleContextmethods to subtype (#19531) (Francesco Trotta)cc3bd00fix: reporting variable used in catch block inno-useless-assignment(#19423) (Tanuj Kanti)d46ff83fix:no-dupe-keysfalse positive with proto setter (#19508) (Milos Djermanovic)e732773fix: navigation of search results on pressing Enter (#19502) (Tanuj Kanti)f4e9c5ffix: allowRuleTesterto test files insidenode_modules/(#19499) (fisker Cheung)Documentation
5405939docs: show red underlines in TypeScript examples in rules docs (#19547) (Milos Djermanovic)48b53d6docs: replace var with const in examples (#19539) (Nitin Kumar)c39d7dbdocs: Update README (GitHub Actions Bot)a4f8760docs: revert accidental changes (#19542) (Francesco Trotta)280128fdocs: add copy button (#19512) (xbinaryx)cd83eaadocs: replacevarwithconstin examples (#19530) (Nitin Kumar)7ff0cdedocs: Update README (GitHub Actions Bot)996cfb9docs: migrate sass to module system (#19518) (xbinaryx)17cb958docs: replacevarwithletandconstin rule examples (#19515) (Tanuj Kanti)83e24f5docs: Replace var with let or const (#19511) (Jenna Toff)a59d0c0docs: Update docs for defineConfig (#19505) (Nicholas C. Zakas)fe92927docs:require-unicode-regexpadd note foriflag and\w(#19510) (Chaemin-Lim)Build Related
2357eddbuild: exclude autogenerated files from Prettier formatting (#19548) (Francesco Trotta)Chores
0ac8ea4chore: update dependencies for v9.23.0 release (#19554) (Francesco Trotta)20591c4chore: package.json update for @eslint/js release (Jenkins)901344fchore: update dependency @eslint/json to ^0.11.0 (#19552) (renovate[bot])5228383chore: fix update-readme formatting (#19544) (Milos Djermanovic)5439525chore: format JSON files in Trunk (#19541) (Francesco Trotta)75adc99chore: enabled Prettier in Trunk (#19354) (Josh Goldberg ✨)2395168chore: added .git-blame-ignore-revs for Prettier via trunk fmt (#19538) (Josh Goldberg ✨)129882dchore: formatted files with Prettier via trunk fmt (#19355) (Josh Goldberg ✨)1738dbcchore: temporarily disable prettier in trunk (#19537) (Josh Goldberg ✨)dc854fdchore: update dependency shelljs to ^0.9.0 (#19524) (renovate[bot])5d57496chore: fix some comments (#19525) (jimmycathy)9c5c6eetest: fix an assertion failure (#19500) (fisker Cheung)7a699a6chore: remove formatting-related lint rules internally (#19473) (Josh Goldberg ✨)c99db89test: replace WebdriverIO with Cypress (#19465) (Pixel998)v9.22.0Compare Source
Features
7ddb095feat: Export defineConfig, globalIgnores (#19487) (Nicholas C. Zakas)Bug Fixes
19c0127fix: improve message forno-consolesuggestions (#19483) (Francesco Trotta)49e624ffix: improve error message for falsy parsed JS AST (#19458) (Josh Goldberg ✨)Documentation
86c5f37docs: Update README (GitHub Actions Bot)fbdeff0docs: Update README (GitHub Actions Bot)c9e8510docs: generate deprecation notice in TSDoc comments from rule metadata (#19461) (Francesco Trotta)2f386addocs: replacevarwithconstin rule examples (#19469) (Tanuj Kanti)0e688e3docs: Update README (GitHub Actions Bot)06b596ddocs: Restore the carrot to the position where the search input was lost (#19459) (Amaresh S M)Chores
97f788bchore: upgrade @eslint/js@9.22.0 (#19489) (Milos Djermanovic)eed409achore: package.json update for @eslint/js release (Jenkins)f9a56d3chore: upgrade eslint-scope@8.3.0 (#19488) (Milos Djermanovic)v9.21.0Compare Source
Features
418717ffeat: introduce new deprecated types for rules (#19238) (fnx)5c5b802feat: Add--extCLI option (#19405) (Milos Djermanovic)Bug Fixes
db5340dfix: update missing plugin message template (#19445) (Milos Djermanovic)d8ffdd4fix: do not exit process on rule crash (#19436) (Francesco Trotta)Documentation
c5561eadocs: Update README (GitHub Actions Bot)80b0485docs: replacevarwithletandconstin rule example (#19434) (Tanuj Kanti)f67d5e8docs: Update README (GitHub Actions Bot)75afc61docs: Update README (GitHub Actions Bot)0636cabdocs: Update Eleventy from v2 to v3 (#19415) (Amaresh S M)dd7d930docs: Update README (GitHub Actions Bot)Chores
a8c9a9fchore: update@eslint/eslintrcand@eslint/js(#19453) (Francesco Trotta)265e0cfchore: package.json update for @eslint/js release (Jenkins)3401b85test: add test forRule.ReportDescriptortype (#19449) (Francesco Trotta)e497aa7chore: update rewrite dependencies (#19448) (Francesco Trotta)dab5478chore: better error message for missing plugin in config (#19402) (Tanuj Kanti)ebfe2ebchore: set js language for bug report issue config block (#19439) (Josh Goldberg ✨)5fd211dtest: processors can return subpaths (#19425) (Milos Djermanovic)v9.20.1Compare Source
Bug Fixes
274f054fix: fixRuleContexttype (#19417) (Francesco Trotta)Documentation
fe3ccb2docs: allow typing in search box while dropdown is open (#19424) (Amaresh S M)93c78a5docs: Add instructions for pnpm compat (#19422) (Nicholas C. Zakas)b476a93docs: Fix Keyboard Navigation for Search Results (#19416) (Amaresh S M)ccb60c0docs: Update README (GitHub Actions Bot)v9.20.0Compare Source
Features
e89a54afeat: change behavior of inactive flags (#19386) (Milos Djermanovic)Bug Fixes
91d4d9ffix: Bring types in sync with @eslint/core (#19157) (Nicholas C. Zakas)fa25c7afix: Emit warning when empty config file is used (#19399) (Nicholas C. Zakas)31a9fd0fix: Clearer error message for wrong plugin format (#19380) (Nicholas C. Zakas)61d99e3fix: Better error message for unserializable parser (#19384) (Nicholas C. Zakas)db1b9a6fix: Ensure module scope is checked for references inconsistent-this(#19383) (Nicholas C. Zakas)8bcd820fix:arrow-body-stylecrash with single-token body (#19379) (Milos Djermanovic)Documentation
b7012c8docs: rewrite examples with var using let and const (#19407) (Mueez Javaid Hashmi)6406376docs: Update README (GitHub Actions Bot)350f2b9docs: rewrite some examples with var using let and const (#19404) (Mueez Javaid Hashmi)93c325adocs: rewrite examples with var using let and const (#19398) (Mueez Javaid Hashmi)56ff404docs: replace var with let or const in rules docs (#19396) (Daniel Harbrueger)4053226docs: changesourceTypeinno-evalexamples (#19393) (Milos Djermanovic)1324af0docs: replace var with let and const in rules docs (#19392) (Daniel Harbrueger)8b87e00docs: replacevarwithconstandletin rules (#19389) (Tanuj Kanti)758c66bdocs: Explain what frozen rules mean (#19382) (Nicholas C. Zakas)0ef8bb8docs: additional checks for rule examples (#19358) (Milos Djermanovic)58ab2f6docs: fix order of installation steps in getting started (#19326) (Tanuj Kanti)Chores
979097achore: upgrade @eslint/js@9.20.0 (#19412) (Francesco Trotta)031734echore: package.json update for @eslint/js release (Jenkins)d4c47c3test: avoid empty config warning in test output (#19408) (Milos Djermanovic)67dd82achore: update dependency @eslint/json to ^0.10.0 (#19387) (renovate[bot])15ac0e1chore: add permissions: read-all to stale.yml workflow (#19374) (Josh Goldberg ✨)v9.19.0Compare Source
Features
1637b8efeat: add--report-unused-inline-configs(#19201) (Josh Goldberg ✨)Bug Fixes
aae6717fix: sync rule type header comments automatically (#19276) (Francesco Trotta)Documentation
cfea9abdocs: Clarify overrideConfig option (#19370) (Nicholas C. Zakas)2b84f66docs: Update README (#19362) (Nicholas C. Zakas)044f93cdocs: clarify frozen rule description (#19351) (Pavel)797ee7cdocs: fix Bluesky links (#19368) (Milos Djermanovic)81a9c0edocs: Update README (GitHub Actions Bot)093fb3ddocs: replacevarwithletandconstin rule examples (#19365) (Tanuj Kanti)417de32docs: replace var with const in rule examples (#19352) (jj)17f2aaedocs: update getting-started config to match default generated config (#19308) (0xDev)8a0a5a8docs: betterglobal ignoresinstruction (#19297) (Jacopo Marrone)6671a2cdocs: Update README (GitHub Actions Bot)e39d3f2docs: fix divider for rule category (#19264) (Tanuj Kanti)e0cf53fdocs: fix search result box position for small screens (#19328) (Tanuj Kanti)f92a680docs: replace var with let or const in rule examples (#19331) (Ravi Teja Kolla)b04b84bdocs: revert accidental changes in TS config files docs (#19336) (Francesco Trotta)Chores
9b9cb05chore: upgrade @eslint/js@9.19.0 (#19371) (Milos Djermanovic)58560e7chore: package.json update for @eslint/js release (Jenkins)2089707test: fix failing test in Node.js v22.13.0 (#19345) (Francesco Trotta)v9.18.0Compare Source
Features
e84e6e2feat: Report allowed methods forno-consolerule (#19306) (Anna Bocharova)8efc2d0feat: unflag TypeScript config files (#19266) (Francesco Trotta)87a9352feat: check imports and class names inno-shadow-restricted-names(#19272) (Milos Djermanovic)Bug Fixes
da768d4fix: correctoverrideConfigFiletype (#19289) (Francesco Trotta)Documentation
d9c23c5docs: replacevarwithconstin rule examples (#19325) (Tanuj Kanti)8e1a898docs: add tabs to cli code blocks (#18784) (Jay)f3aeefbdocs: rewrite using let and const in rule examples (#19320) (PoloSpark)0b680b3docs: Update README (GitHub Actions Bot)98c86a9docs:Edit this pagebutton link to different branches (#19228) (Tanuj Kanti)6947901docs: remove hardcoded edit link (#19323) (Milos Djermanovic)03f2f44docs: rewrite var with const in rules examples (#19317) (Thiago)26c3003docs: Clarify dangers of eslint:all (#19318) (Nicholas C. Zakas)c038257docs: addeqeqeqin related rules tono-eq-null(#19310) (루밀LuMir)89c8fc5docs: rewrite examples with var using let and const (#19315) (Amaresh S M)db574c4docs: add missing backticks tono-void(#19313) (루밀LuMir)8d943c3docs: add missing backticks todefault-case-last(#19311) (루밀LuMir)36ef8bbdocs: rewrite examples with var using let and const (#19298) (Amaresh S M)1610c9edocs: add missing backticks tono-else-return(#19309) (루밀LuMir)df409d8docs: Update README (GitHub Actions Bot)2e84213docs: Fix Horizontal Scroll Overflow in Rule Description on Mobile View (#19304) (Amaresh S M)6e7361bdocs: replacevarwithletandconstin rule example (#19302) (Tanuj Kanti)069af5edocs: rewritevarusingconstin rule examples (#19303) (Kim GyeonWon)064e35ddocs: remove 'I hope to' comments from scope-manager-interface (#19300) (Josh Goldberg ✨)8e00305docs: replacevarwithconstin rule examples (#19299) (Tanuj Kanti)a559009docs: Add warning about extending core rules (#19295) (Nicholas C. Zakas)0bfdf6cdocs: Update README (GitHub Actions Bot)ce0b9ffdocs: add navigation link forcode explorer(#19285) (Tanuj Kanti)e255cc9docs: add bluesky icon to footer (#19290) (Tanuj Kanti)5d64851docs: remove outdated info about environments (#19296) (Francesco Trotta)eec01f0docs: switch rule examples config format tolanguageOptions(#19277) (Milos Djermanovic)b36ca0adocs: Fixing Focus Order by Rearranging Element Sequence (#19241) (Amaresh S M)d122c8adocs: add missing backticks tosort-imports(#19282) (루밀LuMir)0367a70docs: update custom parser docs (#19288) (Francesco Trotta)8c07ebbdocs: addborder-radiustohX:targetselector styles (#19270) (루밀LuMir)eff7c57docs: add limitation section inno-loop-func(#19287) (Tanuj Kanti)5db226fdocs: add missing backticks in various parts of the documentation (#19269) (루밀LuMir)789edbbdocs: Update README (GitHub Actions Bot)613c06adocs: mark rules that are frozen with ❄️ (#19231) (Amaresh S M)43172ecdocs: Update README (GitHub Actions Bot)ac8b3c4docs: fix description ofoverrideConfigFileoption (#19262) (Milos Djermanovic)bbb9b46docs: Update README (GitHub Actions Bot)995b492docs: fix inconsistent divider in rule categories box (#19249) (Tanuj Kanti)f76d05ddocs: Refactor search result handling with better event listener cleanup (#19252) (Amaresh S M)c5f3d7ddocs: Update README (GitHub Actions Bot)Chores
c52be85chore: upgrade to@eslint/js@9.18.0(#19330) (Francesco Trotta)362099c](httConfiguration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.