-
Notifications
You must be signed in to change notification settings - Fork 0
Bump lint-staged from 13.2.1 to 16.2.3 #311
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
Conversation
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 13.2.1 to 16.2.3. - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v13.2.1...v16.2.3) --- updated-dependencies: - dependency-name: lint-staged dependency-version: 16.2.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
✓ Safe to upgradeI recommend merging this upgrade because the existing lint-staged configuration uses only standard, stable features that remain fully compatible across this major version jump. The upgrade includes 12 breaking changes, but thorough analysis confirms none affect this project's simple configuration pattern of running Prettier, ESLint, and Stylelint on staged files. The changes primarily address edge cases involving advanced CLI flags and options that are not used in this codebase. Additionally, the upgrade removes a malware-vulnerable debug dependency and includes 13 bug fixes that improve reliability, particularly around git stash handling and process management. The configuration format has remained stable and requires no modifications. What we checked
Dependency Usagelint-staged is configured as a development dependency in this Mastodon application to enforce code quality standards automatically during the git commit workflow via a Husky pre-commit hook. The tool runs Prettier for automatic formatting across all files, ESLint for JavaScript/TypeScript linting, and Stylelint for CSS/SCSS styling checks on staged files before they are committed. This build-time integration ensures consistent code quality and formatting standards across the entire codebase without being invoked directly in application source code, supporting the project's development workflow and maintaining code hygiene for this social media platform. Changeslint-staged receives a major update with breaking changes including removal of
View 105 more changes
References (5)[1]: Configuration uses simple, standard pattern with glob-based matchers and command strings - fully compatible with all versions from 13.x to 16.x Line 214 in a3806cf
[2]: Breaking change removes --shell flag, but this project doesn't use shell evaluation - commands are direct tool invocations (prettier, eslint, stylelint) (more) [3]: Removal of debug dependency addresses malware vulnerability (CVE related to debug-js/debug#1005), improving security posture (more) [4]: Breaking changes around --no-stash and --fail-on-changes flags don't affect this project as these CLI options are not used in the Husky pre-commit hook (more) [5]: Pre-commit hook runs 'yarn lint-staged' with no additional flags, using only default behavior which remains stable Line 4 in a3806cf
fossabot analyzed this PR using dependency research. |
|
Superseded by #323. |
Bumps lint-staged from 13.2.1 to 16.2.3.
Release notes
Sourced from lint-staged's releases.
... (truncated)
Changelog
Sourced from lint-staged's changelog.
... (truncated)
Commits
bdcd03achore(changeset): release27cd541fix: do not count hidden (partially) unstaged changes when using `--fail-on-c...ab2f42efix: emit correct value to debug logs3fc5832refactor: make general error messages more clear they originate from lint-staged409d79achore(changeset): release7edaee9docs: fix typo in changeset699f95dfix: backup stash example uses real hash if available47d01a9fix: print backup stash example when failing to--fail-on-changes325dc03fix: restore unstaged changes on errors when--fail-on-errorsor `--no-reve...53bb27bfix: do not drop backup stash when errors and--fail-on-changeswas usedMaintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for lint-staged since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)