Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

chore(deps): update dependency lint-staged to v15#244

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/lint-staged-15.x
Open

chore(deps): update dependency lint-staged to v15#244
renovate[bot] wants to merge 1 commit intomainfrom
renovate/lint-staged-15.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 15, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lint-staged 13.3.0 -> 15.4.3 age adoption passing confidence

Release Notes

lint-staged/lint-staged (lint-staged)

v15.4.3

Compare Source

Patch Changes
  • #​1512 cbfed1d Thanks @​tarik02! - Adjust TypeScript types for the default export so that it can be used as a value without error TS2693.

v15.4.2

Compare Source

Patch Changes
  • #​1509 8827ebf Thanks @​iiroj! - Change lint-staged's dependencies to use caret (^) ranges instead of tilde (~). This makes it easier for package managers to perform dependency management when minor-level updates are also permitted instead of just patch-level.

v15.4.1

Compare Source

Patch Changes

v15.4.0

Compare Source

Minor Changes
  • #​1500 a8ec1dd Thanks @​iiroj! - Lint-staged now provides TypeScript types for the configuration and main Node.js API. You can use the JSDoc syntax in your JS configuration files:

    /**
     * @​filename: lint-staged.config.js
     * @​type {import('lint-staged').Configuration}
     */
    export default {
      '*': 'prettier --write',
    }

    It's also possible to use the .ts file extension for the configuration if your Node.js version supports it. The --experimental-strip-types flag was introduced in Node.js v22.6.0 and unflagged in v23.6.0, enabling Node.js to execute TypeScript files without additional configuration.

    export NODE_OPTIONS="--experimental-strip-types"
    
    npx lint-staged --config lint-staged.config.ts
Patch Changes

v15.3.0

Compare Source

Minor Changes
  • #​1495 e69da9e Thanks @​iiroj! - Added more info to the debug logs so that "environment" info doesn't need to be added separately to GitHub issues.

  • #​1493 fa0fe98 Thanks @​iiroj! - Added more help messages around the automatic git stash that lint-staged creates as a backup (by default). The console output also displays the short git hash of the stash so that it's easier to recover lost files in case some fatal errors are encountered, or the process is killed before completing.

    For example:

    % npx lint-staged
    ✔ Backed up original state in git stash (20addf8)
    ✔ Running tasks for staged files...
    ✔ Applying modifications from tasks...
    ✔ Cleaning up temporary files...
    

    where the backup can be seen with git show 20addf8, or git stash list:

    % git stash list
    stash@{0}: lint-staged automatic backup (20addf8)
    

v15.2.11

Compare Source

Patch Changes
  • #​1484 bcfe309 Thanks @​wormsik! - Escape paths containing spaces when using the "shell" option.

  • #​1487 7dd8caa Thanks @​iiroj! - Do not treat submodule root paths as "staged files". This caused lint-staged to fail to a Git error when only updating the revision of a submodule.

v15.2.10

Compare Source

Patch Changes

v15.2.9

Compare Source

Patch Changes
  • #​1463 b69ce2d Thanks @​iiroj! - Set the maximum number of event listeners to the number of tasks. This should silence the console warning MaxListenersExceededWarning: Possible EventEmitter memory leak detected.

v15.2.8

Compare Source

Patch Changes
  • f0480f0 Thanks @​iiroj! - In the previous version the native git rev-parse --show-toplevel command was taken into use for resolving the current git repo root. This version switched the --show-toplevel flag with --show-cdup, because on Git installed via MSYS2 the former was returning absolute paths that do not work with Node.js child_process. The new flag returns a path relative to the working directory, avoiding the issue.

    The GitHub Actions workflow has been updated to install Git via MSYS2, to ensure better future compatibility; using the default Git binary in the GitHub Actions runner was working correctly even with MSYS2.

v15.2.7

Compare Source

Patch Changes
  • #​1440 a51be80 Thanks @​iiroj! - In the previous version the native git rev-parse --show-toplevel command was taken into use for resolving the current git repo root. This version drops the --path-format=absolute option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading git to the latest version.

v15.2.6

Compare Source

Patch Changes
  • #​1433 119adb2 Thanks @​iiroj! - Use native "git rev-parse" commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems.

v15.2.5

Compare Source

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.7

v15.2.4

Compare Source

Patch Changes
  • 4f4537a Thanks @​iiroj! - Fix release issue with previous version; update dependencies

v15.2.2

Compare Source

Patch Changes
  • #​1391 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.

v15.2.1

Compare Source

Patch Changes
  • #​1387 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 the stdin of the spawned commands has accepted input, and essentially gotten stuck waiting. Now the stdin 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.

v15.2.0

Compare Source

Minor Changes
  • #​1371 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 use lilconfig 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, use fs.realpath() only for symlinks. It looks like fs.realpath() changes some Windows mapped network filepaths unexpectedly, causing issues.

v15.1.0

Compare Source

Minor Changes
Patch Changes

v15.0.2

Compare Source

Patch Changes
  • #​1339 8e82364 Thanks @​iiroj! - Update dependencies, including listr2@​7.0.2 to fix an upstream issue affecting lint-staged.

v15.0.1

Compare Source

Patch Changes
  • #​1217 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.

v15.0.0

Compare Source

Major Changes
  • #​1322 66b93aa Thanks @​iiroj! - Require at least Node.js 18.12.0

    This 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.

v14.0.1

Compare Source

Bug Fixes
  • fix reading config from stdin, introduced in v14.0.0 (#​1317) (fc3bfea)

v14.0.0

Compare Source

Features
BREAKING CHANGES
  • Please upgrade your Node.js version to at least 16.14.0.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 15, 2023

📊 Package size report   No changes

File Before (Size / Gzip / Brotli) After (Size / Gzip / Brotli)
Total (Includes all files) 319.3 kB / 98.2 kB / 85.0 kB 319.3 kB / 98.2 kB / 85.0 kB
Tarball size 91.5 kB -0.01%↓91.4 kB
Unchanged files
File Size (Size / Gzip / Brotli)
.babelrc 144 B / 114 B / 106 B
.editorconfig 190 B / 142 B / 129 B
.eslintignore 32 B / 51 B / 36 B
.eslintrc 978 B / 370 B / 319 B
.github/.misspell-fixer.ignore 18 B / 38 B / 22 B
.github/ISSUE_TEMPLATE.md 566 B / 348 B / 244 B
.github/workflows/bundle-size.yml 759 B / 410 B / 323 B
.github/workflows/eslint.yml 586 B / 330 B / 263 B
.github/workflows/github-page.yml 973 B / 516 B / 437 B
.github/workflows/misspell.yml 681 B / 391 B / 325 B
.github/workflows/release-please.yml 1.4 kB / 557 B / 464 B
.github/workflows/test.yaml 781 B / 409 B / 334 B
.husky/pre-commit 58 B / 76 B / 62 B
CHANGELOG.md 43.8 kB / 11.7 kB / 9.2 kB
CODE_OF_CONDUCT.md 3.2 kB / 1.5 kB / 1.1 kB
demo/index.html 429 B / 274 B / 156 B
demo/index.js 895 B / 507 B / 382 B
demo/webpack.config.js 966 B / 467 B / 388 B
dist/motorcortex-player.esm.min.js 61.2 kB / 14.8 kB / 13.1 kB
dist/motorcortex-player.umd.js 61.4 kB / 15.0 kB / 13.2 kB
LICENSE 1.1 kB / 654 B / 481 B
package.json 3.1 kB / 1.1 kB / 968 B
player.png 13.2 kB / 12.4 kB / 12.5 kB
README.md 13.0 kB / 4.3 kB / 3.6 kB
renovate.json 174 B / 138 B / 117 B
rollup.config.js 2.5 kB / 709 B / 600 B
src/.gitkeep 0 B / 20 B / 1 B
src/assets/icomoon/SVG/angle-left.svg 430 B / 274 B / 222 B
src/assets/icomoon/SVG/angle-right.svg 432 B / 269 B / 226 B
src/assets/icomoon/SVG/arrow-bottom.svg 788 B / 387 B / 333 B
src/assets/icomoon/SVG/arrow-left-circle.svg 1.7 kB / 344 B / 286 B
src/assets/icomoon/SVG/arrow-left.svg 824 B / 409 B / 353 B
src/assets/icomoon/SVG/arrow-righe-circle.svg 1.7 kB / 345 B / 297 B
src/assets/icomoon/SVG/arrow-right.svg 824 B / 404 B / 359 B
src/assets/icomoon/SVG/arrow-top.svg 789 B / 387 B / 341 B
src/assets/icomoon/SVG/back-slash.svg 329 B / 245 B / 195 B
src/assets/icomoon/SVG/burger-horizontal.svg 508 B / 236 B / 211 B
src/assets/icomoon/SVG/burger-vertical.svg 505 B / 242 B / 191 B
src/assets/icomoon/SVG/check-solid.svg 433 B / 258 B / 214 B
src/assets/icomoon/SVG/donkeyclip-logo.svg 665 B / 402 B / 343 B
src/assets/icomoon/SVG/expand-full.svg 1.4 kB / 585 B / 516 B
src/assets/icomoon/SVG/expand.svg 2.3 kB / 837 B / 713 B
src/assets/icomoon/SVG/front-slash.svg 332 B / 243 B / 194 B
src/assets/icomoon/SVG/loop.svg 1.1 kB / 584 B / 495 B
src/assets/icomoon/SVG/motorcortex-logo.svg 470 B / 339 B / 291 B
src/assets/icomoon/SVG/pause.svg 244 B / 198 B / 158 B
src/assets/icomoon/SVG/play.svg 518 B / 331 B / 294 B
src/assets/icomoon/SVG/settings.svg 1.7 kB / 711 B / 628 B
src/assets/icomoon/SVG/volume-off.svg 815 B / 403 B / 352 B
src/assets/icomoon/SVG/volume-on.svg 661 B / 411 B / 365 B
src/assets/svg.js 943 B / 324 B / 285 B
src/config.js 61 B / 71 B / 65 B
src/helpers.js 8.5 kB / 2.6 kB / 2.2 kB
src/html/player.html 3.5 kB / 706 B / 572 B
src/html/setElements.js 9.1 kB / 2.0 kB / 1.7 kB
src/html/style.css 14.3 kB / 2.8 kB / 2.4 kB
src/index.js 25.6 kB / 6.2 kB / 5.4 kB
src/listeners/body.js 544 B / 222 B / 170 B
src/listeners/donkeyclip.js 345 B / 232 B / 172 B
src/listeners/enums.js 243 B / 158 B / 124 B
src/listeners/events.js 608 B / 229 B / 196 B
src/listeners/fullscreen.js 1.3 kB / 382 B / 302 B
src/listeners/keydown.js 516 B / 249 B / 192 B
src/listeners/loopBarEnd.js 4.1 kB / 1.1 kB / 903 B
src/listeners/loopBarStart.js 4.3 kB / 972 B / 840 B
src/listeners/loopBtn.js 1.3 kB / 426 B / 351 B
src/listeners/pointeEvents.js 604 B / 251 B / 209 B
src/listeners/progressBar.js 1.4 kB / 517 B / 423 B
src/listeners/settings.js 2.9 kB / 705 B / 569 B
src/listeners/speed.js 1.0 kB / 401 B / 303 B
src/listeners/statusBtn.js 348 B / 201 B / 160 B
src/listeners/volume.js 5.1 kB / 1.1 kB / 964 B
src/listeners/wheelListener.js 784 B / 319 B / 258 B

🤖 This report was automatically generated by pkg-size-action

@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 3cc9afa to 625d408 Compare October 19, 2023 16:39
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 625d408 to 4bd2754 Compare November 11, 2023 17:13
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 4bd2754 to 79437db Compare December 3, 2023 19:34
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 6d856fb to bf6532c Compare February 5, 2024 16:50
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 5, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from af87e7d to c77c1b1 Compare May 25, 2024 12:59
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 4a51a5b to 070e95d Compare June 12, 2024 18:26
@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 070e95d to 99992d3 Compare August 3, 2024 08:32
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 99992d3 to 7d24d71 Compare August 13, 2024 08:49
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 7d24d71 to 9257dfa Compare September 1, 2024 17:12
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 1, 2024

@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 9257dfa to 6cfd9fe Compare December 10, 2024 14:28
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 6cfd9fe to 5e47adc Compare December 28, 2024 12:16
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 6e0dc35 to 1b98d62 Compare January 16, 2025 19:21
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 1b98d62 to 72bc368 Compare January 23, 2025 14:58
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 72bc368 to ee2f3cf Compare January 26, 2025 18:47
@sonarqubecloud
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants