node-formidable / formidable

The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.
MIT License
7.05k stars 682 forks source link

chore(deps): update dependency prettier to v2.6.2 #792

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) 2.0.5 -> 2.6.2 age adoption passing confidence

Release Notes

prettier/prettier ### [`v2.6.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​262) [Compare Source](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2) [diff](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2) ##### Fix LESS/SCSS format error ([#​12536](https://togithub.com/prettier/prettier/pull/12536) by [@​fisker](https://togithub.com/fisker)) ```less // Input .background-gradient(@​cut) { background: linear-gradient( to right, @​white 0%, @​white (@​cut - 0.01%), @​portal-background @​cut, @​portal-background 100% ); } // Prettier 2.6.1 TypeError: Cannot read properties of undefined (reading 'endOffset') // Prettier 2.6.2 .background-gradient(@​cut) { background: linear-gradient( to right, @​white 0%, @​white (@​cut - 0.01%), @​portal-background @​cut, @​portal-background 100% ); } ``` ##### Update `meriyah` to fix several bugs ([#​12567](https://togithub.com/prettier/prettier/pull/12567) by [@​fisker](https://togithub.com/fisker), fixes in [`meriyah`](https://togithub.com/meriyah/meriyah/) by [@​3cp](https://togithub.com/3cp)) Fixes bugs when parsing following valid code: ```js foo(await bar()); ``` ```js const regex = /.*/ms; ``` ```js const element =

{/w/.test(s)}

; ``` ```js class A extends B { #privateMethod() { super.method(); } } ``` ### [`v2.6.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​261) [Compare Source](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1) [diff](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1) ##### Ignore `loglevel` when printing information ([#​12477](https://togithub.com/prettier/prettier/pull/12477) by [@​fisker](https://togithub.com/fisker)) ```bash ``` ### [`v2.6.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#Prettier-260) [Compare Source](https://togithub.com/prettier/prettier/compare/2.5.1...2.6.0) prettier --loglevel silent --find-config-path index.js ### [`v2.5.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​251) [Compare Source](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1) [diff](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1) ##### Improve formatting for empty tuple types ([#​11884](https://togithub.com/prettier/prettier/pull/11884) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; // Prettier 2.5.0 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ ] ? Foo3 : Foo4; // Prettier 2.5.0 (tailingCommma = all) // Invalid TypeScript code type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ , ] ? Foo3 : Foo4; // Prettier 2.5.1 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; ``` ##### Fix compatibility with Jest inline snapshot test ([#​11892](https://togithub.com/prettier/prettier/pull/11892) by [@​fisker](https://togithub.com/fisker)) A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test. ##### Support Glimmer's named blocks ([#​11899](https://togithub.com/prettier/prettier/pull/11899) by [@​duailibe](https://togithub.com/duailibe)) Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler. See: [Glimmer's named blocks](https://emberjs.github.io/rfcs/0460-yieldable-named-blocks.html). ```hbs // Input <:named> // Prettier 2.5.0 <:named /> // Prettier 2.5.1 <:named> ``` ### [`v2.5.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​250) [Compare Source](https://togithub.com/prettier/prettier/compare/2.4.1...2.5.0) [diff](https://togithub.com/prettier/prettier/compare/2.4.1...2.5.0) πŸ”— [Release Notes](https://prettier.io/blog/2021/11/25/2.5.0.html) ### [`v2.4.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​241) [Compare Source](https://togithub.com/prettier/prettier/compare/2.4.0...2.4.1) [diff](https://togithub.com/prettier/prettier/compare/2.4.0...2.4.1) ##### Fix wildcard syntax in `@forward` ([#​11482](https://togithub.com/prettier/prettier/pull/11482)) ([#​11487](https://togithub.com/prettier/prettier/pull/11487) by [@​niksy](https://togithub.com/niksy)) ```scss // Input @​forward "library" as btn-*; // Prettier 2.4.0 @​forward "library" as btn- *; // Prettier 2.4.1 @​forward "library" as btn-*; ``` ##### Add new CLI option `debug-print-ast` ([#​11514](https://togithub.com/prettier/prettier/pull/11514) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) A new `--debug-print-ast` CLI flag for debugging. ### [`v2.4.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​240) [Compare Source](https://togithub.com/prettier/prettier/compare/2.3.2...2.4.0) [diff](https://togithub.com/prettier/prettier/compare/2.3.2...2.4.0) πŸ”— [Release Notes](https://prettier.io/blog/2021/09/09/2.4.0.html) ### [`v2.3.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​232) [Compare Source](https://togithub.com/prettier/prettier/compare/2.3.1...2.3.2) [diff](https://togithub.com/prettier/prettier/compare/2.3.1...2.3.2) ##### Fix failure on dir with trailing slash ([#​11000](https://togithub.com/prettier/prettier/pull/11000) by [@​fisker](https://togithub.com/fisker)) ```console $ ls 1.js 1.unknown ``` ### [`v2.3.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#Prettier-231) [Compare Source](https://togithub.com/prettier/prettier/compare/2.3.0...2.3.1) $ prettier . -l 1.js $ prettier ./ -l \[error] No supported files were found in the directory: "./". ### [`v2.3.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​230) [Compare Source](https://togithub.com/prettier/prettier/compare/2.2.1...2.3.0) [diff](https://togithub.com/prettier/prettier/compare/2.2.1...2.3.0) πŸ”— [Release Notes](https://prettier.io/blog/2021/05/09/2.3.0.html) ### [`v2.2.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​221) [Compare Source](https://togithub.com/prettier/prettier/compare/2.2.0...2.2.1) [diff](https://togithub.com/prettier/prettier/compare/2.2.0...2.2.1) ##### Fix formatting for AssignmentExpression with ClassExpression ([#​9741](https://togithub.com/prettier/prettier/pull/9741) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```js // Input module.exports = class A extends B { method() { console.log("foo"); } }; // Prettier 2.2.0 module.exports = class A extends ( B ) { method() { console.log("foo"); } }; // Prettier 2.2.1 module.exports = class A extends B { method() { console.log("foo"); } }; ``` ### [`v2.2.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​220) [Compare Source](https://togithub.com/prettier/prettier/compare/2.1.2...2.2.0) [diff](https://togithub.com/prettier/prettier/compare/2.1.2...2.2.0) πŸ”— [Release Notes](https://prettier.io/blog/2020/11/20/2.2.0.html) ### [`v2.1.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​212) [Compare Source](https://togithub.com/prettier/prettier/compare/2.1.1...2.1.2) [diff](https://togithub.com/prettier/prettier/compare/2.1.1...2.1.2) ##### Fix formatting for directives in fields ([#​9116](https://togithub.com/prettier/prettier/pull/9116) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```graphql ``` ### [`v2.1.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​211) [Compare Source](https://togithub.com/prettier/prettier/compare/2.1.0...2.1.1) [diff](https://togithub.com/prettier/prettier/compare/2.1.0...2.1.1) ##### Fix format on html with frontMatter ([#​9043](https://togithub.com/prettier/prettier/pull/9043) by [@​fisker](https://togithub.com/fisker)) ```html --- layout: foo --- Test abc. TypeError: Cannot read property 'end' of undefined ... --- layout: foo --- Test abc. ``` ##### Fix broken format for `...infer T` ([#​9044](https://togithub.com/prettier/prettier/pull/9044) by [@​fisker](https://togithub.com/fisker)) ```typescript // Input type Tail = T extends [infer U, ...infer R] ? R : never; // Prettier stable type Tail = T extends [infer U, ...(infer R)] ? R : never; // Prettier master type Tail = T extends [infer U, ...infer R] ? R : never; ``` ##### Fix format on `style[lang="sass"]` ([#​9051](https://togithub.com/prettier/prettier/pull/9051) by [@​fisker](https://togithub.com/fisker)) ```jsx ``` ##### Fix self-closing blocks and blocks with `src` attribute format ([#​9052](https://togithub.com/prettier/prettier/pull/9052), [#​9055](https://togithub.com/prettier/prettier/pull/9055) by [@​fisker](https://togithub.com/fisker)) ```vue ``` ### [`v2.1.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​210) [Compare Source](https://togithub.com/prettier/prettier/compare/2.0.5...2.1.0) [diff](https://togithub.com/prettier/prettier/compare/2.0.5...2.1.0) πŸ”— [Release Notes](https://prettier.io/blog/2020/08/24/2.1.0.html)

Configuration

πŸ“… Schedule: "after 7pm,before 6am" (UTC).

🚦 Automerge: Disabled due to failing status checks.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.