Commit Graph
6455 Commits
Author SHA1 Message Date
fisker Cheung 27e7376229 Fix hangs on invalid v-for (#12113) 2022-01-19 20:53:17 +08:00
fisker Cheung 53da86c34d Fix some lgtm alerts (#12084) 2022-01-17 09:19:50 +08:00
Jed Fox f29a7565e9 Collapse JSXExpressionContainer → AwaitExpression → JSXElement (#12109) 2022-01-16 14:59:22 -05:00
dependabot[bot] 76ae21044c Build(deps): Bump @typescript-eslint/typescript-estree (#12103) 2022-01-16 09:53:46 +00:00
dependabot[bot] 54045e38bd Build(deps-dev): Bump esbuild from 0.14.10 to 0.14.11 (#12102) 2022-01-16 09:47:39 +00:00
dependabot[bot] 9f54d2dc2f Build(deps-dev): Bump eslint-plugin-unicorn from 40.0.0 to 40.1.0 (#12107) 2022-01-16 09:13:53 +00:00
dependabot[bot] f6fa479e0b Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12095) 2022-01-16 08:07:12 +00:00
dependabot[bot] bd8a74b13b Build(deps-dev): Bump cspell from 5.15.1 to 5.15.2 (#12098) 2022-01-16 08:03:04 +00:00
dependabot[bot] ac317e9ece Build(deps-dev): Bump @babel/preset-env from 7.16.7 to 7.16.8 (#12096) 2022-01-16 07:55:42 +00:00
dependabot[bot] b0f1256de8 Build(deps-dev): Bump eslint from 8.6.0 to 8.7.0 (#12106) 2022-01-16 07:45:28 +00:00
dependabot[bot] abf96e387e Build(deps): Bump string-width from 5.0.1 to 5.1.0 in /scripts/release (#12104) 2022-01-16 05:16:17 +00:00
dependabot[bot] e22c2a4c2d Build(deps): Bump fast-glob from 3.2.9 to 3.2.11 (#12100) 2022-01-16 05:13:40 +00:00
dependabot[bot] ae92a2157d Build(deps-dev): Bump eslint-plugin-jest from 25.3.4 to 25.7.0 (#12094) 2022-01-16 05:11:12 +00:00
dependabot[bot] c8553db9fa Build(deps-dev): Bump webpack from 5.65.0 to 5.66.0 in /website (#12093) 2022-01-16 05:09:43 +00:00
dependabot[bot] c1131fdab8 Build(deps): Bump @babel/parser from 7.16.7 to 7.16.8 (#12092) 2022-01-16 05:09:12 +00:00
dependabot[bot] b874522c9d Build(deps-dev): Bump @babel/types from 7.16.7 to 7.16.8 (#12091) 2022-01-16 05:08:57 +00:00
dependabot[bot] 6c0749f4c6 Build(deps-dev): Bump core-js from 3.20.2 to 3.20.3 (#12089) 2022-01-16 05:08:38 +00:00
fisker Cheung 16aa669141 Update rollup-plugin-license (#12081) 2022-01-16 10:21:29 +08:00
Jed Fox 920283a1dd Inline await expressions in JSX (#12088) 2022-01-15 16:00:39 -05:00
fisker Cheung cc6856ae20 Build: Switch to esbuild (backport #12052 and #10006) (#12055) 2022-01-14 15:58:13 +08:00
Sosuke Suzuki 6ccc462409 Print comments for parenthesized TS keyword types (#12070)
* Prefer node.start for TS keyword types

* Add tests

* Add changelog

* Refactor

* Use isTsKeywordType

* Fix lint problems
2022-01-13 09:54:06 +09:00
翠 / greenandfisker Cheung dd3e1a49e0 Improved performance with large HTML files (#11696)
* Simplify Object.assign

* Remove copying ast inside addIsSpaceSensitive

* Remove copying ast inside extractWhitespaces

* Remove copying ast inside removeIgnorableFirstLf

* Remove copying ast inside mergeIeConditonalStartEndCommentIntoElementOpeningTag

* Remove copying ast inside mergeNodeIntoText

* Remove copying ast inside mergeSimpleElementIntoText

* Remove copying ast inside extractInterpolation

* Remove copying ast inside _parse

* Remove copying ast inside preprocess

* Fix lint

* Refactor index/next/prev recalculation with loop

* Remove redundant condition

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* Remove index/siblings from properties

* Define and use replaceChild method

* Change prev/next into getter

* Make parent non writable

* setNonEnumerableProperties to setNonEnumerableProperty

* Set parent with constructor

* Make parent a normal property

* Use child.prev/next

* Remove parent parameter from constructor

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-01-11 10:06:46 -03:00
Sosuke Suzuki c083abac94 Enable @typescript-eslint/prefer-ts-expect-error (#12071)
* Add @typescript-eslint/eslint-plugin

* Enable prefer-ts-expect-error

* Address review
2022-01-10 10:35:09 +09:00
dependabot[bot] 2213e17196 Build(deps): Bump resolve from 1.20.0 to 1.21.0 (#12056) 2022-01-09 08:15:51 -03:00
dependabot[bot] 56577a466b Build(deps-dev): Bump cspell from 5.14.0 to 5.15.1 (#12063) 2022-01-09 08:15:06 -03:00
dependabot[bot] 45427cfe04 Build(deps-dev): Bump rollup from 2.62.0 to 2.63.0 (#12065) 2022-01-09 08:14:28 -03:00
dependabot[bot] 5c9d21909b Build(deps): Bump flow-parser from 0.168.0 to 0.169.0 (#12067) 2022-01-09 08:14:12 -03:00
dependabot[bot] 77c5ec9d59 Build(deps-dev): Bump jest from 27.4.5 to 27.4.7 in /scripts/release (#12068) 2022-01-09 10:25:07 +00:00
dependabot[bot] 8d2955d7c3 Build(deps-dev): Bump @jest/globals in /scripts/release (#12069)
Bumps [@jest/globals](https://github.com/facebook/jest/tree/HEAD/packages/jest-globals) from 27.4.4 to 27.4.6.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v27.4.6/packages/jest-globals)

---
updated-dependencies:
- dependency-name: "@jest/globals"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-09 00:51:18 -03:00
dependabot[bot] 996ad5f1c6 Build(deps-dev): Bump jest from 27.4.5 to 27.4.7 (#12062)
Bumps [jest](https://github.com/facebook/jest) from 27.4.5 to 27.4.7.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.4.5...v27.4.7)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-09 00:50:51 -03:00
dependabot[bot] 99e5207b60 Build(deps-dev): Bump eslint-plugin-compat from 4.0.0 to 4.0.1 (#12066) 2022-01-09 03:43:04 +00:00
dependabot[bot] 8c6b87c4e5 Build(deps-dev): Bump babel-jest from 27.4.5 to 27.4.6 (#12064) 2022-01-09 03:37:29 +00:00
dependabot[bot] 8736ac38c9 Build(deps): Bump @typescript-eslint/typescript-estree (#12061)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 5.8.1 to 5.9.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.9.0/packages/typescript-estree)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/typescript-estree"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-09 00:18:21 -03:00
dependabot[bot] e209b1c574 Build(deps-dev): Bump @rollup/plugin-node-resolve from 13.1.2 to 13.1.3 (#12060) 2022-01-09 03:17:05 +00:00
dependabot[bot] 85f2dc33cf Build(deps): Bump fast-glob from 3.2.7 to 3.2.9 (#12058) 2022-01-09 03:00:30 +00:00
dependabot[bot] 6fc2523b65 Build(deps): Bump prop-types from 15.8.0 to 15.8.1 in /website (#12059) 2022-01-09 02:57:40 +00:00
dependabot[bot] 2d2adca0a4 Build(deps-dev): Bump concurrently from 6.5.1 to 7.0.0 in /website (#12057) 2022-01-09 02:42:03 +00:00
dependabot[bot] 48f70038b3 Build(deps-dev): Bump @babel/preset-react in /website (#12022)
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.16.5 to 7.16.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.7/packages/babel-preset-react)

---
updated-dependencies:
- dependency-name: "@babel/preset-react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-09 09:05:53 +08:00
fisker Cheung 52ec456ab2 Add final new line to cspell.json file (#12049) 2022-01-08 12:14:07 +08:00
Sosuke Suzuki d1132d5f2b Add a new blog post (#12046)
* Add new blog

* Fix typo
2022-01-06 11:50:30 +09:00
Sosuke Suzuki a50bc4e14a Preserve end-of-line comment for if statement without blocks (#12017)
* Print as dangling comments

* Add tests

* Add changelog

* Use symbol instead of string
2022-01-06 09:31:58 +09:00
AliReZa Sabouriandfisker Cheung 7c16d226f1 docs: Add Husky.Net option (#12040)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-01-05 09:43:23 +08:00
dependabot[bot] 2e2f2f50e7 Build(deps): Bump @babel/parser from 7.16.6 to 7.16.7 (#12020) 2022-01-04 07:17:53 +00:00
dependabot[bot] bd5ce9712e Build(deps-dev): Bump @babel/preset-env from 7.16.5 to 7.16.7 (#12026) 2022-01-04 05:57:56 +00:00
dependabot[bot] fe42a1409d Build(deps): Bump @babel/code-frame from 7.16.0 to 7.16.7 (#12030) 2022-01-04 05:57:52 +00:00
fisker Cheung 624c51101c Enable unicorn/prefer-json-parse-buffer and unicorn/no-useless-promise-resolve-reject rule (#12043) 2022-01-04 13:56:10 +08:00
dependabot[bot] ba0f21423d Build(deps-dev): Bump @rollup/plugin-replace from 3.0.0 to 3.0.1 (#12019) 2022-01-04 04:13:07 +00:00
dependabot[bot] 976efc94e4 Build(deps-dev): Bump @rollup/plugin-node-resolve from 13.1.1 to 13.1.2 (#12032) 2022-01-04 03:12:15 +00:00
dependabot[bot] fd78199e25 Build(deps-dev): Bump @types/jest from 27.0.3 to 27.4.0 (#12025) 2022-01-04 02:19:56 +00:00
dependabot[bot] a3f8340a6c Build(deps-dev): Bump @babel/core from 7.16.5 to 7.16.7 (#12036) 2022-01-04 01:15:08 +00:00