Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

chore(deps): update patch upgrades #589

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 9, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@swc/jest (source) 0.2.24 -> 0.2.37 age adoption passing confidence
@tsconfig/recommended (source) 1.0.1 -> 1.0.8 age adoption passing confidence
@types/chrome (source) 0.0.206 -> 0.0.297 age adoption passing confidence
@types/lodash-es (source) 4.17.6 -> 4.17.12 age adoption passing confidence
@types/node (source) 18.19.45 -> 18.19.71 age adoption passing confidence
dayjs (source) 1.11.7 -> 1.11.13 age adoption passing confidence
prettier (source) 2.8.2 -> 2.8.8 age adoption passing confidence
style-loader 3.3.1 -> 3.3.4 age adoption passing confidence
typescript (source) 4.9.4 -> 4.9.5 age adoption passing confidence
zip-webpack-plugin 4.0.1 -> 4.0.3 age adoption passing confidence

Release Notes

swc-project/pkgs (@​swc/jest)

v0.2.32

Compare Source

v0.2.31

Compare Source

v0.2.30

Compare Source

v0.2.29

Compare Source

v0.2.28

Compare Source

tsconfig/bases (@​tsconfig/recommended)

v1.0.8

Compare Source

v1.0.7

Compare Source

v1.0.6

Compare Source

v1.0.5

Compare Source

v1.0.4

Compare Source

v1.0.3

v1.0.2

iamkun/dayjs (dayjs)

v1.11.13

Compare Source

v1.11.12

Compare Source

Bug Fixes

v1.11.11

Compare Source

Bug Fixes

v1.11.10

Compare Source

Bug Fixes

v1.11.9

Compare Source

Bug Fixes

v1.11.8

Compare Source

Bug Fixes
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 />
webpack-contrib/style-loader (style-loader)

v3.3.4

Compare Source

3.3.4 (2024-01-09)
Bug Fixes

v3.3.3

Compare Source

v3.3.2

Compare Source

microsoft/TypeScript (typescript)

v4.9.5: TypeScript 4.9.5

Compare Source

For release notes, check out the release announcement.

Downloads are available on:

Changes:

erikdesjardins/zip-webpack-plugin (zip-webpack-plugin)

v4.0.3

Compare Source

  • use compiler.webpack.sources.RawSource for compatibility with rspack (#​58, thanks @​kdepp)

v4.0.2

Compare Source

  • use for..of with Object.keys for compatibility with rspack (#​56, thanks @​whazor)

Configuration

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

🚦 Automerge: Enabled.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from mkobayashime as a code owner January 9, 2023 14:39
@renovate renovate bot force-pushed the renovate/patch-upgrades branch from fabfe92 to c32239c Compare January 9, 2023 19:39
@renovate renovate bot changed the title chore(deps): update dependency @commitlint/cli to v17.4.1 chore(deps): update patch upgrades Jan 9, 2023
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 8 times, most recently from ed80313 to f3ddaf3 Compare January 17, 2023 04:52
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 3 times, most recently from 5cab415 to fd71523 Compare January 24, 2023 10:55
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 6 times, most recently from 9018884 to cabaf10 Compare February 1, 2023 23:19
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 5 times, most recently from 64633b6 to 18374cb Compare February 10, 2023 08:32
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 5 times, most recently from dd90243 to f99932f Compare February 17, 2023 16:08
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 4 times, most recently from ba5fd4f to 6888417 Compare November 3, 2024 04:26
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 2 times, most recently from de189d1 to bd4a978 Compare November 15, 2024 19:00
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 6 times, most recently from 6b997c9 to f4c2029 Compare November 28, 2024 11:25
@renovate renovate bot changed the title chore(deps): update patch upgrades chore(deps): update patch upgrades - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
auto-merge was automatically disabled December 8, 2024 18:34

Pull request was closed

@renovate renovate bot deleted the renovate/patch-upgrades branch December 8, 2024 18:35
@renovate renovate bot changed the title chore(deps): update patch upgrades - autoclosed chore(deps): update patch upgrades Dec 8, 2024
@renovate renovate bot reopened this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/patch-upgrades branch from f14b1dd to f4c2029 Compare December 8, 2024 22:31
@renovate renovate bot enabled auto-merge (squash) December 9, 2024 02:09
@renovate renovate bot force-pushed the renovate/patch-upgrades branch from f4c2029 to 5281558 Compare December 11, 2024 10:34
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 3 times, most recently from e90b513 to e25ac2d Compare January 9, 2025 15:09
@renovate renovate bot force-pushed the renovate/patch-upgrades branch 3 times, most recently from 76f4fb4 to 84e4d8c Compare January 16, 2025 01:47
@renovate renovate bot force-pushed the renovate/patch-upgrades branch from 84e4d8c to ede63c0 Compare January 16, 2025 09:29
Copy link

codeclimate bot commented Jan 16, 2025

Code Climate has analyzed commit ede63c0 and detected 0 issues on this pull request.

View more on Code Climate.

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