-
-
Notifications
You must be signed in to change notification settings - Fork 596
refactor: Bump lint-staged from 15.5.2 to 16.0.0 #2613
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
I will reformat the title to use the proper commit message syntax. |
📝 WalkthroughWalkthroughThe version of the Changes
Tip ⚡️ Free AI Code Reviews for VS Code, Cursor, Windsurf
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
396ad63
to
d7ec8ed
Compare
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.5.2 to 16.0.0. - [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@v15.5.2...v16.0.0) --- updated-dependencies: - dependency-name: lint-staged dependency-version: 16.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
d7ec8ed
to
25ddddb
Compare
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
@coderabbitai review |
You are on the CodeRabbit Free Plan. In order to use the Chat feature, please upgrade to CodeRabbit Pro. |
✅ Actions performedReview triggered.
|
@coderabbitai identify any necessary changes for upgrade |
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🌐 Web query:
💡 Result: Lint-staged 16.0.0 was released with several major changes that could impact existing workflows. The new version introduces significant modifications to how commands are executed and raises the minimum Node.js version requirements. Breaking ChangesRemoved Shell SupportOne of the most significant changes in lint-staged 16.0.0 is the removal of the Updated Node.js RequirementsLint-staged 16.0.0 has increased its Node.js version requirements. The minimum supported Node.js version is now 18.19.0 or 20.5.0, following requirements of its dependencies[6]. If you're using an older version of Node.js, you'll need to upgrade before you can use this version of lint-staged. Process Spawning ChangesThe library now uses nano-spawn instead of execa for spawning processes[2]. This change particularly affects users who run Node.js scripts as tasks, especially on Windows systems. If you're using Node.js scripts as tasks, you might need to explicitly run them with {
"*.js": "node my-js-linter.js"
} Configuration Validation ChangesAdvanced configuration options that were removed in version 9 are no longer separately validated[6]. These might now be treated as valid globs for tasks. If you were still attempting to use these advanced config options (even though they haven't been supported since v8), your configuration might now behave differently. Other Features and EnhancementsIn addition to the breaking changes, lint-staged provides TypeScript types for the configuration and main Node.js API[2][5]. You can use JSDoc syntax in your JS configuration files, and it's also possible to use the For reference, the previous version (15.x) included features like more detailed debug logs, better messaging around the automatic git stash that lint-staged creates as a backup, and TypeScript type definitions[2]. Citations:
🏁 Script executed:
Length of output: 1551 🏁 Script executed:
Length of output: 5696 🏁 Script executed:
Length of output: 1144 🏁 Script executed:
Length of output: 743 @mtrezza Based on my investigation of the codebase, I don't see any necessary changes required for upgrading lint-staged from 15.5.2 to 16.0.0. While lint-staged 16.0.0 does introduce breaking changes, they don't appear to impact this project because:
The upgrade appears to be a straightforward dependency update with no required configuration changes since lint-staged doesn't seem to be actively used in the project workflows. |
Bumps lint-staged from 15.5.2 to 16.0.0.
Release notes
Sourced from lint-staged's releases.
... (truncated)
Changelog
Sourced from lint-staged's changelog.
... (truncated)
Commits
dad5490
chore(changeset): release1c19e82
build(deps): update dependencies and require Node.js 20.1808cf8f5
docs: update README.md and bump nano-spawn as major change276dcc8
refactor: simplify config validationd4b7cac
test: update tests0ee9ab8
fix: update TypeScript type definitions12525b2
refactor: rename functions541c353
refactor: separate "make cmd tasks" and "make function tasks"27110ef
feat: added support for custom configuration52366f9
ci: update Node.js versions used in CIDependabot 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 rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by CodeRabbit