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

fix(deps): update all dependencies j:cdx-227 #7

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

renovate-coveo[bot]
Copy link
Contributor

@renovate-coveo renovate-coveo bot commented Oct 7, 2024

This PR contains the following updates:

Package Type Update Change
@actions/github (source) dependencies minor 5.0.0 -> 5.1.1
@types/dedent (source) devDependencies patch 0.7.0 -> 0.7.2
@types/jest (source) devDependencies minor 27.0.1 -> 27.5.2
@typescript-eslint/eslint-plugin (source) devDependencies minor 4.30.0 -> 4.33.0
@typescript-eslint/parser (source) devDependencies minor 4.30.0 -> 4.33.0
@vercel/ncc devDependencies minor ^0.30.0 -> ^0.38.0
jest (source) devDependencies minor 27.1.0 -> 27.5.1
prettier (source) devDependencies minor 2.3.2 -> 2.8.8
ts-jest (source) devDependencies minor 27.0.5 -> 27.1.5
typescript (source) devDependencies minor 4.4.2 -> 4.9.5

Release Notes

actions/toolkit (@​actions/github)

v5.1.1

  • Export default octokit options #​1188

v5.1.0

  • Add additionalPlugins parameter to getOctokit method #​1181
  • Dependency updates #​1180

v5.0.3

    • Update to v2.0.1 of @actions/http-client #​1087

v5.0.2

  • Update to v2.0.0 of @actions/http-client

v5.0.1

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v4.33.0

Compare Source

Bug Fixes
  • eslint-plugin: [lines-between-class-members] fix exceptAfterOverload for abstract methods (#​3943) (240fc65)
  • eslint-plugin: [no-confusing-void-expression] support optional chaining (#​3937) (c40dd13)
  • eslint-plugin: [no-restricted-imports] fix crash when no options given (#​3947) (edaa3c1)
  • eslint-plugin: [non-nullable-type-assertion-style] false-positive with non-nullish as assertions and types (#​3940) (40760f9)
  • eslint-plugin: [padding-line-between-statements] TSModuleBlock should change scope (#​3944) (f8f534e)
  • eslint-plugin: [prefer-regexp-exec] check RegExp without flags (#​3946) (0868725)

v4.32.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-type-definitions] correct fix for export default (#​3899) (ebb33ed)
  • eslint-plugin: [no-require-imports] report only global require (#​3871) (8aa87a1)
  • eslint-plugin: [no-shadow] ignore type-only imports properly (#​3868) (dda9cee)
  • eslint-plugin: [no-var-requires] report problems within NewExpression (#​3884) (ed5e459)
  • eslint-plugin: [padding-line-between-statements] problems within namespaces not being reported (#​3869) (1861356)
  • eslint-plugin: [prefer-regexp-exec] respect flags when using RegExp (#​3855) (ffdb5ff)
  • eslint-plugin: [prefer-return-this-type] handle generics properly in fixer (#​3852) (9e98b8f)
  • eslint-plugin: false-positive/negative with array index in no-unnecessary-condition (#​3805) (bdb8f0b)
Features
  • eslint-plugin: [no-type-alias]: add allowGenerics option (#​3865) (4195919)
  • eslint-plugin: add no-non-null-asserted-nullish-coalescing rule (#​3349) (4e99961)
  • eslint-plugin: add new extended rule no-restricted-imports (#​3775) (ec5d506)
  • eslint-plugin-internal: [prefer-ast-types-enum] add DefinitionType enum (#​3916) (13b7de5)

4.31.2 (2021-09-20)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

4.31.1 (2021-09-13)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v4.31.2

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v4.31.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v4.31.0

Compare Source

Bug Fixes
  • utils: support immutable arrays in ReportFixFunction (#​3830) (8218055)
Features
  • eslint-plugin: [prefer-readonly-parameter-types] add option treatMethodsAsReadonly (#​3733) (a46e318)
  • eslint-plugin: [restrict-template-expressions] add option to allow RegExp (#​3709) (363b3dc)
  • eslint-plugin: add no-meaningless-void-operator rule (#​3641) (ea40ab6)
  • eslint-plugin: add extension rule padding-line-between-statements (#​3418) (f79ae9b)
typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v4.33.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v4.32.0

Compare Source

Features

4.31.2 (2021-09-20)

Note: Version bump only for package @​typescript-eslint/parser

4.31.1 (2021-09-13)

Note: Version bump only for package @​typescript-eslint/parser

v4.31.2

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v4.31.1

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v4.31.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

vercel/ncc (@​vercel/ncc)

v0.38.2

Compare Source

Bug Fixes

Huge thanks to @​theoludwig 🎉

v0.38.1

Compare Source

Bug Fixes

v0.38.0

Compare Source

Features

v0.37.0

Compare Source

Features
  • add support for TypeScript 5.0's array extends in tsconfig (#​1105) (f898f8e)

v0.36.1

Compare Source

Bug Fixes

v0.36.0

Compare Source

Bug Fixes
Features

v0.34.0

Compare Source

Changes

Add support for TS 4.7

  • Chore(deps-dev): bump ts-loader from 8.3.0 to 9.3.0: #​921
  • Chore(deps-dev): bump express from 4.17.1 to 4.18.1: #​917
  • Chore: add memory-fs to the devDependencies: #​927
Credits

Huge thanks to @​stscoundrel and @​shogo82148 for helping!

v0.33.4

Compare Source

Changes
  • Fix: Add missing variable declaration: #​773
  • Chore: add windows to CI: #​896
  • Chore: bump webpack-asset-relocator-loader to 1.7.2: #​912
  • Chore(deps-dev): bump vm2 from 3.9.4 to 3.9.6: #​872
  • Chore(deps): bump url-parse from 1.5.3 to 1.5.7: #​875
  • Chore(deps): bump url-parse from 1.5.7 to 1.5.10: #​879
  • Chore(deps-dev): bump stripe from 8.167.0 to 8.205.0: #​882
  • Chore(deps-dev): bump typescript from 4.4.2 to 4.6.2: #​881
  • Chore(deps-dev): bump twilio from 3.66.1 to 3.75.0: #​884
  • Chore(deps): bump actions/setup-node from 2 to 3: #​880
  • Chore(deps-dev): bump graphql from 15.5.1 to 15.8.0: #​885
  • Chore: replace deprecated String.prototype.substr(): #​894
  • Chore(deps): bump actions/checkout from 2 to 3: #​902
  • Chore(deps-dev): bump @​azure/cosmos from 3.12.3 to 3.15.1: #​905
  • Chore(deps-dev): bump stripe from 8.205.0 to 8.214.0: #​906
  • Chore(deps-dev): bump @​google-cloud/bigquery from 5.7.0 to 5.12.0: #​903
  • Chore(deps-dev): bump tsconfig-paths from 3.10.1 to 3.14.1: #​904
Credits

Huge thanks to @​CommanderRoot for helping!

v0.33.3

Compare Source

Patches
  • Fix: bump license-webpack-plugin: #​871
  • Chore(deps): bump follow-redirects from 1.14.7 to 1.14.8: #​870

v0.33.2

Compare Source

Patches
  • Fix: use sha256 instead of deprecated md5 for hash algorithm: #​868
  • Fix: typo in build script: #​835
  • Chore(test) Add Node.js 16 to CI: #​801
  • Chore(deps): bump nodemailer from 6.5.0 to 6.7.2: #​833
  • Chore(deps-dev): bump terser from 5.7.1 to 5.10.0: #​840
  • Chore(deps-dev): bump passport from 0.4.1 to 0.5.2: #​839
  • Chore(deps-dev): bump sequelize from 6.6.5 to 6.12.4: #​843
  • Chore(deps-dev): bump analytics-node from 5.0.0 to 6.0.0: #​838
  • Chore(deps): bump follow-redirects from 1.14.5 to 1.14.7: #​846
  • Chore(deps): bump cached-path-relative from 1.0.2 to 1.1.0: #​854
  • Chore(deps-dev): bump license-webpack-plugin from 2.3.20 to 4.0.1: #​859
  • Chore(deps): bump simple-get from 3.1.0 to 3.1.1: #​864
  • Chore(deps-dev): bump aws-sdk from 2.1024.0 to 2.1068.0: #​867
Credits

Huge thanks to @​shakefu for helping!

v0.33.1

Compare Source

Patches
  • Allow configuring mainFields for nccing browser modules: #​832

v0.33.0

Compare Source

Minor Changes
Patches
  • Chore(deps-dev): bump koa from 2.13.1 to 2.13.4: #​822
  • Chore(deps-dev): bump mariadb from 2.5.4 to 2.5.5: #​823
Credits

Huge thanks to @​fenix20113 for helping!

v0.32.0

Compare Source

Changes
  • Feat: bump to [email protected]: #​809
  • Docs: add debug command description: #​800
  • Chore(deps): bump object-path from 0.11.7 to 0.11.8: #​778
  • Chore(deps): bump tmpl from 1.0.4 to 1.0.5: #​779
  • Chore(deps-dev): bump vm2 from 3.9.3 to 3.9.4: #​795
  • Chore(deps-dev): bump axios from 0.21.1 to 0.21.2: #​810
  • Chore(deps-dev): bump aws-sdk from 2.958.0 to 2.1024.0: #​812
  • Chore(deps-dev): bump webpack from 5.61.0 to 5.62.1: #​813
  • Chore(deps): bump passport-oauth2 from 1.5.0 to 1.6.1: #​811
  • Chore(deps): bump url-parse from 1.5.1 to 1.5.3: #​815
Credits

Huge thanks to @​fireairforce and @​jesec for helping!

v0.31.1

Compare Source

Patches
  • Fix tsconfig.json detection: #​770

v0.31.0

Compare Source

Changes
  • Fix compilerOptions from tsconfig.json: #​766
  • Bump typescript to 4.4.2: #​767
  • Chore(deps-dev): bump graceful-fs from 4.2.6 to 4.2.8: #​761
  • Chore(deps): bump tar from 4.4.15 to 4.4.19: #​763
  • Chore(deps): bump object-path from 0.11.5 to 0.11.7: #​764
jestjs/jest (jest)

v27.5.1

Compare Source

Features
  • [jest-config] Support comments in JSON config file (#​12316)
  • [pretty-format] Expose ConvertAnsi plugin (#​12308)
Fixes
  • [expect] Add type definitions for asymmetric closeTo matcher (#​12304)
  • [jest-cli] Load binary via exported API (#​12315)
  • [jest-config] Replace jsonlint with parse-json (#​12316)
  • [jest-repl] Make module importable (#​12311 & #​12315)
Chore & Maintenance
  • [*] Avoid anonymous default exports (#​12313)

v27.5.0

Compare Source

Features
  • [expect] Add asymmetric matcher expect.closeTo (#​12243)
  • [jest-mock] Added mockFn.mock.lastCall to retrieve last argument (#​12285)
Fixes
  • [expect] Add a fix for .toHaveProperty('') (#​12251)
  • [jest-each, @​jest/globals] Allow passing ReadonlyArray type of a table to describe.each and test.each (#​12297)
  • [@jest/globals] Add missing options argument to jest.doMock typing (#​12292)
  • [jest-environment-node] Add atob and btoa (#​12269)
  • [jest-matcher-utils] Correct diff for expected asymmetric matchers (#​12264)
  • [jest-message-util] Fix .getTopFrame() (and toMatchInlineSnapshot()) with mjs files (#​12277)
Chore & Maintenance
  • [*] Update graceful-fs to ^4.2.9 (#​11749)
Performance
  • [jest-resolve] perf: skip error creation on not found stat calls (#​11749)

v27.4.7

Compare Source

Fixes
  • jest-config Add missing @babel/core dependency (#​12216)

v27.4.6

Compare Source

Fixes
  • [jest-environment-node] Add AbortSignal (#​12157)
  • [jest-environment-node] Add Missing node global performance (#​12002)
  • [jest-runtime] Handle missing mocked property (#​12213)
  • [@jest/transform] Update dependency package pirates to 4.0.4 (#​12002)
Performance
  • jest-config perf: only register ts-node once when loading TS config files (#​12160)

v27.4.5

Compare Source

Fixes
  • [jest-worker] Stop explicitly passing process.env (#​12141)

v27.4.4

Compare Source

Fixes
  • [babel-jest] Add process.version chunk to the cache key (#​12122)
  • [jest-environment] Add mocked to jest object (#​12133)
  • [jest-worker] Stop explicitly passing execArgv (#​12128)
Chore & Maintenance
  • [website] Fix the card front that looks overlapping part of the card back

v27.4.3

Compare Source

Fixes
  • [jest-environment-jsdom] Remove @types/jsdom dependency (and make its dom property private) (#​12107)

v27.4.2

Compare Source

Fixes
  • [jest-worker] Add additional execArgv to filter (#​12103)

v27.4.1

Compare Source

Fixes
  • [jest-worker] Filter execArgv correctly (#​12097)

v27.4.0

Compare Source

Features
  • [expect] Enhancing the toHaveProperty matcher to support array selection (#​12092)
  • [jest-core] Add support for testResultsProcessor written in ESM (#​12006)
  • [jest-diff, pretty-format] Add compareKeys option for custom sorting of object keys (#​11992)
  • [jest-mock] Add ts-jest mock util functions (#​12089)
Fixes
  • [expect] Allow again expect.Matchers generic with single value (#​11986)
  • [jest-circus, jest-jasmine2] Avoid false concurrent test failures due to unhandled promise rejections (#​11987)
  • [jest-config] Add missing slash dependency to package.json (#​12080)
  • [jest-core] Incorrect detection of open ZLIB handles (#​12022)
  • [jest-diff] Break dependency cycle (#​10818)
  • [jest-environment-jsdom] Add @types/jsdom dependency (#​11999)
  • [jest-environment-jsdom] Do not reset the global.document too early on teardown (#​11871)
  • [jest-transform] Improve error and warning messages (#​11998)
  • [jest-worker] Pass execArgv correctly to worker_threads worker (#​12069)
Chore & Maintenance
  • [docs] CLI options alphabetized (#​11586)
  • [jest-runner] Add info regarding timers to forcedExit message(#​12083)
  • [*] Replaced substr method with substring (#​12066)
  • [*] Add types entry to all export maps (#​12073)

v27.3.1

Compare Source

Fixes
  • [expect] Make expect extension properties configurable (#​11978)
  • [expect] Fix .any() checks on primitive wrapper classes (#​11976)
Chore & Maintenance
  • [expect] BigInt global is always defined, don't check for its existence at runtime (#​11979)
  • [jest-config, jest-util] Use ci-info instead of is-ci to detect CI environment (#​11973)

v27.3.0

Compare Source

Features
  • [jest-config] Add testEnvironmentOptions.html to apply to jsdom input (#​11950)
  • [jest-resolver] Support default export (.) in exports field if main is missing (#​11919)
Fixes
  • [expect] Tweak and improve types (#​11949)
  • [jest-runtime] Ensure absolute paths can be resolved within test modules (#​11943)
  • [jest-runtime] Fix instanceof for ModernFakeTimers and LegacyFakeTimers methods (#​11946)

v27.2.5

Compare Source

Features
  • [jest-config] Warn when multiple Jest configs are located (#​11922)
Fixes
  • [expect] Pass matcher context to asymmetric matchers (#​11926 & #​11930)
  • [expect] Improve TypeScript types (#​11931)
  • [expect] Improve typings of toThrow() and toThrowError() matchers (#​11929)
  • [jest-cli] Improve --help printout by removing defunct --browser option (#​11914)
  • [jest-haste-map] Use distinct cache paths for different values of computeDependencies (#​11916)
  • [@jest/reporters] Do not buffer console.logs when using verbose reporter (#​11054)
Chore & Maintenance
  • [expect] Export default matchers (#​11932)
  • [@jest/types] Mark deprecated configuration options as @deprecated (#​11913)

v27.2.4

Compare Source

Features
  • [expect] Add equality checks for Array Buffers in expect.ToStrictEqual() (#​11805)
Fixes
  • [jest-snapshot] Correctly indent inline snapshots (#​11560)

v27.2.3

Compare Source

Features
  • [@jest/fake-timers] Update @sinonjs/fake-timers to v8 (#​11879)
Fixes
  • [jest-config] Parse testEnvironmentOptions if received from CLI (#​11902)
  • [jest-reporters] Call destroy on v8-to-istanbul converters to free memory (#​11896)

v27.2.2

Compare Source

Fixes
  • [jest-runtime] Correct wrapperLength value for ESM modules. (#​11893)

v27.2.1

Compare Source

Features
  • [jest-transform] Improve the unexpected token error message. (#​11807)
Fixes
  • [jest-runtime] Fix regression when using jest.isolateModules and mocks (#​11882)
  • [jest-runtime] Include test name when importing modules after test has completed (#​11885)
  • [jest-runtime] Error when ESM import is used after test is torn down (#​11885)

v27.2.0

Compare Source

Features
  • [jest-resolver, jest-runtime] Pass conditions to custom resolvers to enable them to implement support for package.json exports field (#​11859)
  • [jest-runtime] Allow custom envs to specify exportConditions which is passed together with Jest's own conditions to custom resolvers (#​11863)
Fixes
  • [@jest/reporters] Use async transform if available to transform files with no coverage (#​11852)
  • [jest-util] Return correct value from process.send stub (#​11799)

v27.1.1

Compare Source

Features
  • [jest-runtime] Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#​11818)
Fixes
  • [jest-resolver] Support node: prefix when importing Node core modules with ESM (#​11817)
  • [jest-types] Export the PrettyFormatOptions interface (#​11801)
prettier/prettier (prettier)

v2.8.8

Compare Source

This version is a republished version of v2.8.7.
A bad version was accidentally published and it can't be unpublished, apologies for the churn.

v2.8.7

Compare Source

diff

Allow multiple decorators on same getter/setter (#​14584 by @​fisker)
// Input
class A {
  @​decorator()
  get foo () {}
  
  @​decorator()
  set foo (value) {}
}

// Prettier 2.8.6
SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3)
  3 |   get foo () {}
  4 |   
> 5 |   @​decorator()
    |   ^^^^^^^^^^^^
  6 |   set foo (value) {}
  7 | }

// Prettier 2.8.7
class A {
  @​decorator()
  get foo() {}

  @​decorator()
  set foo(value) {}
}

v2.8.6

Compare Source

diff

Allow decorators on private members and class expressions (#​14548 by @​fisker)
// Input
class A {
  @​decorator()
  #privateMethod () {}
}

// Prettier 2.8.5
SyntaxError: Decorators are not valid here. (2:3)
  1 | class A {
> 2 |   @​decorator()
    |   ^^^^^^^^^^^^
  3 |   #privateMethod () {}
  4 | }

// Prettier 2.8.6
class A {
  @​decorator()
  #privateMethod() {}
}

v2.8.5

Compare Source

diff

Support TypeScript 5.0 (#​14391 by @​fisker, #​13819 by @​fisker, @​sosukesuzuki)

TypeScript 5.0 introduces two new syntactic features:

  • const modifiers for type parameters
  • export type * declarations
Add missing parentheses for decorator (#​14393 by @​fisker)
// Input
class Person {
  @​(myDecoratorArray[0])
  greet() {}
}

// Prettier 2.8.4
class Person {
  @​myDecoratorArray[0]
  greet() {}
}

// Prettier 2.8.5
class Person {
  @​(myDecoratorArray[0])
  greet() {}
}
Add parentheses for TypeofTypeAnnotation to improve readability (#​14458 by @​fisker)
// Input
type A = (typeof node.children)[];

// Prettier 2.8.4
type A = typeof node.children[];

// Prettier 2.8.5
type A = (typeof node.children)[];
Support max_line_length=off when parsing .editorconfig (#​14516 by @​josephfrazier)

If an .editorconfig file is in your project and it sets max_line_length=off for the file you're formatting,
it will be interpreted as a printWidth of Infinity rather than being ignored
(which previously resulted in the default printWidth of 80 being applied, if not overridden by Prettier-specific configuration).

<!-- Input -->
<div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}/>

<!-- Prettier 2.8.4 -->
<div
  className="HelloWorld"
  title={`You are visitor number ${num}`}
  onMouseOver={onMouseOver}
/>;

<!-- Prettier 2.8.5 -->
<div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver} />;

v2.8.4

Compare Source

diff

Fix leading comments in mapped types with readonly (#​13427 by @​thorn0, @​sosukesuzuki)
// Input
type Type = {
  // comment
  readonly [key in Foo];
};

// Prettier 2.8.3
type Type = {
  readonly // comment
  [key in Foo];
};

// Prettier 2.8.4
type Type = {
  // comment
  readonly [key in Foo];
};
Group params in opening block statements (#​14067 by @​jamescdavis)

This is a follow-up to #​13930 to establish wrapping consistency between opening block statements and else blocks by
grouping params in opening blocks. This causes params to break to a new line together and not be split across lines
unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the
same as opening blocks.

{{! Input }}
{{#block param param param param param param param param param param as |blockParam|}}
  Hello
{{else block param param param param param param param param param param as |blockParam|}}
  There
{{/block}}

{{! Prettier 2.8.3 }}
{{#block
  param
  param
  param
  param
  param
  param
  param
  param
  param
  param
  as |blockParam|
}}
  Hello
{{else block param
param
param
param
param
param
param
param
param
param}}
  There
{{/block}}

{{! Prettier 2.8.4 }}
{{#block
  param param param param param param param param param param
  as |blockParam|
}}
  Hello
{{else block
  param param param param param param param param param param
  as |blockParam|
}}
  There
{{/block}}
Ignore files in .sl/ (#​14206 by @​bolinfest)

In Sapling SCM, .sl/ is the folder where it stores its state, analogous to .git/ in Git. It should be ignored in Prettier like the other SCM folders.

Recognize @satisfies in Closure-style type casts (#​14262 by @​fisker)
// Input
const a = /** @&#8203;satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @&#8203;type {Record<string, string>} */ ({hello: 1337});

// Prettier 2.8.3
const a = /** @&#8203;satisfies {Record<string, string>} */ { hello: 1337 };
const b = /** @&#8203;type {Record<string, string>} */ ({ hello: 1337 });

// Prettier 2.8.4
const a = /** @&#8203;satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @&#8203;type {Record<string, string>} */ ({hello: 1337});
Fix parens in inferred function return types with extends (#​14279 by @​fisker)
// Input
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;

// Prettier 2.8.3 (First format)
type Foo<T> = T extends (a) => a is infer R extends string ? R : never;

// Prettier 2.8.3 (Second format)
SyntaxError: '?' expected. 

// Prettier 2.8.4
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;

v2.8.3

Compare Source

diff

Allow self-closing tags on custom elements (#​14170 by @​fisker)

See Angular v15.1.0 release note for details.

// Input
<app-test/>

// Prettier 2.8.2
SyntaxError: Only void and foreign elements can be self closed "app-test" (1:1)
> 1 | <app-test/>
    | ^^^^^^^^^
  2 |

// Prettier 2.8.3
<app-test />

v2.8.2

Compare Source

diff

Don't lowercase link references (#​13155 by @​DerekNonGeneric & @​fisker)
<!-- Input -->
We now don't strictly follow the release notes format suggested by [Keep a Changelog].

[Keep a Changelog]: https://example.com/

<!-- Prettier 2.8.1 -->
We now don't strictly follow the release notes format suggested by [Keep a Changelog].

[keep a changelog]: https://example.com/
<!--
^^^^^^^^^^^^^^^^^^ lowercased
-->

<!-- Prettier 2.8.2 -->
<Same as input>
Preserve self-closing tags (#​13691 by @​dcyriller)
{{! Input }}
<div />
<div></div>
<custom-component />
<custom-component></custom-component>
<i />
<i></i>
<Component />
<Component></Component>

{{! Prettier 2.8.1 }}
<div></div>
<div></div>
<custom-component></custom-component>
<custom-component></custom-component>
<i></i>
<i></i>
<Component />
<Component />

{{! Prettier 2.8.2 }}
<div />
<div></div>
<custom-component />
<custom-component></custom-component>
<i />
<i></i>
<Component />
<Component />
Allow custom "else if"-like blocks with block params (#​13930 by @​jamescdavis)

#​13507 added support for custom block keywords used with else, but failed to allow block params. This updates printer-glimmer to allow block params with custom "else if"-like blocks.

{{! Input }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading as |book|}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}

{{! Prettier 2.8.1 }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}

{{! Prettier 2.8.2 }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading as |book|}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}
Preserve empty lines between nested SCSS maps (#​13931 by @​jneander)
/* Input */
$map: (
  'one': (
     'key': 'value',
  ),

  'two': (
     'key': 'value',
  ),
)

/* Prettier 2.8.1 */
$map: (
  'one': (
     'key': 'value',
  ),
  'two': (
     'key': 'value',
  ),
)

/* Prettier 2.8.2 */
$map: (
  'one': (
     'key': 'value',
  ),

  'two': (
     'key': 'value',
  ),
)
Fix missing parentheses when an expression statement starts with let[ (#​14000, #​14044 by @​fisker, @​thorn0)
// Input
(let[0] = 2);

// Prettier 2.8.1
let[0] = 2;

// Prettier 2.8.1 (second format)
SyntaxError: Unexpected token (1:5)
> 1 | let[0] = 2;
    |     ^
  2 |

// Prettier 2.8.2
(let)[0] = 2;
Fix semicolon duplicated at the end of LESS file (#​14007 by @​mvorisek)
// Input
@&#8203;variable: {
  field: something;
};

// Prettier 2.8.1
@&#8203;variable: {
  field: something;
}; ;

// Prettier 2.8.2
@&#8203;variable: {
  field: something;
};
Fix no space after unary minus when followed by opening parenthesis in LESS (#​14008 by @​mvorisek)
// Input
.unary_minus_single {
  margin: -(@&#8203;a);
}

.unary_minus_multi {
  margin: 0 -(@&#8203;a);
}

.binary_minus {
  margin: 0 - (@&#8203;a);
}

// Prettier 2.8.1
.unary_minus_single {
  margin: - (@&#8203;a);
}

.unary_minus_multi {
  margin: 0 - (@&#8203;a);
}

.binary_minus {
  margin: 0 - (@&#8203;a);
}

// Prettier 2.8.2
.unary_minus_single {
  margin: -(@&#8203;a);
}

.unary_minus_multi {
  margin: 0 -(@&#8203;a);
}

.binary_minus {
  margin: 0 - (@&#8203;a);
}
Do not change case of property name if inside a variable declaration in LESS (#​14034 by @​mvorisek)
// Input
@&#8203;var: {
  preserveCase: 0;
};

// Prettier 2.8.1
@&#8203;var: {
  preservecase: 0;
};

// Prettier 2.8.2
@&#8203;var: {
  preserveCase: 0;
};
Fix formatting for auto-accessors with comments (#​14038 by [@&#82

Configuration

📅 Schedule: Branch creation - "before 3am 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 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 has been generated by Renovate Bot.

@renovate-coveo renovate-coveo bot requested a review from a team as a code owner October 7, 2024 00:04
@alexprudhomme alexprudhomme merged commit 3c800ef into main Nov 15, 2024
3 checks passed
@renovate-coveo renovate-coveo bot deleted the renovate/all branch November 15, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant