From 7b20ee75d6ced3a7f27ed0935b58c61423370d53 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 7 Feb 2026 22:10:15 +0000
Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20eslint=20monorepo?=
=?UTF-8?q?=20to=20v10=20(major)=20(#6555)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@eslint/js](https://eslint.org)
([source](https://redirect.github.com/eslint/eslint/tree/HEAD/packages/js))
| [`^9.39.2` →
`^10.0.1`](https://renovatebot.com/diffs/npm/@eslint%2fjs/9.39.2/10.0.1)
|

|

|
| [eslint](https://eslint.org)
([source](https://redirect.github.com/eslint/eslint)) | [`^9.39.2` →
`^10.0.0`](https://renovatebot.com/diffs/npm/eslint/9.39.2/10.0.0) |

|

|
---
### Release Notes
eslint/eslint (@eslint/js)
###
[`v10.0.1`](https://redirect.github.com/eslint/eslint/compare/v10.0.0...84fb885d49ac810e79a9491276b4828b53d913e5)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v10.0.0...84fb885d49ac810e79a9491276b4828b53d913e5)
###
[`v10.0.0`](https://redirect.github.com/eslint/eslint/releases/tag/v10.0.0)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.39.2...v10.0.0)
#### Breaking Changes
-
[`f9e54f4`](https://redirect.github.com/eslint/eslint/commit/f9e54f43a5e497cdfa179338b431093245cb787b)
feat!: estimate rule-tester failure location
([#20420](https://redirect.github.com/eslint/eslint/issues/20420))
(ST-DDT)
-
[`a176319`](https://redirect.github.com/eslint/eslint/commit/a176319d8ade1a7d9b2d7fb8f038f55a2662325f)
feat!: replace `chalk` with `styleText` and add `color` to `ResultsMeta`
([#20227](https://redirect.github.com/eslint/eslint/issues/20227))
(루밀LuMir)
-
[`c7046e6`](https://redirect.github.com/eslint/eslint/commit/c7046e6c1e03c4ca0eee4888a1f2eba4c6454f84)
feat!: enable JSX reference tracking
([#20152](https://redirect.github.com/eslint/eslint/issues/20152))
(Pixel998)
-
[`fa31a60`](https://redirect.github.com/eslint/eslint/commit/fa31a608901684fbcd9906d1907e66561d16e5aa)
feat!: add `name` to configs
([#20015](https://redirect.github.com/eslint/eslint/issues/20015))
(Kirk Waiblinger)
-
[`3383e7e`](https://redirect.github.com/eslint/eslint/commit/3383e7ec9028166cafc8ea7986c2f7498d0049f0)
fix!: remove deprecated `SourceCode` methods
([#20137](https://redirect.github.com/eslint/eslint/issues/20137))
(Pixel998)
-
[`501abd0`](https://redirect.github.com/eslint/eslint/commit/501abd0e916a35554c58b7c0365537f1fa3880ce)
feat!: update dependency minimatch to v10
([#20246](https://redirect.github.com/eslint/eslint/issues/20246))
(renovate\[bot])
-
[`ca4d3b4`](https://redirect.github.com/eslint/eslint/commit/ca4d3b40085de47561f89656a2207d09946ed45e)
fix!: stricter rule tester assertions for valid test cases
([#20125](https://redirect.github.com/eslint/eslint/issues/20125))
(唯然)
-
[`96512a6`](https://redirect.github.com/eslint/eslint/commit/96512a66c86402fb0538cdcb6cd30b9073f6bf3b)
fix!: Remove deprecated rule context methods
([#20086](https://redirect.github.com/eslint/eslint/issues/20086))
(Nicholas C. Zakas)
-
[`c69fdac`](https://redirect.github.com/eslint/eslint/commit/c69fdacdb2e886b9d965568a397aa8220db3fe90)
feat!: remove eslintrc support
([#20037](https://redirect.github.com/eslint/eslint/issues/20037))
(Francesco Trotta)
-
[`208b5cc`](https://redirect.github.com/eslint/eslint/commit/208b5cc34a8374ff81412b5bec2e0800eebfbd04)
feat!: Use `ScopeManager#addGlobals()`
([#20132](https://redirect.github.com/eslint/eslint/issues/20132))
(Milos Djermanovic)
-
[`a2ee188`](https://redirect.github.com/eslint/eslint/commit/a2ee188ea7a38a0c6155f3d39e2b00e1d0f36e14)
fix!: add `uniqueItems: true` in `no-invalid-regexp` option
([#20155](https://redirect.github.com/eslint/eslint/issues/20155))
(Tanuj Kanti)
-
[`a89059d`](https://redirect.github.com/eslint/eslint/commit/a89059dbf2832d417dd493ee81483227ec44e4ab)
feat!: Program range span entire source text
([#20133](https://redirect.github.com/eslint/eslint/issues/20133))
(Pixel998)
-
[`39a6424`](https://redirect.github.com/eslint/eslint/commit/39a6424373d915fa9de0d7b0caba9a4dc3da9b53)
fix!: assert 'text' is a string across all RuleFixer methods
([#20082](https://redirect.github.com/eslint/eslint/issues/20082))
(Pixel998)
-
[`f28fbf8`](https://redirect.github.com/eslint/eslint/commit/f28fbf846244e043c92b355b224d121b06140b44)
fix!: Deprecate `"always"` and `"as-needed"` options of the `radix` rule
([#20223](https://redirect.github.com/eslint/eslint/issues/20223))
(Milos Djermanovic)
-
[`aa3fb2b`](https://redirect.github.com/eslint/eslint/commit/aa3fb2b233e929b37220be940575f42c280e0b98)
fix!: tighten `func-names` schema
([#20119](https://redirect.github.com/eslint/eslint/issues/20119))
(Pixel998)
-
[`f6c0ed0`](https://redirect.github.com/eslint/eslint/commit/f6c0ed0311dcfee853367d5068c765d066e6b756)
feat!: report `eslint-env` comments as errors
([#20128](https://redirect.github.com/eslint/eslint/issues/20128))
(Francesco Trotta)
-
[`4bf739f`](https://redirect.github.com/eslint/eslint/commit/4bf739fb533e59f7f0a66b65f7bc80be0f37d8db)
fix!: remove deprecated `LintMessage#nodeType` and `TestCaseError#type`
([#20096](https://redirect.github.com/eslint/eslint/issues/20096))
(Pixel998)
-
[`523c076`](https://redirect.github.com/eslint/eslint/commit/523c076866400670fb2192a3f55dbf7ad3469247)
feat!: drop support for jiti < 2.2.0
([#20016](https://redirect.github.com/eslint/eslint/issues/20016))
(michael faith)
-
[`454a292`](https://redirect.github.com/eslint/eslint/commit/454a292c95f34dad232411ddac06408e6383bb64)
feat!: update `eslint:recommended` configuration
([#20210](https://redirect.github.com/eslint/eslint/issues/20210))
(Pixel998)
-
[`4f880ee`](https://redirect.github.com/eslint/eslint/commit/4f880ee02992e1bf0e96ebaba679985e2d1295f1)
feat!: remove `v10_*` and inactive `unstable_*` flags
([#20225](https://redirect.github.com/eslint/eslint/issues/20225))
(sethamus)
-
[`f18115c`](https://redirect.github.com/eslint/eslint/commit/f18115c363a4ac7671a4c7f30ee13d57ebba330f)
feat!: `no-shadow-restricted-names` report `globalThis` by default
([#20027](https://redirect.github.com/eslint/eslint/issues/20027))
(sethamus)
-
[`c6358c3`](https://redirect.github.com/eslint/eslint/commit/c6358c31fbd3937b92d89be2618ffdf5a774604e)
feat!: Require Node.js `^20.19.0 || ^22.13.0 || >=24`
([#20160](https://redirect.github.com/eslint/eslint/issues/20160))
(Milos Djermanovic)
#### Features
-
[`bff9091`](https://redirect.github.com/eslint/eslint/commit/bff9091927811497dbf066b0e3b85ecb37d43822)
feat: handle `Array.fromAsync` in `array-callback-return`
([#20457](https://redirect.github.com/eslint/eslint/issues/20457))
(Francesco Trotta)
-
[`290c594`](https://redirect.github.com/eslint/eslint/commit/290c594bb50c439fb71bc75521ee5360daa8c222)
feat: add `self` to `no-implied-eval` rule
([#20468](https://redirect.github.com/eslint/eslint/issues/20468))
(sethamus)
-
[`43677de`](https://redirect.github.com/eslint/eslint/commit/43677de07ebd6e14bfac40a46ad749ba783c45f2)
feat: fix handling of function and class expression names in `no-shadow`
([#20432](https://redirect.github.com/eslint/eslint/issues/20432))
(Milos Djermanovic)
-
[`f0cafe5`](https://redirect.github.com/eslint/eslint/commit/f0cafe5f37e7765e9d8c2751b5f5d33107687009)
feat: rule tester add assertion option `requireData`
([#20409](https://redirect.github.com/eslint/eslint/issues/20409))
(fnx)
-
[`f7ab693`](https://redirect.github.com/eslint/eslint/commit/f7ab6937e63bc618d326710858f5861a68f80616)
feat: output RuleTester test case failure index
([#19976](https://redirect.github.com/eslint/eslint/issues/19976))
(ST-DDT)
-
[`7cbcbf9`](https://redirect.github.com/eslint/eslint/commit/7cbcbf9c3c2008deee7d143ae35e668e8ffbccb3)
feat: add `countThis` option to `max-params`
([#20236](https://redirect.github.com/eslint/eslint/issues/20236))
(Gerkin)
-
[`f148a5e`](https://redirect.github.com/eslint/eslint/commit/f148a5eaa1e89dd80ade62f0a690186b00b9f6e1)
feat: add error assertion options
([#20247](https://redirect.github.com/eslint/eslint/issues/20247))
(ST-DDT)
-
[`09e6654`](https://redirect.github.com/eslint/eslint/commit/09e66549ecada6dcb8c567a60faf044fce049188)
feat: update error loc of `require-yield` and `no-useless-constructor`
([#20267](https://redirect.github.com/eslint/eslint/issues/20267))
(Tanuj Kanti)
#### Bug Fixes
-
[`436b82f`](https://redirect.github.com/eslint/eslint/commit/436b82f3c0a8cfa2fdc17d173e95ea11d5d3ee03)
fix: update eslint
([#20473](https://redirect.github.com/eslint/eslint/issues/20473))
(renovate\[bot])
-
[`1d29d22`](https://redirect.github.com/eslint/eslint/commit/1d29d22fe302443cec2a11da0816397f94af97ec)
fix: detect default `this` binding in `Array.fromAsync` callbacks
([#20456](https://redirect.github.com/eslint/eslint/issues/20456))
(Francesco Trotta)
-
[`727451e`](https://redirect.github.com/eslint/eslint/commit/727451eff55b35d853e0e443d0de58f4550762bf)
fix: fix regression of global mode report range in `strict` rule
([#20462](https://redirect.github.com/eslint/eslint/issues/20462))
(ntnyq)
-
[`e80485f`](https://redirect.github.com/eslint/eslint/commit/e80485fcd27196fa0b6f6b5c7ac8cf49ad4b079d)
fix: remove fake `FlatESLint` and `LegacyESLint` exports
([#20460](https://redirect.github.com/eslint/eslint/issues/20460))
(Francesco Trotta)
-
[`9eeff3b`](https://redirect.github.com/eslint/eslint/commit/9eeff3bc13813a786b8a4c3815def97c0fb646ef)
fix: update esquery
([#20423](https://redirect.github.com/eslint/eslint/issues/20423))
(cryptnix)
-
[`b34b938`](https://redirect.github.com/eslint/eslint/commit/b34b93852d014ebbcf3538d892b55e0216cdf681)
fix: use `Error.prepareStackTrace` to estimate failing test location
([#20436](https://redirect.github.com/eslint/eslint/issues/20436))
(Francesco Trotta)
-
[`51aab53`](https://redirect.github.com/eslint/eslint/commit/51aab5393b058f7cbed69041a9069b2bd106aabd)
fix: update eslint
([#20443](https://redirect.github.com/eslint/eslint/issues/20443))
(renovate\[bot])
-
[`23490b2`](https://redirect.github.com/eslint/eslint/commit/23490b266276792896a0b7b43c49a1ce87bf8568)
fix: handle space before colon in `RuleTester` location estimation
([#20433](https://redirect.github.com/eslint/eslint/issues/20433))
(Francesco Trotta)
-
[`f244dbf`](https://redirect.github.com/eslint/eslint/commit/f244dbf2191267a4cafd08645243624baf3e8c83)
fix: use `MessagePlaceholderData` type from `@eslint/core`
([#20348](https://redirect.github.com/eslint/eslint/issues/20348))
(루밀LuMir)
-
[`d186f8c`](https://redirect.github.com/eslint/eslint/commit/d186f8c0747f14890e86a5a39708b052b391ddaf)
fix: update eslint
([#20427](https://redirect.github.com/eslint/eslint/issues/20427))
(renovate\[bot])
-
[`2332262`](https://redirect.github.com/eslint/eslint/commit/2332262deb4ef3188b210595896bb0ff552a7e66)
fix: error location should not modify error message in RuleTester
([#20421](https://redirect.github.com/eslint/eslint/issues/20421))
(Milos Djermanovic)
-
[`ab99b21`](https://redirect.github.com/eslint/eslint/commit/ab99b21a6715dee1035d8f4e6d6841853eb5563f)
fix: ensure `filename` is passed as third argument to `verifyAndFix()`
([#20405](https://redirect.github.com/eslint/eslint/issues/20405))
(루밀LuMir)
-
[`8a60f3b`](https://redirect.github.com/eslint/eslint/commit/8a60f3bc80ad96c65feeb29886342623c630199c)
fix: remove `ecmaVersion` and `sourceType` from `ParserOptions` type
([#20415](https://redirect.github.com/eslint/eslint/issues/20415))
(Pixel998)
-
[`eafd727`](https://redirect.github.com/eslint/eslint/commit/eafd727a060131f7fc79b2eb5698d8d27683c3a2)
fix: remove `TDZ` scope type
([#20231](https://redirect.github.com/eslint/eslint/issues/20231))
(jaymarvelz)
-
[`39d1f51`](https://redirect.github.com/eslint/eslint/commit/39d1f51680d4fbade16b4d9c07ad61a87ee3b1ea)
fix: correct `Scope` typings
([#20404](https://redirect.github.com/eslint/eslint/issues/20404))
(sethamus)
-
[`2bd0f13`](https://redirect.github.com/eslint/eslint/commit/2bd0f13a92fb373827f16210aa4748d4885fddb1)
fix: update `verify` and `verifyAndFix` types
([#20384](https://redirect.github.com/eslint/eslint/issues/20384))
(Francesco Trotta)
-
[`ba6ebfa`](https://redirect.github.com/eslint/eslint/commit/ba6ebfa78de0b8522cea5ee80179887e92c6c935)
fix: correct typings for `loadESLint()` and `shouldUseFlatConfig()`
([#20393](https://redirect.github.com/eslint/eslint/issues/20393))
(루밀LuMir)
-
[`e7673ae`](https://redirect.github.com/eslint/eslint/commit/e7673ae096900330599680efe91f8a199a5c2e59)
fix: correct RuleTester typings
([#20105](https://redirect.github.com/eslint/eslint/issues/20105))
(Pixel998)
-
[`53e9522`](https://redirect.github.com/eslint/eslint/commit/53e95222af8561a8eed282fa9fd44b2f320a3c37)
fix: strict removed formatters check
([#20241](https://redirect.github.com/eslint/eslint/issues/20241))
(ntnyq)
-
[`b017f09`](https://redirect.github.com/eslint/eslint/commit/b017f094d4e53728f8d335b9cf8b16dc074afda3)
fix: correct `no-restricted-import` messages
([#20374](https://redirect.github.com/eslint/eslint/issues/20374))
(Francesco Trotta)
#### Documentation
-
[`e978dda`](https://redirect.github.com/eslint/eslint/commit/e978ddaab7e6a3c38b4a2afa721148a6ef38f29a)
docs: Update README (GitHub Actions Bot)
-
[`4cecf83`](https://redirect.github.com/eslint/eslint/commit/4cecf8393ae9af18c4cfd50621115eb23b3d0cb6)
docs: Update README (GitHub Actions Bot)
-
[`c79f0ab`](https://redirect.github.com/eslint/eslint/commit/c79f0ab2e2d242a93b08ff2f6a0712e2ef60b7b8)
docs: Update README (GitHub Actions Bot)
-
[`773c052`](https://redirect.github.com/eslint/eslint/commit/773c0527c72c09fb5e63c2036b5cb9783f1f04d3)
docs: Update README (GitHub Actions Bot)
-
[`f2962e4`](https://redirect.github.com/eslint/eslint/commit/f2962e46a0e8ee8e04d76e9d899f6a7c73a646f1)
docs: document `meta.docs.frozen` property
([#20475](https://redirect.github.com/eslint/eslint/issues/20475))
(Pixel998)
-
[`8e94f58`](https://redirect.github.com/eslint/eslint/commit/8e94f58bebfd854eed814a39e19dea4e3c3ee4a3)
docs: fix broken anchor links from gerund heading updates
([#20449](https://redirect.github.com/eslint/eslint/issues/20449))
(Copilot)
-
[`1495654`](https://redirect.github.com/eslint/eslint/commit/14956543d42ab542f72820f38941d0bcc39a1fbb)
docs: Update README (GitHub Actions Bot)
-
[`0b8ed5c`](https://redirect.github.com/eslint/eslint/commit/0b8ed5c0aa4222a9b6b185c605cfedaef4662dcb)
docs: document support for `:is` selector alias
([#20454](https://redirect.github.com/eslint/eslint/issues/20454))
(sethamus)
-
[`1c4b33f`](https://redirect.github.com/eslint/eslint/commit/1c4b33fe8620dcaafbe6e8f4e9515b624476548c)
docs: Document policies about ESM-only dependencies
([#20448](https://redirect.github.com/eslint/eslint/issues/20448))
(Milos Djermanovic)
-
[`3e5d38c`](https://redirect.github.com/eslint/eslint/commit/3e5d38cdd5712bef50d440585b0f6669a2e9a9b9)
docs: add missing indentation space in rule example
([#20446](https://redirect.github.com/eslint/eslint/issues/20446))
(fnx)
-
[`63a0c7c`](https://redirect.github.com/eslint/eslint/commit/63a0c7c84bf5b12357893ea2bf0482aa3c855bac)
docs: Update README (GitHub Actions Bot)
-
[`65ed0c9`](https://redirect.github.com/eslint/eslint/commit/65ed0c94e7cd1e3f882956113228311d8c7b3463)
docs: Update README (GitHub Actions Bot)
-
[`b0e4717`](https://redirect.github.com/eslint/eslint/commit/b0e4717d6619ffd02913cf3633b44d8e6953d938)
docs: \[no-await-in-loop] Expand inapplicability
([#20363](https://redirect.github.com/eslint/eslint/issues/20363))
(Niklas Hambüchen)
-
[`fca421f`](https://redirect.github.com/eslint/eslint/commit/fca421f6a4eecd52f2a7ae5765bd9008f62f9994)
docs: Update README (GitHub Actions Bot)
-
[`d925c54`](https://redirect.github.com/eslint/eslint/commit/d925c54f045b2230d3404e8aa18f4e2860a35e1d)
docs: update config syntax in `no-lone-blocks`
([#20413](https://redirect.github.com/eslint/eslint/issues/20413))
(Pixel998)
-
[`7d5c95f`](https://redirect.github.com/eslint/eslint/commit/7d5c95f281cb88868f4e09ca07fbbc6394d78c41)
docs: remove redundant `sourceType: "module"` from rule examples
([#20412](https://redirect.github.com/eslint/eslint/issues/20412))
(Pixel998)
-
[`02e7e71`](https://redirect.github.com/eslint/eslint/commit/02e7e7126366fc5eeffb713f865d80a759dc14b0)
docs: correct `.mts` glob pattern in files with extensions example
([#20403](https://redirect.github.com/eslint/eslint/issues/20403))
(Ali Essalihi)
-
[`264b981`](https://redirect.github.com/eslint/eslint/commit/264b981101a3cf0c12eba200ac64e5523186a89f)
docs: Update README (GitHub Actions Bot)
-
[`5a4324f`](https://redirect.github.com/eslint/eslint/commit/5a4324f38e7ce370038351ef7412dcf8548c105e)
docs: clarify `"local"` option of `no-unused-vars`
([#20385](https://redirect.github.com/eslint/eslint/issues/20385))
(Milos Djermanovic)
-
[`e593aa0`](https://redirect.github.com/eslint/eslint/commit/e593aa0fd29f51edea787815ffc847aa723ef1f8)
docs: improve clarity, grammar, and wording in documentation site README
([#20370](https://redirect.github.com/eslint/eslint/issues/20370))
(Aditya)
-
[`3f5062e`](https://redirect.github.com/eslint/eslint/commit/3f5062ed5f27eb25414faced2478ae076906874e)
docs: Add messages property to rule meta documentation
([#20361](https://redirect.github.com/eslint/eslint/issues/20361))
(Sabya Sachi)
-
[`9e5a5c2`](https://redirect.github.com/eslint/eslint/commit/9e5a5c2b6b368cdacd678eabf36b441bd8bb726c)
docs: remove `Examples` headings from rule docs
([#20364](https://redirect.github.com/eslint/eslint/issues/20364))
(Milos Djermanovic)
-
[`194f488`](https://redirect.github.com/eslint/eslint/commit/194f488a8dc97850485afe704d2a64096582f96d)
docs: Update README (GitHub Actions Bot)
-
[`0f5a94a`](https://redirect.github.com/eslint/eslint/commit/0f5a94a84beee19f376025c74f703f275d52c94b)
docs: \[class-methods-use-this] explain purpose of rule
([#20008](https://redirect.github.com/eslint/eslint/issues/20008))
(Kirk Waiblinger)
-
[`df5566f`](https://redirect.github.com/eslint/eslint/commit/df5566f826d9f5740546e473aa6876b1f7d2f12c)
docs: add Options section to all rule docs
([#20296](https://redirect.github.com/eslint/eslint/issues/20296))
(sethamus)
-
[`adf7a2b`](https://redirect.github.com/eslint/eslint/commit/adf7a2b202743a98edc454890574292dd2b34837)
docs: no-unsafe-finally note for generator functions
([#20330](https://redirect.github.com/eslint/eslint/issues/20330))
(Tom Pereira)
-
[`ef7028c`](https://redirect.github.com/eslint/eslint/commit/ef7028c9688dc931051a4217637eb971efcbd71b)
docs: Update README (GitHub Actions Bot)
-
[`fbae5d1`](https://redirect.github.com/eslint/eslint/commit/fbae5d18854b30ea3b696672c7699cef3ec92140)
docs: consistently use "v10.0.0" in migration guide
([#20328](https://redirect.github.com/eslint/eslint/issues/20328))
(Pixel998)
-
[`778aa2d`](https://redirect.github.com/eslint/eslint/commit/778aa2d83e1ef1e2bd1577ee976c5a43472a3dbe)
docs: ignoring default file patterns
([#20312](https://redirect.github.com/eslint/eslint/issues/20312))
(Tanuj Kanti)
-
[`4b5dbcd`](https://redirect.github.com/eslint/eslint/commit/4b5dbcdae52c1c16293dc68028cab18ed2504841)
docs: reorder v10 migration guide
([#20315](https://redirect.github.com/eslint/eslint/issues/20315))
(Milos Djermanovic)
-
[`5d84a73`](https://redirect.github.com/eslint/eslint/commit/5d84a7371d01ead1b274600c055fe49150d487f1)
docs: Update README (GitHub Actions Bot)
-
[`37c8863`](https://redirect.github.com/eslint/eslint/commit/37c8863088a2d7e845d019f68a329f53a3fe2c35)
docs: fix incorrect anchor link in v10 migration guide
([#20299](https://redirect.github.com/eslint/eslint/issues/20299))
(Pixel998)
-
[`077ff02`](https://redirect.github.com/eslint/eslint/commit/077ff028b6ce036da091d2f7ed8c606c9d017468)
docs: add migrate-to-10.0.0 doc
([#20143](https://redirect.github.com/eslint/eslint/issues/20143))
(唯然)
-
[`3822e1b`](https://redirect.github.com/eslint/eslint/commit/3822e1b768bb4a64b72b73b5657737a6ee5c8afe)
docs: Update README (GitHub Actions Bot)
#### Build Related
-
[`9f08712`](https://redirect.github.com/eslint/eslint/commit/9f0871236e90ec78bcdbfa352cc1363b4bae5596)
Build: changelog update for 10.0.0-rc.2 (Jenkins)
-
[`1e2c449`](https://redirect.github.com/eslint/eslint/commit/1e2c449701524b426022fde19144b1d22d8197b0)
Build: changelog update for 10.0.0-rc.1 (Jenkins)
-
[`c4c72a8`](https://redirect.github.com/eslint/eslint/commit/c4c72a8d996dda629e85e78a6ef5417242594b5d)
Build: changelog update for 10.0.0-rc.0 (Jenkins)
-
[`7e4daf9`](https://redirect.github.com/eslint/eslint/commit/7e4daf93d255ed343d68e999aad167bb20e5a96b)
Build: changelog update for 10.0.0-beta.0 (Jenkins)
-
[`a126a2a`](https://redirect.github.com/eslint/eslint/commit/a126a2ab136406017f2dac2d7632114e37e62dc2)
build: add .scss files entry to knip
([#20389](https://redirect.github.com/eslint/eslint/issues/20389))
(Francesco Trotta)
-
[`f5c0193`](https://redirect.github.com/eslint/eslint/commit/f5c01932f69189b260646d60b28011c55870e65d)
Build: changelog update for 10.0.0-alpha.1 (Jenkins)
-
[`165326f`](https://redirect.github.com/eslint/eslint/commit/165326f0469dd6a9b33598a6fceb66336bb2deb5)
Build: changelog update for 10.0.0-alpha.0 (Jenkins)
#### Chores
-
[`1ece282`](https://redirect.github.com/eslint/eslint/commit/1ece282c2286b5dc187ece2a793dbd8798f20bd7)
chore: ignore `/docs/v9.x` in link checker
([#20452](https://redirect.github.com/eslint/eslint/issues/20452))
(Milos Djermanovic)
-
[`034e139`](https://redirect.github.com/eslint/eslint/commit/034e1397446205e83eb341354605380195c88633)
ci: add type integration test for `@html-eslint/eslint-plugin`
([#20345](https://redirect.github.com/eslint/eslint/issues/20345))
(sethamus)
-
[`f3fbc2f`](https://redirect.github.com/eslint/eslint/commit/f3fbc2f60cbe2c718364feb8c3fc0452c0df3c56)
chore: set `@eslint/js` version to 10.0.0 to skip releasing it
([#20466](https://redirect.github.com/eslint/eslint/issues/20466))
(Milos Djermanovic)
-
[`afc0681`](https://redirect.github.com/eslint/eslint/commit/afc06817bbd0625c7b0a46bdc81c38dab0c99441)
chore: remove scopeManager.addGlobals patch for typescript-eslint parser
([#20461](https://redirect.github.com/eslint/eslint/issues/20461))
(fnx)
-
[`3e5a173`](https://redirect.github.com/eslint/eslint/commit/3e5a173053fe0bb3d0f29aff12eb2c19ae21aa36)
refactor: use types from `@eslint/plugin-kit`
([#20435](https://redirect.github.com/eslint/eslint/issues/20435))
(Pixel998)
-
[`11644b1`](https://redirect.github.com/eslint/eslint/commit/11644b1dc2bdf4c4f3a97901932e5f25c9f60775)
ci: rename workflows
([#20463](https://redirect.github.com/eslint/eslint/issues/20463))
(Milos Djermanovic)
-
[`2d14173`](https://redirect.github.com/eslint/eslint/commit/2d14173729ae75fe562430dd5e37c457f44bc7ac)
chore: fix typos in docs and comments
([#20458](https://redirect.github.com/eslint/eslint/issues/20458))
(o-m12a)
-
[`6742f92`](https://redirect.github.com/eslint/eslint/commit/6742f927ba6afb1bce6f64b9b072a1a11dbf53c4)
test: add endLine/endColumn to invalid test case in no-alert
([#20441](https://redirect.github.com/eslint/eslint/issues/20441))
(경하)
-
[`3e22c82`](https://redirect.github.com/eslint/eslint/commit/3e22c82a87f44f7407ff75b17b26f1ceed3edd14)
test: add missing location data to no-template-curly-in-string tests
([#20440](https://redirect.github.com/eslint/eslint/issues/20440))
(Haeun Kim)
-
[`b4b3127`](https://redirect.github.com/eslint/eslint/commit/b4b3127f8542c599ce2dea804b6582ebc40c993d)
chore: package.json update for
[@eslint/js](https://redirect.github.com/eslint/js) release
(Jenkins)
-
[`f658419`](https://redirect.github.com/eslint/eslint/commit/f6584191cb5cabd62f6a197339a91e1f9b3f8432)
refactor: remove `raw` parser option from JS language
([#20416](https://redirect.github.com/eslint/eslint/issues/20416))
(Pixel998)
-
[`2c3efb7`](https://redirect.github.com/eslint/eslint/commit/2c3efb728b294b74a240ec24c7be8137a31cf5f0)
chore: remove `category` from type test fixtures
([#20417](https://redirect.github.com/eslint/eslint/issues/20417))
(Pixel998)
-
[`36193fd`](https://redirect.github.com/eslint/eslint/commit/36193fd9ad27764d8e4a24ce7c7bbeeaf5d4a6ba)
chore: remove `category` from formatter test fixtures
([#20418](https://redirect.github.com/eslint/eslint/issues/20418))
(Pixel998)
-
[`e8d203b`](https://redirect.github.com/eslint/eslint/commit/e8d203b0d9f66e55841863f90d215fd83b7eee0f)
chore: add JSX language tag validation to `check-rule-examples`
([#20414](https://redirect.github.com/eslint/eslint/issues/20414))
(Pixel998)
-
[`bc465a1`](https://redirect.github.com/eslint/eslint/commit/bc465a1e9d955b6e53a45d1b5da7c632dae77262)
chore: pin dependencies
([#20397](https://redirect.github.com/eslint/eslint/issues/20397))
(renovate\[bot])
-
[`703f0f5`](https://redirect.github.com/eslint/eslint/commit/703f0f551daea28767e5a68a00e335928919a7ff)
test: replace deprecated rules in `linter` tests
([#20406](https://redirect.github.com/eslint/eslint/issues/20406))
(루밀LuMir)
-
[`ba71baa`](https://redirect.github.com/eslint/eslint/commit/ba71baa87265888b582f314163df1d727441e2f1)
test: enable `strict` mode in type tests
([#20398](https://redirect.github.com/eslint/eslint/issues/20398))
(루밀LuMir)
-
[`f9c4968`](https://redirect.github.com/eslint/eslint/commit/f9c49683a6d69ff0b5425803955fc226f7e05d76)
refactor: remove `lib/linter/rules.js`
([#20399](https://redirect.github.com/eslint/eslint/issues/20399))
(Francesco Trotta)
-
[`6f1c48e`](https://redirect.github.com/eslint/eslint/commit/6f1c48e5e7f8195f7796ea04e756841391ada927)
chore: updates for v9.39.2 release (Jenkins)
-
[`54bf0a3`](https://redirect.github.com/eslint/eslint/commit/54bf0a3646265060f5f22faef71ec840d630c701)
ci: create package manager test
([#20392](https://redirect.github.com/eslint/eslint/issues/20392))
(루밀LuMir)
-
[`3115021`](https://redirect.github.com/eslint/eslint/commit/3115021439490d1ed12da5804902ebbf8a5e574b)
refactor: simplify JSDoc comment detection logic
([#20360](https://redirect.github.com/eslint/eslint/issues/20360))
(Pixel998)
-
[`4345b17`](https://redirect.github.com/eslint/eslint/commit/4345b172a81e1394579ec09df51ba460b956c3b5)
chore: update `@eslint-community/regexpp` to `4.12.2`
([#20366](https://redirect.github.com/eslint/eslint/issues/20366))
(루밀LuMir)
-
[`772c9ee`](https://redirect.github.com/eslint/eslint/commit/772c9ee9b65b6ad0be3e46462a7f93c37578cfa8)
chore: update dependency
[@eslint/eslintrc](https://redirect.github.com/eslint/eslintrc)
to ^3.3.3
([#20359](https://redirect.github.com/eslint/eslint/issues/20359))
(renovate\[bot])
-
[`0b14059`](https://redirect.github.com/eslint/eslint/commit/0b14059491d830a49b3577931f4f68fbcfce6be5)
chore: package.json update for
[@eslint/js](https://redirect.github.com/eslint/js) release
(Jenkins)
-
[`d6e7bf3`](https://redirect.github.com/eslint/eslint/commit/d6e7bf3064be01d159d6856e3718672c6a97a8e1)
ci: bump actions/checkout from 5 to 6
([#20350](https://redirect.github.com/eslint/eslint/issues/20350))
(dependabot\[bot])
-
[`139d456`](https://redirect.github.com/eslint/eslint/commit/139d4567d4afe3f1e1cdae21769d5e868f90ef0d)
chore: require mandatory headers in rule docs
([#20347](https://redirect.github.com/eslint/eslint/issues/20347))
(Milos Djermanovic)
-
[`3b0289c`](https://redirect.github.com/eslint/eslint/commit/3b0289c7b605b2d94fe2d0c347d07eea4b6ba1d4)
chore: remove unused `.eslintignore` and test fixtures
([#20316](https://redirect.github.com/eslint/eslint/issues/20316))
(Pixel998)
-
[`a463e7b`](https://redirect.github.com/eslint/eslint/commit/a463e7bea0d18af55e5557e33691e4b0685d9523)
chore: update dependency js-yaml to v4 \[security]
([#20319](https://redirect.github.com/eslint/eslint/issues/20319))
(renovate\[bot])
-
[`ebfe905`](https://redirect.github.com/eslint/eslint/commit/ebfe90533d07a7020a5c63b93763fe537120f61f)
chore: remove redundant rules from eslint-config-eslint
([#20327](https://redirect.github.com/eslint/eslint/issues/20327))
(Milos Djermanovic)
-
[`88dfdb2`](https://redirect.github.com/eslint/eslint/commit/88dfdb23ee541de4e9c3aa5d8a152c5980f6cc3f)
test: add regression tests for message placeholder interpolation
([#20318](https://redirect.github.com/eslint/eslint/issues/20318))
(fnx)
-
[`6ed0f75`](https://redirect.github.com/eslint/eslint/commit/6ed0f758ff460b7a182c8d16b0487ae707e43cc9)
chore: skip type checking in `eslint-config-eslint`
([#20323](https://redirect.github.com/eslint/eslint/issues/20323))
(Francesco Trotta)
-
[`1e2cad5`](https://redirect.github.com/eslint/eslint/commit/1e2cad5f6fa47ed6ed89d2a29798dda926d50990)
chore: package.json update for
[@eslint/js](https://redirect.github.com/eslint/js) release
(Jenkins)
-
[`9da2679`](https://redirect.github.com/eslint/eslint/commit/9da26798483270a2c3c490c41cbd8f0c28edf75a)
chore: update `@eslint/*` dependencies
([#20321](https://redirect.github.com/eslint/eslint/issues/20321))
(Milos Djermanovic)
-
[`0439794`](https://redirect.github.com/eslint/eslint/commit/043979418161e1c17becef31b1dd5c6e1b031e98)
refactor: use types from
[@eslint/core](https://redirect.github.com/eslint/core)
([#20235](https://redirect.github.com/eslint/eslint/issues/20235))
(jaymarvelz)
-
[`cb51ec2`](https://redirect.github.com/eslint/eslint/commit/cb51ec2d6d3b729bf02a5e6b58b236578c6cce42)
test: cleanup `SourceCode#traverse` tests
([#20289](https://redirect.github.com/eslint/eslint/issues/20289))
(Milos Djermanovic)
-
[`897a347`](https://redirect.github.com/eslint/eslint/commit/897a3471d6da073c1a179fa84f7a3fe72973ec45)
chore: remove restriction for `type` in rule tests
([#20305](https://redirect.github.com/eslint/eslint/issues/20305))
(Pixel998)
-
[`d972098`](https://redirect.github.com/eslint/eslint/commit/d9720988579734da7323fbacca4c67058651d6ff)
chore: ignore prettier updates in renovate to keep in sync with trunk
([#20304](https://redirect.github.com/eslint/eslint/issues/20304))
(Pixel998)
-
[`a086359`](https://redirect.github.com/eslint/eslint/commit/a0863593872fe01b5dd0e04c682450c26ae40ac8)
chore: remove redundant `fast-glob` dev-dependency
([#20301](https://redirect.github.com/eslint/eslint/issues/20301))
(루밀LuMir)
-
[`564b302`](https://redirect.github.com/eslint/eslint/commit/564b30215c3c1aba47bc29f948f11db5c824cacd)
chore: install `prettier` as a dev dependency
([#20302](https://redirect.github.com/eslint/eslint/issues/20302))
(michael faith)
-
[`8257b57`](https://redirect.github.com/eslint/eslint/commit/8257b5729d6a26f88b079aa389df4ecea4451a80)
refactor: correct regex for `eslint-plugin/report-message-format`
([#20300](https://redirect.github.com/eslint/eslint/issues/20300))
(루밀LuMir)
-
[`e251671`](https://redirect.github.com/eslint/eslint/commit/e2516713bc9ae62117da3f490d9cb6a9676f44fe)
refactor: extract assertions in RuleTester
([#20135](https://redirect.github.com/eslint/eslint/issues/20135))
(唯然)
-
[`2e7f25e`](https://redirect.github.com/eslint/eslint/commit/2e7f25e18908e66d9bd1a4dc016709e39e19a24d)
chore: add `legacy-peer-deps` to `.npmrc`
([#20281](https://redirect.github.com/eslint/eslint/issues/20281))
(Milos Djermanovic)
-
[`39c638a`](https://redirect.github.com/eslint/eslint/commit/39c638a9aeb7ddc353684d536bbf69d1d39380bd)
chore: update eslint-config-eslint dependencies for v10 prereleases
([#20278](https://redirect.github.com/eslint/eslint/issues/20278))
(Milos Djermanovic)
-
[`8533b3f`](https://redirect.github.com/eslint/eslint/commit/8533b3fa281e6ecc481083ee83e9c34cae22f31c)
chore: update dependency
[@eslint/json](https://redirect.github.com/eslint/json) to
^0.14.0
([#20288](https://redirect.github.com/eslint/eslint/issues/20288))
(renovate\[bot])
-
[`796ddf6`](https://redirect.github.com/eslint/eslint/commit/796ddf6db5c8fe3e098aa3198128f8ce3c58f8e0)
chore: update dependency
[@eslint/js](https://redirect.github.com/eslint/js) to ^9.39.1
([#20285](https://redirect.github.com/eslint/eslint/issues/20285))
(renovate\[bot])
eslint/eslint (eslint)
###
[`v10.0.0`](https://redirect.github.com/eslint/eslint/compare/v9.39.2...4e6c4ac042e321da8fc29ce53ed03c86dcaa44a7)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.39.2...4e6c4ac042e321da8fc29ce53ed03c86dcaa44a7)
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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 these
updates again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/dubzzz/fast-check).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: dubzzz <5300235+dubzzz@users.noreply.github.com>
Co-authored-by: github-actions[bot]
Co-authored-by: Nicolas DUBIEN
---
package.json | 4 +-
.../fast-check/test/e2e/Poisoning.spec.ts | 14 +-
.../test/e2e/documentation/Docs.md.spec.ts | 2 +-
.../__test-helpers__/ArbitraryAssertions.ts | 7 +-
.../ToStringIsSameFunction.ts | 2 +-
.../_internals/helpers/TextEscaper.spec.ts | 2 +-
packages/packaged/test/packaged.spec.ts | 2 +-
.../worker/test/e2e/concurrentAssert.spec.ts | 1 -
.../test/e2e/predicateIsolation.spec.ts | 8 +-
pnpm-lock.yaml | 211 ++++++++----------
tsconfig.common.json | 1 +
11 files changed, 125 insertions(+), 129 deletions(-)
diff --git a/package.json b/package.json
index f1a97a02..3f2671dd 100644
--- a/package.json
+++ b/package.json
@@ -30,13 +30,13 @@
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
- "@eslint/js": "^9.39.2",
+ "@eslint/js": "^10.0.1",
"@fast-check/packaged": "*",
"@typescript-eslint/utils": "^8.54.0",
"@vitest/coverage-v8": "^4.0.18",
"all-contributors-cli": "^6.26.1",
"cross-env": "^10.1.0",
- "eslint": "^9.39.2",
+ "eslint": "^10.0.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.3.0",
"pkg-pr-new": "^0.0.63",
diff --git a/packages/fast-check/test/e2e/Poisoning.spec.ts b/packages/fast-check/test/e2e/Poisoning.spec.ts
index 16317450..20c764a4 100644
--- a/packages/fast-check/test/e2e/Poisoning.spec.ts
+++ b/packages/fast-check/test/e2e/Poisoning.spec.ts
@@ -218,26 +218,31 @@ function dropMainGlobals(): () => void {
TypeError,
URIError,
Atomics,
- WebAssembly,
URL,
CompressionStream,
DecompressionStream,
TextDecoder,
globalThis,
// The following globals are unknown for TypeScript
- // @ts-expect-error Unknown for TypeScript given our current compilation options
AggregateError,
// @ts-expect-error Unknown for TypeScript given our current compilation options
+ WebAssembly,
+ // @ts-expect-error Unknown for TypeScript given our current compilation options
FinalizationRegistry,
// @ts-expect-error Unknown for TypeScript given our current compilation options
WeakRef,
+ // @ts-expect-error Unknown for TypeScript given our current compilation options
+ typeof Performance !== 'undefined' ? Performance : undefined,
+ // @ts-expect-error Unknown for TypeScript given our current compilation options
+ typeof ErrorEvent !== 'undefined' ? ErrorEvent : undefined,
+ // @ts-expect-error - 'Iterator' only refers to a type, but is being used as a value here. ts(2693)
+ typeof Iterator !== 'undefined' ? Iterator : undefined,
// The following globals used to be unknown on MacOS,
// as such we check they exist before referencing them
typeof File !== 'undefined' ? File : undefined,
typeof BroadcastChannel !== 'undefined' ? BroadcastChannel : undefined,
typeof DOMException !== 'undefined' ? DOMException : undefined,
typeof Blob !== 'undefined' ? Blob : undefined,
- typeof Performance !== 'undefined' ? Performance : undefined,
typeof ReadableStream !== 'undefined' ? ReadableStream : undefined,
typeof ReadableStreamDefaultReader !== 'undefined' ? ReadableStreamDefaultReader : undefined,
typeof ReadableStreamBYOBReader !== 'undefined' ? ReadableStreamBYOBReader : undefined,
@@ -268,8 +273,6 @@ function dropMainGlobals(): () => void {
typeof SubtleCrypto !== 'undefined' ? SubtleCrypto : undefined,
typeof CustomEvent !== 'undefined' ? CustomEvent : undefined,
typeof WebSocket !== 'undefined' ? WebSocket : undefined,
- // @ts-expect-error - 'Iterator' only refers to a type, but is being used as a value here. ts(2693)
- typeof Iterator !== 'undefined' ? Iterator : undefined,
typeof Navigator !== 'undefined' ? Navigator : undefined,
typeof CloseEvent !== 'undefined' ? CloseEvent : undefined,
typeof URLPattern !== 'undefined' ? URLPattern : undefined,
@@ -277,7 +280,6 @@ function dropMainGlobals(): () => void {
typeof DisposableStack !== 'undefined' ? DisposableStack : undefined,
typeof AsyncDisposableStack !== 'undefined' ? AsyncDisposableStack : undefined,
typeof Float16Array !== 'undefined' ? Float16Array : undefined,
- typeof ErrorEvent !== 'undefined' ? ErrorEvent : undefined,
typeof Storage !== 'undefined' ? Storage : undefined,
].filter((mainGlobal) => mainGlobal !== undefined);
const skippedGlobals = new Set(['Array']);
diff --git a/packages/fast-check/test/e2e/documentation/Docs.md.spec.ts b/packages/fast-check/test/e2e/documentation/Docs.md.spec.ts
index 9f1eaead..e287a6ab 100644
--- a/packages/fast-check/test/e2e/documentation/Docs.md.spec.ts
+++ b/packages/fast-check/test/e2e/documentation/Docs.md.spec.ts
@@ -187,7 +187,7 @@ function refreshContent(originalContent: string): { content: string; numExecuted
eval(evalCode);
return lines;
} catch (err) {
- throw new Error(`Failed to run code snippet:\n\n${evalCode}\n\nWith error message: ${err}`);
+ throw new Error(`Failed to run code snippet:\n\n${evalCode}\n\nWith error message: ${err}`, { cause: err });
} finally {
console.log = originalConsoleLog;
fc.configureGlobal(originalGlobal);
diff --git a/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts b/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts
index 1ae86b39..66a1d1d8 100644
--- a/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts
+++ b/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts
@@ -209,6 +209,7 @@ export function assertShrinkProducesStrictlySmallerValue(
} catch (err) {
throw new Error(
`Expect: ${fc.stringify(vNew)} to be strictly smaller than ${fc.stringify(vOld)}\n\nGot error: ${err}`,
+ { cause: err },
);
}
} finally {
@@ -300,7 +301,9 @@ function assertEquality(
expect(v1).toStrictEqual(v2);
}
} catch (err) {
- throw new Error(`Expect: ${fc.stringify(v1)} to be equal to ${fc.stringify(v2)}\n\nGot error: ${err}`);
+ throw new Error(`Expect: ${fc.stringify(v1)} to be equal to ${fc.stringify(v2)}\n\nGot error: ${err}`, {
+ cause: err,
+ });
}
}
@@ -314,6 +317,6 @@ function assertCorrectness(
const out = isCorrect(v, extraParameters, arb);
expect(out).not.toBe(false);
} catch (err) {
- throw new Error(`Expect: ${fc.stringify(v)} to be a correct value\n\nGot error: ${err}`);
+ throw new Error(`Expect: ${fc.stringify(v)} to be a correct value\n\nGot error: ${err}`, { cause: err });
}
}
diff --git a/packages/fast-check/test/unit/arbitrary/__test-helpers__/ToStringIsSameFunction.ts b/packages/fast-check/test/unit/arbitrary/__test-helpers__/ToStringIsSameFunction.ts
index 04d88863..b7285bb5 100644
--- a/packages/fast-check/test/unit/arbitrary/__test-helpers__/ToStringIsSameFunction.ts
+++ b/packages/fast-check/test/unit/arbitrary/__test-helpers__/ToStringIsSameFunction.ts
@@ -21,7 +21,7 @@ export function assertToStringIsSameFunction(
expect(dataFromToStringBefore).toStrictEqual(data);
expect(dataFromToString).toStrictEqual(data);
} catch (err) {
- throw new Error(`Invalid toString representation encountered, got: ${f}\n\nFailed with: ${err}`);
+ throw new Error(`Invalid toString representation encountered, got: ${f}\n\nFailed with: ${err}`, { cause: err });
}
})(hash, stringify);
diff --git a/packages/fast-check/test/unit/arbitrary/_internals/helpers/TextEscaper.spec.ts b/packages/fast-check/test/unit/arbitrary/_internals/helpers/TextEscaper.spec.ts
index 1e81d65e..b91b6403 100644
--- a/packages/fast-check/test/unit/arbitrary/_internals/helpers/TextEscaper.spec.ts
+++ b/packages/fast-check/test/unit/arbitrary/_internals/helpers/TextEscaper.spec.ts
@@ -30,7 +30,7 @@ describe('escapeForTemplateString', () => {
try {
expect(eval('`' + escapedCharacter + '`')).toBe(character);
} catch (err) {
- throw new Error(`Failed for i = ${i}, got error: ${err}`);
+ throw new Error(`Failed for i = ${i}, got error: ${err}`, { cause: err });
}
}
});
diff --git a/packages/packaged/test/packaged.spec.ts b/packages/packaged/test/packaged.spec.ts
index 316a4056..25bd0db6 100644
--- a/packages/packaged/test/packaged.spec.ts
+++ b/packages/packaged/test/packaged.spec.ts
@@ -37,7 +37,7 @@ describe('removeNonPublishedFiles', () => {
await fileSystem.createFile(['node_modules', 'dep-a', 'main.js'], 'console.log("main.js")');
// Act
- let requestedPath = '';
+ let requestedPath;
const lastFolderName = path.basename(fileSystem.packagePath);
const beforeLastFolderName = path.basename(path.dirname(fileSystem.packagePath));
switch (pathStyle) {
diff --git a/packages/worker/test/e2e/concurrentAssert.spec.ts b/packages/worker/test/e2e/concurrentAssert.spec.ts
index 3b96f15d..535599dc 100644
--- a/packages/worker/test/e2e/concurrentAssert.spec.ts
+++ b/packages/worker/test/e2e/concurrentAssert.spec.ts
@@ -31,7 +31,6 @@ if (isMainThread) {
} catch (err) {
throw new Error(
'Failed to run concurrentAssert, with log file:\n\n' + readFileSync(concurrentLogFile).toString(),
- // @ts-expect-error - Not yet supported by our TS target
{ cause: err },
);
} finally {
diff --git a/packages/worker/test/e2e/predicateIsolation.spec.ts b/packages/worker/test/e2e/predicateIsolation.spec.ts
index 4083c41e..01e17006 100644
--- a/packages/worker/test/e2e/predicateIsolation.spec.ts
+++ b/packages/worker/test/e2e/predicateIsolation.spec.ts
@@ -74,7 +74,9 @@ if (isMainThread) {
try {
expect(summaryLine).toContain('\x1b[32m\u221A\x1b[0m'); // success tick
} catch (subErr) {
- throw new Error(`Invalid summary, received:\n${summaryLines.join('\n')}\n\n${subErr}`);
+ throw new Error(`Invalid summary, received:\n${summaryLines.join('\n')}\n\n${subErr}`, {
+ cause: subErr,
+ });
}
previousLevel = currentLevel;
}
@@ -112,7 +114,9 @@ if (isMainThread) {
expect(summaryLine).toContain('\x1b[31m\xD7\x1b[0m'); // error tick, we are still running on the same worker
}
} catch (subErr) {
- throw new Error(`Invalid summary, received:\n${summaryLines.join('\n')}\n\n${subErr}`);
+ throw new Error(`Invalid summary, received:\n${summaryLines.join('\n')}\n\n${subErr}`, {
+ cause: subErr,
+ });
}
previousLevel = currentLevel;
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9e884cd4..b09df658 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -12,14 +12,14 @@ importers:
specifier: ^2.29.8
version: 2.29.8(@types/node@24.10.11)
'@eslint/js':
- specifier: ^9.39.2
- version: 9.39.2
+ specifier: ^10.0.1
+ version: 10.0.1(eslint@10.0.0(jiti@1.21.7))
'@fast-check/packaged':
specifier: '*'
version: link:packages/packaged
'@typescript-eslint/utils':
specifier: ^8.54.0
- version: 8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)
+ version: 8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)
'@vitest/coverage-v8':
specifier: ^4.0.18
version: 4.0.18(vitest@4.0.18(@opentelemetry/api@1.9.0)(@types/node@24.10.11)(happy-dom@20.5.0)(jiti@1.21.7)(lightningcss@1.30.1)(terser@5.43.1)(yaml@2.8.1))
@@ -30,11 +30,11 @@ importers:
specifier: ^10.1.0
version: 10.1.0
eslint:
- specifier: ^9.39.2
- version: 9.39.2(jiti@1.21.7)
+ specifier: ^10.0.0
+ version: 10.0.0(jiti@1.21.7)
eslint-config-prettier:
specifier: ^10.1.8
- version: 10.1.8(eslint@9.39.2(jiti@1.21.7))
+ version: 10.1.8(eslint@10.0.0(jiti@1.21.7))
globals:
specifier: ^17.3.0
version: 17.3.0
@@ -58,7 +58,7 @@ importers:
version: 5.9.3
typescript-eslint:
specifier: ^8.54.0
- version: 8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)
+ version: 8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)
vitest:
specifier: ^4.0.18
version: 4.0.18(@opentelemetry/api@1.9.0)(@types/node@24.10.11)(happy-dom@20.5.0)(jiti@1.21.7)(lightningcss@1.30.1)(terser@5.43.1)(yaml@2.8.1)
@@ -2015,33 +2015,34 @@ packages:
resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
- '@eslint/config-array@0.21.1':
- resolution: {integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@eslint/config-array@0.23.0':
+ resolution: {integrity: sha512-T5Swqd+PZxBekRuMsIFCySM3NUE8GjuqyksIIsXgkF2GCuiDaqpxKyPkv9VMEKpq5D7r5DLss1tM8tCsvRSjeg==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
- '@eslint/config-helpers@0.4.2':
- resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@eslint/config-helpers@0.5.2':
+ resolution: {integrity: sha512-a5MxrdDXEvqnIq+LisyCX6tQMPF/dSJpCfBgBauY+pNZ28yCtSsTvyTYrMhaI+LK26bVyCJfJkT0u8KIj2i1dQ==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
- '@eslint/core@0.17.0':
- resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@eslint/core@1.1.0':
+ resolution: {integrity: sha512-/nr9K9wkr3P1EzFTdFdMoLuo1PmIxjmwvPozwoSodjNBdefGujXQUF93u1DDZpEaTuDvMsIQddsd35BwtrW9Xw==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
- '@eslint/eslintrc@3.3.3':
- resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@eslint/js@10.0.1':
+ resolution: {integrity: sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
+ peerDependencies:
+ eslint: ^10.0.0
+ peerDependenciesMeta:
+ eslint:
+ optional: true
- '@eslint/js@9.39.2':
- resolution: {integrity: sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@eslint/object-schema@3.0.0':
+ resolution: {integrity: sha512-nWl20RtHQP2A2yvKU6Fee62Xo1AoNRqBLixtyg45zJhU8ljPFCyBK90d8e8XTnPns1RggSf4HH3bM8AhevkPVg==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
- '@eslint/object-schema@2.1.7':
- resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
- '@eslint/plugin-kit@0.4.1':
- resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@eslint/plugin-kit@0.6.0':
+ resolution: {integrity: sha512-bIZEUzOI1jkhviX2cp5vNyXQc6olzb2ohewQubuYlMXZ2Q/XjBO0x0XhGPvc9fjSIiUN0vw+0hq53BJ4eQSJKQ==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
'@gerrit0/mini-shiki@3.20.0':
resolution: {integrity: sha512-Wa57i+bMpK6PGJZ1f2myxo3iO+K/kZikcyvH8NIqNNZhQUbDav7V9LQmWOXhf946mz5c1NZ19WMsGYiDKTryzQ==}
@@ -3501,6 +3502,9 @@ packages:
'@types/eslint@9.6.1':
resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}
+ '@types/esrecurse@4.3.1':
+ resolution: {integrity: sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==}
+
'@types/estree-jsx@1.0.5':
resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==}
@@ -5457,9 +5461,9 @@ packages:
resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
engines: {node: '>=8.0.0'}
- eslint-scope@8.4.0:
- resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ eslint-scope@9.1.0:
+ resolution: {integrity: sha512-CkWE42hOJsNj9FJRaoMX9waUFYhqY4jmyLFdAdzZr6VaCg3ynLYx4WnOdkaIifGfH4gsUcBTn4OZbHXkpLD0FQ==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
eslint-visitor-keys@3.4.3:
resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}
@@ -5469,9 +5473,13 @@ packages:
resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- eslint@9.39.2:
- resolution: {integrity: sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ eslint-visitor-keys@5.0.0:
+ resolution: {integrity: sha512-A0XeIi7CXU7nPlfHS9loMYEKxUaONu/hTEzHTGba9Huu94Cq1hPivf+DE5erJozZOky0LfvXAyrV/tcswpLI0Q==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
+
+ eslint@10.0.0:
+ resolution: {integrity: sha512-O0piBKY36YSJhlFSG8p9VUdPV/SxxS4FYDWVpr/9GJuMaepzwlf4J8I4ov1b+ySQfDTPhc3DtLaxcT1fN0yqCg==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
hasBin: true
peerDependencies:
jiti: '*'
@@ -5487,9 +5495,9 @@ packages:
resolution: {integrity: sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==}
engines: {node: '>=0.10'}
- espree@10.4.0:
- resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ espree@11.1.0:
+ resolution: {integrity: sha512-WFWYhO1fV4iYkqOOvq8FbqIhr2pYfoDY0kCotMkDeNtGpiGGkZ1iov2u8ydjtgM8yF8rzK7oaTbw2NAzbAbehw==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
esprima@4.0.1:
resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}
@@ -5910,10 +5918,6 @@ packages:
resolution: {integrity: sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==}
engines: {node: '>=10'}
- globals@14.0.0:
- resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
- engines: {node: '>=18'}
-
globals@17.3.0:
resolution: {integrity: sha512-yMqGUQVVCkD4tqjOJf3TnrvaaHDMYp4VlUSObbkIiuCPe/ofdMBFIAcBbCSRFWOnos6qRiTVStDwqPLUclaxIw==}
engines: {node: '>=18'}
@@ -6960,9 +6964,6 @@ packages:
lodash.memoize@4.1.2:
resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==}
- lodash.merge@4.6.2:
- resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
-
lodash.sortby@4.7.0:
resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==}
@@ -12694,50 +12695,38 @@ snapshots:
'@esbuild/win32-x64@0.27.2':
optional: true
- '@eslint-community/eslint-utils@4.9.1(eslint@9.39.2(jiti@1.21.7))':
+ '@eslint-community/eslint-utils@4.9.1(eslint@10.0.0(jiti@1.21.7))':
dependencies:
- eslint: 9.39.2(jiti@1.21.7)
+ eslint: 10.0.0(jiti@1.21.7)
eslint-visitor-keys: 3.4.3
'@eslint-community/regexpp@4.12.2': {}
- '@eslint/config-array@0.21.1':
+ '@eslint/config-array@0.23.0':
dependencies:
- '@eslint/object-schema': 2.1.7
+ '@eslint/object-schema': 3.0.0
debug: 4.4.3
- minimatch: 3.1.2
+ minimatch: 10.1.2
transitivePeerDependencies:
- supports-color
- '@eslint/config-helpers@0.4.2':
+ '@eslint/config-helpers@0.5.2':
dependencies:
- '@eslint/core': 0.17.0
+ '@eslint/core': 1.1.0
- '@eslint/core@0.17.0':
+ '@eslint/core@1.1.0':
dependencies:
'@types/json-schema': 7.0.15
- '@eslint/eslintrc@3.3.3':
- dependencies:
- ajv: 6.12.6
- debug: 4.4.3
- espree: 10.4.0
- globals: 14.0.0
- ignore: 5.3.2
- import-fresh: 3.3.1
- js-yaml: 4.1.1
- minimatch: 3.1.2
- strip-json-comments: 3.1.1
- transitivePeerDependencies:
- - supports-color
-
- '@eslint/js@9.39.2': {}
+ '@eslint/js@10.0.1(eslint@10.0.0(jiti@1.21.7))':
+ optionalDependencies:
+ eslint: 10.0.0(jiti@1.21.7)
- '@eslint/object-schema@2.1.7': {}
+ '@eslint/object-schema@3.0.0': {}
- '@eslint/plugin-kit@0.4.1':
+ '@eslint/plugin-kit@0.6.0':
dependencies:
- '@eslint/core': 0.17.0
+ '@eslint/core': 1.1.0
levn: 0.4.1
'@gerrit0/mini-shiki@3.20.0':
@@ -14472,6 +14461,8 @@ snapshots:
'@types/estree': 1.0.8
'@types/json-schema': 7.0.15
+ '@types/esrecurse@4.3.1': {}
+
'@types/estree-jsx@1.0.5':
dependencies:
'@types/estree': 1.0.8
@@ -14714,15 +14705,15 @@ snapshots:
dependencies:
'@types/yargs-parser': 21.0.3
- '@typescript-eslint/eslint-plugin@8.54.0(@typescript-eslint/parser@8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)':
+ '@typescript-eslint/eslint-plugin@8.54.0(@typescript-eslint/parser@8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3))(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)':
dependencies:
'@eslint-community/regexpp': 4.12.2
- '@typescript-eslint/parser': 8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)
+ '@typescript-eslint/parser': 8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)
'@typescript-eslint/scope-manager': 8.54.0
- '@typescript-eslint/type-utils': 8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)
- '@typescript-eslint/utils': 8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)
+ '@typescript-eslint/type-utils': 8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)
+ '@typescript-eslint/utils': 8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)
'@typescript-eslint/visitor-keys': 8.54.0
- eslint: 9.39.2(jiti@1.21.7)
+ eslint: 10.0.0(jiti@1.21.7)
ignore: 7.0.5
natural-compare: 1.4.0
ts-api-utils: 2.4.0(typescript@5.9.3)
@@ -14730,14 +14721,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/parser@8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)':
+ '@typescript-eslint/parser@8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)':
dependencies:
'@typescript-eslint/scope-manager': 8.54.0
'@typescript-eslint/types': 8.54.0
'@typescript-eslint/typescript-estree': 8.54.0(typescript@5.9.3)
'@typescript-eslint/visitor-keys': 8.54.0
debug: 4.4.3
- eslint: 9.39.2(jiti@1.21.7)
+ eslint: 10.0.0(jiti@1.21.7)
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -14760,13 +14751,13 @@ snapshots:
dependencies:
typescript: 5.9.3
- '@typescript-eslint/type-utils@8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)':
+ '@typescript-eslint/type-utils@8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)':
dependencies:
'@typescript-eslint/types': 8.54.0
'@typescript-eslint/typescript-estree': 8.54.0(typescript@5.9.3)
- '@typescript-eslint/utils': 8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)
+ '@typescript-eslint/utils': 8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)
debug: 4.4.3
- eslint: 9.39.2(jiti@1.21.7)
+ eslint: 10.0.0(jiti@1.21.7)
ts-api-utils: 2.4.0(typescript@5.9.3)
typescript: 5.9.3
transitivePeerDependencies:
@@ -14789,13 +14780,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/utils@8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)':
+ '@typescript-eslint/utils@8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)':
dependencies:
- '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2(jiti@1.21.7))
+ '@eslint-community/eslint-utils': 4.9.1(eslint@10.0.0(jiti@1.21.7))
'@typescript-eslint/scope-manager': 8.54.0
'@typescript-eslint/types': 8.54.0
'@typescript-eslint/typescript-estree': 8.54.0(typescript@5.9.3)
- eslint: 9.39.2(jiti@1.21.7)
+ eslint: 10.0.0(jiti@1.21.7)
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -16682,17 +16673,19 @@ snapshots:
escape-string-regexp@5.0.0: {}
- eslint-config-prettier@10.1.8(eslint@9.39.2(jiti@1.21.7)):
+ eslint-config-prettier@10.1.8(eslint@10.0.0(jiti@1.21.7)):
dependencies:
- eslint: 9.39.2(jiti@1.21.7)
+ eslint: 10.0.0(jiti@1.21.7)
eslint-scope@5.1.1:
dependencies:
esrecurse: 4.3.0
estraverse: 4.3.0
- eslint-scope@8.4.0:
+ eslint-scope@9.1.0:
dependencies:
+ '@types/esrecurse': 4.3.1
+ '@types/estree': 1.0.8
esrecurse: 4.3.0
estraverse: 5.3.0
@@ -16700,28 +16693,27 @@ snapshots:
eslint-visitor-keys@4.2.1: {}
- eslint@9.39.2(jiti@1.21.7):
+ eslint-visitor-keys@5.0.0: {}
+
+ eslint@10.0.0(jiti@1.21.7):
dependencies:
- '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2(jiti@1.21.7))
+ '@eslint-community/eslint-utils': 4.9.1(eslint@10.0.0(jiti@1.21.7))
'@eslint-community/regexpp': 4.12.2
- '@eslint/config-array': 0.21.1
- '@eslint/config-helpers': 0.4.2
- '@eslint/core': 0.17.0
- '@eslint/eslintrc': 3.3.3
- '@eslint/js': 9.39.2
- '@eslint/plugin-kit': 0.4.1
+ '@eslint/config-array': 0.23.0
+ '@eslint/config-helpers': 0.5.2
+ '@eslint/core': 1.1.0
+ '@eslint/plugin-kit': 0.6.0
'@humanfs/node': 0.16.6
'@humanwhocodes/module-importer': 1.0.1
'@humanwhocodes/retry': 0.4.3
'@types/estree': 1.0.8
ajv: 6.12.6
- chalk: 4.1.2
cross-spawn: 7.0.6
debug: 4.4.3
escape-string-regexp: 4.0.0
- eslint-scope: 8.4.0
- eslint-visitor-keys: 4.2.1
- espree: 10.4.0
+ eslint-scope: 9.1.0
+ eslint-visitor-keys: 5.0.0
+ espree: 11.1.0
esquery: 1.7.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
@@ -16732,8 +16724,7 @@ snapshots:
imurmurhash: 0.1.4
is-glob: 4.0.3
json-stable-stringify-without-jsonify: 1.0.1
- lodash.merge: 4.6.2
- minimatch: 3.1.2
+ minimatch: 10.1.2
natural-compare: 1.4.0
optionator: 0.9.4
optionalDependencies:
@@ -16750,11 +16741,11 @@ snapshots:
event-emitter: 0.3.5
type: 2.7.3
- espree@10.4.0:
+ espree@11.1.0:
dependencies:
acorn: 8.15.0
acorn-jsx: 5.3.2(acorn@8.15.0)
- eslint-visitor-keys: 4.2.1
+ eslint-visitor-keys: 5.0.0
esprima@4.0.1: {}
@@ -17258,8 +17249,6 @@ snapshots:
dependencies:
ini: 2.0.0
- globals@14.0.0: {}
-
globals@17.3.0: {}
globalthis@1.0.4:
@@ -18561,8 +18550,6 @@ snapshots:
lodash.memoize@4.1.2: {}
- lodash.merge@4.6.2: {}
-
lodash.sortby@4.7.0: {}
lodash.startcase@4.4.0: {}
@@ -21629,13 +21616,13 @@ snapshots:
typescript: 5.9.3
yaml: 2.8.1
- typescript-eslint@8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3):
+ typescript-eslint@8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3):
dependencies:
- '@typescript-eslint/eslint-plugin': 8.54.0(@typescript-eslint/parser@8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)
- '@typescript-eslint/parser': 8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)
+ '@typescript-eslint/eslint-plugin': 8.54.0(@typescript-eslint/parser@8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3))(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)
+ '@typescript-eslint/parser': 8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)
'@typescript-eslint/typescript-estree': 8.54.0(typescript@5.9.3)
- '@typescript-eslint/utils': 8.54.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)
- eslint: 9.39.2(jiti@1.21.7)
+ '@typescript-eslint/utils': 8.54.0(eslint@10.0.0(jiti@1.21.7))(typescript@5.9.3)
+ eslint: 10.0.0(jiti@1.21.7)
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
diff --git a/tsconfig.common.json b/tsconfig.common.json
index ecc7f9ba..14d44709 100644
--- a/tsconfig.common.json
+++ b/tsconfig.common.json
@@ -6,6 +6,7 @@
"incremental": false,
"sourceMap": true,
"target": "es2020",
+ "lib": ["ES2020", "ES2022.Error"],
"module": "node18",
"importHelpers": false,
"preserveConstEnums": true,
--
2.51.2