Skip to content

Bump prettier from 3.1.0 to 3.2.5

HIFIS Bot requested to merge dependabot/npm_and_yarn/prettier-3.2.5 into master

Bumps prettier from 3.1.0 to 3.2.5.

Release notes

Sourced from prettier's releases.

3.2.5

🔗 Changelog

3.2.4

  • Fix .eslintrc.json format #15947

🔗 Changelog

3.2.3

  • Format tsconfig.json file with jsonc parser #15927

🔗 Changelog

3.2.2

🔗 Changelog

3.2.1

🔗 Changelog

3.2.0

diff

🔗 Release note

3.1.1

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.2.5

diff

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

Angular v17 supports single string inline styles.

// Input
@Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}
// Prettier 3.2.4
@Component({
template: &lt;div&gt;...&lt;/div&gt;,
styles: h1 { color: blue; },
})
export class AppComponent {}
// Prettier 3.2.5
@Component({
template: &lt;div&gt;...&lt;/div&gt;,
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";
@Component({
[template]: &lt;h1&gt;{{       hello }}&lt;/h1&gt;,
})
export class AppComponent {}
</tr></table>

... (truncated)

Commits

Merge request reports