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

Lock file maintenance NPM dependencies - autoclosed #63

Closed
wants to merge 1 commit into from

Conversation

Infra-Workleap
Copy link
Contributor

@Infra-Workleap Infra-Workleap commented Jan 29, 2024

This PR contains the following updates:

Package Type Update Change
lockFileMaintenance All locks refreshed
azure-pipelines-task-lib dependencies minor 4.8.1 -> 4.17.0
@types/mocha (source) devDependencies patch 10.0.6 -> 10.0.7
@types/node (source) devDependencies minor 20.11.5 -> 20.16.1
husky devDependencies minor 9.0.11 -> 9.1.5
mocha (source) devDependencies minor 10.2.0 -> 10.7.3
prettier (source) devDependencies minor 3.2.4 -> 3.3.3
tfx-cli devDependencies minor 0.16.0 -> 0.17.0
typescript (source) devDependencies minor 5.3.3 -> 5.5.4

🔧 This Pull Request updates lock files to use the latest dependency versions.


Release Notes

Microsoft/azure-pipelines-task-lib (azure-pipelines-task-lib)

v4.17.0

Compare Source

v4.16.0

Compare Source

v4.15.0

Compare Source

v4.14.0

Compare Source

v4.13.0

Compare Source

v4.12.1

Compare Source

v4.12.0

Compare Source

v4.11.0

Compare Source

v4.10.1

Compare Source

v4.10.0

Compare Source

v4.9.1

Compare Source

v4.9.0

Compare Source

v4.8.2

Compare Source

typicode/husky (husky)

v9.1.5

Compare Source

What's Changed

New Contributors

Full Changelog: typicode/husky@v9.1.4...v9.1.5

v9.1.4

Compare Source

  • Improve deprecation notice

v9.1.3

Compare Source

  • fix: better handle space in PATH

v9.1.2

Compare Source

Show a message instead of automatically removing deprecated code.

This only concerns projects that still have the following code in their hooks:

- #!/usr/bin/env sh # <- This is deprecated, remove it
- . "$(dirname -- "$0")/_/husky.sh"  # <- This is deprecated, remove it

### Rest of your hook code

Hooks with these lines will fail in v10.0.0

v9.1.1

Compare Source

Super saiyan god dog! It's over 9.0.0!

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

  • #!/usr/bin/env sh and . "$(dirname -- "$0")/_/husky.sh" are deprecated. husky command will automatically remove them, no action required.
  • If you're having code in ~/.huskyrc please move it to .config/husky/init.sh

Support for these will be removed in v10.

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 😉

v9.1.0

Compare Source

mochajs/mocha (mocha)

v10.7.3

Compare Source

🩹 Fixes

v10.7.0

Compare Source

🎉 Enhancements

v10.6.1

Compare Source

🐛 Fixes

v10.6.0

Compare Source

🎉 Enhancements

v10.5.2

Compare Source

🐛 Fixes

v10.5.1

Compare Source

🐛 Fixes

v10.5.0

Compare Source

🎉 Enhancements
🐛 Fixes
🔩 Other

v10.4.0

Compare Source

🎉 Enhancements
🐛 Fixes
🔩 Other

v10.3.0

Compare Source

This is a stable release equivalent to 10.30.0-prerelease.

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
@&#8203;(foo`tagged template`)
class X {}

// Prettier 3.3.2
@&#8203;foo`tagged template`
class X {}

// Prettier 3.3.3
@&#8203;(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:

@&#8203;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.

v3.3.2

Compare Source

diff

Fix handlebars path expressions starts with @ (#​16358 by @​Princeyadav05)
{{! Input }}
<div>{{@&#8203;x.y.z}}</div>

{{! Prettier 3.3.1 }}
<div>{{@&#8203;x}}</div>

{{! Prettier 3.3.2 }}
<div>{{@&#8203;x.y.z}}</div>

v3.3.1

Compare Source

diff

Preserve empty lines in front matter (#​16347 by @​fisker)
<!-- Input -->
---
foo:
  - bar1

  - bar2

  - bar3
---
Markdown

<!-- Prettier 3.3.0 -->

---
foo:
  - bar1
  - bar2
  - bar3
---

Markdown

<!-- Prettier 3.3.1 -->
---
foo:
  - bar1

  - bar2

  - bar3
---

Markdown
Preserve explicit language in front matter (#​16348 by @​fisker)
<!-- Input -->
---yaml
title: Hello
slug: home
---

<!-- Prettier 3.3.0 -->
---
title: Hello
slug: home
---

<!-- Prettier 3.3.1 -->
---yaml
title: Hello
slug: home
---
Avoid line breaks in import attributes (#​16349 by @​fisker)
// Input
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };

// Prettier 3.3.0
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type:
  "json" };

// Prettier 3.3.1
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };

v3.3.0

Compare Source

diff

🔗 Release Notes

v3.2.5

Compare Source

diff

Support Angular inline styles as single template literal (#​15968 by @​sosukesuzuki)

Angular v17 supports single string inline styles.

// Input
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}

// Prettier 3.2.4
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}

// Prettier 3.2.5
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `
    h1 {
      color: blue;
    }
  `,
})
export class AppComponent {}
Unexpected embedded formatting for Angular template (#​15969 by @​JounQin)

Computed template should not be considered as Angular component template

// Input
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{       hello }}</h1>`,
})
export class AppComponent {}

// Prettier 3.2.4
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{ hello }}</h1>`,
})
export class AppComponent {}

// Prettier 3.2.5
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{       hello }}</h1>`,
})
export class AppComponent {}
Use "json" parser for tsconfig.json by default (#​16012 by @​sosukesuzuki)

In v3.2.0, we introduced "jsonc" parser which adds trailing comma by default.

When adding a new parser we also define how it will be used based on the linguist-languages data.

tsconfig.json is a special file used by TypeScript, it uses .json file extension, but it actually uses the JSON with Comments syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing .json file extension.

We decide to treat it as a JSON file for now to avoid the extra configuration step.

To keep using the "jsonc" parser for your tsconfig.json files, add the following to your .prettierrc file

{
  "overrides": [
    {
      "files": ["tsconfig.json", "jsconfig.json"],
      "options": {
        "parser": "jsonc"
      }
    }
  ]
}
Microsoft/tfs-cli (tfx-cli)

v0.17.0

Compare Source

Microsoft/TypeScript (typescript)

v5.5.4: TypeScript 5.5.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.5.3: TypeScript 5.5.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.5.2: TypeScript 5.5

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.5: TypeScript 5.4.5

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.4: TypeScript 5.4.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.3: TypeScript 5.4.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.2: TypeScript 5.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:


Configuration

📅 Schedule: Branch creation - "before 4am on monday" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 has been generated by Renovate Bot.

@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 6 times, most recently from 89aad7f to 7a4a319 Compare February 5, 2024 02:17
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 2 times, most recently from 8960730 to 06cda02 Compare February 12, 2024 02:14
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch from 06cda02 to 65636dc Compare February 19, 2024 02:14
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 5 times, most recently from 91699cd to 6803e69 Compare March 3, 2024 02:14
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 2 times, most recently from b69d754 to 07b8f23 Compare March 10, 2024 02:15
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 4 times, most recently from 7c4858f to 7982321 Compare March 22, 2024 02:12
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 3 times, most recently from 689169e to e634010 Compare March 30, 2024 02:10
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 5 times, most recently from cc6d956 to 0a64407 Compare April 9, 2024 02:14
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch from 0a64407 to e74315b Compare April 13, 2024 02:09
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 4 times, most recently from 32c3d92 to 6f0ebdb Compare July 5, 2024 02:20
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 2 times, most recently from 89fc2cf to c6c9540 Compare July 9, 2024 02:22
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 5 times, most recently from b86f847 to 4428ae8 Compare July 24, 2024 02:22
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 6 times, most recently from a42611d to 854fa0f Compare August 1, 2024 21:04
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch from 854fa0f to f596335 Compare August 6, 2024 02:22
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 3 times, most recently from dc6df8c to ff9d6d5 Compare August 20, 2024 02:22
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch 4 times, most recently from 51d51b2 to d52bd54 Compare August 26, 2024 02:23
@Infra-Workleap Infra-Workleap force-pushed the renovate/npm-dependencies branch from d52bd54 to fc52d38 Compare August 27, 2024 02:23
@Infra-Workleap Infra-Workleap changed the title Lock file maintenance NPM dependencies Lock file maintenance NPM dependencies - autoclosed Sep 4, 2024
@Infra-Workleap Infra-Workleap deleted the renovate/npm-dependencies branch September 4, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants