Open
Conversation
Snyk has created this PR to upgrade @types/node from 20.16.2 to 22.2.0. See this package in npm: @types/node See this project in Snyk: https://app.snyk.io/org/ramyromel/project/ad6f6f75-d99c-4c4c-a0db-59f98f4a302b?utm_source=github&utm_medium=referral&page=upgrade-pr
…cf7719abcca3b [Snyk] Upgrade @types/node from 20.16.2 to 22.2.0
Snyk has created this PR to upgrade:
- @biomejs/biome from 1.5.3 to 1.8.3.
See this package in npm: https://www.npmjs.com/package/@biomejs/biome
- @total-typescript/ts-reset from 0.5.1 to 0.6.0.
See this package in npm: https://www.npmjs.com/package/@total-typescript/ts-reset
- vitest from 1.6.0 to 2.0.5.
See this package in npm: https://www.npmjs.com/package/vitest
See this project in Snyk:
https://app.snyk.io/org/ramyromel/project/ad6f6f75-d99c-4c4c-a0db-59f98f4a302b?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
@biomejs/biome
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
from 1.5.3 to 1.8.3 | 18 versions ahead of your current version | 3 months ago
on 2024-06-27
@total-typescript/ts-reset
from 0.5.1 to 0.6.0 | 1 version ahead of your current version | 22 days ago
on 2024-08-24
vitest
from 1.6.0 to 2.0.5 | 18 versions ahead of your current version
on 2024-07-31
Release notes
Package name: @biomejs/biome
-
1.8.3 - 2024-06-27
-
-
- Implement CSS unicode range. Contributed by @ denbezrukov
- Fix #3184 CSS formatter converts custom identifiers to lowercase. Contributed by @ denbezrukov
- Fix #3256 constant crashes when editing css files #3256. Contributed by @ denbezrukov
- Add
- Add nursery/noExportedImports. Contributed by @ Conaclos
- Fixes #3066 by taking into account the dependencies declared in the
- The code action of the
-
- feat(workspace): adds GraphQL parsing capabilities via feature by @ ematipico in #3238
- feat(editorconfig): expand unknown globs into known globs by @ dyc3 in #3218
- chore(core): implement
- chore(linter): add a rule source of
- feat: tailwind variant sorting by @ lutaok in #3208
- test(parse/json): add test for bug where overrides erroneously override special parsing options by @ dyc3 in #3260
- docs(analyzer): improve contributing guide for rules with multiple signals by @ minht11 in #3245
- chore(lint): initialise
- chore(deps): update @ biomejs packages by @ renovate in #3266
- docs(useNamingConvention): add examples and improve explanations by @ Conaclos in #3277
- refactor(parse/json): change fields in
- feat(search-output-formatter): initialize search output formatter by @ BackupMiles in #3258
- chore(grit): implement node-like compilers + fixes by @ arendjr in #3253
- feat: enable linting for graphql by @ ematipico in #3295
- refactor(parse/css): change fields in
- refactor: add variables to format strings directly by @ hamirmahal in #3299
- chore: update codegen to include GraphQL by @ ematipico in #3301
- @ BackupMiles made their first contribution in #3258
- @ hamirmahal made their first contribution in #3299
-
1.8.2 - 2024-06-20
- Fix #3201 by correctly injecting the source code of the file when printing the diagnostics. Contributed by @ ematipico
- Fix #3179 where comma separators are not correctly removed after running
- Fix #3232 by correctly using the colors set by the user. Contributed by @ ematipico
-
-
- Fix #3103 by correctly resolving CSS formatter options. Contributed by @ ah-yu
- Fix #3192 don't add an extra whitespace within :has. Contributed by @ denbezrukov
- Fix a regression introduced by the release of
- Add nursery/useValidAutocomplete. Contributed by @ unvalley
-
-
-
-
-
-
-
-
-
-
import { useMemo } from "react";
-
- Fix CSS modules settings mapping. Contributed by @ denbezrukov
- chore(ci): improve rules_check task by @ Sec-ant in #3165
- chore: change
- feat(biome_js_analyzer):
- chore(deps): update rust crate tokio to 1.38.0 by @ renovate in #3146
- chore(grit): implement Grit snippet bindings by @ arendjr in #3162
- chore(deps): update @ biomejs packages by @ renovate in #3145
- feat(analyzer):
- docs(useImportType): add docs about TypeScript settings by @ Conaclos in #3171
- docs(noUndeclaredDependencies,useImportExtensions): add note about LSP configs by @ Conaclos in #3173
- docs(no_undeclared_dependencies): follow up fix of #3173 by @ Sec-ant in #3175
- chore(ci): try enable
- chore(ci): remove
- fix(formatter): escape double quotes when printing formatter IR by @ dyc3 in #3036
- fix: remove unnecessary example by @ lanker in #3185
- chore: move maintainers to past maintainers by @ ematipico in #3189
- chore: removes old files by @ ematipico in #3188
- chore: move Sec-ant to core contributor by @ Sec-ant in #3190
- chore: add minht11 to the maintainers team by @ minht11 in #3191
- chore: add
- chore: rust 1.79.0 by @ ematipico in #3222
- chore(deps): update github-actions by @ renovate in #3225
- chore(deps): update @ biomejs packages by @ renovate in #3224
- chore(grit): improve snippet compiler by @ arendjr in #3223
- refactor(analyzer): use
- feat(biome_css_analyzer): implement function-linear-gradient-no-nonstandard-direction by @ mdm317 in #2911
- chore(deps): update dependency eslint to v9.5.0 by @ renovate in #3227
- fix(deps): update rust crates by @ renovate in #3226
- @ ksnyder9801 made their first contribution in #3140
- @ lanker made their first contribution in #3185
- @ aldahick made their first contribution in #3239
-
1.8.1 - 2024-06-10
-
1.8.0 - 2024-06-04
-
1.7.4-nightly.125f34b - 2024-05-23
-
1.7.3 - 2024-05-06
-
1.7.3-nightly.d74b584 - 2024-05-09
-
1.7.3-nightly.af70ac2 - 2024-05-23
-
1.7.2 - 2024-04-30
-
1.7.1 - 2024-04-22
-
1.7.0 - 2024-04-15
-
1.6.4 - 2024-04-03
-
1.6.4-nightly.abab451 - 2024-04-10
-
1.6.4-nightly.a995ada - 2024-04-06
-
1.6.3 - 2024-03-25
-
1.6.2 - 2024-03-22
-
1.6.1 - 2024-03-12
-
1.6.0 - 2024-03-08
-
1.5.3 - 2024-01-22
from @biomejs/biome GitHub release notesCLI
Bug fixes
Fix #3104 by suppressing node warnings when using
biome migrate. Contributed by @ SuperchupuDevForce colors to be off when using the GitHub reporter to properly create annotations in GitHub actions (#3148). Contributed by @ Sec-ant
Parser
Bug fixes
Formatter
Bug fixes
Linter
New features
nursery/useDeprecatedReasonrule. Contributed by @ vohoanglong0107.Bug fixes
useConsistentArrayTypeanduseShorthandArrayTypenow ignoreArrayin theextendsandimplementsclauses. Fix #3247. Contributed by @ Conaclospackage.json. Contributed by @ ematipicouseArrowFunctionrule 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-antEnhancements
Enhance tailwind sorting lint rule #1274 with variant support.
Every preconfigured variant is assigned a
weightthat concurs on establishing the output sorting order.Since nesting variants on the same utility class is possible, the resulting
weightis 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 theweightof their base variant name the custom value attached (e.g.has-[.custom-class]takeshasweight).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.Contributed by @ lutaok
What's Changed
Other changes
pull_diagnosticsfor graphql by @ ematipico in #3248noUnknownPropertyby @ togami2864 in #3252biome_graphql_analyzeby @ ematipico in #3276JsonParserSettingstoOptionby @ dyc3 in #3272CssParserSettingstoOptionby @ dyc3 in #3273New Contributors
Full Changelog: cli/v1.8.2...cli/v1.8.3
CLI
Bug fixes
biome migrateand thus choke the parser. Contributed by @ Sec-antEnhancement
Reword the reporter message
No fixes neededtoNo fixes applied.The former message is misleading when there're still errors or warnings in the files that should be taken care of manually. For example:
The new message suits better in these cases.
Contributed by @ Sec-ant
Configuration
Bug fixes
Don't conceal previous overrides (#3176).
Previously, each override inherited the unset configuration of the base configuration.
This means that setting a configuration in an override can be concealed by a subsequent override that inherits of the value from the base configuration.
For example, in the next example,
noDebuggerwas disabled for theindex.jsfile.{ "linter": { "rules": { "suspicious": { "noDebugger": "off" } } }, "overrides": [ { "include": ["index.js"], "linter": { "rules": { "suspicious": { "noDebugger": "warn" } } } }, { "include": ["index.js"], "linter": { "rules": { "suspicious": { "noDoubleEquals": "off" } } } } ] }The rule is now correctly enabled for the
index.jsfile.Contributed by @ Conaclos
Formatter
Bug fixes
JavaScript APIs
Bug fixes
v1.8.0Linter
New features
Bug fixes
Add nursery/noShorthandPropertyOverrides. #2958 Contributed by @ neokidev
Fix [#3084] false positive by correctly recognize parenthesized return statement. Contributed by @ unvalley
useImportExtensions now suggests a correct fix for
import '.'andimport './.'. Contributed by @ minht11Fix useDateNow false positive when new Date object has arguments
new Date(0).getTime(). Contributed by @ minht11.The
noUnmatchableAnbSelectorrule is now able to catch unmatchablean+bselectors like0n+0or-0n+0. Contributed by @ Sec-ant.The
useHookAtTopLevelrule now recognizes properties named as hooks likefoo.useFoo(). Contributed by @ ksnyder9801Fix #3092, prevent warning for
Custom properties (--*). Contributed by @ chansukeFix a false positive in the
useLiteralKeysrule. (#3160)This rule now ignores the following kind of computed member name:
Contributed by @ Sec-ant
The noUnknownProperty rule now ignores the
composesproperty often used in css modules. #3000 Contributed by @ chansukeFix false positives of the useExhaustiveDependencies rule.
The component itself is considered stable when it is used recursively inside a hook closure defined inside of it:
function MyRecursiveComponent() {
// MyRecursiveComponent is stable, we don't need to add it to the dependencies list.
const children = useMemo(() => <MyRecursiveComponent />, []);
return <div>{children}</div>;
}
Also,
export default functionandexport default classare considered stable now because they can only appear at the top level of a module.Contributed by @ Sec-ant
Fix missing
withDefaultsmacro in vue files for globals variables. Contributed by @ Shyam-ChenParser
Bug fixes
What's Changed
Other changes
jscode blocks containing JSX elements tojsxby @ Sec-ant in #3168noSubstrby @ chansuke in #3125useSortedKeysfor JSON objects by @ ematipico in #2412--compactflag forpkg.pr.newby @ Sec-ant in #3180--compactflag by @ Sec-ant in #3181chansuketo maintainers list by @ chansuke in #3206enumflags2by @ ematipico in #3230New Contributors
Full Changelog: cli/v1.8.1...cli/v1.8.2
Package name: @total-typescript/ts-reset
-
0.6.0 - 2024-08-24
-
0.5.1 - 2023-08-17
from @total-typescript/ts-reset GitHub release notesPackage name: vitest
🚀 Features
🐞 Bug Fixes
testNamePatternadds leading space - by @ AriPerkkio in #6186 (073a5)afterEachcleanup hooks in node entrypoint - by @ sheremet-va in #6192 (e6fbc)defineProjectanddefineWorkspacetypes - by