useConsistentArrayType and useShorthandArrayType now ignore Array in the extends and implements clauses. Fix #3247. Contributed by @Conaclos
Fixes #3066 by taking into account the dependencies declared in the package.json. Contributed by @ematipico
The code action of the useArrowFunction rule now preserves a trailing comma when there is only a single type parameter in the arrow function and JSX is enabled. Fixes #3292. Contributed by @Sec-ant
Enhancements
Enhance tailwind sorting lint rule #1274 with variant support.
Every preconfigured variant is assigned a weight that concurs on establishing the output sorting order.
Since nesting variants on the same utility class is possible, the resulting weight is the Bitwise XOR of all the variants weight for that class.
Dynamic variants (e.g. has-[.custom-class], group-[:checked]) are also supported and they take the weight of their base variant name the custom value attached (e.g. has-[.custom-class] takes has weight).
Arbitrary variants (e.g. [&nth-child(2)]) don't have a weight assigned and they are placed after every known variant.
Classes with the same amount of arbitrary variants follow lexicographical order. The class that has the highest number of nested arbitrary variants is placed last.
Screen variants (e.g. sm:, max-md:, min-lg:) are not supported yet.
useConsistentArrayType and useShorthandArrayType now ignore Array in the extends and implements clauses. Fix #3247. Contributed by @Conaclos
Fixes #3066 by taking into account the dependencies declared in the package.json. Contributed by @ematipico
The code action of the useArrowFunction rule now preserves a trailing comma when there is only a single type parameter in the arrow function and JSX is enabled. Fixes #3292. Contributed by @Sec-ant
Enhancements
Enhance tailwind sorting lint rule #1274 with variant support.
Every preconfigured variant is assigned a weight that concurs on establishing the output sorting order.
Since nesting variants on the same utility class is possible, the resulting weight is the Bitwise XOR of all the variants weight for that class.
Dynamic variants (e.g. has-[.custom-class], group-[:checked]) are also supported and they take the weight of their base variant name the custom value attached (e.g. has-[.custom-class] takes has weight).
Arbitrary variants (e.g. [&nth-child(2)]) don't have a weight assigned and they are placed after every known variant.
Classes with the same amount of arbitrary variants follow lexicographical order. The class that has the highest number of nested arbitrary variants is placed last.
Screen variants (e.g. sm:, max-md:, min-lg:) are not supported yet.
Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See vitest-dev/vitest#5423 for more details.
Previously, the location field pointed to the error location instead of the test location. Now it is aligned with jest and contains the line and column of a test function, but requires includeTaskLocation to be enabled.
Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See vitest-dev/vitest#5423 for more details.
Previously, the location field pointed to the error location instead of the test location. Now it is aligned with jest and contains the line and column of a test function, but requires includeTaskLocation to be enabled.
Provide Dirent or Stats object as second argument to filter
4.3
Return boolean indicating whether the path was fully removed
Add filter option
bin: add --verbose, -v to print files as they are deleted
bin: add --no-verbose, -V to not print files as they are deleted
bin: add -i --interactive to be prompted on each deletion
bin: add -I --no-interactive to not be prompted on each
deletion
4.3.1 Fixed inappropriately following symbolic links to
directories
v4.2
Brought back glob support, using the new and improved glob v9
v4.1
Improved hybrid module with no need to look at the .default
dangly bit. .default preserved as a reference to rimraf
for compatibility with anyone who came to rely on it in v4.0.
Accept and ignore -rf and -fr arguments to the bin.
v4.0
Remove glob dependency entirely. This library now only
accepts actual file and folder names to delete.
Accept array of paths or single path.
Windows performance and reliability improved.
All strategies separated into explicitly exported methods.
Drop support for Node.js below version 14
rewrite in TypeScript
ship CJS/ESM hybrid module
Error on unknown arguments to the bin. (Previously they were
silently ignored.)
Bumps the development-dependencies group with 8 updates in the / directory:
1.8.0
1.8.3
0.5.8
0.6.4
20.14.2
20.14.10
1.6.0
2.0.2
1.6.0
2.0.2
5.0.7
6.0.1
5.4.5
5.5.3
1.6.0
2.0.2
Updates
@biomejs/biome
from 1.8.0 to 1.8.3Release notes
Sourced from
@biomejs/biome
's releases.... (truncated)
Changelog
Sourced from
@biomejs/biome
's changelog.... (truncated)
Commits
c28d597
release: v1.8.3 (#3302)f88b7b2
chore: update codegen to include GraphQL (#3301)6f9c938
feat(noExportedImports): add lint rule (#3097)cd3bb04
chore(deps): update@biomejs
packages (#3266)54b4c9a
release: v1.8.2 (#3243)6f8cab7
feat(biome_css_analyzer): implement function-linear-gradient-no-nonstandard-d...0d9b60a
feat(lint/useValidAutocomplete): add rule (#3143)9d518d8
chore(deps): update@biomejs
packages (#3145)4a7baaa
feat(biome_js_analyzer):noSubstr
(#3125)535acc7
fix(ci): rule check error messages (#3158)Updates
@effect/vitest
from 0.5.8 to 0.6.4Release notes
Sourced from
@effect/vitest
's releases.Changelog
Sourced from
@effect/vitest
's changelog.... (truncated)
Commits
cf8c52b
Version Packages (#3218)464c5a8
Version Packages (#3205)8927058
Improve babel build post-processing (#3206)3429c8f
Version Packages (#3172)ad51cbe
Version Packages (#3162)a4982f6
Version Packages (#3128)489d20a
refactor vitest (#3122)c187493
Version Packages (#3100)e86211a
Version Packages (#3093)6b3bd87
Version Packages (#3081)Updates
@types/node
from 20.14.2 to 20.14.10Commits
Updates
@vitest/coverage-v8
from 1.6.0 to 2.0.2Release notes
Sourced from
@vitest/coverage-v8
's releases.... (truncated)
Commits
99a12ae
chore: release v2.0.280a43d5
fix(browser): inline pretty-format and replace picocolors with tinyrainbow (#...16eb6c8
chore: release v2.0.11b150a3
chore: release v2.0.05611895
chore: release v2.0.0-beta.13368c137
fix(coverage): remove work-around for implicitelse
(#6014)05d5f38
chore(deps): update all non-major dependencies (#5957)169bc1f
fix(coverage): support overridingexclude
(#5997)cd9cc6b
chore: release v2.0.0-beta.12fca8b92
chore(deps): updatev8-to-istanbul
(#5958)Updates
@vitest/ui
from 1.6.0 to 2.0.2Release notes
Sourced from
@vitest/ui
's releases.... (truncated)
Commits
99a12ae
chore: release v2.0.280a43d5
fix(browser): inline pretty-format and replace picocolors with tinyrainbow (#...7f0cc24
fix(ui): encode html entities in task name (#6070)af7fec5
fix(ui): test files notified only when running (#6069)16eb6c8
chore: release v2.0.1f94ede0
fix(ui): move virtual scroller to dev dependencies (#6053)1b150a3
chore: release v2.0.05611895
chore: release v2.0.0-beta.1305d5f38
chore(deps): update all non-major dependencies (#5957)7ec298e
feat(ui): add action to explorer item to show the test/suite line in the sour...Updates
rimraf
from 5.0.7 to 6.0.1Changelog
Sourced from rimraf's changelog.
... (truncated)
Commits
21560c7
6.0.1d3881ad
load version with package-json-from-dist6de86bf
feat: add --version flag for CLI49e1923
chore: add/.tap
to .gitignore90d1feb
6.0.09b2a2b1
drop dead node versions546c9ec
5.0.9043338a
restore support for dead node versions0d83c12
5.0.888e632b
drop eol node 14Updates
typescript
from 5.4.5 to 5.5.3Release notes
Sourced from typescript's releases.
... (truncated)
Commits
f0e9921
Bump version to 5.5.3 and LKG738bd60
Cherry-pick #58966 to release-5.5 (#59002)ce2e60e
Update LKGf3b21a2
🤖 Pick PR #58931 (Defer creation of barebonesLibSourc...) into release-5.5 (#...7b1620b
🤖 Pick PR #58811 (fix(58801): "Move to file" on globa...) into release-5.5 (#...5367ae1
Bump version to 5.5.2 and LKG02132e5
🤖 Pick PR #58895 (Fix global when typescript.js loade...) into release-5.5 (#...45b1e3c
🤖 Pick PR #58872 (Fix declaration emit crash) into release-5.5 (#58874)17933ee
🤖 Pick PR #58810 (Fixed declaration emit issue relate...) into release-5.5 (#...552b07e
🤖 Pick PR #58786 (Fixed declaration emit crash relate...) into release-5.5 (#...Updates
vitest
from 1.6.0 to 2.0.2Release notes
Sourced from vitest's releases.