AlexRogalskiy / github-action-tag-replacer

๐Ÿท๏ธ GitHub action to replace placeholders in files
https://github.com/marketplace/actions/tag-replacer
GNU General Public License v3.0
2 stars 1 forks source link

:arrow_up: Updates prettier to v3 #661

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) ^2.1.2 -> ^3.0.0 age adoption passing confidence
@​types/prettier ^2.1.5 -> ^3.0.0 age adoption passing confidence

Release Notes

prettier/prettier (prettier) ### [`v3.3.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#333) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3) [diff](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3) ##### Add parentheses for nullish coalescing in ternary ([#​16391](https://togithub.com/prettier/prettier/pull/16391) by [@​cdignam-segment](https://togithub.com/cdignam-segment)) This change adds clarity to operator precedence. ```js // Input foo ? bar ?? foo : baz; foo ?? bar ? a : b; a ? b : foo ?? bar; // Prettier 3.3.2 foo ? bar ?? foo : baz; foo ?? bar ? a : b; a ? b : foo ?? bar; // Prettier 3.3.3 foo ? (bar ?? foo) : baz; (foo ?? bar) ? a : b; a ? b : (foo ?? bar); ``` ##### Add parentheses for decorator expressions ([#​16458](https://togithub.com/prettier/prettier/pull/16458) by [@​y-schneider](https://togithub.com/y-schneider)) Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5. ```ts // Input @​(foo`tagged template`) class X {} // Prettier 3.3.2 @​foo`tagged template` class X {} // Prettier 3.3.3 @​(foo`tagged template`) class X {} ``` ##### Support `@let` declaration syntax ([#​16474](https://togithub.com/prettier/prettier/pull/16474) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Adds support for Angular v18 `@let` declaration syntax. Please see the following code example. The `@let` declaration allows you to define local variables within the template: ```html @​let name = 'Frodo';

Dashboard for {{name}}

Hello, {{name}} ``` For more details, please refer to the excellent blog post by the Angular Team: [Introducing @​let in Angular](https://blog.angular.dev/introducing-let-in-angular-686f9f383f0f). We also appreciate the Angular Team for kindly answering our questions to implement this feature. ### [`v3.3.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#332) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.1...3.3.2) [diff](https://togithub.com/prettier/prettier/compare/3.3.1...3.3.2) ##### Fix handlebars path expressions starts with `@` ([#​16358](https://togithub.com/prettier/prettier/pull/16358) by [@​Princeyadav05](https://togithub.com/Princeyadav05)) ```hbs {{! Input }}
{{@​x.y.z}}
{{! Prettier 3.3.1 }}
{{@​x}}
{{! Prettier 3.3.2 }}
{{@​x.y.z}}
``` ### [`v3.3.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#331) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.0...3.3.1) [diff](https://togithub.com/prettier/prettier/compare/3.3.0...3.3.1) ##### Preserve empty lines in front matter ([#​16347](https://togithub.com/prettier/prettier/pull/16347) by [@​fisker](https://togithub.com/fisker)) ```markdown --- foo: - bar1 - bar2 - bar3 --- Markdown --- foo: - bar1 - bar2 - bar3 --- Markdown --- foo: - bar1 - bar2 - bar3 --- Markdown ``` ##### Preserve explicit language in front matter ([#​16348](https://togithub.com/prettier/prettier/pull/16348) by [@​fisker](https://togithub.com/fisker)) ```markdown ---yaml title: Hello slug: home --- --- title: Hello slug: home --- ---yaml title: Hello slug: home --- ``` ##### Avoid line breaks in import attributes ([#​16349](https://togithub.com/prettier/prettier/pull/16349) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" }; // Prettier 3.3.0 import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" }; // Prettier 3.3.1 import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" }; ``` ### [`v3.3.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0) [diff](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0) ๐Ÿ”— [Release Notes](https://prettier.io/blog/2024/06/01/3.3.0.html) ### [`v3.2.5`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#325) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5) [diff](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5) ##### Support Angular inline styles as single template literal ([#​15968](https://togithub.com/prettier/prettier/pull/15968) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) [Angular v17](https://blog.angular.io/introducing-angular-v17-4d7033312e4b) supports single string inline styles. ```ts // Input @​Component({ template: `
...
`, styles: `h1 { color: blue; }`, }) export class AppComponent {} // Prettier 3.2.4 @​Component({ template: `
...
`, styles: `h1 { color: blue; }`, }) export class AppComponent {} // Prettier 3.2.5 @​Component({ template: `
...
`, styles: ` h1 { color: blue; } `, }) export class AppComponent {} ``` ##### Unexpected embedded formatting for Angular template ([#​15969](https://togithub.com/prettier/prettier/pull/15969) by [@​JounQin](https://togithub.com/JounQin)) Computed template should not be considered as Angular component template ```ts // Input const template = "foobar"; @​Component({ [template]: `

{{ hello }}

`, }) export class AppComponent {} // Prettier 3.2.4 const template = "foobar"; @​Component({ [template]: `

{{ hello }}

`, }) export class AppComponent {} // Prettier 3.2.5 const template = "foobar"; @​Component({ [template]: `

{{ hello }}

`, }) export class AppComponent {} ``` ##### Use `"json"` parser for `tsconfig.json` by default ([#​16012](https://togithub.com/prettier/prettier/pull/16012) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) In [v2.3.0](https://prettier.io/blog/2024/01/12/3.2.0#new-jsonc-parser-added-15831httpsgithubcomprettierprettierpull15831-by-fiskerhttpsgithubcomfisker), we introduced `"jsonc"` parser which adds trialing comma **by default**. When adding a new parser we also define how it will be used based on the [`linguist-languages`](https://www.npmjs.com/package/linguist-languages) data. `tsconfig.json` is a special file used by [TypeScript](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#using-tsconfigjson-or-jsconfigjson), it uses `.json` file extension, but it actually uses the [JSON with Comments](https://code.visualstudio.com/docs/languages/json#\_json-with-comments) syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing `.json` file extension. We decide to treat it as a JSON file for now to avoid the extra configuration step. To keep using the `"jsonc"` parser for your `tsconfig.json` files, add the following to your `.pretterrc` file ```json { "overrides": [ { "files": ["tsconfig.json", "jsconfig.json"], "options": { "parser": "jsonc" } } ] } ``` ``` ``` ### [`v3.2.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#324) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) [diff](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) ##### Fix incorrect parser inference ([#​15947](https://togithub.com/prettier/prettier/pull/15947) by [@​fisker](https://togithub.com/fisker)) Files like `.eslintrc.json` were incorrectly formatted as JSONC files. ```jsx // Input prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "jsonc" } // Prettier 3.2.4 prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "json" } ``` ### [`v3.2.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) [diff](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) ##### Throw errors for invalid code ([#​15881](https://togithub.com/prettier/prettier/pull/15881) by [@​fisker](https://togithub.com/fisker), [@​Josh-Cena](https://togithub.com/Josh-Cena), [@​auvred](https://togithub.com/auvred)) ```ts // Input 1++; // Prettier 3.2.2 1++; // Prettier 3.2.3 SyntaxError: Invalid left-hand side expression in unary operation (1:1) > 1 | 1++; | ^ ``` ```ts // Input try {} catch (error = 1){} // Prettier 3.2.2 try { } catch (error) {} // Prettier 3.2.3 SyntaxError: Catch clause variable cannot have an initializer. (1:23) > 1 | try {} catch (error = 1){} | ^ ``` ##### Fix parser inference ([#​15927](https://togithub.com/prettier/prettier/pull/15927) by [@​fisker](https://togithub.com/fisker)) ```console // Prettier 3.2.2 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "json" } // Prettier 3.2.3 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "jsonc" } ``` ### [`v3.2.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) [diff](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) ##### Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute ([#​15896](https://togithub.com/prettier/prettier/pull/15896) by [@​eelco](https://togithub.com/eelco)) For example this code would crash before: ```jsx ``` ##### Fix formatting error on optional call expression and member chain ([#​15920](https://togithub.com/prettier/prettier/pull/15920) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input a(() => {}, c?.d()); // Prettier 3.2.1 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.2 a(() => {}, c?.d()); ``` ### [`v3.2.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) [diff](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) ##### Fix formatting error on member chain ([#​15915](https://togithub.com/prettier/prettier/pull/15915) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input test().test2().test2(thing?.something); // Prettier 3.2.0 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.1 test().test2().test2(thing?.something); ``` ### [`v3.2.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) [diff](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) ๐Ÿ”— [Release Notes](https://prettier.io/blog/2024/01/13/3.2.0.html) ### [`v3.1.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#311) [Compare Source](https://togithub.com/prettier/prettier/compare/3.1.0...3.1.1) [diff](https://togithub.com/prettier/prettier/compare/3.1.0...3.1.1) ##### Fix config file search ([#​15363](https://togithub.com/prettier/prettier/pull/15363) by [@​fisker](https://togithub.com/fisker)) Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake. ```text โ”œโ”€ .prettierrc โ””โ”€ test.js (A directory) โ””โ”€ .prettierrc ``` ```js // Prettier 3.1.0 await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); // /test.js/.prettierrc // Prettier 3.1.1 await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); // /.prettierrc ``` ##### Skip explicitly passed symbolic links with `--no-error-on-unmatched-pattern` ([#​15533](https://togithub.com/prettier/prettier/pull/15533) by [@​sanmai-NL](https://togithub.com/sanmai-NL)) Since Prettier v3, we stopped following symbolic links, however in some use cases, the symbolic link patterns can't be filtered out, and there is no way to prevent Prettier from throwing errors. In Prettier 3.1.1, you can use `--no-error-on-unmatched-pattern` to simply skip symbolic links. ##### Consistently use tabs in ternaries when `useTabs` is `true` ([#​15662](https://togithub.com/prettier/prettier/pull/15662) by [@​auvred](https://togithub.com/auvred)) ```jsx // Input aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg; // Prettier 3.1.0 aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg; // Prettier 3.1.1 aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg; ``` ##### Improve config file search ([#​15663](https://togithub.com/prettier/prettier/pull/15663) by [@​fisker](https://togithub.com/fisker)) The Prettier config file search performance has been improved by more effective cache strategy. ##### Fix unstable and ugly formatting for comments in destructuring patterns ([#​15708](https://togithub.com/prettier/prettier/pull/15708) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input const { foo, // bar // baz }: Foo = expr; // Prettier 3.1.0 const { foo1, } // bar // baz : Foo = expr; // Prettier 3.1.0 second output const { foo1, // bar } // baz : Foo = expr; // Prettier 3.1.1 const { foo1, // bar // baz }: Foo = expr; ``` ##### Support "Import Attributes" ([#​15718](https://togithub.com/prettier/prettier/pull/15718) by [@​fisker](https://togithub.com/fisker)) [TypeScript 5.3](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/#import-attributes) supports the latest updates to the [import attributes](https://togithub.com/tc39/proposal-import-attributes) proposal. ```tsx import something from "./something.json" with { type: "json" }; ``` ##### Fix false claim in docs that cursorOffset is incompatible with rangeStart/rangeEnd ([#​15750](https://togithub.com/prettier/prettier/pull/15750) by [@​ExplodingCabbage](https://togithub.com/ExplodingCabbage)) The cursorOffset option has in fact been compatible with rangeStart/rangeEnd for over 5 years, thanks to work by [@​ds300](https://togithub.com/ds300). However, Prettier's documentation (including the CLI `--help` text) continued to claim otherwise, falsely. The documentation is now fixed. ##### Keep curly braces and `from` keyword in empty `import` statements ([#​15756](https://togithub.com/prettier/prettier/pull/15756) by [@​fisker](https://togithub.com/fisker)) ```js // Input import { } from 'foo'; import { /* comment */ } from 'bar'; // Prettier 3.1.0 import {} from "foo"; import /* comment */ "bar"; // Prettier 3.1.1 import {} from "foo"; import {} from /* comment */ "bar"; ``` ##### Keep empty import attributes and assertions ([#​15757](https://togithub.com/prettier/prettier/pull/15757) by [@​fisker](https://togithub.com/fisker)) ```js // Input import foo from "foo" with {}; import bar from "bar" assert {}; // Prettier 3.1.0 import foo from "foo"; import bar from "bar"; // Prettier 3.1.1 import foo from "foo" with {}; import bar from "bar" assert {}; ``` ### [`v3.1.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#310) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.3...3.1.0) [diff](https://togithub.com/prettier/prettier/compare/3.0.3...3.1.0) ๐Ÿ”— [Release Notes](https://prettier.io/blog/2023/11/13/3.1.0.html) ### [`v3.0.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#303) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) [diff](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) ##### Add `preferUnplugged: true` to `package.json` ([#​15169](https://togithub.com/prettier/prettier/pull/15169) by [@​fisker](https://togithub.com/fisker) and [@​so1ve](https://togithub.com/so1ve)) Prettier v3 uses dynamic imports, user [will need to unplug Prettier](https://togithub.com/yarnpkg/berry/pull/5411#issuecomment-1523502224) when Yarn's PnP mode is enabled, add [`preferUnplugged: true`](https://yarnpkg.com/configuration/manifest#preferUnplugged) to `package.json`, so Yarn will install Prettier as unplug by default. ##### Support shared config that forbids `require()` ([#​15233](https://togithub.com/prettier/prettier/pull/15233) by [@​fisker](https://togithub.com/fisker)) If an external shared config package is used, and the package `exports` don't have `require` or `default` export. In Prettier 3.0.2 Prettier fails when attempt to `require()` the package, and throws an error. ```text Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /package.json ``` ##### Allow argument of `require()` to break ([#​15256](https://togithub.com/prettier/prettier/pull/15256) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); // Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..")); // Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); ``` ##### Do not print trailing commas in arrow function type parameter lists in `ts` code blocks ([#​15286](https://togithub.com/prettier/prettier/pull/15286) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ````md ```ts const foo = () => {} ``` ```ts const foo = () => {} ``` ```ts const foo = () => {} ``` ```` ##### Support TypeScript 5.2 `using` / `await using` declaration ([#​15321](https://togithub.com/prettier/prettier/pull/15321) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Support for the upcoming Explicit Resource Management feature in ECMAScript. [`using` / `await using` declaration](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#using-declarations-and-explicit-resource-management) ```tsx { using foo = new Foo(); await using bar = new Bar(); } ``` ### [`v3.0.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#302) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.1...3.0.2) [diff](https://togithub.com/prettier/prettier/compare/3.0.1...3.0.2) ##### Break after `=` of assignment if RHS is poorly breakable AwaitExpression or YieldExpression ([#​15204](https://togithub.com/prettier/prettier/pull/15204) by [@​seiyab](https://togithub.com/seiyab)) ```js // Input const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData); // Prettier 3.0.1 const { section, rubric, authors, tags } = await utils.upsertCommonData( mainData, ); // Prettier 3.0.2 const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData); ``` ##### Do not add trailing comma for grouped scss comments ([#​15217](https://togithub.com/prettier/prettier/pull/15217) by [@​auvred](https://togithub.com/auvred)) ```scss /* Input */ $foo: ( 'property': (), // comment 1 // comment 2 ) /* Prettier 3.0.1 */ $foo: ( "property": (), // comment 1 // comment 2, ); /* Prettier 3.0.2 */ $foo: ( "property": (), // comment 1 // comment 2 ); ``` ##### Print `declare` and `export` keywords for nested namespace ([#​15249](https://togithub.com/prettier/prettier/pull/15249) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input declare namespace abc1.def {} export namespace abc2.def {} // Prettier 3.0.1 namespace abc1.def {} namespace abc2.def {} // Prettier 3.0.2 declare namespace abc1.def {} export namespace abc2.def {} ``` ### [`v3.0.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#301) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) [diff](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) ##### Fix cursor positioning for a special case ([#​14812](https://togithub.com/prettier/prettier/pull/14812) by [@​fisker](https://togithub.com/fisker)) ```js // <|> is the cursor position /* Input */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|> } from "fs" /* Prettier 3.0.0 */ // All messages are represented in JSON. // So, the prettier.py <|>controls a subprocess which spawns "node {this_file}". import {} from "fs" /* Prettier 3.0.1 */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|>} from "fs" ``` ##### Fix plugins/estree.d.ts to make it a module ([#​15018](https://togithub.com/prettier/prettier/pull/15018) by [@​kingyue737](https://togithub.com/kingyue737)) Add `export {}` in `plugins/estree.d.ts` to fix the "File is not a module" error ##### Add parenthesis around leading multiline comment in return statement ([#​15037](https://togithub.com/prettier/prettier/pull/15037) by [@​auvred](https://togithub.com/auvred)) ```jsx // Input function fn() { return ( /** * @​type {...} */ expresssion ) } // Prettier 3.0.0 function fn() { return /** * @​type {...} */ expresssion; } // Prettier 3.0.1 function fn() { return ( /** * @​type {...} */ expresssion ); } ``` ##### Add support for Vue "Generic Components" ([#​15066](https://togithub.com/prettier/prettier/pull/15066) by [@​auvred](https://togithub.com/auvred)) https://blog.vuejs.org/posts/vue-3-3#generic-components ```vue ``` ##### Fix comments print in `IfStatement` ([#​15076](https://togithub.com/prettier/prettier/pull/15076) by [@​fisker](https://togithub.com/fisker)) ```js function a(b) { if (b) return 1; // comment else return 2; } /* Prettier 3.0.0 */ Error: Comment "comment" was not printed. Please report this error! /* Prettier 3.0.1 */ function a(b) { if (b) return 1; // comment else return 2; } ``` ##### Add missing type definition for `printer.preprocess` ([#​15123](https://togithub.com/prettier/prettier/pull/15123) by [@​so1ve](https://togithub.com/so1ve)) ```diff export interface Printer { // ... + preprocess?: + | ((ast: T, options: ParserOptions) => T | Promise) + | undefined; } ``` ##### Add missing `getVisitorKeys` method type definition for `Printer` ([#​15125](https://togithub.com/prettier/prettier/pull/15125) by [@​auvred](https://togithub.com/auvred)) ```tsx const printer: Printer = { print: () => [], getVisitorKeys(node, nonTraversableKeys) { return ["body"]; }, }; ``` ##### Add typing to support `readonly` array properties of AST Node ([#​15127](https://togithub.com/prettier/prettier/pull/15127) by [@​auvred](https://togithub.com/auvred)) ```tsx // Input interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath; path.map(() => "", "readonlyArray"); // Prettier 3.0.0 interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath; path.map(() => "", "readonlyArray"); // ^ Argument of type '"readonlyArray"' is not assignable to parameter of type '"regularArray"'. ts(2345) // Prettier 3.0.1 interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath; path.map(() => "", "readonlyArray"); ``` ##### Add space before unary minus followed by a function call ([#​15129](https://togithub.com/prettier/prettier/pull/15129) by [@​pamelalozano](https://togithub.com/pamelalozano)) ```less // Input div { margin: - func(); } // Prettier 3.0.0 div { margin: -func(); } // Prettier 3.0.1 div { margin: - func(); } ``` ### [`v3.0.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#300) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.8...3.0.0) [diff](https://togithub.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0) ๐Ÿ”— [Release Notes](https://prettier.io/blog/2023/07/05/3.0.0.html) ### [`v2.8.8`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#288) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.7...2.8.8) This version is a republished version of v2.8.7. A bad version was accidentally published and [it can't be unpublished](https://togithub.com/npm/cli/issues/1686), apologies for the churn. ### [`v2.8.7`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#287) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) [diff](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) ##### Allow multiple decorators on same getter/setter ([#​14584](https://togithub.com/prettier/prettier/pull/14584) by [@​fisker](https://togithub.com/fisker)) ```ts // 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`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#286) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6) [diff](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6) ##### Allow decorators on private members and class expressions ([#​14548](https://togithub.com/prettier/prettier/pull/14548) by [@​fisker](https://togithub.com/fisker)) ```ts // 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`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#285) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5) [diff](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5) ##### Support TypeScript 5.0 ([#​14391](https://togithub.com/prettier/prettier/pull/14391) by [@​fisker](https://togithub.com/fisker), [#​13819](https://togithub.com/prettier/prettier/pull/13819) by [@​fisker](https://togithub.com/fisker), [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) TypeScript 5.0 introduces two new syntactic features: - `const` modifiers for type parameters - `export type *` declarations ##### Add missing parentheses for decorator ([#​14393](https://togithub.com/prettier/prettier/pull/14393) by [@​fisker](https://togithub.com/fisker)) ```jsx // 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](https://togithub.com/prettier/prettier/pull/14458) by [@​fisker](https://togithub.com/fisker)) ```tsx // 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](https://togithub.com/prettier/prettier/pull/14516) by [@​josephfrazier](https://togithub.com/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). ```html
;
; ``` ### [`v2.8.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#284) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4) [diff](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4) ##### Fix leading comments in mapped types with `readonly` ([#​13427](https://togithub.com/prettier/prettier/pull/13427) by [@​thorn0](https://togithub.com/thorn0), [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // 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](https://togithub.com/prettier/prettier/pull/14067) by [@​jamescdavis](https://togithub.com/jamescdavis)) This is a follow-up to [#​13930](https://togithub.com/prettier/prettier/issues/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. ```hbs {{! 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](https://togithub.com/prettier/prettier/pull/14206) by [@​bolinfest](https://togithub.com/bolinfest)) In [Sapling SCM](https://sapling-scm.com/), `.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](https://togithub.com/prettier/prettier/pull/14262) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input const a = /** @​satisfies {Record} */ ({hello: 1337}); const b = /** @​type {Record} */ ({hello: 1337}); // Prettier 2.8.3 const a = /** @​satisfies {Record} */ { hello: 1337 }; const b = /** @​type {Record} */ ({ hello: 1337 }); // Prettier 2.8.4 const a = /** @​satisfies {Record} */ ({hello: 1337}); const b = /** @​type {Record} */ ({hello: 1337}); ``` ##### Fix parens in inferred function return types with `extends` ([#​14279](https://togithub.com/prettier/prettier/pull/14279) by [@​fisker](https://togithub.com/fisker)) ```ts // Input type Foo = T extends ((a) => a is infer R extends string) ? R : never; // Prettier 2.8.3 (First format) type Foo = 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 extends ((a) => a is infer R extends string) ? R : never; ``` ### [`v2.8.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#283) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3) [diff](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3) ##### Allow self-closing tags on custom elements ([#​14170](https://togithub.com/prettier/prettier/pull/14170) by [@​fisker](https://togithub.com/fisker)) See [Angular v15.1.0 release note](https://togithub.com/angular/angular/releases/tag/15.1.0) for details. ```html // Input // Prettier 2.8.2 SyntaxError: Only void and foreign elements can be self closed "app-test" (1:1) > 1 | | ^^^^^^^^^ 2 | // Prettier 2.8.3 ``` ### [`v2.8.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#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 ([#​13155](https://togithub.com/prettier/prettier/pull/13155) by [@​DerekNonGeneric](https://togithub.com/DerekNonGeneric) & [@​fisker](https://togithub.com/fisker)) ```markdown We now don't strictly follow the release notes format suggested by [Keep a Changelog]. [Keep a Changelog]: https://example.com/ We now don't strictly follow the release notes format suggested by [Keep a Changelog]. [keep a changelog]: https://example.com/ ``` ##### Preserve self-closing tags ([#​13691](https://togithub.com/prettier/prettier/pull/13691) by [@​dcyriller](https://togithub.com/dcyriller)) ```hbs {{! Input }}
{{! Prettier 2.8.1 }}
{{! Prettier 2.8.2 }}
``` ##### Allow custom "else if"-like blocks with block params ([#​13930](https://togithub.com/prettier/prettier/pull/13930) by [@​jamescdavis](https://togithub.com/jamescdavis)) [#​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 ([#​13931](https://togithub.com/prettier/prettier/pull/13931) by [@​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[` ([#​14000](https://togithub.com/prettier/prettier/pull/14000), [#​14044](https://togithub.com/prettier/prettier/pull/14044) by [@​fisker](https://togithub.com/fisker), [@​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 ([#​14007](https://togithub.com/prettier/prettier/pull/14007) by [@​mvorisek](https://togithub.com/mvorisek)) ```less // Input @​variable: { field: something; }; // Prettier 2.8.1 @​variable: { field: something; }; ; // Prettier 2.8.2 @​variable: { field: something; }; ``` ##### Fix no space after unary minus when followed by opening parenthesis in LESS ([#​14008](https://togithub.com/prettier/prettier/pull/14008) by [@​mvorisek](https://togithub.com/mvorisek)) ```less // Input .unary_minus_single { margin: -(@​a); } .unary_minus_multi { margin: 0 -(@​a); } .binary_minus { margin: 0 - (@​a); } // Prettier 2.8.1 .unary_minus_single { margin: - (@​a); } .unary_minus_multi { margin: 0 - (@​a); } .binary_minus { margin: 0 - (@​a); } // Prettier 2.8.2 .unary_minus_single { margin: -(@​a); } .unary_minus_multi { margin: 0 -(@​a); } .binary_minus { margin: 0 - (@​a); } ``` ##### Do not change case of property name if inside a variable declaration in LESS ([#​14034](https://togithub.com/prettier/prettier/pull/14034) by [@​mvorisek](https://togithub.com/mvorisek)) ```less // Input @​var: { preserveCase: 0; }; // Prettier 2.8.1 @​var: { preservecase: 0; }; // Prettier 2.8.2 @​var: { preserveCase: 0; }; ``` ##### Fix formatting for auto-accessors with comments ([#​14038](https://togithub.com/prettier/prettier/pull/14038) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input class A { @​dec() // comment accessor b; } // Prettier 2.8.1 class A { @​dec() accessor // comment b; } // Prettier 2.8.1 (second format) class A { @​dec() accessor; // comment b; } // Prettier 2.8.2 class A { @​dec() // comment accessor b; } ``` ##### Add parentheses for TSTypeQuery to improve readability ([#​14042](https://togithub.com/prettier/prettier/pull/14042) by [@​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 ([#​14047](https://togithub.com/prettier/prettier/pull/14047) by [@​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` ([#​14049](https://togithub.com/prettier/prettier/pull/14049) by [@​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 ([#​14073](https://togithub.com/prettier/prettier/pull/14073) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input const foo: bar = () => baz; // Prettier 2.8.1 Error: Comment "comment" was not printed. Please report this error! // Prettier 2.8.2 const foo: bar = () => baz; ``` ##### Add parentheses to head of `ExpressionStatement` instead of the whole statement ([#​14077](https://togithub.com/prettier/prettier/pull/14077) by [@​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 ([#​14081](https://togithub.com/prettier/prettier/pull/14081) by [@​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 ``` ##### Fix formatting for comments inside JSX attribute ([#​14082](https://togithub.com/prettier/prettier/pull/14082) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input function MyFunctionComponent() { } // Prettier 2.8.1 Error: Comment "old" was not printed. Please report this error! // Prettier 2.8.2 function MyFunctionComponent() { ; } ``` ##### Quote numeric keys for json-stringify parser ([#​14083](https://togithub.com/prettier/prettier/pull/14083) by [@​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 ([#​14089](https://togithub.com/prettier/prettier/pull/14089) by [@​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 ([#​14103](https://togithub.com/prettier/prettier/pull/14103) by [@​fisker](https://togithub.com/fisker)) ```less // Input a { color: @​colors[@​white]; } // Prettier 2.8.1 a { color: @​colors[ @​white]; } // Prettier 2.8.2 ``` ### [`v2.8.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#281) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1) [diff](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1) ##### Fix SCSS map in arguments ([#​9184](https://togithub.com/prettier/prettier/pull/9184) by [@​agamkrbit](https://togithub.com/agamkrbit)) ```scss // Input $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})", ), $display-breakpoints ); // Prettier 2.8.0 $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm ")-1})", ), $display-breakpoints ); // Prettier 2.8.1 $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})", ), $display-breakpoints ); ``` ##### Support auto accessors syntax ([#​13919](https://togithub.com/prettier/prettier/pull/13919) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Support for [Auto Accessors Syntax](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/#auto-accessors-in-classes) landed in TypeScript 4.9. (Doesn't work well with `babel-ts` parser) ```tsx class Foo { accessor foo: number = 3; } ``` ### [`v2.8.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#280) [Compare Source](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0) [diff](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0) ๐Ÿ”— [Release Notes](https://prettier.io/blog/2022/11/23/2.8.0.html) ### [`v2.7.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#271) [Compare Source](https://togithub.com/prettier/prettier/compare/2.7.0...2.7.1) [diff](https://togithub.com/prettier/prettier/compare/2.7.0...2.7.1) ##### Keep useful empty lines in description ([#​13013](https://togithub.com/prettier/prettier/pull/13013) by [@​chimurai](https://togithub.com/chimurai)) ```graphql ``` ### [`v2.7.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#Prettier-270) [Compare Source](https://togithub.com/prettier/prettier/compare/2.6.2...2.7.0) """ First line Second Line """ type Person { name: String } ### [`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)

Configuration

๐Ÿ“… Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow, 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.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

changelogg[bot] commented 1 year ago

Hey! Changelogs info seems to be missing or might be in incorrect format. Please use the below template in PR description to ensure Changelogg can detect your changes:

    - (tag) changelog_text
or
```
- tag: changelog_text
```
**OR**
You can add tag in PR header or while doing a commit too
```    
(tag) PR header
```
or
```
tag: PR header
```
Valid tags: **added** / **feat**, **changed**, **deprecated**, **fixed** / **fix**, **removed**, **security**, **build**, **ci**, **chore**, **docs**, **perf**, **refactor**, **revert**, **style**, **test**
Thanks!
For more info, check out [changelogg docs](https://docs.changelogg.io/)
viezly[bot] commented 1 year ago

Pull request by bot. No need to analyze

github-actions[bot] commented 1 year ago

Thanks for the PR!

This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged.

github-actions[bot] commented 1 year ago

Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md.

github-actions[bot] commented 1 year ago

Hello from PR Helper

Is your PR ready for review and processing? Mark the PR ready by including #pr-ready in a comment.

If you still have work to do, even after marking this ready. Put the PR on hold by including #pr-onhold in a comment.

socket-security[bot] commented 1 year ago

New and removed dependencies detected. Learn more about Socket for GitHub โ†—๏ธŽ

Package New capabilities Transitives Size Publisher
npm/@types/prettier@3.0.0 None 0 1.72 kB types
npm/lines-and-columns@1.1.6 None 0 7.08 kB eventualbuddha
npm/link-check@4.5.4 filesystem 0 34.1 kB tcort
npm/lint-staged@10.5.4 environment, filesystem 0 83.3 kB okonet
npm/listr2@3.4.3 environment 0 141 kB cenk1cenk2
npm/load-json-file@2.0.0 None 0 3.21 kB sindresorhus
npm/load-plugin@3.0.0 environment, filesystem 0 10.2 kB wooorm
npm/locate-path@5.0.0 filesystem 0 6.58 kB sindresorhus
npm/lodash.capitalize@4.2.1 None 0 11.9 kB jdalton
npm/lodash.debounce@4.0.8 None 0 14 kB jdalton
npm/lodash.escaperegexp@4.1.2 None 0 7.61 kB jdalton
npm/lodash.get@4.4.2 None 0 26.5 kB jdalton
npm/lodash.ismatch@4.4.0 None 0 49.9 kB jdalton
npm/lodash.isplainobject@4.0.6 None 0 6.89 kB jdalton
npm/lodash.isstring@4.0.1 None 0 4.75 kB jdalton
npm/lodash.map@4.6.0 None 0 67.2 kB jdalton
npm/lodash.sortby@4.7.0 None 0 75.8 kB jdalton
npm/lodash.toarray@4.4.0 None 0 25.8 kB jdalton
npm/lodash.uniqby@4.7.0 None 0 67.9 kB jdalton
npm/lodash.zip@4.2.0 None 0 12.9 kB jdalton
npm/lodash@4.17.21 None 0 1.41 MB bnjmnt4n
npm/log-driver@1.2.7 None 0 7.81 kB cainus
npm/log-symbols@4.1.0 None 0 4.58 kB sindresorhus
npm/log-update@4.0.0 None 0 7.58 kB sindresorhus
npm/longest-streak@2.0.4 None 0 5.16 kB wooorm
npm/longest@2.0.1 None 0 5.29 kB jonschlinkert
npm/loud-rejection@1.6.0 None 0 5.05 kB sindresorhus
npm/lru-cache@6.0.0 None 0 15.6 kB isaacs
npm/lunr@2.3.9 None 0 976 kB olivernn
npm/make-dir@3.1.0 filesystem 0 10 kB sindresorhus
npm/make-error@1.3.6 None 0 12.4 kB julien-f
npm/makeerror@1.0.11 None 0 6.07 kB daaku
npm/map-cache@0.2.2 None 0 7.6 kB jonschlinkert
npm/map-obj@4.2.0 None 0 7.94 kB sindresorhus
npm/map-visit@1.0.0 None 0 8.47 kB jonschlinkert
npm/markdown-escapes@1.0.4 None 0 5.19 kB wooorm
npm/markdown-extensions@1.1.1 None 0 2.44 kB sindresorhus
npm/markdown-link-check@3.8.7 environment 0 25 kB tcort
npm/markdown-link-extractor@1.2.7 None 0 8.44 kB tcort
npm/markdown-table@1.1.3 None 0 12 kB wooorm
npm/marked-terminal@4.1.1 None 0 18.9 kB mikaelb
npm/marked@2.0.1 None 0 286 kB tonybrix
npm/mdast-util-compact@1.0.4 None 0 7.51 kB wooorm
npm/mdast-util-from-markdown@0.8.5 None 0 53.6 kB wooorm
npm/mdast-util-to-markdown@0.6.5 None 0 51 kB wooorm
npm/mdast-util-to-string@2.0.0 None 0 7.67 kB wooorm
npm/mdast-util-toc@5.1.0 None 0 18.6 kB wooorm
npm/meow@8.1.2 None 0 24.1 kB sindresorhus
npm/merge-stream@2.0.0 None 0 4.31 kB stevemao
npm/merge@1.2.1 None 0 7.31 kB yeikos
npm/merge2@1.4.1 None 0 8.9 kB zensh
npm/micromark@2.11.4 None 0 619 kB wooorm
npm/micromatch@4.0.2 None 0 61.1 kB jonschlinkert
npm/mime-db@1.46.0 None 0 200 kB dougwilson
npm/mime-types@2.1.29 None 0 17.3 kB dougwilson
npm/mime@2.5.2 None 0 59.7 kB broofa
npm/mimic-fn@2.1.0 None 0 4.46 kB sindresorhus
npm/min-indent@1.0.1 None 0 2.97 kB thejameskyle
npm/minimatch@3.0.4 None 0 33.1 kB isaacs
npm/minimist-options@4.1.0 None 0 8.53 kB vdemedes
npm/minimist@1.2.5 None 0 32.4 kB substack
npm/minipass@3.1.3 None 0 37.2 kB isaacs
npm/minizlib@2.1.2 None 0 17.3 kB isaacs
npm/mixin-deep@1.3.2 None 0 7.22 kB doowb
npm/mkdirp@1.0.4 environment, filesystem 0 19.1 kB isaacs
npm/modify-values@1.0.1 None 0 2.86 kB sindresorhus
npm/mri@1.1.6 None 0 12.6 kB lukeed
npm/ms@2.1.2 None 0 6.84 kB styfle
npm/multimap@1.1.0 None 0 16.4 kB korynunn
npm/multimatch@4.0.0 None 0 5.45 kB sindresorhus
npm/mute-stream@0.0.7 None 0 75.6 kB isaacs
npm/nanomatch@1.2.13 None 0 86.3 kB jonschlinkert
npm/neo-async@2.6.2 None 0 298 kB suguru03
npm/nerf-dart@1.0.0 None 0 4.31 kB boennemann
npm/nice-try@1.0.5 None 0 3.75 kB electerious
npm/node-emoji@1.10.0 None 0 197 kB charpeni
npm/node-fetch@2.6.1 network 0 158 kB akepinski
npm/node-int64@0.4.0 None 0 16.3 kB broofa
npm/node-modules-regexp@1.0.0 None 0 2.73 kB jamestalmage
npm/node-notifier@8.0.2 environment, filesystem, network, shell 0 5.69 MB mikaelb
npm/node-releases@1.1.71 None 0 241 kB chicoxyzzy
npm/nomnom@1.8.1 None 0 37.2 kB harth
npm/nopt@4.0.3 environment 0 25.8 kB isaacs
npm/normalize-path@3.0.0 None 0 9.22 kB jonschlinkert
npm/normalize-url@5.3.0 None 0 18.5 kB sindresorhus
npm/npm-normalize-package-bin@1.0.1 None 0 131 kB isaacs
npm/npm-prefix@1.2.0 environment 0 3.04 kB eush77
npm/npm-run-path@2.0.2 environment 0 4.53 kB sindresorhus
npm/npm@6.14.11 environment, eval, filesystem, network, shell, unsafe 0 23.4 MB darcyclarke
npm/nwsapi@2.2.0 None 0 80.5 kB diego
npm/oauth-sign@0.9.0 None 0 13.8 kB simov
npm/object-assign@4.1.1 None 0 5.49 kB sindresorhus
npm/object-copy@0.1.0 None 0 5.47 kB jonschlinkert
npm/object-inspect@1.9.0 None 0 49.2 kB ljharb
npm/object-keys@1.1.1 None 0 26.5 kB ljharb
npm/object-visit@1.0.1 None 0 6.7 kB jonschlinkert
npm/object.assign@4.1.2 None 0 62.4 kB ljharb
npm/object.pick@1.3.0 None 0 6.36 kB phated
npm/object.values@1.1.3 None 0 14.8 kB ljharb
npm/once@1.4.0 None 0 4.05 kB isaacs
npm/onetime@5.1.2 None 0 6.17 kB sindresorhus
npm/onigasm@2.2.5 network 0 566 kB sweetslush
npm/optionator@0.8.3 None 0 50.1 kB gkz
npm/os-homedir@1.0.2 environment 0 3.15 kB sindresorhus
npm/os-tmpdir@1.0.2 None 0 3.06 kB sindresorhus
npm/osenv@0.1.5 environment, shell 0 4.89 kB isaacs
npm/p-each-series@2.2.0 None 0 6.34 kB sindresorhus
npm/p-filter@2.1.0 None 0 5.81 kB sindresorhus
npm/p-finally@1.0.0 None 0 3.11 kB sindresorhus
npm/p-is-promise@3.0.0 None 0 3.31 kB sindresorhus
npm/p-limit@2.3.0 None 0 7.39 kB sindresorhus
npm/p-locate@4.1.0 None 0 7.29 kB sindresorhus
npm/p-map@2.1.0 None 0 7.49 kB sindresorhus
npm/p-reduce@2.1.0 None 0 6.14 kB sindresorhus
npm/p-retry@4.4.0 None 0 11 kB sindresorhus
npm/p-try@2.2.0 None 0 4.37 kB sindresorhus
npm/parent-module@1.0.1 None 0 3.92 kB sindresorhus
npm/parse-entities@2.0.0 None 0 25.1 kB wooorm
npm/parse-github-repo-url@1.4.1 None 0 4.79 kB bahmutov
npm/parse-json@5.2.0 None 0 5.41 kB sindresorhus
npm/parse-passwd@1.0.0 None 0 5.96 kB doowb
npm/parse5@6.0.1 None 0 331 kB inikulin
npm/pascalcase@0.1.1 None 0 4.46 kB jonschlinkert
npm/path-exists@4.0.0 filesystem 0 3.92 kB sindresorhus
npm/path-is-absolute@1.0.1 None 0 3.62 kB sindresorhus
npm/path-key@2.0.1 None 0 3.02 kB sindresorhus
npm/path-parse@1.0.6 None 0 9.03 kB jbgutierrez
npm/path-type@4.0.0 filesystem 0 5.41 kB sindresorhus
npm/performance-now@2.1.0 None 0 11.3 kB meryn
npm/picomatch@2.2.2 None 0 86.7 kB mrmlnc
npm/pify@2.3.0 None 0 6.02 kB sindresorhus
npm/pinkie-promise@2.0.1 None 0 2.58 kB floatdrop
npm/pinkie@2.0.4 None 0 10.5 kB npm
npm/pirates@4.0.1 unsafe 0 12.6 kB danez
npm/pixelmatch@5.2.1 None 0 16.2 kB mourner
npm/pkg-conf@2.1.0 None 0 6.31 kB sindresorhus
npm/pkg-dir@2.0.0 None 0 3.5 kB sindresorhus
npm/please-upgrade-node@3.2.0 None 0 5.54 kB typicode
npm/plur@3.1.1 None 0 5 kB sindresorhus
npm/pngjs@5.0.0 None 0 1.02 MB lukeapage
npm/posix-character-classes@0.1.1 None 0 6.97 kB jonschlinkert
npm/prelude-ls@1.1.2 None 0 36 kB gkz
npm/prettier-linter-helpers@1.0.0 None 0 9.58 kB bpscott
npm/prettier@3.2.5 environment, filesystem, unsafe 0 8.39 MB prettier-bot
npm/pretty-format@26.6.2 None 0 67.6 kB simenb
npm/pretty-quick@3.1.0 filesystem 0 51.8 kB azz
npm/process-nextick-args@2.0.1 None 0 3.17 kB cwmma
npm/progress@2.0.3 None 0 15.5 kB turbopope
npm/prompts@2.4.0 None 0 185 kB terkelg
npm/propose@0.0.5 None 0 5.84 kB liushuping
npm/psl@1.8.0 None 0 433 kB lupomontero
npm/pump@3.0.0 filesystem 0 7.78 kB mafintosh
npm/punycode@2.1.1 None 0 32.4 kB mathias
npm/q@1.5.1 None 0 123 kB kriskowal
npm/qs@6.5.2 None 0 114 kB ljharb
npm/queue-microtask@1.2.2 None 0 8.35 kB feross
npm/quick-lru@4.0.1 None 0 7.47 kB sindresorhus
npm/rc@1.2.8 environment, filesystem 0 17.3 kB dominictarr
npm/react-is@17.0.1 environment 0 24.8 kB gaearon
npm/read-installed@4.0.3 filesystem 0 27.4 kB zkat
npm/read-package-json@2.1.2 filesystem 0 19.3 kB isaacs
npm/read-pkg-up@7.0.1 None 0 6.73 kB sindresorhus
npm/read-pkg@5.2.0 filesystem 0 6.05 kB sindresorhus
npm/readable-stream@3.6.0 environment 0 122 kB matteo.collina
npm/readdir-scoped-modules@1.1.0 None 0 4.93 kB isaacs
npm/readdirp@3.5.0 filesystem 0 20.1 kB paulmillr
npm/rechoir@0.6.2 None 0 8.71 kB tkellen
npm/redent@3.0.0 None 0 3.6 kB sindresorhus
npm/redeyed@2.1.1 None 0 61.7 kB thlorenz
npm/regenerate-unicode-properties@8.2.0 None 0 391 kB mathias
npm/regenerate@1.4.2 None 0 49.2 kB mathias
npm/regenerator-runtime@0.13.7 None 0 27.2 kB benjamn
npm/regenerator-transform@0.14.5 None 0 128 kB benjamn
npm/regex-not@1.0.2 None 0 8.46 kB jonschlinkert
npm/regexp-tree@0.1.23 None 0 313 kB dmitrysoshnikov
npm/regexpp@3.1.0 None 0 301 kB mysticatea
npm/regexpu-core@4.7.1 None 0 32.2 kB jridgewell
npm/registry-auth-token@4.2.1 environment 0 11.7 kB rexxars
npm/regjsgen@0.5.2 None 0 14.3 kB d10
npm/regjsparser@0.6.7 None 0 51.4 kB jviereck
npm/remark-cli@9.0.0 None 0 9.35 kB wooorm
npm/remark-frontmatter@1.3.3 None 0 14.4 kB wooorm
npm/remark-lint-blockquote-indentation@1.0.4 None 0 7.14 kB wooorm
npm/remark-lint-code-block-style@2.0.1 None 0 9.47 kB wooorm
npm/remark-lint-file-extension@1.0.5 None 0 5.21 kB wooorm
npm/remark-lint-final-definition@1.0.4 None 0 5.81 kB wooorm
npm/remark-lint-no-duplicate-definitions@1.0.6 None 0 5.63 kB wooorm
npm/remark-lint-no-duplicate-headings@1.0.5 None 0 5.79 kB wooorm
npm/remark-lint-no-multiple-toplevel-headings@1.0.5 None 0 5.75 kB wooorm
npm/remark-lint-no-tabs@1.0.4 None 0 6.45 kB wooorm
npm/remark-lint-no-undefined-references@1.1.2 None 0 6.63 kB wooorm
npm/remark-lint-ordered-list-marker-value@2.0.1 None 0 11.1 kB wooorm
npm/remark-parse@9.0.0 None 0 8.25 kB wooorm
npm/remark-preset-davidtheclark@0.12.0 None 0 6.13 kB davidtheclark
npm/remark-stringify@9.0.1 None 0 10 kB wooorm
npm/remark-toc@7.2.0 None 0 9.57 kB wooorm
npm/remark-validate-links@10.0.4 filesystem, shell 0 30.1 kB wooorm
npm/remark@13.0.0 None 0 9.03 kB wooorm
npm/remove-trailing-separator@1.1.0 None 0 4.25 kB darsain
npm/repeat-element@1.1.3 None 0 5.32 kB jonschlinkert
npm/repeat-string@1.6.1 None 0 9.09 kB jonschlinkert
npm/repeating@2.0.1 None 0 3.41 kB sindresorhus
npm/replace-in-file@6.2.0 filesystem 0 69.3 kB adamreisnz
npm/request-promise-core@1.1.4 None 0 19.7 kB analog-nico
npm/request-promise-native@1.0.9 None 0 8.59 kB analog-nico
npm/request@2.88.2 environment, filesystem, network 0 209 kB mikeal
npm/require-directory@2.1.1 filesystem 0 12.1 kB troygoode
npm/require-from-string@2.0.2 unsafe 0 3.42 kB floatdrop
npm/require-main-filename@2.0.0 None 0 3.93 kB bcoe
npm/reserved-words@0.1.2 None 0 8.38 kB qfox
npm/resolve-cwd@3.0.0 None 0 4.98 kB sindresorhus
npm/resolve-dir@1.0.1 None 0 6.29 kB phated
npm/resolve-from@5.0.0 filesystem, unsafe 0 5.82 kB sindresorhus
npm/resolve-global@1.0.0 None 0 4.34 kB sindresorhus
npm/resolve-url@0.2.1 None 0 8.77 kB lydell
npm/resolve@1.20.0 filesystem 0 115 kB ljharb
npm/restore-cursor@2.0.0 None 0 2.44 kB sindresorhus
npm/ret@0.1.15 None 0 17.9 kB fent
npm/retry@0.12.0 None 0 32.2 kB tim-kos
npm/reusify@1.0.4 None 0 9.44 kB matteo.collina
npm/rimraf@3.0.2 filesystem 0 17.3 kB isaacs
npm/rsvp@4.8.5 None 0 644 kB stefanpenner
npm/run-async@2.4.1 None 0 6.6 kB sboudrias
npm/run-parallel@1.2.0 None 0 6.56 kB feross
npm/rxjs@6.6.6 None 0 5.12 MB blesh
npm/safe-buffer@5.1.2 None 0 31.7 kB feross
npm/safe-regex@1.1.0 None 0 5.87 kB substack
npm/safer-buffer@2.1.2 None 0 42.3 kB chalker
npm/sane@4.1.0 filesystem 0 51.3 kB stefanpenner
npm/saxes@5.0.1 None 0 164 kB lddubeau
npm/semantic-release@17.4.2 environment, network 0 248 kB semantic-release-bot
npm/semver-compare@1.0.0 None 0 4.05 kB substack
npm/semver-diff@3.1.1 None 0 5.24 kB sindresorhus
npm/semver-regex@3.1.2 None 0 3.9 kB sindresorhus
npm/semver@7.3.4 None 0 85.9 kB isaacs
npm/set-blocking@2.0.0 None 0 4.22 kB bcoe
npm/set-value@2.0.1 None 0 10.3 kB doowb
npm/shebang-command@1.2.0 None 0 2.69 kB kevva
npm/shebang-regex@1.0.0 None 0 2.3 kB sindresorhus
npm/shelljs@0.8.4 environment, filesystem 0 211 kB nfischer
npm/shellsubstitute@1.2.0 None 0 4.45 kB refractalize
npm/shellwords@0.1.1 None 0 3.69 kB jimmycuadra
npm/shiki@0.9.3 filesystem, network 0 6.61 MB octref
npm/signal-exit@3.0.3 None 0 9.87 kB bcoe
npm/signale@1.4.0 None 0 37.2 kB klaussinani
npm/sisteransi@1.0.5 None 0 6.79 kB terkelg
npm/slash@3.0.0 None 0 3.51 kB sindresorhus
npm/slice-ansi@3.0.0 None 0 6.2 kB sindresorhus
npm/sliced@1.0.1 None 0 5.66 kB aaron
npm/slide@1.1.6 None 0 9.7 kB isaacs
npm/snapdragon-node@2.1.1 None 0 25.8 kB jonschlinkert
npm/snapdragon-util@3.0.1 None 0 50.6 kB jonschlinkert
npm/snapdragon@0.8.2 filesystem 0 35.2 kB jonschlinkert
npm/source-map-resolve@0.5.3 None 0 34.3 kB lydell
npm/source-map-support@0.5.19 filesystem 0 84.5 kB linusu
npm/source-map-url@0.4.1 None 0 7.66 kB lydell
npm/source-map@0.5.7 None 0 766 kB tromey
npm/spawn-error-forwarder@1.0.0 None 0 3.8 kB bendrucker
npm/spdx-compare@1.0.0 None 0 4.2 kB kemitchell
npm/spdx-correct@3.1.1 None 0 22.4 kB kemitchell
npm/spdx-exceptions@2.3.0 None 0 2.66 kB kemitchell
npm/spdx-expression-parse@3.0.1 None 0 11.8 kB kemitchell
npm/spdx-license-ids@3.0.7 None 0 9.16 kB kemitchell
npm/spdx-ranges@2.1.1 None 0 5.85 kB kemitchell
npm/spdx-satisfies@4.0.1 None 0 12 kB kemitchell
npm/split-string@3.1.0 None 0 13.8 kB jonschlinkert
npm/split@1.0.1 None 0 12.3 kB dominictarr
npm/split2@3.2.2 None 0 17.2 kB matteo.collina
npm/sprintf-js@1.0.3 None 0 34.8 kB alexei
npm/sshpk@1.16.1 None 0 225 kB arekinath
npm/stack-utils@2.0.3 unsafe 0 14.3 kB isaacs
npm/state-toggle@1.0.3 None 0 5.03 kB wooorm
npm/static-extend@0.1.2 None 0 4.69 kB jonschlinkert
npm/stealthy-require@1.1.1 None 0 12.5 kB analog-nico
npm/stream-combiner2@1.1.1 None 0 6.44 kB substack
npm/string_decoder@1.3.0 None 0 14.4 kB matteo.collina
npm/string-argv@0.3.1 None 0 6.12 kB cellule
npm/string-length@4.0.2 None 0 4.05 kB sindresorhus
npm/string-width@4.2.2 None 0 5.16 kB sindresorhus
npm/string.prototype.trimend@1.0.4 None 0 16.7 kB ljharb
npm/string.prototype.trimstart@1.0.4 None 0 16.9 kB ljharb
npm/stringify-entities@2.0.0 None 0 11.8 kB wooorm
npm/stringify-object@3.3.0 None 0 8.12 kB sindresorhus
npm/strip-bom@4.0.0 None 0 3.91 kB sindresorhus
npm/strip-eof@1.0.0 None 0 2.64 kB sindresorhus
npm/strip-final-newline@2.0.0 None 0 3.05 kB sindresorhus
npm/strip-indent@3.0.0 None 0 3.31 kB sindresorhus
npm/strip-json-comments@2.0.1 None 0 5.06 kB sindresorhus
npm/supports-color@5.5.0 environment 0 6.63 kB sindresorhus
npm/supports-hyperlinks@2.1.0 None 0 6.66 kB jamestalmage
npm/svg-element-attributes@1.3.1 None 0 88.5 kB wooorm
npm/symbol-tree@3.2.4 None 0 57.1 kB joris-van-der-wel
npm/table@6.0.7 None 0 198 kB gajus
npm/tar@6.1.0 environment, filesystem 0 150 kB ruyadorno
npm/temp-dir@2.0.0 filesystem 0 3.29 kB sindresorhus
npm/tempfile@3.0.0 None 0 3.39 kB sindresorhus
npm/tempy@1.0.1 filesystem 0 12.5 kB sindresorhus
npm/terminal-link@2.1.1 None 0 6.52 kB sindresorhus
npm/test-exclude@6.0.0 None 0 23.6 kB coreyfarrell
npm/text-extensions@1.9.0 None 0 3.94 kB sindresorhus
npm/text-table@0.2.0 None 0 11 kB substack
npm/throat@5.0.0 None 0 8.9 kB forbeslindesay
npm/through@2.3.8 None 0 12.5 kB dominictarr
npm/through2@4.0.2 None 0 9.35 kB rvagg
npm/tmp@0.0.33 filesystem 0 26 kB raszi
npm/tmpl@1.0.4 None 0 2.81 kB daaku
npm/to-fast-properties@2.0.0 None 0 3.5 kB sindresorhus
npm/to-object-path@0.3.0 None 0 5.07 kB jonschlinkert
npm/to-regex-range@5.0.1 None 0 22.9 kB jonschlinkert
npm/to-regex@3.0.2 None 0 12.6 kB jonschlinkert
npm/to-vfile@6.1.0 filesystem 0 10.1 kB wooorm
npm/tough-cookie@4.0.0 None 0 98.6 kB awaterma
npm/tr46@2.0.2 None 0 208 kB timothygu
npm/traverse@0.6.6 None 0 47.5 kB substack
npm/treeify@1.1.0 None 0 22.2 kB notatestuser
npm/trim-newlines@3.0.0 None 0 3.7 kB sindresorhus
npm/trim-off-newlines@1.0.1 None 0 2.88 kB stevemao
npm/trim-trailing-lines@1.1.4 None 0 4.6 kB wooorm
npm/trim@0.0.1 None 0 2.71 kB tjholowaychuk
npm/trough@1.0.5 None 0 13.1 kB wooorm
npm/ts-jest@26.5.4 environment, filesystem 0 200 kB kul
npm/ts-node@9.1.1 environment, filesystem, unsafe 0 410 kB cspotcode
npm/tsconfig-paths@3.9.0 environment, filesystem, unsafe 0 82 kB jonaskello
npm/tslib@1.14.1 None 0 34 kB typescript-bot
npm/tsutils@3.21.0 None 0 382 kB ajaff
npm/tunnel-agent@0.6.0 environment, network 0 16.7 kB mikeal
npm/tweetnacl@0.14.5 None 0 174 kB dchest
npm/type-check@0.3.2 None 0 20.9 kB gkz
npm/type-detect@4.0.8 None 0 42.1 kB chaijs
npm/type-fest@0.8.1 None 0 57.9 kB sindresorhus
npm/typedarray-to-buffer@3.1.5 None 0 8.84 kB feross
npm/typedarray@0.0.6 None 0 26 kB substack
npm/typedoc-default-themes@0.12.9 None 0 913 kB gerrit0
npm/typedoc@0.20.32 filesystem, unsafe 0 778 kB typedoc-bot
npm/typescript@4.2.3 None 0 59.2 MB typescript-bot
npm/uglify-js@3.13.1 environment, eval, filesystem 0 1.1 MB alexlamsl
npm/unbox-primitive@1.0.0 None 0 16.5 kB ljharb
npm/underscore@1.6.0 None 0 63.5 kB jashkenas
npm/unherit@1.1.3 None 0 5.53 kB wooorm
npm/unicode-canonical-property-names-ecmascript@1.0.4 None 0 4.34 kB mathias
npm/unicode-match-property-ecmascript@1.0.4 None 0 4.41 kB mathias
npm/unicode-match-property-value-ecmascript@1.2.0 None 0 24.4 kB mathias
npm/unicode-property-aliases-ecmascript@1.1.0 None 0 5.41 kB mathias
npm/unified-args@8.1.0 None 0 38.3 kB wooorm
npm/unified-engine@8.1.0 filesystem, unsafe 0 64.3 kB wooorm
npm/unified-lint-rule@1.0.6 None 0 5.75 kB wooorm
npm/unified@9.2.1 None 0 80.9 kB wooorm
npm/union-value@1.0.1 None 0 6.83 kB doowb
npm/unique-string@2.0.0 None 0 2.88 kB sindresorhus
npm/unist-util-generated@1.1.6 None 0 6.46 kB wooorm
npm/unist-util-inspect@5.0.1 None 0 10.7 kB wooorm
npm/unist-util-is@4.1.0 None 0 13.7 kB wooorm
npm/unist-util-position@3.1.0 None 0 6.67 kB wooorm
npm/unist-util-remove-position@1.1.4 None 0 6.65 kB wooorm
npm/unist-util-stringify-position@2.0.3 None 0 8.53 kB wooorm
npm/unist-util-visit-parents@3.1.1 None 0 16.8 kB wooorm
npm/unist-util-visit@2.0.3 None 0 10.6 kB wooorm
npm/universal-user-agent@6.0.0 None 0 5.68 kB gr2m
npm/universalify@0.1.2 None 0 4.71 kB ryanzim
npm/unset-value@1.0.0 None 0 8.53 kB jonschlinkert
npm/untildify@2.1.0 None 0 2.71 kB sindresorhus
npm/uri-js@4.4.1 None 0 470 kB garycourt
npm/urix@0.1.0 None 0 4.37 kB lydell
npm/url-join@4.0.1 None 0 18.3 kB jfromaniello
npm/use@3.1.1 None 0 9.51 kB jonschlinkert
npm/util-deprecate@1.0.2 None 0 5.48 kB tootallnate
npm/util-extend@1.0.3 None 0 3.59 kB isaacs
npm/uuid@8.3.2 None 0 116 kB ctavan
npm/v8-compile-cache@2.3.0 environment, filesystem, unsafe 0 16.8 kB zertosh
npm/v8-to-istanbul@7.1.0 filesystem, unsafe 0 39.8 kB oss-bot
npm/validate-npm-package-license@3.0.4 None 0 16.6 kB kemitchell
npm/verror@1.10.0 None 0 35.8 kB dap
npm/vfile-location@2.0.6 None 0 7.64 kB wooorm
npm/vfile-message@2.0.4 None 0 12.6 kB wooorm
npm/vfile-reporter@6.0.2 None 0 14 kB wooorm
npm/vfile-sort@2.2.2 None 0 6.09 kB wooorm
npm/vfile-statistics@1.1.4 None 0 6.94 kB wooorm
npm/vfile@4.2.1 None 0 38.6 kB wooorm

๐Ÿšฎ Removed packages: npm/@types/prettier@2.2.3

View full reportโ†—๏ธŽ