nest
nest copied to clipboard
chore(deps-dev): bump lint-staged from 16.1.0 to 16.1.2
Bumps lint-staged from 16.1.0 to 16.1.2.
Release notes
Sourced from lint-staged's releases.
v16.1.2
Patch Changes
#1570
a7c0c88Thanks@ItsNickBarry! - When using--diff-filterwith theDoption to include deleted staged files, lint-staged no longer tries to stage the deleted files, unless they're no longer deleted. Previously this caused an error fromgit addlikefatal: pathspec 'deleted-file' did not match any files.
38f942eThanks@iiroj! - Removed an extraneous log entry that printedshouldHidePArtiallyStagedFilesto console output.v16.1.1
Patch Changes
#1565
3686977Thanks@iiroj! - Lint-staged now explicitly warns about potential data loss when using--no-stash.#1571
02299a9Thanks@iiroj! - Function tasks (introduced in v16.0.0) only receive the staged files matching the configured glob, instead of all staged files.#1563
bc61c74Thanks@iiroj! - This version fixes incorrect behavior where unstaged changes were committed when using the--no-stashoption. This happened because--no-stashimplied--no-hide-partially-staged, meaning unstaged changes to files which also had other staged changes were added to the commit by lint-staged; this is no longer the case.The previous (incorrect) behavior can still be achieved by using both options
--no-stash --no-hide-partially-stagedat the same time.
Changelog
Sourced from lint-staged's changelog.
16.1.2
Patch Changes
#1570
a7c0c88Thanks@ItsNickBarry! - When using--diff-filterwith theDoption to include deleted staged files, lint-staged no longer tries to stage the deleted files, unless they're no longer deleted. Previously this caused an error fromgit addlikefatal: pathspec 'deleted-file' did not match any files.
38f942eThanks@iiroj! - Removed an extraneous log entry that printedshouldHidePArtiallyStagedFilesto console output.16.1.1
Patch Changes
#1565
3686977Thanks@iiroj! - Lint-staged now explicitly warns about potential data loss when using--no-stash.#1571
02299a9Thanks@iiroj! - Function tasks (introduced in v16.0.0) only receive the staged files matching the configured glob, instead of all staged files.#1563
bc61c74Thanks@iiroj! - This version fixes incorrect behavior where unstaged changes were committed when using the--no-stashoption. This happened because--no-stashimplied--no-hide-partially-staged, meaning unstaged changes to files which also had other staged changes were added to the commit by lint-staged; this is no longer the case.The previous (incorrect) behavior can still be achieved by using both options
--no-stash --no-hide-partially-stagedat the same time.
Commits
0c48e29chore(changeset): releasee07227eperf: call rev-parse only once instead of three times when resolving git repo38f942efix: remove extra log entry5031a71perf: further optimize file chunking6ec38b9perf: optimize file list length calculation (#1581)a7c0c88fix: only stage changes to deleted files if they're no longer deleted after r...ccd5eddtest: pass --no-error-on-unmatched-pattern to prettier command in --diff-opti...48a6e95test: add failing test for staged deleted files not passed directly to tasks ...b56b29etest: add failing test for staged deleted files with diff filter D8420429chore(changeset): release- 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 Test Coverage Report for Build 8ff57a65-c622-4a93-b1c0-b6d4ed35e561
Details
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 88.918%
| Totals | |
|---|---|
| Change from base Build 8fb79e04-10d4-4801-bd4d-a50d0407aebc: | 0.0% |
| Covered Lines: | 7197 |
| Relevant Lines: | 8094 |