Commit Graph
6500 Commits
Author SHA1 Message Date
Lucas Duailibe 72ac2bbe5f Fix comment in abstract methods (#12185) 2022-01-29 19:25:53 -03:00
fisker Cheung e3efd11401 Drop color support for standalone build (#12182) 2022-01-28 18:27:27 +08:00
fisker Cheung 08da4e55b0 Build: Remove define on second run (#12183) 2022-01-28 16:31:48 +08:00
fisker Cheung 9691e7bc37 Add acorn parser (#12172) 2022-01-28 15:25:30 +08:00
Lucas Duailibe f4d9816bc1 Keep comments of default cases in the same line of the case (#12177) 2022-01-28 00:11:28 -03:00
fisker Cheung a407f9b5af Exclude getInterpreter from 'standalone.js' (#12180) 2022-01-28 10:57:15 +08:00
fisker Cheung 350c05330e Build: Minor tweak to the umd plugin (#12179) 2022-01-28 10:34:59 +08:00
fisker Cheung 02052fd6ce Build: Verbose text report (#12178) 2022-01-28 10:11:35 +08:00
Sosuke Suzuki ff78a94424 Reduce bundle size of parser-html.js (#12176) 2022-01-28 10:07:37 +08:00
fisker CheungandSosuke Suzuki 2fd1406f5f Remove chalk from standalone.js (#12162)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-01-28 09:24:48 +08:00
fisker Cheung 9106e7ea13 Remove esm/doc.mjs (#12166) 2022-01-27 21:14:31 +08:00
fisker Cheung e73ee65d97 Reduce size of inherits module in parser-markdown.js (#12175) 2022-01-27 21:14:05 +08:00
Sosuke Suzuki 893f43a599 Remove unused api at build time (#12171) 2022-01-27 19:24:36 +09:00
Sosuke Suzuki bb130d2d6e Extract getStringWidth (#12173) 2022-01-27 19:24:11 +09:00
Sosuke Suzuki b0e87946e9 refactor: Use default export for some utils (#12168) 2022-01-27 17:23:35 +08:00
fisker Cheung c9543b9fef Build: More reporter format (#12165) 2022-01-27 16:53:07 +08:00
fisker Cheung 950196fb88 Replace tslib entry when bundling parser-yaml.js (#12169) 2022-01-27 16:52:43 +08:00
fisker Cheung 7d7f7e928a Reduce bundled size of diff package (#12160) 2022-01-27 15:04:07 +08:00
fisker Cheung 7e73f1cf0d Update cSpell config (#12154) 2022-01-27 15:03:49 +08:00
Sosuke Suzuki 23dea6c0bb Reduce JS parsers bundle size 2 (#12164)
* Move get-shebang

* Use `getLast` directly

* Move `isNonEmptyArray`
2022-01-27 15:44:53 +09:00
fisker Cheung 54e9feb2d3 Build: Add --report flag (#12159) 2022-01-27 11:16:50 +08:00
fisker Cheung b08b79cc87 Update build script (#12157) 2022-01-27 09:37:55 +08:00
Sosuke Suzuki d13feed42b Reduce JS parsers bundle size (#12156)
* Extract utils

* utils.js -> utils/index.js

* Fix linter
2022-01-26 23:29:19 +09:00
fisker Cheung f2ab2f9306 Remove useless TypeScriptServices from parser-typescript.js (#12155) 2022-01-26 22:27:10 +08:00
fisker Cheung f265e584df Build: Add --no-babel flag (#12153) 2022-01-26 20:33:15 +08:00
fisker Cheung 93af7641c9 Remove ts.sys in parser-typescript.js (#12151) 2022-01-26 19:38:03 +08:00
fisker Cheung d5bf36060f Exclude process shim (#12149) 2022-01-26 19:08:55 +08:00
fisker Cheung 7fbd4fcab3 Replace esbuild-plugin-browserslist with browserslist-to-esbuild (#12150) 2022-01-26 17:55:45 +08:00
fisker Cheung 2c5839b4ac Exclude assert shim (#12147) 2022-01-26 08:56:44 +08:00
Joel Bradshawandfisker Cheung 38b5b98393 Clarify documentation around proseWrap (#12134)
* Clarify documentation around proseWrap

These docs were a bit misleading, describing never as "opt-out" when it in fact can result in massive changes in an existing wrapped file is confusing, and referring to the default behavior as "wrapping as-is" is confusing, because Prettier isn't actually doing any wrapping - it's just leaving it as-is. Hopefully this is clearer.

* Update stable version docs

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-01-26 00:33:05 +09:00
dependabot[bot] 4dd195099e Build(deps): Bump typescript from 4.5.4 to 4.5.5 (#12119) 2022-01-24 12:05:25 +00:00
dependabot[bot]andfisker Cheung 7b480b1400 Build(deps-dev): Bump esbuild from 0.14.11 to 0.14.13 (#12129)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-01-24 17:29:31 +08:00
dependabot[bot]andfisker Cheung 249096c749 Build(deps): Bump @babel/parser from 7.16.8 to 7.16.12 (#12126)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-01-24 17:29:19 +08:00
dependabot[bot] 07c2158c7b Build(deps-dev): Bump node-fetch from 3.1.0 to 3.1.1 (#12135)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 15:21:21 +08:00
dependabot[bot] 361e4aeb06 Build(deps): Bump @typescript-eslint/typescript-estree (#12121) 2022-01-24 03:49:09 +00:00
dependabot[bot] a67bae33a3 Build(deps): Bump @typescript-eslint/typescript-estree (#12121) 2022-01-24 03:49:04 +00:00
dependabot[bot] 15c4815f26 Build(deps): Bump node-fetch from 3.1.0 to 3.2.0 in /scripts/release (#12133) 2022-01-24 03:45:06 +00:00
dependabot[bot] d914180f51 Build(deps-dev): Bump @babel/core from 7.16.7 to 7.16.12 (#12132)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.16.7 to 7.16.12.
- [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.12/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  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-23 23:31:55 +08:00
dependabot[bot] 7c3433cbb8 Build(deps): Bump resolve from 1.21.0 to 1.22.0 (#12130) 2022-01-23 10:30:44 +00:00
dependabot[bot] 9ff346720e Build(deps-dev): Bump webpack from 5.66.0 to 5.67.0 in /website (#12120) 2022-01-23 08:24:29 +00:00
dependabot[bot] 6a4bb95b18 Build(deps-dev): Bump @babel/preset-env from 7.16.8 to 7.16.11 (#12124) 2022-01-23 08:15:44 +00:00
dependabot[bot] a184c296da Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12127) 2022-01-23 08:13:43 +00:00
dependabot[bot] d35c730a29 Build(deps-dev): Bump esbuild-plugin-browserslist from 0.4.1 to 0.4.2 (#12128)
Bumps esbuild-plugin-browserslist from 0.4.1 to 0.4.2.

---
updated-dependencies:
- dependency-name: esbuild-plugin-browserslist
  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-23 16:12:01 +08:00
dependabot[bot] 181109df67 Build(deps-dev): Bump cspell from 5.15.2 to 5.16.0 (#12131)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.15.2 to 5.16.0.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.15.2...v5.16.0)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  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-23 13:43:12 +08:00
Sosuke Suzuki db73cc8e0c Print end-of-line comment for continue/break statements (#12075)
* Add handleBreakAndContinueStatementComments to handleEndOfLineComment

* Add tests

* Add changelog

* Update tests

* Add more tests

* Fix for own line comments

* Fix tests

* Fix tests

* Fix tests

* Add unstable tests
2022-01-19 22:29:37 +09:00
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