Commit Graph
4678 Commits
Author SHA1 Message Date
fisker Cheung 47ed40d970 Enable CR test (#9148)
* Enable `CR` test

* Fix tests

* Ignore `standalone.js`
2020-09-17 07:35:33 +08:00
fisker Cheung a5a6ed7872 Switch get-stream to get-stdin (#9149) 2020-09-17 07:32:19 +08:00
fisker Cheung 94ef5f5683 Test: Fix indexes calculation (#9152)
* Test: Fix indexes calculation

* Simplify logic

* Update snapshots
2020-09-17 07:31:29 +08:00
Yuku Kotaniandfisker 549090a5ba Add ESM distributions for browser (#8983)
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-17 00:08:44 +08:00
dependabot[bot] e857c4e88f Build(deps-dev): Bump @types/node from 14.10.1 to 14.10.2 (#9212) 2020-09-16 06:03:57 +00:00
dependabot[bot] ab6f704d30 Build(deps-dev): Bump terser-webpack-plugin from 4.2.0 to 4.2.1 (#9213)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.2.0...v4.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 13:51:40 +08:00
sosukesuzuki dbc856f9bc Merge branch 'patch-release' 2020-09-16 09:54:44 +09:00
sosukesuzuki 0cdc37410d Update dependents count 2020-09-16 09:53:02 +09:00
sosukesuzuki c4d3014b95 Bump Prettier dependency to 2.1.2 2020-09-16 09:51:49 +09:00
sosukesuzuki 8eb8f9ed2d Release 2.1.2 2020-09-16 09:46:05 +09:00
sosukesuzuki f75844a453 Fix changelog 2020-09-16 08:35:59 +09:00
dependabot[bot]andfisker 9153bf20ac Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1 (#9169)
* Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1

Bumps [yaml-unist-parser](https://github.com/ikatyang/yaml-unist-parser) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/ikatyang/yaml-unist-parser/releases)
- [Changelog](https://github.com/ikatyang/yaml-unist-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ikatyang/yaml-unist-parser/compare/v1.3.0...v1.3.1)

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

* Update snapshot

* Update changelog

* spellcheck

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-16 08:05:43 +09:00
Sosuke Suzukiandfisker ec1b419307 YAML: Fix printing doubles a blank line before a comment (#9143)
* Print hardline for endComments only when under mappingValue

* Add changelog

* Fix from linter

* Update tests

* Use shouldPrintEndCommentsWithAlign

* Add tests

* Add test

* Fix format

* Update test

* Test map too

* Update tests

* `shouldPrintEndCommentsWithAlign` -> `shouldPrintEndComments`

Co-authored-by: fisker <lionkay@gmail.com>
2020-09-16 08:03:48 +09:00
Sosuke Suzuki ab9474eacc Fix line breaks for CSS in JS (#9136)
* Fix 2.1 regression for css-in-js

* Add changelog
2020-09-16 08:03:34 +09:00
Sosuke SuzukiandGeorgii Dolzhykov d5da779cb1 GraphQL: Fix formatting for directives in fields (#9116)
* Fix formatting for directives in FragmentDefinition

* Add changelog

* Update src/language-graphql/printer-graphql.js

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

* Fix by Prettier

* Refactor

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-09-16 08:03:19 +09:00
dependabot[bot] 810325daf6 Build(deps-dev): Bump terser-webpack-plugin from 4.1.0 to 4.2.0 (#9197)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.1.0...v4.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 10:50:44 +08:00
golergka 7131347cde Typescript tagged template literal test (#9195) 2020-09-14 14:20:24 +03:00
dependabot[bot] 86239b5364 Build(deps-dev): Bump tempy from 0.6.0 to 0.7.0 (#9199)
Bumps [tempy](https://github.com/sindresorhus/tempy) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/sindresorhus/tempy/releases)
- [Commits](https://github.com/sindresorhus/tempy/compare/v0.6.0...v0.7.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 14:10:34 +03:00
dependabot[bot] 79dac9ac7a Build(deps-dev): Bump eslint from 7.8.1 to 7.9.0 (#9201)
Bumps [eslint](https://github.com/eslint/eslint) from 7.8.1 to 7.9.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.8.1...v7.9.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 14:51:25 +08:00
dependabot[bot] c9f5a32b72 Build(deps-dev): Bump eslint-plugin-jest from 24.0.0 to 24.0.1 (#9200)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 14:10:36 +08:00
fisker CheungandAlexander Kachkaev 57f74984f8 Website: Remove add users link (#9187)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2020-09-14 13:53:20 +08:00
dependabot[bot] 34ce5eeb21 Build(deps-dev): Bump @types/node from 14.10.0 to 14.10.1 (#9198)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.10.0 to 14.10.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 13:51:50 +08:00
Sosuke Suzuki 10a8eff02b Release script: Commit and push after updating dependents count (#9183)
* Modify to commit and push to remote after updating dependendts count

* Fix typo
2020-09-12 03:49:44 +09:00
Xavier Durandandfisker Cheung 40aedc3905 [website] add Aircall in Users list (#9182)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-09-11 18:41:49 +08:00
Ivan Braunandfisker Cheung 63843a6939 Added Icons8 to user list (#9156)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-09-11 18:38:42 +08:00
Sosuke Suzuki 7174924742 Refactor: Use set instead of array (#9164)
* Use set instead of array

* With WeakMap cache

* Refactor

* Fix typo
2020-09-11 13:16:40 +03:00
dependabot[bot] eaf4677a4b Build(deps): Bump node-fetch from 2.1.2 to 2.6.1 in /scripts/release (#9186)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.1.2 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.1.2...v2.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 18:11:35 +08:00
dependabot[bot] eee28c9f47 Build(deps-dev): Bump @types/node from 14.6.4 to 14.10.0 (#9185)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.6.4 to 14.10.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 13:48:52 +08:00
dependabot[bot]andfisker 116727b3b6 Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1 (#9169)
* Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1

Bumps [yaml-unist-parser](https://github.com/ikatyang/yaml-unist-parser) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/ikatyang/yaml-unist-parser/releases)
- [Changelog](https://github.com/ikatyang/yaml-unist-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ikatyang/yaml-unist-parser/compare/v1.3.0...v1.3.1)

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

* Update snapshot

* Update changelog

* spellcheck

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-10 21:30:40 +08:00
dependabot[bot] 24cc03baf0 Build(deps): Bump @angular/compiler from 10.0.14 to 10.1.1 (#9178)
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 10.0.14 to 10.1.1.
- [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/10.1.1/packages/compiler)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 12:58:40 +03:00
dependabot[bot] 639ac8fe83 Build(deps): Bump angular-estree-parser from 2.2.0 to 2.2.1 (#9176) 2020-09-10 05:47:06 +00:00
dependabot[bot] b3394b946b Build(deps-dev): Bump @rollup/plugin-babel from 5.2.0 to 5.2.1 (#9177) 2020-09-10 05:43:22 +00:00
dependabot[bot] 0bb108ee2b Build(deps-dev): Bump rollup from 2.26.10 to 2.26.11 (#9170)
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.10 to 2.26.11.
- [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.26.10...v2.26.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 14:19:39 +08:00
dependabot[bot]andfisker ce0b08ab03 Build(deps): Bump linguist-languages from 7.10.0 to 7.11.0 (#9166)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-09 14:18:51 +08:00
Niklas 84ea6d463f community plugins: add prettier-plugin-go-template (#9163) 2020-09-08 13:18:06 +03:00
fisker Cheung 4de63cfc4f Test: add test for issue 5961 (#9153) 2020-09-07 17:59:50 +03:00
Sosuke Suzukiandfisker 5f9bb2590b YAML: Fix printing doubles a blank line before a comment (#9143)
* Print hardline for endComments only when under mappingValue

* Add changelog

* Fix from linter

* Update tests

* Use shouldPrintEndCommentsWithAlign

* Add tests

* Add test

* Fix format

* Update test

* Test map too

* Update tests

* `shouldPrintEndCommentsWithAlign` -> `shouldPrintEndComments`

Co-authored-by: fisker <lionkay@gmail.com>
2020-09-07 14:10:05 +03:00
dependabot[bot] 1a89b34fd2 Build(deps-dev): Bump rollup from 2.26.9 to 2.26.10 (#9158) 2020-09-07 07:26:53 +00:00
dependabot[bot] b1a73a2f51 Build(deps-dev): Bump rollup-plugin-terser from 7.0.1 to 7.0.2 (#9160) 2020-09-07 05:57:08 +00:00
dependabot[bot] 5c4bb1517f Build(deps-dev): Bump jest-watch-typeahead from 0.6.0 to 0.6.1 (#9157)
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/jest-community/jest-watch-typeahead/releases)
- [Changelog](https://github.com/jest-community/jest-watch-typeahead/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/jest-watch-typeahead/compare/v0.6.0...v0.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 13:52:59 +08:00
dependabot[bot] e93e99d76a Build(deps-dev): Bump eslint-plugin-jest from 23.20.0 to 24.0.0 (#9159)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.20.0 to 24.0.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.20.0...v24.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 13:52:34 +08:00
fisker Cheung 370844cc4c Run full test on every parser (#9070)
* Refactor test

* Fix

* Improve `hasPragma` & `insertPragma` on files has BOM

* Fix `coreFormat` cursorOffset

* Code style

* Update snapshots

* Refactor

* Restore BOM test

* Add export

* Empty file

* return after SyntaxError

* EOL test

* Fix eol tests

* Named export

* Tweak matrix

* Disable on `requirePragma`

* Disable `cr` test

* Simplify logic

* Update `verbose`

* Remove `test:full-test`

* Typo
2020-09-04 23:43:41 +08:00
dependabot[bot]andfisker 6c05c75e06 Build(deps): Bump flow-parser from 0.132.0 to 0.133.0 (#9135)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-04 16:00:08 +08:00
dependabot[bot] a86241c648 Build(deps-dev): Bump @types/node from 14.6.3 to 14.6.4 (#9141) 2020-09-04 05:46:44 +00:00
dependabot[bot] 5529f27f72 Build(deps-dev): Bump @babel/core from 7.11.5 to 7.11.6 (#9142) 2020-09-04 05:46:02 +00:00
dependabot[bot] b374a0e7b0 Build(deps): Bump decompress from 4.2.0 to 4.2.1 in /website (#9140)
Bumps [decompress](https://github.com/kevva/decompress) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/kevva/decompress/releases)
- [Commits](https://github.com/kevva/decompress/compare/v4.2.0...v4.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-04 13:19:07 +08:00
Sosuke Suzuki 2c0e9838f2 Fix line breaks for CSS in JS (#9136)
* Fix 2.1 regression for css-in-js

* Add changelog
2020-09-04 13:12:58 +09:00
dependabot[bot] 9a5dd4b217 Build(deps-dev): Bump @glimmer/reference from 0.60.0 to 0.61.2 (#9134) 2020-09-03 09:19:03 +00:00
dependabot[bot] 0beac53964 Build(deps): Bump @glimmer/syntax from 0.60.0 to 0.61.2 (#9131)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.60.0 to 0.61.2.
- [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.60.0...v0.61.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-03 16:22:50 +08:00
dependabot[bot] b7744fa4cf Build(deps-dev): Bump @types/node from 14.6.2 to 14.6.3 (#9133)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.6.2 to 14.6.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-03 14:48:48 +08:00