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: remove outdated nested middleware info #5180 #5181

Merged
merged 2 commits into from Dec 31, 2022

Conversation

luiisca
Copy link

@luiisca luiisca commented Aug 17, 2022

This section of the next-auth docs contains outdated info about nested middlewares on nextjs

@vercel
Copy link

vercel bot commented Aug 17, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
next-auth ✅ Ready (Inspect) Visit Preview Dec 31, 2022 at 9:36AM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
next-auth-docs ⬜️ Ignored (Inspect) Dec 31, 2022 at 9:36AM (UTC)

@vercel vercel bot temporarily deployed to Preview August 17, 2022 23:24 Inactive
Copy link
Member

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's mention matcher for filtering instead of removing this info

@vercel
Copy link

vercel bot commented Dec 31, 2022

@balazsorban44 is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@balazsorban44 balazsorban44 merged commit 39657bf into nextauthjs:v4 Dec 31, 2022
kodiakhq bot added a commit to weareinreach/InReach that referenced this pull request Jan 9, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-query](https://tanstack.com/query) ([source](https://togithub.com/tanstack/query)) | [`4.20.9` -> `4.21.0`](https://renovatebot.com/diffs/npm/@tanstack%2freact-query/4.20.9/4.21.0) | [![age](https://badges.renovateapi.com/packages/npm/@tanstack%2freact-query/4.21.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@tanstack%2freact-query/4.21.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@tanstack%2freact-query/4.21.0/compatibility-slim/4.20.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@tanstack%2freact-query/4.21.0/confidence-slim/4.20.9)](https://docs.renovatebot.com/merge-confidence/) |
| [aws-sdk](https://togithub.com/aws/aws-sdk-js) | [`2.1289.0` -> `2.1290.0`](https://renovatebot.com/diffs/npm/aws-sdk/2.1289.0/2.1290.0) | [![age](https://badges.renovateapi.com/packages/npm/aws-sdk/2.1290.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/aws-sdk/2.1290.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/aws-sdk/2.1290.0/compatibility-slim/2.1289.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/aws-sdk/2.1290.0/confidence-slim/2.1289.0)](https://docs.renovatebot.com/merge-confidence/) |
| [commander](https://togithub.com/tj/commander.js) | [`9.4.1` -> `9.5.0`](https://renovatebot.com/diffs/npm/commander/9.4.1/9.5.0) | [![age](https://badges.renovateapi.com/packages/npm/commander/9.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/commander/9.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/commander/9.5.0/compatibility-slim/9.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/commander/9.5.0/confidence-slim/9.4.1)](https://docs.renovatebot.com/merge-confidence/) |
| [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) | [`1.10.16` -> `1.10.17`](https://renovatebot.com/diffs/npm/libphonenumber-js/1.10.16/1.10.17) | [![age](https://badges.renovateapi.com/packages/npm/libphonenumber-js/1.10.17/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/libphonenumber-js/1.10.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/libphonenumber-js/1.10.17/compatibility-slim/1.10.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/libphonenumber-js/1.10.17/confidence-slim/1.10.16)](https://docs.renovatebot.com/merge-confidence/) |
| [next-auth](https://next-auth.js.org) ([source](https://togithub.com/nextauthjs/next-auth)) | [`4.18.7` -> `4.18.8`](https://renovatebot.com/diffs/npm/next-auth/4.18.7/4.18.8) | [![age](https://badges.renovateapi.com/packages/npm/next-auth/4.18.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/next-auth/4.18.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/next-auth/4.18.8/compatibility-slim/4.18.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/next-auth/4.18.8/confidence-slim/4.18.7)](https://docs.renovatebot.com/merge-confidence/) |
| [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.8.1` -> `2.8.2`](https://renovatebot.com/diffs/npm/prettier/2.8.1/2.8.2) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.2/compatibility-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.2/confidence-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) |
| [quicktype-core](https://togithub.com/quicktype/quicktype) | [`7.0.3` -> `7.0.31`](https://renovatebot.com/diffs/npm/quicktype-core/7.0.3/7.0.31) | [![age](https://badges.renovateapi.com/packages/npm/quicktype-core/7.0.31/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/quicktype-core/7.0.31/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/quicktype-core/7.0.31/compatibility-slim/7.0.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/quicktype-core/7.0.31/confidence-slim/7.0.3)](https://docs.renovatebot.com/merge-confidence/) |
| [react-i18next](https://togithub.com/i18next/react-i18next) | [`12.1.1` -> `12.1.4`](https://renovatebot.com/diffs/npm/react-i18next/12.1.1/12.1.4) | [![age](https://badges.renovateapi.com/packages/npm/react-i18next/12.1.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/react-i18next/12.1.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/react-i18next/12.1.4/compatibility-slim/12.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/react-i18next/12.1.4/confidence-slim/12.1.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>tanstack/query</summary>

### [`v4.21.0`](https://togithub.com/TanStack/query/releases/tag/v4.21.0)

[Compare Source](https://togithub.com/tanstack/query/compare/v4.20.9...v4.21.0)

Version 4.21.0 - 1/8/2023, 12:18 PM

##### Changes

##### Feat

-   svelte-query: Svelte Query Adapter for TanStack Query ([#&#8203;4768](https://togithub.com/tanstack/query/issues/4768)) ([`b324a9b`](https://togithub.com/tanstack/query/commit/b324a9b8)) by Lachlan Collins

##### Chore

-   Remove incompatible vitest flag from test:ci ([#&#8203;4777](https://togithub.com/tanstack/query/issues/4777)) ([`d79f2b9`](https://togithub.com/tanstack/query/commit/d79f2b97)) by Lachlan Collins
-   env: cross platform preinstall CI check. ([#&#8203;4775](https://togithub.com/tanstack/query/issues/4775)) ([`85ce6db`](https://togithub.com/tanstack/query/commit/85ce6db9)) by Rivo Tüksammel

##### Packages

-   [@&#8203;tanstack/query-core](https://togithub.com/tanstack/query-core)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/query-persist-client-core](https://togithub.com/tanstack/query-persist-client-core)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/query-async-storage-persister](https://togithub.com/tanstack/query-async-storage-persister)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/query-broadcast-client-experimental](https://togithub.com/tanstack/query-broadcast-client-experimental)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/query-sync-storage-persister](https://togithub.com/tanstack/query-sync-storage-persister)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/react-query](https://togithub.com/tanstack/react-query)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/react-query-devtools](https://togithub.com/tanstack/react-query-devtools)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/react-query-persist-client](https://togithub.com/tanstack/react-query-persist-client)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/solid-query](https://togithub.com/tanstack/solid-query)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/svelte-query](https://togithub.com/tanstack/svelte-query)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/vue-query](https://togithub.com/tanstack/vue-query)[@&#8203;4](https://togithub.com/4).21.0
-   [@&#8203;tanstack/eslint-plugin-query](https://togithub.com/tanstack/eslint-plugin-query)[@&#8203;4](https://togithub.com/4).21.0

</details>

<details>
<summary>aws/aws-sdk-js</summary>

### [`v2.1290.0`](https://togithub.com/aws/aws-sdk-js/blob/HEAD/CHANGELOG.md#&#8203;212900)

[Compare Source](https://togithub.com/aws/aws-sdk-js/compare/v2.1289.0...v2.1290.0)

-   feature: ACMPCA: Added revocation parameter validation: bucket names must match S3 bucket naming rules and CNAMEs conform to RFC2396 restrictions on the use of special characters in URIs.
-   feature: AuditManager: This release introduces a new data retention option in your Audit Manager settings. You can now use the DeregistrationPolicy parameter to specify if you want to delete your data when you deregister Audit Manager.

</details>

<details>
<summary>tj/commander.js</summary>

### [`v9.5.0`](https://togithub.com/tj/commander.js/blob/HEAD/CHANGELOG.md#&#8203;950-2023-01-07)

[Compare Source](https://togithub.com/tj/commander.js/compare/v9.4.1...v9.5.0)

##### Added

-   `.getOptionValueSourceWithGlobals()` (\[[#&#8203;1832](https://togithub.com/tj/commander.js/issues/1832)])
-   `showGlobalOptions` for `.configureHelp{}` and `Help` (\[[#&#8203;1828](https://togithub.com/tj/commander.js/issues/1828)])

</details>

<details>
<summary>catamphetamine/libphonenumber-js</summary>

### [`v1.10.17`](https://gitlab.com/catamphetamine/libphonenumber-js/blob/HEAD/CHANGELOG.md#&#8203;11017--08012023)

[Compare Source](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.16...v1.10.17)

\==================

-   [Added](https://togithub.com/catamphetamine/libphonenumber-js/issues/420) `PhoneNumber.getPossibleCountries()` function. It returns a list of countries this phone number could possibly belong to. Can be used when parsing complete international phone numbers containing a "calling code" that is shared between several countries. If parsing such a phone number returns `country: undefined` then `getPossibleCountries()` function could be used to somehow speculate about what country could this phone number possibly belong to.

</details>

<details>
<summary>nextauthjs/next-auth</summary>

### [`v4.18.8`](https://togithub.com/nextauthjs/next-auth/releases/tag/next-auth%404.18.8)

[Compare Source](https://togithub.com/nextauthjs/next-auth/compare/next-auth@v4.18.7...next-auth@4.18.8)

#### What's Changed

-   chore(docs): fix aloglia `docusaurus.config.js` settings (`v4`) [nextauthjs/next-auth#6160
-   fix broken links related to issue [#&#8203;6157](https://togithub.com/nextauthjs/next-auth/issues/6157) [nextauthjs/next-auth#6183
-   Replaced the word peer dependency [nextauthjs/next-auth#6197
-   fix(docs): import `NextAuth` correctly [nextauthjs/next-auth#6206
-   chore(docs): fix middleware verbiage [nextauthjs/next-auth#5981
-   fix: remove outdated nested middleware info [#&#8203;5180](https://togithub.com/nextauthjs/next-auth/issues/5180) [nextauthjs/next-auth#5181

**Full Changelog**: https://github.com/nextauthjs/next-auth/compare/next-auth@v4.18.7...next-auth@4.18.8

</details>

<details>
<summary>prettier/prettier</summary>

### [`v2.8.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;282)

[Compare Source](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2)

[diff](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2)

##### Don't lowercase link references ([#&#8203;13155](https://togithub.com/prettier/prettier/pull/13155) by [@&#8203;DerekNonGeneric](https://togithub.com/DerekNonGeneric) & [@&#8203;fisker](https://togithub.com/fisker))



```markdown
<!-- 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 ([#&#8203;13691](https://togithub.com/prettier/prettier/pull/13691) by [@&#8203;dcyriller](https://togithub.com/dcyriller))



```hbs
{{! 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 ([#&#8203;13930](https://togithub.com/prettier/prettier/pull/13930) by [@&#8203;jamescdavis](https://togithub.com/jamescdavis))

[#&#8203;13507](https://togithub.com/prettier/prettier/issues/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.



```hbs
{{! 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 ([#&#8203;13931](https://togithub.com/prettier/prettier/pull/13931) by [@&#8203;jneander](https://togithub.com/jneander))



```scss
/* 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[` ([#&#8203;14000](https://togithub.com/prettier/prettier/pull/14000), [#&#8203;14044](https://togithub.com/prettier/prettier/pull/14044) by [@&#8203;fisker](https://togithub.com/fisker), [@&#8203;thorn0](https://togithub.com/thorn0))



```jsx
// 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 ([#&#8203;14007](https://togithub.com/prettier/prettier/pull/14007) by [@&#8203;mvorisek](https://togithub.com/mvorisek))



```less
// 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 ([#&#8203;14008](https://togithub.com/prettier/prettier/pull/14008) by [@&#8203;mvorisek](https://togithub.com/mvorisek))



```less
// 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 ([#&#8203;14034](https://togithub.com/prettier/prettier/pull/14034) by [@&#8203;mvorisek](https://togithub.com/mvorisek))



```less
// 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 ([#&#8203;14038](https://togithub.com/prettier/prettier/pull/14038) by [@&#8203;fisker](https://togithub.com/fisker))



```jsx
// 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 ([#&#8203;14042](https://togithub.com/prettier/prettier/pull/14042) by [@&#8203;onishi-kohei](https://togithub.com/onishi-kohei))



```tsx
// 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 ([#&#8203;14047](https://togithub.com/prettier/prettier/pull/14047) by [@&#8203;thorn0](https://togithub.com/thorn0))

It was a regression in Prettier 2.6.0.



```jsx
// 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` ([#&#8203;14049](https://togithub.com/prettier/prettier/pull/14049) by [@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki))

[The bug that `@babel/parser` cannot parse auto accessors with type annotations](https://togithub.com/babel/babel/issues/15205) has been fixed. So we now support it via `babel-ts` parser.



```tsx
class Foo {
  accessor prop: number;
}
```

##### Fix formatting of empty type parameters ([#&#8203;14073](https://togithub.com/prettier/prettier/pull/14073) by [@&#8203;fisker](https://togithub.com/fisker))



```jsx
// 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 ([#&#8203;14077](https://togithub.com/prettier/prettier/pull/14077) by [@&#8203;fisker](https://togithub.com/fisker))



```jsx
// 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 ([#&#8203;14081](https://togithub.com/prettier/prettier/pull/14081) by [@&#8203;fisker](https://togithub.com/fisker))



```jsx
// 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 ([#&#8203;14082](https://togithub.com/prettier/prettier/pull/14082) with by [@&#8203;fisker](https://togithub.com/fisker))



```jsx
// 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 ([#&#8203;14083](https://togithub.com/prettier/prettier/pull/14083) by [@&#8203;fisker](https://togithub.com/fisker))



```jsx
// Input
{0: 'value'}

// Prettier 2.8.1
{
  0: "value"
}

// Prettier 2.8.2
{
  "0": "value"
}
```

##### Fix removing commas from function arguments in maps ([#&#8203;14089](https://togithub.com/prettier/prettier/pull/14089) by [@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki))



```scss
/* 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 ([#&#8203;14103](https://togithub.com/prettier/prettier/pull/14103) by [@&#8203;fisker](https://togithub.com/fisker))



```less
// Input
a {
  color: @&#8203;colors[@&#8203;white];
}

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

// Prettier 2.8.2
<Same as input>
```

</details>

<details>
<summary>quicktype/quicktype</summary>

### [`v7.0.31`](https://togithub.com/quicktype/quicktype/compare/3cbae3cad6db6005cefcdbac953be37504c0d952...170df175a4aa714317495fd10c2c027fed734252)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/3cbae3cad6db6005cefcdbac953be37504c0d952...170df175a4aa714317495fd10c2c027fed734252)

### [`v7.0.30`](https://togithub.com/quicktype/quicktype/compare/5b396f5c38a128e01e7d9bcd495ddac3ae0b6062...3cbae3cad6db6005cefcdbac953be37504c0d952)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/5b396f5c38a128e01e7d9bcd495ddac3ae0b6062...3cbae3cad6db6005cefcdbac953be37504c0d952)

### [`v7.0.29`](https://togithub.com/quicktype/quicktype/compare/a65d813cd2fc76f1ac4bd6731b05ebe3d68fdf2d...5b396f5c38a128e01e7d9bcd495ddac3ae0b6062)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/a65d813cd2fc76f1ac4bd6731b05ebe3d68fdf2d...5b396f5c38a128e01e7d9bcd495ddac3ae0b6062)

### [`v7.0.28`](https://togithub.com/quicktype/quicktype/compare/c1f6db720659f000320e5f534de46c155c887779...a65d813cd2fc76f1ac4bd6731b05ebe3d68fdf2d)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/c1f6db720659f000320e5f534de46c155c887779...a65d813cd2fc76f1ac4bd6731b05ebe3d68fdf2d)

### [`v7.0.27`](https://togithub.com/quicktype/quicktype/compare/7599c476f860ff6a60dca93e3cebfeed84dbdf75...c1f6db720659f000320e5f534de46c155c887779)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/7599c476f860ff6a60dca93e3cebfeed84dbdf75...c1f6db720659f000320e5f534de46c155c887779)

### [`v7.0.26`](https://togithub.com/quicktype/quicktype/compare/e9e68d71ededf2006e3470a1a3816308643301fa...7599c476f860ff6a60dca93e3cebfeed84dbdf75)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/e9e68d71ededf2006e3470a1a3816308643301fa...7599c476f860ff6a60dca93e3cebfeed84dbdf75)

### [`v7.0.25`](https://togithub.com/quicktype/quicktype/compare/2dc22cb8dee03e613da69ca99ab2b4057f5bf68a...e9e68d71ededf2006e3470a1a3816308643301fa)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/2dc22cb8dee03e613da69ca99ab2b4057f5bf68a...e9e68d71ededf2006e3470a1a3816308643301fa)

### [`v7.0.24`](https://togithub.com/quicktype/quicktype/compare/740de7cea038033d9d2b00188c685ca3d4802773...2dc22cb8dee03e613da69ca99ab2b4057f5bf68a)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/740de7cea038033d9d2b00188c685ca3d4802773...2dc22cb8dee03e613da69ca99ab2b4057f5bf68a)

### [`v7.0.23`](https://togithub.com/quicktype/quicktype/compare/e6d9552bcb36d29258d8750515d2a0af310aefcd...740de7cea038033d9d2b00188c685ca3d4802773)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/e6d9552bcb36d29258d8750515d2a0af310aefcd...740de7cea038033d9d2b00188c685ca3d4802773)

### [`v7.0.22`](https://togithub.com/quicktype/quicktype/compare/f27d5e096ad0c592d6b7aa50c4c56b310356754e...e6d9552bcb36d29258d8750515d2a0af310aefcd)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/f27d5e096ad0c592d6b7aa50c4c56b310356754e...e6d9552bcb36d29258d8750515d2a0af310aefcd)

### [`v7.0.21`](https://togithub.com/quicktype/quicktype/compare/a78224b44914b9d04805e582d6dda12da80c6cd2...f27d5e096ad0c592d6b7aa50c4c56b310356754e)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/a78224b44914b9d04805e582d6dda12da80c6cd2...f27d5e096ad0c592d6b7aa50c4c56b310356754e)

### [`v7.0.20`](https://togithub.com/quicktype/quicktype/compare/15905798878a7ecfdc73abaa49ae2d18854f68e0...a78224b44914b9d04805e582d6dda12da80c6cd2)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/15905798878a7ecfdc73abaa49ae2d18854f68e0...a78224b44914b9d04805e582d6dda12da80c6cd2)

### [`v7.0.19`](https://togithub.com/quicktype/quicktype/compare/bd04c986f7e0c89fbf8c9e2c60f48bc81ab6e57f...15905798878a7ecfdc73abaa49ae2d18854f68e0)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/bd04c986f7e0c89fbf8c9e2c60f48bc81ab6e57f...15905798878a7ecfdc73abaa49ae2d18854f68e0)

### [`v7.0.18`](https://togithub.com/quicktype/quicktype/compare/44cde4450e7ed1ad9e82851a186ee795854e15b5...bd04c986f7e0c89fbf8c9e2c60f48bc81ab6e57f)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/44cde4450e7ed1ad9e82851a186ee795854e15b5...bd04c986f7e0c89fbf8c9e2c60f48bc81ab6e57f)

### [`v7.0.17`](https://togithub.com/quicktype/quicktype/compare/15905798878a7ecfdc73abaa49ae2d18854f68e0...44cde4450e7ed1ad9e82851a186ee795854e15b5)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/15905798878a7ecfdc73abaa49ae2d18854f68e0...44cde4450e7ed1ad9e82851a186ee795854e15b5)

### [`v7.0.16`](https://togithub.com/quicktype/quicktype/compare/81404e07396ecf96cb9f4989a150de2c1378f49d...15905798878a7ecfdc73abaa49ae2d18854f68e0)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/81404e07396ecf96cb9f4989a150de2c1378f49d...15905798878a7ecfdc73abaa49ae2d18854f68e0)

### [`v7.0.15`](https://togithub.com/quicktype/quicktype/compare/64233e8f9a925d9dfae847d7f583e1ff0a077a58...81404e07396ecf96cb9f4989a150de2c1378f49d)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/64233e8f9a925d9dfae847d7f583e1ff0a077a58...81404e07396ecf96cb9f4989a150de2c1378f49d)

### [`v7.0.14`](https://togithub.com/quicktype/quicktype/compare/b9e8c0c520d6689ccd76a0549d9c42c0bb196e85...64233e8f9a925d9dfae847d7f583e1ff0a077a58)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/b9e8c0c520d6689ccd76a0549d9c42c0bb196e85...64233e8f9a925d9dfae847d7f583e1ff0a077a58)

### [`v7.0.13`](https://togithub.com/quicktype/quicktype/compare/7e45f4aa6906891c11178ae79cc81eed69bf5534...b9e8c0c520d6689ccd76a0549d9c42c0bb196e85)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/7e45f4aa6906891c11178ae79cc81eed69bf5534...b9e8c0c520d6689ccd76a0549d9c42c0bb196e85)

### [`v7.0.12`](https://togithub.com/quicktype/quicktype/compare/e0d304766b1bec2f72271cc295452bae10a1a21a...7e45f4aa6906891c11178ae79cc81eed69bf5534)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/e0d304766b1bec2f72271cc295452bae10a1a21a...7e45f4aa6906891c11178ae79cc81eed69bf5534)

### [`v7.0.11`](https://togithub.com/quicktype/quicktype/compare/a1396ea06e585d3f679698e372c8ec9ace7064e4...e0d304766b1bec2f72271cc295452bae10a1a21a)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/a1396ea06e585d3f679698e372c8ec9ace7064e4...e0d304766b1bec2f72271cc295452bae10a1a21a)

### [`v7.0.10`](https://togithub.com/quicktype/quicktype/compare/316b5df7236a38c80f6d19bf5fbc19be3f3a07db...a1396ea06e585d3f679698e372c8ec9ace7064e4)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/316b5df7236a38c80f6d19bf5fbc19be3f3a07db...a1396ea06e585d3f679698e372c8ec9ace7064e4)

### [`v7.0.9`](https://togithub.com/quicktype/quicktype/compare/f4487c279b4d7a4131e6822bdda846904760dd63...316b5df7236a38c80f6d19bf5fbc19be3f3a07db)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/f4487c279b4d7a4131e6822bdda846904760dd63...316b5df7236a38c80f6d19bf5fbc19be3f3a07db)

### [`v7.0.8`](https://togithub.com/quicktype/quicktype/compare/cb25f54dd119a71223dec2cf1d8846f49e5032c3...f4487c279b4d7a4131e6822bdda846904760dd63)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/cb25f54dd119a71223dec2cf1d8846f49e5032c3...f4487c279b4d7a4131e6822bdda846904760dd63)

### [`v7.0.7`](https://togithub.com/quicktype/quicktype/compare/6165d1a3cd069a88b7266c29f531776439bbc014...cb25f54dd119a71223dec2cf1d8846f49e5032c3)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/6165d1a3cd069a88b7266c29f531776439bbc014...cb25f54dd119a71223dec2cf1d8846f49e5032c3)

### [`v7.0.6`](https://togithub.com/quicktype/quicktype/compare/1894a54cdce850c9ad3fd6424800a052c53ee2e8...6165d1a3cd069a88b7266c29f531776439bbc014)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/1894a54cdce850c9ad3fd6424800a052c53ee2e8...6165d1a3cd069a88b7266c29f531776439bbc014)

### [`v7.0.5`](https://togithub.com/quicktype/quicktype/compare/b120116abc68de36d9e80c497a7e1245f7c846ee...1894a54cdce850c9ad3fd6424800a052c53ee2e8)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/b120116abc68de36d9e80c497a7e1245f7c846ee...1894a54cdce850c9ad3fd6424800a052c53ee2e8)

### [`v7.0.4`](https://togithub.com/quicktype/quicktype/compare/90a6bc16e854c337955ea453fe36a6d7fcd17c99...b120116abc68de36d9e80c497a7e1245f7c846ee)

[Compare Source](https://togithub.com/quicktype/quicktype/compare/90a6bc16e854c337955ea453fe36a6d7fcd17c99...b120116abc68de36d9e80c497a7e1245f7c846ee)

</details>

<details>
<summary>i18next/react-i18next</summary>

### [`v12.1.4`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#&#8203;1214)

[Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.1.3...v12.1.4)

-   fix crash in gatsby [1594](https://togithub.com/i18next/react-i18next/issues/1594)

### [`v12.1.3`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#&#8203;1213)

[Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.1.2...v12.1.3)

-   fix fallback of t function in Trans component

### [`v12.1.2`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#&#8203;1212)

[Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.1.1...v12.1.2)

-   fix crash in gatsby [1594](https://togithub.com/i18next/react-i18next/issues/1594)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/weareinreach/InReach).



PR-URL: #143
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

None yet

2 participants