Skip to content
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

chore(deps): update devdeps #1873

Merged
merged 1 commit into from
Oct 11, 2024
Merged

chore(deps): update devdeps #1873

merged 1 commit into from
Oct 11, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@commitlint/cli (source) ^19.3.0 -> ^19.5.0 age adoption passing confidence
@commitlint/config-conventional (source) ^19.2.2 -> ^19.5.0 age adoption passing confidence
husky ^9.0.11 -> ^9.1.6 age adoption passing confidence
lint-staged ^15.2.7 -> ^15.2.10 age adoption passing confidence
prettier (source) ^3.3.2 -> ^3.3.3 age adoption passing confidence
stylelint (source) ^16.6.1 -> ^16.9.0 age adoption passing confidence

Release Notes

conventional-changelog/commitlint (@​commitlint/cli)

v19.5.0

Compare Source

Features

19.4.1 (2024-08-28)

Note: Version bump only for package @​commitlint/cli

v19.4.1

Compare Source

Note: Version bump only for package @​commitlint/cli

v19.4.0

Compare Source

Features
conventional-changelog/commitlint (@​commitlint/config-conventional)

v19.5.0

Compare Source

Note: Version bump only for package @​commitlint/config-conventional

19.4.1 (2024-08-28)

Note: Version bump only for package @​commitlint/config-conventional

19.2.2 (2024-04-14)

Note: Version bump only for package @​commitlint/config-conventional

v19.4.1

Compare Source

Note: Version bump only for package @​commitlint/config-conventional

typicode/husky (husky)

v9.1.6

Compare Source

v9.1.5

Compare Source

v9.1.4

Compare Source

v9.1.3

Compare Source

  • fix: better handle space in PATH

v9.1.2

Compare Source

v9.1.1

Compare Source

v9.1.0

Compare Source

Super saiyan god dog! It's over 9.0.0!

There's a bug with this release which prevents the deprecation notice to appear and requires to remove #!/usr/bin/env sh and . "$(dirname -- "$0")/_/husky.sh" (which are deprecated by the way). I'll publish a new version to fix that. Sorry about any inconvenience.

What's new

You can now run package commands directly, no need for npx or equivalents.
It makes writing hooks more intuitive and is also slightly faster 🐺⚡️

### .husky/pre-commit
- npx jest
+ jest # ~0.2s faster

A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it.

### .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again

For more advanced use cases, see lint-staged.

Fixes

  • bunx husky init command
  • Workaround for some hooks implementation on Windows 🤷

Deprecations

  • Remove #!/usr/bin/env sh and . "$(dirname -- "$0")/_/husky.sh" from your hooks
  • Move your code from ~/.huskyrc to .config/husky/init.sh

Support for these will be removed in v10, notices have been added.

Friendly reminder

If Git hooks don't fit your workflow, you can disable Husky globally. Just add export HUSKY=0 to .config/husky/init.sh.

I've seen some confusion about this on X, so just a heads-up!

Sponsoring

Husky is downloaded over 45M times per month and used by ~1.5M projects. If your company wants to sponsor, you can do so here: GitHub Sponsors.

Have a nice summer ☀️ I'm open to new opportunities/consulting so feel free to drop me a message 😉

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

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.

prettier/prettier (prettier)

v3.3.3

Compare Source

diff

Add parentheses for nullish coalescing in ternary (#​16391 by @​cdignam-segment)

This change adds clarity to operator precedence.

// Input
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.2
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.3
foo ? (bar ?? foo) : baz;
(foo ?? bar) ? a : b;
a ? b : (foo ?? bar);
Add parentheses for decorator expressions (#​16458 by @​y-schneider)

Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.

// Input
@​(foo`tagged template`)
class X {}

// Prettier 3.3.2
@​foo`tagged template`
class X {}

// Prettier 3.3.3
@​(foo`tagged template`)
class X {}
Support @let declaration syntax (#​16474 by @​sosukesuzuki)

Adds support for Angular v18 @let declaration syntax.

Please see the following code example. The @let declaration allows you to define local variables within the template:

@​let name = 'Frodo';

<h1>Dashboard for {{name}}</h1>
Hello, {{name}}

For more details, please refer to the excellent blog post by the Angular Team: Introducing @​let in Angular.

We also appreciate the Angular Team for kindly answering our questions to implement this feature.

stylelint/stylelint (stylelint)

v16.9.0

Compare Source

  • Changed: secondaryOptions argument type of the Rule function (#​7950) (@​Mouvedia).
  • Fixed: color-function-notation reporting functions with less than 3 arguments (#​7948) (@​Mouvedia).
  • Fixed: declaration-property-value-no-unknown false positives/negatives (#​7944 & #​7957 & #​7956) (@​Mouvedia & @​sidverma32).
    • false positives: overflow, word-break, width
    • false negatives: anchor-name, field-sizing, text-box-edge, text-box-trim, text-spacing-trim, text-wrap, text-wrap-mode, text-wrap-style, view-timeline, view-timeline-axis, view-timeline-inset, view-timeline-name, view-transition-name
  • Fixed: keyframe-block-no-duplicate-selectors/keyframe-declaration-no-important/keyframe-selector-notation/no-unknown-animations false negatives for @-o-keyframes and @-ms-keyframes (#​7953) (@​Mouvedia).
  • Fixed: no-duplicate-selectors reported ranges (#​7938) (@​romainmenke).
  • Fixed: property-no-vendor-prefix report for -webkit-background-size (#​7940) (@​Mouvedia).
  • Fixed: selector-class-pattern reported ranges (#​7959) (@​Mouvedia).
  • Fixed: selector-no-qualifying-type reported ranges (#​7937) (@​romainmenke).
  • Fixed: honour Node.js --no-deprecation flag for rule deprecation warnings (#​7943) (@​Mouvedia).

v16.8.2

Compare Source

v16.8.1

Compare Source

v16.8.0

Compare Source

v16.7.0

Compare Source


Configuration

📅 Schedule: Branch creation - "after 12:01 am on Friday on the 1st through 7th day of the month every 3 month" in timezone Australia/Melbourne, 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

@renovate renovate bot requested review from bchew and xiaofan2406 October 10, 2024 19:34
Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.73%. Comparing base (1c546d7) to head (0f9f3ad).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1873   +/-   ##
=======================================
  Coverage   99.73%   99.73%           
=======================================
  Files          94       94           
  Lines        1865     1865           
  Branches      526      552   +26     
=======================================
  Hits         1860     1860           
  Misses          5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

bchew
bchew previously approved these changes Oct 10, 2024
@renovate renovate bot force-pushed the renovate-devdeps branch 2 times, most recently from b70d316 to f270489 Compare October 10, 2024 23:55
@renovate renovate bot force-pushed the renovate-devdeps branch from f270489 to 0f9f3ad Compare October 10, 2024 23:56
Copy link

@bchew bchew merged commit aa3052c into master Oct 11, 2024
11 checks passed
@bchew bchew deleted the renovate-devdeps branch October 11, 2024 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant