Commit Graph
5241 Commits
Author SHA1 Message Date
dependabot[bot] f3343504f7 Build(deps-dev): Bump webpack from 5.15.0 to 5.16.0 (#10091)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 14:39:40 +08:00
dependabot[bot] 90b2f2c6a1 Build(deps-dev): Bump rollup from 2.36.2 to 2.37.0 (#10093)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 14:39:10 +08:00
Sosuke Suzuki c7a3c16f7d Improve visual separation between header and body in classes with multiline headers (#10085)
* Add hardline for a class whose extends part is broken

refactor

Use groupId

Remove isPreviousLineEmpty

* Avoid leading comments

* Rename to heritage

* Add heuristic for implements

* Fix lint problems

* Fix

Fix

Fix

* Extract getGroupId patterns

* Adopots solution 2

* Fix

* Fix lint problem

* Add changelog

* Address reviews

* Update tests

* Rename to createGroupIdMapper

* Split files

* Add tests for complex extends

* Fix changelog
2021-01-20 15:01:16 +09:00
Georgii Dolzhykov af9478009e copy rationale.md update to stable docs 2021-01-19 18:03:46 +02:00
Cyrille DavidandGeorgii Dolzhykov 949c36190f Document --htmlWhitespaceSensitivity option for Handlebars (#10079)
* Document htmlWhitespaceSensitivity for Handlebars

* Update options.md

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2021-01-19 16:49:19 +02:00
Georgii Dolzhykov 4273cbf95f docs: add a note on formatting reversibility (#10062) 2021-01-19 11:39:01 +02:00
dependabot[bot] 0c561b3faa Build(deps): Bump @typescript-eslint/typescript-estree (#10084) 2021-01-19 05:53:34 +00:00
dependabot[bot] 819ca9f0b5 Build(deps-dev): Bump eslint-config-prettier from 7.1.0 to 7.2.0 (#10082)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 13:32:28 +08:00
dependabot[bot]andfisker e2beb5ac50 Build(deps-dev): Bump js-yaml from 3.14.1 to 4.0.0 in /website (#9996)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2021-01-19 10:45:37 +08:00
Georgii Dolzhykov 0354b2ef9d Add a test for HTML (#10077) 2021-01-18 16:40:57 +02:00
7cf524fa03 Smarter formatting of HTML class attribute (#7865)
* html: break class attr onto multiple lines, but try keeping consecutive classes with the same prefix on one line

* add changelog

* add more tests

* improve doc structure to fix an issue with the closing quote

* Update changelog_unreleased/html/pr-7865.md

Co-Authored-By: Jed Fox <git@twopointzero.us>

* handle classes with leading _ and -

* update snapshots

* Lint

* Update pr-7865.md

* Update changelog entry

Co-authored-by: Jed Fox <git@twopointzero.us>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-01-18 15:50:52 +02:00
Cyrille David c8cbbb0a79 handlebars: Support htmlWhitespaceSensitivity=strict option (2/3) (#9885)
* hbs: Add a strict mode

* Fix lint (after concat removal)

* Another lint error
2021-01-18 15:49:39 +02:00
dependabot[bot] 8af20aeeaf Build(deps-dev): Bump rollup from 2.36.1 to 2.36.2 (#10071) 2021-01-18 10:07:23 +00:00
dependabot[bot] cfe815b0fd Build(deps-dev): Bump webpack from 5.14.0 to 5.15.0 (#10074) 2021-01-18 09:35:24 +00:00
Sosuke Suzuki fbb3c421e5 Remove workaround for rollup/plugin-node-resolve 11 (#10075) 2021-01-18 16:51:00 +09:00
Georgii Dolzhykov 92cf9452e9 Disable Babel's error recovery for omitted call arguments (#10065) 2021-01-18 09:45:37 +02:00
dependabot[bot] 2808f401ba Build(deps-dev): Bump @rollup/plugin-node-resolve from 11.0.1 to 11.1.0 (#10069) 2021-01-18 05:56:54 +00:00
dependabot[bot] 67a539ea37 Build(deps-dev): Bump webpack from 5.14.0 to 5.15.0 in /website (#10072) 2021-01-18 05:53:10 +00:00
dependabot[bot] 44ee1131cb Build(deps-dev): Bump eslint from 7.17.0 to 7.18.0 (#10070)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 13:51:13 +08:00
Sosuke Suzuki 0144c7aa2f Rename shouldNotPrePrintHardline to shouldPrePrintHardline (#10067) 2021-01-18 10:50:02 +09:00
Sosuke Suzuki 87b5cfc8ab Refactor: Use getLastStatement function in printStatementSequence (#10066)
* Add getLastStatement function

* Use loop

* Fix lint problem
2021-01-17 10:54:38 +09:00
dependabot[bot]andfisker c5300fa0ca Build(deps): Bump meriyah from 3.1.6 to 4.0.0 (#10060)
* Build(deps): Bump meriyah from 3.1.6 to 4.0.0

Bumps [meriyah](https://github.com/meriyah/meriyah) from 3.1.6 to 4.0.0.
- [Release notes](https://github.com/meriyah/meriyah/releases)
- [Changelog](https://github.com/meriyah/meriyah/blob/master/CHANGELOG.md)
- [Commits](https://github.com/meriyah/meriyah/compare/v3.1.6...v4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* `FieldDefinition` -> `PropertyDefinition`

* `PrivateName` -> `PrivateIdentifier`

* Test https://github.com/meriyah/meriyah/issues/164

* Copy test from https://github.com/meriyah/meriyah/commit/f21882c312284572ac6d7e7630c4a677d6caed92

* Revert breaking change from 3cdb2a4edc8af0b1c02b1d3f1e1493550164fed0

* Fix test options

* Typo

* Update snapshot

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2021-01-16 01:28:54 +02:00
Sosuke Suzuki 2f3fc241f8 Add meriyah to getMarkdownSyntax (#10061) 2021-01-15 23:05:31 +09:00
dependabot[bot] 2dfe869e35 Build(deps): Bump @angular/compiler from 11.0.8 to 11.0.9 (#10055)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-15 14:39:41 +08:00
dependabot[bot] 0ae0551c4d Build(deps-dev): Bump webpack from 5.13.0 to 5.14.0 in /website (#10053)
Bumps [webpack](https://github.com/webpack/webpack) from 5.13.0 to 5.14.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.13.0...v5.14.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 18:31:55 +08:00
dependabot[bot] 623663260a Build(deps-dev): Bump webpack from 5.13.0 to 5.14.0 (#10054)
Bumps [webpack](https://github.com/webpack/webpack) from 5.13.0 to 5.14.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.13.0...v5.14.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 17:14:30 +08:00
dependabot[bot] 46e7627b9f Build(deps-dev): Bump eslint-plugin-unicorn from 26.0.0 to 26.0.1 (#10056)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 26.0.0 to 26.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v26.0.0...v26.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 16:59:38 +08:00
Cyrille David 554d45ea20 handlebars: Print final blockParam on its own line (#9978) 2021-01-13 12:02:47 +08:00
dependabot[bot] de0653bdb1 Build(deps-dev): Bump webpack from 5.12.3 to 5.13.0 (#10040)
Bumps [webpack](https://github.com/webpack/webpack) from 5.12.3 to 5.13.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.12.3...v5.13.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 21:44:02 +08:00
fisker Cheung 0009e0d276 Enable unicorn/prefer-regexp-test (#10045) 2021-01-12 20:37:05 +08:00
dependabot[bot] 28f6e0f2bd Build(deps-dev): Bump @typescript-eslint/types from 4.12.0 to 4.13.0 (#10038)
Bumps [@typescript-eslint/types](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/visitor-keys) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/visitor-keys/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.13.0/packages/visitor-keys)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 20:38:35 +09:00
dependabot[bot] 1e9b25a52a Build(deps): Bump @typescript-eslint/typescript-estree from 4.12.0 to 4.13.0 (#10039)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:26:58 +08:00
dependabot[bot] aeb7a2e82f Build(deps-dev): Bump eslint-plugin-unicorn from 25.0.1 to 26.0.0 (#10042)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:26:38 +08:00
dependabot[bot] e837e9d343 Build(deps): Bump @angular/compiler from 11.0.7 to 11.0.8 (#10041)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:26:04 +08:00
dependabot[bot] bb853534ec Build(deps-dev): Bump webpack from 5.12.3 to 5.13.0 in /website (#10037)
Bumps [webpack](https://github.com/webpack/webpack) from 5.12.3 to 5.13.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.12.3...v5.13.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:19:33 +08:00
dependabot[bot] 46a90cd337 Build(deps-dev): Bump @types/estree from 0.0.45 to 0.0.46 (#10043)
Bumps [@types/estree](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/estree) from 0.0.45 to 0.0.46.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/estree)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:17:43 +08:00
dependabot[bot] 307a0c8e0f Build(deps-dev): Bump terser-webpack-plugin from 5.0.3 to 5.1.1 (#10033) 2021-01-12 02:09:06 +00:00
dependabot[bot] ecae94c816 Build(deps-dev): Bump webpack from 5.11.1 to 5.12.3 (#10035)
Bumps [webpack](https://github.com/webpack/webpack) from 5.11.1 to 5.12.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.11.1...v5.12.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 09:11:30 +08:00
dependabot[bot] 7f8ab88a00 Build(deps-dev): Bump webpack from 5.11.1 to 5.12.3 in /website (#10034)
Bumps [webpack](https://github.com/webpack/webpack) from 5.11.1 to 5.12.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.11.1...v5.12.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 14:24:42 +08:00
fisker Cheung 7b24335064 Refactor: Use Doc[] instead of concat() (#9993) 2021-01-11 13:46:05 +08:00
Sosuke Suzuki 671fa5ddaf Move checkCache to Cache class (#10029)
* Move checkCache to Cache class

* Address reviews
2021-01-11 13:25:34 +09:00
Sosuke Suzukiandfisker Cheung e70ad5b7fb Check cache only when purge-cache is off (#10031)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-01-11 10:24:24 +08:00
fisker Cheung 358ad36a84 Forbid use concat() in concat() (#9998) 2021-01-11 10:19:13 +08:00
dependabot[bot] 1000c57110 Build(deps): Bump @angular/compiler from 11.0.6 to 11.0.7 (#10022)
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 11.0.6 to 11.0.7.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/11.0.7/packages/compiler)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 10:16:32 +08:00
dependabot[bot]andsosukesuzuki 1e7fa4a684 Build(deps): Bump cjk-regex from 2.0.0 to 2.0.1 (#10021)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
2021-01-11 10:15:37 +08:00
dependabot[bot] 5bd2eec4d2 Build(deps): Bump codemirror-graphql from 0.14.0 to 0.15.2 in /website (#10020)
Bumps [codemirror-graphql](https://github.com/graphql/graphiql) from 0.14.0 to 0.15.2.
- [Release notes](https://github.com/graphql/graphiql/releases)
- [Changelog](https://github.com/graphql/graphiql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/graphql/graphiql/compare/codemirror-graphql@0.14.0...codemirror-graphql@0.15.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-10 14:39:35 +09:00
Sosuke Suzuki e2c84527e7 Use fs.promises in build script (#10025) 2021-01-09 02:09:40 +09:00
dependabot[bot] 9a42fd651e Build(deps-dev): Bump rollup from 2.36.0 to 2.36.1 (#10014)
Bumps [rollup](https://github.com/rollup/rollup) from 2.36.0 to 2.36.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.36.0...v2.36.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-08 12:26:12 +08:00
dependabot[bot] 1b0d7f1b21 Build(deps): Bump globby from 11.0.1 to 11.0.2 (#10015)
Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.1 to 11.0.2.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.1...v11.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-08 12:26:02 +08:00
dependabot[bot] 9e55618aa8 Build(deps): Bump flow-parser from 0.141.0 to 0.142.0 (#10016)
Bumps [flow-parser](https://github.com/facebook/flow) from 0.141.0 to 0.142.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.141.0...v0.142.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-08 12:25:48 +08:00