[Snyk] Upgrade lint-staged from 13.0.3 to 15.2.5 #5
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.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade lint-staged from 13.0.3 to 15.2.5.
ℹ️ 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.
The recommended version is 22 versions ahead of your current version.
The recommended version was released on a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-SEMVER-3247795
SNYK-JS-MOCHA-2863123
SNYK-JS-YAML-5458867
SNYK-JS-BRACES-6838727
SNYK-JS-FOLLOWREDIRECTS-6141137
SNYK-JS-GETFUNCNAME-5923417
SNYK-JS-MICROMATCH-6838728
SNYK-JS-MOCHA-2863123
SNYK-JS-MOCHA-2863123
SNYK-JS-SEMVER-3247795
SNYK-JS-SEMVER-3247795
SNYK-JS-UNDICI-3323845
SNYK-JS-TOUGHCOOKIE-5672873
SNYK-JS-OPENZEPPELINCONTRACTS-5425051
SNYK-JS-FOLLOWREDIRECTS-6444610
SNYK-JS-MINIMATCH-3050818
SNYK-JS-OPENZEPPELINCONTRACTS-5711902
SNYK-JS-OPENZEPPELINCONTRACTS-5838352
SNYK-JS-OPENZEPPELINCONTRACTS-6346765
SNYK-JS-REQUEST-3361831
SNYK-JS-UNDICI-3323844
SNYK-JS-WORDWRAP-3149973
SNYK-JS-OPENZEPPELINCONTRACTS-5425827
npm:debug:20170905
SNYK-JS-OPENZEPPELINCONTRACTS-5672116
SNYK-JS-UNDICI-5962466
SNYK-JS-UNDICI-6252336
SNYK-JS-UNDICI-6564963
SNYK-JS-UNDICI-6564964
Release notes
Package name: lint-staged
Patch Changes
#1424
31a1f95
Thanks @ iiroj! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available.#1423
91abea0
Thanks @ iiroj! - Improve error logging when failing to read or parse a configuration file#1424
ee43f15
Thanks @ iiroj! - Upgrade micromatch@4.0.7Patch Changes
4f4537a
Thanks @ iiroj! - Fix release issue with previous version; update dependenciesPatch Changes
fdcdad4
Thanks @ iiroj! - Lint-staged no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout.Patch Changes
e4023f6
Thanks @ iiroj! - Ignore stdin of spawned commands so that they don't get stuck waiting. Until now, lint-staged has used the default settings to spawn linter commands. This means thestdin
of the spawned commands has accepted input, and essentially gotten stuck waiting. Now thestdin
is ignored and commands will no longer get stuck. If you relied on this behavior, please open a new issue and describe how; the behavior has not been intended.Minor Changes
f3378be
Thanks @ iiroj! - Using the--no-stash
flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag--no-hide-partially-staged
that is automatically enabled when--no-stash
is used.Patch Changes
#1362
17bc480
Thanks @ antonk52! - update lilconfig@3.0.0#1368
7c55ca9
Thanks @ iiroj! - Update most dependencies#1368
777d4e9
Thanks @ iiroj! - To improve performance, only uselilconfig
when searching for config files outside the git repo. In the regular case, lint-staged finds the config files from the Git index and loads them directly.#1373
85eb0dd
Thanks @ iiroj! - When determining git directory, usefs.realpath()
only for symlinks. It looks likefs.realpath()
changes some Windows mapped network filepaths unexpectedly, causing issues.Minor Changes
0423311
Thanks @ danielbayley! - Add support for loading configuration frompackage.yaml
andpackage.yml
files, supported bypnpm
.Patch Changes
105d901
Thanks @ iiroj! - Suppress some warnings when using the "--quiet" flagPatch Changes
8e82364
Thanks @ iiroj! - Update dependencies, including listr2@7.0.2 to fix an upstream issue affecting lint-staged.Patch Changes
d2e6f8b
Thanks @ louneskmt! - Previously it was possible for a function task to mutate the list of staged files passed to the function, and accidentally affect the generation of other tasks. This is now fixed by passing a copy of the original file list instead.Major Changes
#1322
66b93aa
Thanks @ iiroj! - Require at least Node.js 18.12.0This release drops support for Node.js 16, which is EOL after 2023-09-11.
Please upgrade your Node.js to the latest version.
Additionally, all dependencies have been updated to their latest versions.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: