Commit Graph
4153 Commits
Author SHA1 Message Date
Sosuke Suzuki b44e702679 HTML: Support <script type="text/html"> (#8371)
* Support HTML Script

* Add changelog

* Remove lang support
2020-05-21 20:29:10 +09:00
fisker Cheung 8ebda75fec Fix unstable yaml print (#8355) 2020-05-21 19:04:06 +08:00
dependabot-preview[bot]andfisker 9c2e9d5eb3 Bump @rollup/plugin-node-resolve from 7.1.3 to 8.0.0 (#8370)
* Bump @rollup/plugin-node-resolve from 7.1.3 to 8.0.0

Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 7.1.3 to 8.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v7.1.3...node-resolve-v8.0.0)

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

* Fix import

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-05-21 14:01:51 +03:00
dependabot-preview[bot] 8855a0c451 Bump @angular/compiler from 9.1.7 to 9.1.9 (#8369)
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 9.1.7 to 9.1.9.
- [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/9.1.9/packages/compiler)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 13:57:37 +03:00
dependabot-preview[bot] d148dbc68c Bump @rollup/plugin-babel from 5.0.0 to 5.0.2 (#8368)
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/url-v5.0.0...babel-v5.0.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 13:48:15 +03:00
fisker Cheung 6d49e3b3c1 Revert #7381 (#8359) 2020-05-21 12:25:01 +08:00
fisker Cheung b438ad47d1 Less: Fix inline comments contains /* (#8360) 2020-05-20 22:26:30 +08:00
dependabot-preview[bot] 46dc9e39f1 Bump rollup from 2.10.4 to 2.10.5 (#8358)
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.4 to 2.10.5.
- [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.10.4...v2.10.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 13:22:33 +03:00
dependabot-preview[bot] c4e966d8f9 Bump typescript from 3.9.2 to 3.9.3 (#8357)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.2 to 3.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.2...v3.9.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 13:22:23 +03:00
fisker Cheung 7c8dc8988f Release script: Update dependents count on release (#8315) 2020-05-20 17:51:08 +08:00
fisker Cheung 765e3b4025 Fix invalid test (#8350) 2020-05-19 21:18:36 +08:00
dependabot-preview[bot] 9e161d38be Bump @typescript-eslint/typescript-estree from 2.33.0 to 2.34.0 (#8345) 2020-05-19 20:18:36 +08:00
dependabot-preview[bot] 230688b761 Bump codecov from 3.6.5 to 3.7.0 (#8347)
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.6.5 to 3.7.0.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.6.5...v3.7.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-19 14:19:48 +03:00
dependabot-preview[bot] 486540b315 Bump @glimmer/syntax from 0.52.1 to 0.53.0 (#8346)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.52.1 to 0.53.0.
- [Release notes](https://github.com/glimmerjs/glimmer-vm/releases)
- [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.52.1...v0.53.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-19 14:10:56 +03:00
dependabot-preview[bot] 9092575c95 Bump rollup from 2.10.2 to 2.10.4 (#8348)
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.2 to 2.10.4.
- [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.10.2...v2.10.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-19 13:58:56 +03:00
Sosuke Suzuki f3e59453cd Vue: Improve upper case HTML tag formatting in DOM template (#8337)
* Treat upper case HTML same as lower case one

* Add changelog

* Support mixed case html tag
2020-05-19 10:30:03 +09:00
Sosuke Suzuki b94e41aae4 Vue: Support Vue DOM template formatting (#8326) 2020-05-18 21:22:30 +08:00
dependabot-preview[bot] 227de48f73 Bump flow-parser from 0.124.0 to 0.125.1 (#8334)
Bumps [flow-parser](https://github.com/facebook/flow) from 0.124.0 to 0.125.1.
- [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.124.0...v0.125.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-18 13:52:12 +03:00
dependabot-preview[bot] e98994bf6e Bump cspell from 4.0.61 to 4.0.63 (#8335)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.61 to 4.0.63.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.61...cspell@4.0.63)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-18 13:50:54 +03:00
dependabot-preview[bot] 7affa15a18 Bump postcss-scss from 2.0.0 to 2.1.1 (#8336)
Bumps [postcss-scss](https://github.com/postcss/postcss-scss) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/postcss/postcss-scss/releases)
- [Changelog](https://github.com/postcss/postcss-scss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-scss/compare/2.0.0...2.1.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-18 13:44:10 +03:00
Sosuke Suzuki 34bfaf87e6 Vue: Fix ugly formatting for one line template in SFC (#8325)
* Fix ugly formatting for one line template in Vue SFC

* Add changelog

* Modify to treat all root elements as block
2020-05-18 18:50:15 +09:00
Georgii Dolzhykov caeb367c16 Playground: autofold for Markdown and other languages (#8331) 2020-05-18 12:15:00 +03:00
Georgii Dolzhykov c5ece64c21 Playground: fix how React is imported (#8332)
see https://twitter.com/sebmarkbage/status/1250284377138802689
2020-05-18 12:14:43 +03:00
Georgii Dolzhykov 382450172c Playground: add Prettier version to document title (#8333) 2020-05-18 12:14:23 +03:00
Georgii Dolzhykov 5dcadf43ab Fix babel-ts to emit a proper syntax error for (a:b) (#8046) 2020-05-16 02:48:45 +03:00
Georgii Dolzhykov b1791e0def refactor(css): calculate correct location data for value-* nodes (#8266)
* calculate correct loc for value-* nodes

* update clean.js to fix idempotence tests
2020-05-16 02:48:25 +03:00
dependabot-preview[bot] 5a7162d063 Bump flow-parser from 0.122.0 to 0.124.0 (#8230) 2020-05-15 18:49:59 +08:00
dependabot-preview[bot] bcfaa8b185 Bump rollup from 2.10.0 to 2.10.2 (#8316)
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.0 to 2.10.2.
- [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.10.0...v2.10.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-15 13:19:24 +03:00
fisker Cheung d47a225d06 Test: "Expected" and "Received" are mixed up in ast compare (#8305) 2020-05-14 19:29:32 +03:00
Sosuke Suzuki 531b7ca139 Vue: improve parsing custom blocks with angular-html-parser@1.5.0 (#8153)
* Parse twice for vue

* Remove 'html' from vueRootElementsSet

* Add link for Vue SFC spec

* Modify to don't format pug code

* Add changelog

* Fix typo

* Change lang, pug => unknown in tests

* Support top-level html

* Refactor shouldParseAsHTML

* Fix multiple template formatting

* Tiny fix

* Fix by Lint

* Remove console.log

* Support nested template tag

* Meke expected syntax errors

* Update tests

* Support unclosed node

* Update to angular-html-parser@1.7.0

* Update

* Remove failed tests

* Modify to throw first parsing error

* Remove options for error tests

* Optimize parse

* Fix reviewed points

* Fix by lint
2020-05-14 22:08:40 +08:00
dependabot-preview[bot] 8147eda702 Bump tslib from 1.12.0 to 1.13.0 (#8307)
Bumps [tslib](https://github.com/Microsoft/tslib) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/1.12.0...1.13.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 15:22:05 +03:00
dependabot-preview[bot] e4aa1f3104 Bump @angular/compiler from 9.1.6 to 9.1.7 (#8308)
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 9.1.6 to 9.1.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/9.1.7/packages/compiler)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 15:19:39 +03:00
fisker Cheung 76b4970c2e Update ESLint related dependencies (#8299) 2020-05-14 10:51:11 +08:00
dependabot-preview[bot]andfisker b5f39481aa Bump typescript from 3.8.3 to 3.9.2 (#8293)
* Bump typescript from 3.8.3 to 3.9.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 3.9.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v3.9.2)

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

* Add Invalid JSX test

* More tests

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-05-14 00:12:37 +03:00
dependabot-preview[bot] d82c3a2752 Bump rollup from 2.9.1 to 2.10.0 (#8294)
Bumps [rollup](https://github.com/rollup/rollup) from 2.9.1 to 2.10.0.
- [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.9.1...v2.10.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-13 13:52:37 +03:00
dependabot-preview[bot] 93d0a810ca Bump tslib from 1.11.2 to 1.12.0 (#8296)
Bumps [tslib](https://github.com/Microsoft/tslib) from 1.11.2 to 1.12.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/1.11.2...1.12.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-13 13:52:13 +03:00
dependabot-preview[bot] f7b94f4411 Bump eslint-plugin-react from 7.19.0 to 7.20.0 (#8297)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-13 13:43:11 +03:00
dependabot-preview[bot] 6fbce9d141 Bump synchronous-promise from 2.0.11 to 2.0.12 (#8295)
Bumps [synchronous-promise](https://github.com/fluffynuts/synchronous-promise) from 2.0.11 to 2.0.12.
- [Release notes](https://github.com/fluffynuts/synchronous-promise/releases)
- [Commits](https://github.com/fluffynuts/synchronous-promise/compare/v2.0.11...v2.0.12)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-13 13:42:20 +03:00
dependabot-preview[bot] 5583a9b672 Bump @typescript-eslint/typescript-estree from 2.32.0 to 2.33.0 (#8298)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.32.0 to 2.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.33.0/packages/typescript-estree)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-13 13:18:04 +03:00
Georgii Dolzhykov a081bf812c Close simple docs related issues (#8289)
* close #7805

* close #5571

* close #5121

* partially address #8094
2020-05-12 16:00:28 +03:00
Georgii Dolzhykov dee69aa1bb Add tests to close some issues - part 2 (#8290)
* tests for JSX comments, #1463

* add a test for #2761

* add a test for #3878
2020-05-12 14:29:37 +03:00
fisker Cheung 2c8b419837 Test: Fix parsers (#8278) 2020-05-12 19:21:47 +08:00
dependabot-preview[bot] ce395cd3d0 Bump @typescript-eslint/typescript-estree from 2.31.0 to 2.32.0 (#8292)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.31.0 to 2.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.32.0/packages/typescript-estree)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-12 13:51:50 +03:00
dependabot-preview[bot] a601559246 Bump @glimmer/syntax from 0.52.0 to 0.52.1 (#8284)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.52.0 to 0.52.1.
- [Release notes](https://github.com/glimmerjs/glimmer-vm/releases)
- [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.52.0...v0.52.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-12 12:09:52 +03:00
dependabot-preview[bot] 4859960818 Bump execa from 4.0.0 to 4.0.1 (#8283)
Bumps [execa](https://github.com/sindresorhus/execa) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v4.0.0...v4.0.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-12 12:09:19 +03:00
fisker Cheung 0c9754f2f7 Remove duplicated outdent (#8291) 2020-05-12 11:39:51 +03:00
dependabot-preview[bot] fc70c10cf0 Bump rollup from 2.8.2 to 2.9.1 (#8285)
Bumps [rollup](https://github.com/rollup/rollup) from 2.8.2 to 2.9.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.8.2...v2.9.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-11 23:32:11 +03:00
dependabot-preview[bot] 20158e65ab Bump angular-html-parser from 1.6.0 to 1.7.0 (#8286)
Bumps [angular-html-parser](https://github.com/ikatyang/angular-html-parser) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/ikatyang/angular-html-parser/releases)
- [Changelog](https://github.com/ikatyang/angular-html-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ikatyang/angular-html-parser/compare/v1.6.0...v1.7.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-11 22:20:26 +03:00
fisker Cheung 23567c4e43 Switch rollup-plugin-babel to @rollup/plugin-babel (#8282)
* Switch `rollup-plugin-babel` to `@rollup/plugin-babel`

* Add `babelHelpers: "bundled"`

* Update cache version

* Remove `babelHelpers` for webpack

* Move `babelHelpers` to rollup only
2020-05-11 21:27:54 +03:00
fisker Cheung cde4a0af9d Fix broken format with upper case HTML tag (#8280)
* Fix broken format with upper case HTML tag

* Add changelog
2020-05-11 21:26:24 +03:00