Commit Graph
3724 Commits
Author SHA1 Message Date
Georgii Dolzhykov cf3d9f0b80 api: remove the version parameter of getSupportInfo (#7620)
* api: remove the version parameter of getSupportInfo

* add changelog entry

* remove mapDeprecated

* Update pr-7620.md

* remove the first parameter completely

* Update api.md

* add default value for opts just to be on the safe side
2020-02-23 02:47:17 +02:00
dependabot-preview[bot] 863a92c9c8 Bump typescript from 3.7.5 to 3.8.2 (#7652)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.5 to 3.8.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 12:44:51 +02:00
dependabot-preview[bot] f5758fa6d5 Bump codemirror from 5.51.0 to 5.52.0 in /website (#7650)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.51.0 to 5.52.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.51.0...5.52.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 12:44:39 +02:00
dependabot-preview[bot] d02d81d796 Bump cspell from 4.0.48 to 4.0.50 (#7651)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.48 to 4.0.50.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.48...cspell@4.0.50)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 11:25:46 +02:00
Karl Horky 2b761b6af8 Remove unnecessary expression (#7648)
Since wordPart is checked for falsiness on the previous line, it will always evaluate to an empty string. The expression in the parentheses will then evaluate to `"" || ""`, which I assume is not desired.

Ref: https://lgtm.com/projects/g/prettier/prettier/snapshot/ecfc5e9b8320d79ed8a801d811e0a63892b040d0/files/src/printer-postcss.js?sort=name&dir=ASC&mode=heatmap#L468
2020-02-21 00:54:15 +02:00
dependabot-preview[bot] 8c809bde57 Bump @angular/compiler from 9.0.1 to 9.0.2 (#7645)
Bumps [@angular/compiler](https://github.com/angular/angular) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/compare/9.0.1...9.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 14:31:13 +02:00
dependabot-preview[bot] e823c78ccb Bump cspell from 4.0.47 to 4.0.48 (#7644)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.47 to 4.0.48.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.47...cspell@4.0.48)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 14:29:09 +02:00
fisker Cheung 647c041b57 Check pattern existence before glob (#7587) 2020-02-19 12:57:39 +02:00
fisker CheungandChristopher J. Brody 3cef19c73e Update globby to v11 (#6776)
* globby@10 update (with fast-glob implementation)

with some minor test snapshot updates in tests_integration since
fast-glob does not always keep the same file order as node-glob

* with no `nodir: true` option

use of no `nodir: true` option was introduced in 639c52388
but it does not seem to be needed with some newer
versions of globby

* with workaround for fast-glob on Windows

ref: https://github.com/mrmlnc/fast-glob#how-to-write-patterns-on-windows

Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: Christopher J. Brody <chris@brody.consulting>

* Revert "with no `nodir: true` option"

This reverts commit f7297cbceebc3d939bca0d90a904a1d3fea45345.

* revert updates to snapshots in tests_integration

* sort the file paths from globby

and update some snapshots in tests_integration

* Update build scripts

* replace `util.promisify` with `pify`

* style

* typo

* add pify to dict

* check index.js

* debug

* exclude `transform-async-to-generator`

* fix `bin-prettier.js`

* restore disabled script

* try depth:1

* remove depth add `./`

* sort dir

* disable expandDirectories

ref: https://github.com/sindresorhus/globby/blob/master/index.js#L95

* use absolute path

* remove sort()

* sort dir

* use `alphasorti` compare

* remove './'

* fix `findPluginsInNodeModules`

* fix `findPluginsInNodeModules`

* restore snap

* fix `findPluginsInNodeModules`

* return early

* code style

* sort

* update snap

* try mem

* mem `loadPlugins` function

* fix

* glob directories instead of package.json

* use deep

* remove mem

* improve speed

* support dot pattern

* expand directories test

* restore import order

* remove snap

* update test

* restore `findPluginsInNodeModules`

* Update `globby`

* `fast-glob` beta

* Restore logic

* Add tests for `globby` update

* Fix tests

* Remove option with default value

* Try new beta version of `fast-glob`

* Restore error info

* Add `path.sep` check
2020-02-18 17:36:22 +02:00
Georgii Dolzhykov 473bf9f50d Merge remote-tracking branch 'remotes/upstream/master' into next 2020-02-18 17:29:57 +02:00
Robert Webb 0b1b50106c Added a test to verify that #4659 is closed (#7591) 2020-02-18 17:01:55 +02:00
fisker Cheung bf6ceadb8b Add a test with same packageName and fileName (#7517) 2020-02-18 16:36:17 +02:00
Kevin GibbonsandGeorgii Dolzhykov ada3d08df5 Put space after generator star, not before (#7516)
* Put space after generator star, not before

* remove pr-7516.md, edit pr-3903.md instead

Because the release blog post will be generated from these files.

* edit pr-3903.md

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-02-18 16:27:52 +02:00
dependabot-preview[bot] 0ee552f87b Bump @typescript-eslint/typescript-estree from 2.19.2 to 2.20.0 (#7616)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.19.2 to 2.20.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.20.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-18 10:32:00 +02:00
Corinne Hoener 50e0ea91ee Respect prettierignore when executed in subdirectories (#7588)
* Respect prettierignore when executed in subdirectories

* Add ignore-in-subdirectories tests

* Add changelog entry
2020-02-18 00:40:26 +02:00
dependabot-preview[bot] f40c5e3336 Bump tempy from 0.3.0 to 0.4.0 (#7601)
Bumps [tempy](https://github.com/sindresorhus/tempy) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/sindresorhus/tempy/releases)
- [Commits](https://github.com/sindresorhus/tempy/compare/v0.3.0...v0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-18 00:39:54 +02:00
fisker Cheung 1c0e9ae20b Update @angular/compiler to v9 (#7596) 2020-02-18 00:39:26 +02:00
Georgii Dolzhykov 16c0a7a10f Rudimentary support for the most used directives of AngularJS 1.x (#6869)
* Rudimentary support for the most used directives of AngularJS 1.x

* add ng-class and ng-style

* add changelog entry in the new format

* Update pr-6869.md

* update snapshots
2020-02-18 00:38:23 +02:00
fisker Cheung ee61bdf435 Remove usage of cosmiconfig v4 interface (#7458)
* Remove usage of cosmiconfig v4 interface

* Remove `loadEditorConfig` second argument
2020-02-17 16:42:04 +02:00
fisker Cheung 2bfaa7c2cf Simplify createLanguage (#7509) 2020-02-17 16:39:08 +02:00
fisker Cheung d2de524571 Don't add parens to undefined in ConditionalExpression with jsx (#7504)
* Add failed test

* Don't add parens to Literal and Identifier

* Update snap shot

* Move test to `jsx`

* Only undefined

* Add changelog
2020-02-17 16:34:50 +02:00
dependabot-preview[bot] 3532888bdf Bump cspell from 4.0.46 to 4.0.47 (#7600)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.46 to 4.0.47.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.46...cspell@4.0.47)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 12:49:48 +02:00
dependabot-preview[bot] 72de796f64 Bump terser-webpack-plugin from 2.3.4 to 2.3.5 (#7599)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.4 to 2.3.5.
- [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/v2.3.4...v2.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 12:49:38 +02:00
fisker CheungandGeorgii Dolzhykov 40a1418246 Format value of HTML class attribute (#7555)
* Format HTML attribute `class` value

* Add more example

* Typo

* Don't break

* exclude mustache and multiparser

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-02-16 10:59:15 +02:00
dependabot-preview[bot] e214e9bf7a Bump rollup from 1.31.0 to 1.31.1 (#7581)
Bumps [rollup](https://github.com/rollup/rollup) from 1.31.0 to 1.31.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/v1.31.0...v1.31.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 16:20:11 +02:00
dependabot-preview[bot] 2725c5dba1 Bump @glimmer/syntax from 0.47.4 to 0.47.9 (#7579)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.47.4 to 0.47.9.
- [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.47.4...v0.47.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 15:14:21 +02:00
Georgii Dolzhykov 5dab172700 Merge remote-tracking branch 'remotes/upstream/master' into next 2020-02-14 14:08:20 +02:00
Cory Forsyth 5bd45d79af fix(glimmer): Do not strip AttrNode value when it is not blank (#7552)
* failing test

* fix(glimmer): Do not strip attr node values when not blank

* Add user-facing changes
2020-02-14 13:39:59 +02:00
dependabot-preview[bot] 5023197514 Bump rimraf from 3.0.1 to 3.0.2 (#7580)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Changelog](https://github.com/isaacs/rimraf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v3.0.1...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 13:31:29 +02:00
dependabot-preview[bot] bb232263d5 Bump semver from 7.1.2 to 7.1.3 (#7578)
Bumps [semver](https://github.com/npm/node-semver) from 7.1.2 to 7.1.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.1.2...v7.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 13:31:17 +02:00
dependabot-preview[bot] 34edb97184 Bump @typescript-eslint/typescript-estree from 2.19.0 to 2.19.2 (#7583)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.19.0 to 2.19.2.
- [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.19.2/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 13:31:05 +02:00
dependabot-preview[bot] 01f1bd74d6 Bump eslint-plugin-unicorn from 16.0.0 to 16.1.1 (#7577)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 16.0.0 to 16.1.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v16.0.0...v16.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 13:30:53 +02:00
dependabot-preview[bot] 5e28ec1364 Bump webpack from 4.41.5 to 4.41.6 (#7582)
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.5 to 4.41.6.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.5...v4.41.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 13:30:15 +02:00
fisker Cheung 017d079ca8 Format value of HTML style attribute (#7556) 2020-02-14 14:21:11 +03:00
dependabot-preview[bot] 4267eeb6e3 Bump resolve from 1.15.0 to 1.15.1 (#7553)
Bumps [resolve](https://github.com/browserify/resolve) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.15.0...v1.15.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 12:33:37 +02:00
fisker Cheung ee1a8e45f4 Always enable ENABLE_TEST_RESULTS and AST_COMPARE on CI (#7433)
* Use `ci-info` instead of `is-ci`

* Always enable `ENABLE_TEST_RESULTS` and `AST_COMPARE` on CI
2020-02-14 12:30:58 +02:00
fisker Cheung 4bac066146 Refactor shouldPrintComma logic for angular (#7507) 2020-02-14 13:21:46 +03:00
fisker Cheung b26d66feb3 Remove unnecessary type-casting in FastPath (#7506) 2020-02-14 13:21:19 +03:00
fisker Cheung 03655b48e9 Categorize scripts in package.json (#7561) 2020-02-14 13:20:38 +03:00
Daiki Ihara 3a485c68dd Markdown: fix incorrect prettification of multi-line markdown footnote (#7203)
* fix incorrect prettification of multi-line markdown footnote

* update test of footnoteDefinition

* add changelog_unreleased pr-7203

* fix changelog_unreleased

* fix pointed out

* update snapshot test of markdown for footnote
2020-02-14 11:50:49 +02:00
dependabot-preview[bot] 410d1580ac Bump @rollup/plugin-node-resolve from 7.0.0 to 7.1.1 (#7537)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 7.0.0 to 7.1.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v7.0.0...node-resolve-v7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 01:50:22 +02:00
dependabot-preview[bot] dd3deed78c Bump @rollup/plugin-commonjs from 11.0.1 to 11.0.2 (#7539)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.0.1 to 11.0.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.1...commonjs-v11.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 01:50:06 +02:00
fisker Cheung 61398f0dc7 Vue: don't print long single expression of TemplateLiteral and StringLiteral on new line (#7479)
* Add failed test

* Fix logic

* Update example

* More tests

* Add changelog_unreleased/vue/pr-7479.md

* Fix logic
2020-02-14 01:47:36 +02:00
dependabot-preview[bot] c707ca91f1 Bump webpack-cli from 3.3.10 to 3.3.11 in /website (#7570)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.10 to 3.3.11.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/next/CHANGELOG_v3.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.10...v3.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 01:39:38 +02:00
fisker Cheung 5cb59a07d1 Add tests for globby update (#7543) 2020-02-14 01:39:01 +02:00
Dang Mai ae9d2ac054 Add Apex to list of supported languages on home page (#7545) 2020-02-14 01:37:13 +02:00
dependabot-preview[bot] ffef2e9b74 Bump snapshot-diff from 0.6.2 to 0.7.0 (#7546)
Bumps [snapshot-diff](https://github.com/thymikee/snapshot-diff) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/thymikee/snapshot-diff/releases)
- [Commits](https://github.com/thymikee/snapshot-diff/compare/v0.6.2...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 01:36:25 +02:00
fisker Cheung 8fdab1bf40 A little DRY on TypeCastExpression print (#7551) 2020-02-14 01:35:43 +02:00
dependabot-preview[bot] 1fd1f8e752 Bump @rollup/plugin-json from 4.0.1 to 4.0.2 (#7538)
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/url-v4.0.1...url-v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 01:00:12 +02:00
dependabot-preview[bot] 798a993264 Bump flow-parser from 0.117.1 to 0.118.0 (#7554)
Bumps [flow-parser](https://github.com/facebook/flow) from 0.117.1 to 0.118.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.117.1...v0.118.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 00:59:29 +02:00