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 all non-major dependencies #4952

Merged
merged 3 commits into from
Jan 12, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 7, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) 2.8.1 -> 2.8.2 age adoption passing confidence
ws 8.11.0 -> 8.12.0 age adoption passing confidence

Release Notes

prettier/prettier

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 @​fisker)
// Input
class A {
  @&#8203;dec()
  // comment
  accessor b;
}

// Prettier 2.8.1
class A {
  @&#8203;dec()
  accessor // comment
  b;
}

// Prettier 2.8.1 (second format)
class A {
  @&#8203;dec()
  accessor; // comment
  b;
}

// Prettier 2.8.2
class A {
  @&#8203;dec()
  // comment
  accessor b;
}
Add parentheses for TSTypeQuery to improve readability (#​14042 by @​onishi-kohei)
// Input
a as (typeof node.children)[number]
a as (typeof node.children)[]
a as ((typeof node.children)[number])[]

// Prettier 2.8.1
a as typeof node.children[number];
a as typeof node.children[];
a as typeof node.children[number][];

// Prettier 2.8.2
a as (typeof node.children)[number];
a as (typeof node.children)[];
a as (typeof node.children)[number][];
Fix displacing of comments in default switch case (#​14047 by @​thorn0)

It was a regression in Prettier 2.6.0.

// Input
switch (state) {
  default:
    result = state; // no change
    break;
}

// Prettier 2.8.1
switch (state) {
  default: // no change
    result = state;
    break;
}

// Prettier 2.8.2
switch (state) {
  default:
    result = state; // no change
    break;
}
Support type annotations on auto accessors via babel-ts (#​14049 by @​sosukesuzuki)

The bug that @babel/parser cannot parse auto accessors with type annotations has been fixed. So we now support it via babel-ts parser.

class Foo {
  accessor prop: number;
}
Fix formatting of empty type parameters (#​14073 by @​fisker)
// Input
const foo: bar</* comment */> = () => baz;

// Prettier 2.8.1
Error: Comment "comment" was not printed. Please report this error!

// Prettier 2.8.2
const foo: bar</* comment */> = () => baz;
Add parentheses to head of ExpressionStatement instead of the whole statement (#​14077 by @​fisker)
// Input
({}).toString.call(foo) === "[object Array]"
  ? foo.forEach(iterateArray)
  : iterateObject(foo);

// Prettier 2.8.1
({}.toString.call(foo) === "[object Array]"
  ? foo.forEach(iterateArray)
  : iterateObject(foo));

// Prettier 2.8.2
({}).toString.call(foo.forEach) === "[object Array]"
  ? foo.forEach(iterateArray)
  : iterateObject(foo);
Fix comments after directive (#​14081 by @​fisker)
// Input
"use strict" /* comment */;

// Prettier 2.8.1 (with other js parsers except `babel`)
Error: Comment "comment" was not printed. Please report this error!

// Prettier 2.8.2
<Same as input>
Fix formatting for comments inside JSX attribute (#​14082 with by @​fisker)
// Input
function MyFunctionComponent() {
  <button label=/*old*/"new">button</button>
}

// Prettier 2.8.1
Error: Comment "old" was not printed. Please report this error!

// Prettier 2.8.2
function MyFunctionComponent() {
  <button label=/*old*/ "new">button</button>;
}
Quote numeric keys for json-stringify parser (#​14083 by @​fisker)
// Input
{0: 'value'}

// Prettier 2.8.1
{
  0: "value"
}

// Prettier 2.8.2
{
  "0": "value"
}
Fix removing commas from function arguments in maps (#​14089 by @​sosukesuzuki)
/* Input */
$foo: map-fn(
  (
    "#{prop}": inner-fn($first, $second),
  )
);

/* Prettier 2.8.1 */
$foo: map-fn(("#{prop}": inner-fn($first $second)));

/* Prettier 2.8.2 */
$foo: map-fn(
  (
    "#{prop}": inner-fn($first, $second),
  )
);
Do not insert space in LESS property access (#​14103 by @​fisker)
// Input
a {
  color: @&#8203;colors[@&#8203;white];
}

// Prettier 2.8.1
a {
  color: @&#8203;colors[ @&#8203;white];
}

// Prettier 2.8.2
<Same as input>
websockets/ws

v8.12.0

Compare Source

Features

  • Added support for utf-8-validate@6 (ff63bba).

Other notable changes

  • [buffer.isUtf8()][buffer.isUtf8()] is now used instead of utf-8-validate if available
    (42d79f6).

Configuration

📅 Schedule: Branch creation - "after 8pm,before 8:00am" in timezone Europe/Warsaw, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 7, 2023
@changeset-bot
Copy link

changeset-bot bot commented Jan 7, 2023

🦋 Changeset detected

Latest commit: 03ca057

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@graphql-tools/executor-graphql-ws Patch
@graphql-tools/executor-legacy-ws Patch
@graphql-tools/url-loader Patch
@graphql-tools/prisma-loader Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2023

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-tools/batch-delegate 8.4.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/batch-execute 8.5.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/delegate 9.0.22-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/executor 0.0.12-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/executor-apollo-link 0.0.6-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/executor-graphql-ws 0.0.6-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/executor-http 0.0.9-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/executor-legacy-ws 0.0.6-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/executor-urql-exchange 0.0.6-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/graphql-tag-pluck 7.4.3-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
graphql-tools 8.3.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/import 6.7.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/links 8.3.26-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/load 7.8.9-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/apollo-engine-loader 7.3.22-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/code-file-loader 7.3.16-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/git-loader 7.2.16-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/github-loader 7.3.23-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/graphql-file-loader 7.5.14-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/json-file-loader 7.4.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/module-loader 7.2.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/prisma-loader 7.2.51-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/url-loader 7.17.0-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/merge 8.3.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/mock 8.7.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/node-require 6.4.17-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/relay-operation-optimizer 6.5.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/resolvers-composition 6.5.15-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/schema 9.0.13-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/stitch 8.7.35-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/stitching-directives 2.3.25-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/utils 9.1.4-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎
@graphql-tools/wrap 9.3.0-alpha-20230112084429-4ced45c4 npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2023

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.........................: 100.00% ✓ 152      ✗ 0  
     data_received..................: 18 MB   1.8 MB/s
     data_sent......................: 65 kB   6.5 kB/s
     http_req_blocked...............: avg=8.85µs   min=3.6µs    med=4.8µs    max=232.5µs  p(90)=6µs      p(95)=11.02µs 
     http_req_connecting............: avg=2.07µs   min=0s       med=0s       max=157.9µs  p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=124.77ms min=103.93ms med=118.37ms max=294.9ms  p(90)=146.28ms p(95)=166.62ms
       { expected_response:true }...: avg=124.77ms min=103.93ms med=118.37ms max=294.9ms  p(90)=146.28ms p(95)=166.62ms
     http_req_failed................: 0.00%   ✓ 0        ✗ 76 
     http_req_receiving.............: avg=243.41µs min=162.1µs  med=186.3µs  max=1.1ms    p(90)=379.65µs p(95)=433.1µs 
     http_req_sending...............: avg=132.23µs min=19.3µs   med=34.7µs   max=2.8ms    p(90)=80.25µs  p(95)=763.32µs
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=124.4ms  min=103.74ms med=118.09ms max=293.72ms p(90)=145.17ms p(95)=166.25ms
     http_reqs......................: 76      7.577281/s
     iteration_duration.............: avg=131.93ms min=109.49ms med=125.82ms max=301.27ms p(90)=155.9ms  p(95)=173.64ms
     iterations.....................: 76      7.577281/s
     vus............................: 1       min=1      max=1
     vus_max........................: 1       min=1      max=1

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2023

🚀 Website Preview

The latest changes to the website are available as preview in: https://33d6f217.graphql-tools.pages.dev

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 52acd47 to 9e81760 Compare January 7, 2023 22:34
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.8.2 chore(deps): update all non-major dependencies Jan 7, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Jan 7, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@ardatan ardatan merged commit 1c4853c into master Jan 12, 2023
@ardatan ardatan deleted the renovate/all-minor-patch branch January 12, 2023 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant