Commit Graph
4182 Commits
Author SHA1 Message Date
Georgii Dolzhykov 7f2ba08fb0 refactor(range): minor cleanup (#8421) 2020-05-27 11:48:02 +03:00
fisker Cheung 507c3403e3 Add some tests for sharedUtil (#8412) 2020-05-26 17:11:43 +03:00
fisker Cheung 408bbd4cbb Fix empty files with shebang (#8414) 2020-05-26 16:58:00 +03:00
fisker Cheung 786eb2afb3 Build: Fix @rollup/plugin-commonjs warning (#8406)
* Fix `@rollup/plugin-commonjs` warning

* Fix comment
2020-05-26 16:18:59 +08:00
fisker Cheung 44bae94647 Support dynamic languages in front matter (#8381) 2020-05-26 16:18:39 +08:00
dependabot-preview[bot] 8718bb4be4 Bump rollup-plugin-terser from 5.3.0 to 6.1.0 (#8404)
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 5.3.0 to 6.1.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v5.3.0...v6.1.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-25 21:00:29 +08:00
dependabot-preview[bot] 2f9ad02201 Bump js-yaml from 3.13.1 to 3.14.0 in /website (#8405)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.1 to 3.14.0.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.13.1...3.14.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-25 21:00:02 +08:00
dependabot-preview[bot] c72074e3d4 Bump eslint from 7.0.0 to 7.1.0 (#8403) 2020-05-25 19:36:05 +08:00
dependabot-preview[bot] 1e6e123622 Bump synchronous-promise from 2.0.12 to 2.0.13 (#8399) 2020-05-25 19:35:09 +08:00
Georgii Dolzhykov 67cbab7f48 Add plugins' parsers to the parser option (#8390)
* Add plugins' parsers to the `parser` option

* Add changelog entry

* Add plugin name to value description

* Update snapshot
2020-05-25 14:03:20 +03:00
dependabot-preview[bot] 5e0654614a Bump rollup from 2.10.7 to 2.10.9 (#8398)
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.7 to 2.10.9.
- [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.7...v2.10.9)

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-25 13:55:50 +03:00
fisker Cheung 555df90c55 Update yaml-unist-parser to v1.2.1 (#8386) 2020-05-25 18:28:49 +08:00
Cyrille David 40ade963a8 Respect singleQuote option around attribute value more complex than a bare text (#8375)
* Apply singleQuote option to attributes

* Add changelog
2020-05-25 13:18:49 +03:00
dependabot-preview[bot] ededcd7519 Bump execa from 4.0.1 to 4.0.2 (#8401) 2020-05-25 18:02:16 +08:00
fisker Cheung 3606c2e192 Support babel data-type="module" (#8394)
* Support babel `data-type="module"`

* Update changelog
2020-05-25 12:48:31 +03:00
fisker Cheung 82a319898d Flow: fix function type param (#8365) 2020-05-25 16:47:04 +08:00
fisker Cheung d048aa30a5 Bump issue template runtime versions (#8396) 2020-05-25 16:39:25 +08:00
Georgii Dolzhykov 47ed9a77e3 Add the browser and unpkg field to package.json (#8387) 2020-05-25 14:51:54 +08:00
Georgii Dolzhykov d420202df4 fix(js): comments after superclass (#8312)
* Fix comments after superclass

* add changelog

* refactor

* Organize tests

* Use addBlockStatementFirstComment

* Amend unstableTests list

* Avoid identical comments in tests

* Add tests for `implements`

* Handle comments in interfaces

* Remove an always-false condition

* Almost a fix

* Further fixes

* Add DeclareClass

* Add DeclareInterface, mixins

* Fix extends in DeclareClass

* Fix DeclareClass

* Fix mixins

* Refactor: remove unused parameters

* Add marked dangling comments

* Unify printing of interface for TS and Flow

* Fix unstable interfaces

* Remove comment

* Restore the original behavior for interfaces with multiple inheritance

* Refactoring, tests

* Remove unused code

* Include a file accidentally omitted from the merge commit

* Remove unused type import
2020-05-24 21:53:29 +03:00
fisker Cheung 4b95c408ae Add test for #6988 (#8391)
* Add test for #6988

* Move files
2020-05-24 17:27:25 +03:00
Jason SiefkenandGeorgii Dolzhykov 6d7524c76a Clarified usage of embed (#8388)
* Clarified usage of `embed`

Give further details about how to use `embed` in a plugin and what the call chain looks like.

* Ran prettier

* Fixed mispelling

* Small nitpicks

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-05-24 11:19:57 +03:00
fisker Cheung f2c1d70918 JS: pragma support files with shebang (#8376) 2020-05-23 19:28:05 +08:00
fisker Cheung a3cdb7dcfe Playground: Redirect babylon parser to babel (#8382) 2020-05-22 19:14:10 +08:00
Cyrille David e398ccc66d Enable glimmer printer in the playground (#8373) 2020-05-22 19:13:49 +08:00
dependabot-preview[bot] a2e7d20c3c Bump rollup from 2.10.5 to 2.10.7 (#8383)
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.5 to 2.10.7.
- [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.5...v2.10.7)

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-22 13:59:02 +03:00
fisker Cheung efea54bbbf Add test for #6445 (#8379) 2020-05-22 01:45:11 +08:00
fisker Cheung ea84392af2 YAML: Preserve blank lines in comments (#8356)
* YAML: Fix ugly comments

* Add changelog

* Use common utils
2020-05-21 19:24:51 +03:00
dependabot-preview[bot] 5da4c21219 Bump @rollup/plugin-commonjs from 11.1.0 to 12.0.0 (#8367)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.1.0 to 12.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.1.0...commonjs-v12.0.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-21 21:24:44 +08:00
fisker Cheung 243a06f073 Test: correct file extensions (#8362) 2020-05-21 21:10:00 +08:00
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