Bump lint-staged from 13.2.2 to 16.2.0
Type: Pull Request
State: Closed
Association: Contributor
Comments: 1
(about 2 months ago)
(about 2 months ago)
(about 2 months ago)
dependencies javascript
Bumps lint-staged from 13.2.2 to 16.2.0.
Release notes
Sourced from lint-staged's releases.
v16.2.0
Minor Changes
#1615
99eb742Thanks@iiroj! - Added a new option--fail-on-changesto make lint-staged exit with code 1 when tasks modify any files, making theprecommithook fail. This is similar to thegit diff --exit-codeoption. Using this flag also implies the--no-revertflag which means any changes made by tasks will be left in the working tree after failing, so that they can be manually staged and the commit tried again.#1611
cd05fd3Thanks@rlorenzo! - Added a new option--continue-on-errorso that lint-staged will run all tasks to completion even if some of them fail. By default, lint-staded will exit early on the first failure.#1637
82fcc07Thanks@iiroj! - Internal lint-staged errors are now thrown and visible in the console output. Previously they were caught with the process exit code set to 1, but not logged. This happens when, for example, there's a syntax error in the lint-staged configuration file.#1647
a5ecc06Thanks@iiroj! - Remove debug as a dependency due to recent malware issue; read more at debug-js/debug#1005. Because of this, theDEBUGenvironment variable is no longer supported — use the--debugto enable debugging#1636
8db2717Thanks@iiroj! - Added a new option--hide-unstagedso that lint-staged will hide all unstaged changes to tracked files before running tasks. The changes will be applied back after running the tasks. Note that the combination of flags--hide-unstaged --no-hide-partially-stagedisn't meaningful and behaves the same as just--hide-unstaged.Thanks to
@ItsNickBarryfor the idea and initial implementation in #1552.#1648
7900b3bThanks@iiroj! - Remove lilconfig to reduce reliance on third-party dependencies. It was used to find possible config files outside of those tracked in Git, including from the parent directories. This behavior has been moved directly into lint-staged and should work about the same.Patch Changes
#1633
7f9e485Thanks@dependabot! - Bumps listr2 from 9.0.3 to 9.0.4.#1626
99d5a9bThanks@iiroj! - Due to recent phishing attacks, for example chalk@5.6.1 was released with malware. To avoid lint-staged's users being at risk the direct dependencies are pinned to exact versions, instead of allowing future patch versions with the caret (^) range.#1588
035bbf2Thanks@outslept! - Increase performance by listing staged files and searching for configuration concurrently.#1645
deba3adThanks@iiroj! - Remove chalk as a dependency due to recent malware issue; read more at chalk/chalk#656.If you are having trouble with ANSI color codes when using lint-staged, you can try setting either
FORCE_COLOR=trueorNO_COLOR=trueenv variables.v16.1.6
Patch Changes
- #1610
e93578eThanks@iiroj! - Try to improve terminating of subprocess of tasks by usingSIGKILL, and only callingpidtreewhen the the main task process has a known pid.v16.1.5
Patch Changes
- #1608
4e3ce22Thanks@srsatt! - Detect the git repo's top-level directory correctly when in a worktree.v16.1.4
Patch Changes
- #1604
90b37b0Thanks@iiroj! - Add anothertypesfield topackage.jsonto make even more sure NPM detects that lint-staged includes built-in TypeScript type definitions.v16.1.3
Patch Changes
- #1602
7ea700bThanks@dword-design! - Add thetypesfield topackage.jsonto make sure NPM detects lint-staged includes built-in TypeScript type definitions.v16.1.2
... (truncated)
Changelog
Sourced from lint-staged's changelog.
16.2.0
Minor Changes
#1615
99eb742Thanks@iiroj! - Added a new option--fail-on-changesto make lint-staged exit with code 1 when tasks modify any files, making theprecommithook fail. This is similar to thegit diff --exit-codeoption. Using this flag also implies the--no-revertflag which means any changes made my tasks will be left in the working tree after failing, so that they can be manually staged and the commit tried again.#1611
cd05fd3Thanks@rlorenzo! - Added a new option--continue-on-errorso that lint-staged will run all tasks to completion even if some of them fail. By default, lint-staded will exit early on the first failure.#1637
82fcc07Thanks@iiroj! - Internal lint-staged errors are now thrown and visible in the console output. Previously they were caught with the process exit code set to 1, but not logged. This happens when, for example, there's a syntax error in the lint-staged configuration file.#1647
a5ecc06Thanks@iiroj! - Remove debug as a dependency due to recent malware issue; read more at debug-js/debug#1005. Because of this, theDEBUGenvironment variable is no longer supported — use the--debugto enable debugging#1636
8db2717Thanks@iiroj! - Added a new option--hide-unstagedso that lint-staged will hide all unstaged changes to tracked files before running tasks. The changes will be applied back after running the tasks. Note that the combination of flags--hide-unstaged --no-hide-partially-stagedisn't meaningful and behaves the same as just--hide-unstaged.Thanks to
@ItsNickBarryfor the idea and initial implementation in #1552.#1648
7900b3bThanks@iiroj! - Remove lilconfig to reduce reliance on third-party dependencies. It was used to find possible config files outside of those tracked in Git, including from the parent directories. This behavior has been moved directly into lint-staged and should work about the same.Patch Changes
#1633
7f9e485Thanks@dependabot! - Bumps listr2 from 9.0.3 to 9.0.4.#1626
99d5a9bThanks@iiroj! - Due to recent phishing attacks, for example chalk@5.6.1 was released with malware. To avoid lint-staged's users being at risk the direct dependencies are pinned to exact versions, instead of allowing future patch versions with the caret (^) range.#1588
035bbf2Thanks@outslept! - Increase performance by listing staged files and searching for configuration concurrently.#1645
deba3adThanks@iiroj! - Remove chalk as a dependency due to recent malware issue; read more at chalk/chalk#656.If you are having trouble with ANSI color codes when using lint-staged, you can try setting either
FORCE_COLOR=trueorNO_COLOR=trueenv variables.16.1.6
Patch Changes
- #1610
e93578eThanks@iiroj! - Try to improve terminating of subprocess of tasks by usingSIGKILL, and only callingpidtreewhen the the main task process has a known pid.16.1.5
Patch Changes
- #1608
4e3ce22Thanks@srsatt! - Detect the git repo's top-level directory correctly when in a worktree.16.1.4
Patch Changes
- #1604
90b37b0Thanks@iiroj! - Add anothertypesfield topackage.jsonto make even more sure NPM detects that lint-staged includes built-in TypeScript type definitions.16.1.3
... (truncated)
Commits
54c9beachore(changeset): releaseda1ec1dbuild(deps-dev): bump eslint-plugin-n from 17.23.0 to 17.23.163361a8feat: flag--fail-on-changesimplies--no-revertbcde025docs: removal ofdebugis "minor" instead of "patch" level change7900b3bfeat: removelilconfigas a dependencya5ecc06feat: removedebugas a dependency616b2d3ci: use actions/checkout@v5d6397a5ci: use@actions/setup-node@v54499b73ci: run tests with lowest supported Node.js version 20.17.0b4b69e5fix: pass either FORCE_COLOR or NO_COLOR to tasks based on detected support- Additional commits viewable in compare view
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)
Pull Request Statistics
1
2
+178
-208
Package Dependencies
Technical Details
| ID: | 8284744 |
| UUID: | 2852059915 |
| Node ID: | PR_kwDOAyKKHs6p_vsL |
| Host: | GitHub |
| Repository: | draft-js-plugins/draft-js-plugins |
| Mergeable: | Yes |
| Merge State: | Unstable |
| Rebaseable: | Yes |