Commit Graph
7047 Commits
Author SHA1 Message Date
dependabot[bot] ba3e736700 Build(deps): Bump @typescript-eslint/typescript-estree (#12785) 2022-05-04 06:06:20 +00:00
fisker Cheung e14411c278 Support async parser (#12748) 2022-05-04 11:15:48 +08:00
dependabot[bot] 62a59c341c Build(deps-dev): Bump @typescript-eslint/eslint-plugin from 5.21.0 to 5.22.0 (#12782)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 11:09:59 +08:00
fisker Cheung eb7b504c06 Use import.meta.jest (#12776) 2022-05-04 11:08:51 +08:00
fisker CheungandSosuke Suzuki 799bef037d Simplify eslint config (#12736)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-05-04 10:30:25 +08:00
dependabot[bot] a8f5408fbf Build(deps-dev): Bump jest from 27.5.1 to 28.0.3 in /scripts/release (#12773)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 10:30:07 +08:00
dependabot[bot] 7fa3251a5b Build(deps-dev): Bump cspell from 5.19.7 to 5.20.0 (#12778)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 10:29:20 +08:00
dependabot[bot]andfisker Cheung 6a1f4f6dd6 Build(deps): Bump react and react-dom in /website (#12722)
* Build(deps): Bump react and react-dom in /website

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.

Updates `react` from 17.0.2 to 18.1.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.1.0/packages/react)

Updates `react-dom` from 17.0.2 to 18.1.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.1.0/packages/react-dom)

---
updated-dependencies:
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Update .eslintrc.cjs

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-05-03 16:01:31 +03:00
dependabot[bot] a25f48ce99 Build(deps): Bump typescript from 4.6.3 to 4.6.4 (#12764)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.3 to 4.6.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.3...v4.6.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  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-05-02 21:47:46 +09:00
dependabot[bot] af27f9d1ab Build(deps): Bump @babel/parser from 7.17.9 to 7.17.10 (#12767)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.17.9 to 7.17.10.
- [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.17.10/packages/babel-parser)

---
updated-dependencies:
- dependency-name: "@babel/parser"
  dependency-type: direct:production
  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-05-02 10:08:31 +08:00
dependabot[bot] df6849fb00 Build(deps-dev): Bump node-fetch from 3.2.3 to 3.2.4 (#12762)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: node-fetch
  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-05-02 10:08:04 +08:00
dependabot[bot] dd6684fd06 Build(deps): Bump node-fetch from 3.2.3 to 3.2.4 in /scripts/release (#12770)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  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-05-02 10:07:38 +08:00
dependabot[bot] a44ee17bb2 Build(deps): Bump postcss-scss from 4.0.2 to 4.0.4 (#12724)
Bumps [postcss-scss](https://github.com/postcss/postcss-scss) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/postcss/postcss-scss/releases)
- [Changelog](https://github.com/postcss/postcss-scss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-scss/compare/4.0.2...4.0.4)

---
updated-dependencies:
- dependency-name: postcss-scss
  dependency-type: direct:production
  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-05-02 10:07:08 +08:00
dependabot[bot] c00f8dfd76 Build(deps-dev): Bump @babel/preset-env in /website (#12761)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.11 to 7.17.10.
- [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.17.10/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  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-05-02 10:06:03 +08:00
dependabot[bot] c5b384fe02 Build(deps-dev): Bump @babel/types from 7.17.0 to 7.17.10 (#12758)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.17.0 to 7.17.10.
- [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.17.10/packages/babel-types)

---
updated-dependencies:
- dependency-name: "@babel/types"
  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-05-02 10:05:30 +08:00
dependabot[bot] 28d5ac74d8 Build(deps-dev): Bump @babel/core from 7.17.9 to 7.17.10 in /website (#12765) 2022-05-01 16:14:18 +00:00
fisker Cheung 64b81ab386 Remove @babel/core and @babel/preset-env (#12775) 2022-05-01 23:07:12 +08:00
dependabot[bot] 1f1175425c Build(deps-dev): Bump jest from 28.0.2 to 28.0.3 (#12757) 2022-05-01 14:50:55 +00:00
dependabot[bot] 9111fd4b85 Build(deps-dev): Bump jest-light-runner from 0.2.0 to 0.2.1 (#12766)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 21:55:11 +08:00
dependabot[bot] cabbec4eb9 Build(deps-dev): Bump esm-utils from 3.1.0 to 3.1.1 (#12759)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 21:54:11 +08:00
fisker b4c74de822 Merge branch 'main' into next
# Conflicts:
#	src/cli/format.js
#	src/language-css/utils/has-string-or-function.js
#	src/language-css/utils/is-scss-variable.js
2022-05-01 21:41:20 +08:00
Sosuke Suzuki fe6820e815 Try to fix pnpm error on Dev Package Tests (#12774)
* Remove `-y` from `pnpm init`

* Change
2022-05-01 11:49:15 +09:00
Sosuke Suzuki 9348049311 Refactor: Use optional chaining in src/language-js/comments.js (#12747)
* Use optional chaining in `src/language-js/comments.js`

* Using sets

* Address review
2022-04-30 21:16:43 +09:00
Sosuke Suzuki 504d751036 Preserve blank line between export specifiers (#12746)
* Preserve blank line between export specifiers

* Add changelog

* rename
2022-04-29 17:42:42 +09:00
fisker Cheung 23f5ca2476 Fix website (#12745) 2022-04-29 15:09:54 +08:00
fisker Cheung c6d6b25833 prettier.{format,formatWithCursor,check}() are now async (#12574) 2022-04-29 14:22:24 +08:00
fisker Cheung 2bcee631a2 Refactor: Import document/*.js directly (#12739) 2022-04-29 14:04:17 +08:00
fisker Cheung 88c036a869 Update prettier-internal.js exports for easier use (#12737) 2022-04-29 13:51:34 +08:00
fisker Cheung fccf19503c Change plugin export style to named export (#12741) 2022-04-29 12:54:33 +08:00
dependabot[bot] 851eab5349 Build(deps-dev): Bump @babel/preset-env from 7.16.7 to 7.16.11 in /website (#12727)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 18:19:05 +08:00
dependabot[bot] e50acbd06a Build(deps): Bump acorn from 8.7.0 to 8.7.1 (#12720)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 15:31:44 +08:00
dependabot[bot] 3624fbcbfe Build(deps-dev): Bump core-js from 3.22.2 to 3.22.3 (#12730)
Bumps [core-js](https://github.com/zloirock/core-js) from 3.22.2 to 3.22.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.22.2...v3.22.3)

---
updated-dependencies:
- dependency-name: core-js
  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-04-28 14:22:33 +08:00
dependabot[bot] 19face9f8f Build(deps-dev): Bump @babel/core from 7.16.7 to 7.17.9 in /website (#12729)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 14:21:11 +08:00
fisker Cheung 261970ca64 Move c8 to devDependencies 2022-04-28 13:45:08 +08:00
fisker Cheung 5621684e8f Update dependencies (#12733) 2022-04-28 13:40:26 +08:00
fisker Cheung e23b89b8c7 Target dependabot to next branch (#12712) 2022-04-28 11:25:33 +08:00
fisker Cheung fc74af1d94 Set loglevel to debug automatically when performance flags found (#12698) 2022-04-28 11:24:59 +08:00
fisker Cheung a1dee86841 Refactor CSS utils (#12680) 2022-04-28 11:24:33 +08:00
fisker Cheung cbf640a07a Update Jest related dependencies (#12711) 2022-04-28 10:18:42 +08:00
fisker Cheung 2eb296adf9 Merge branch 'main' into next 2022-04-27 18:00:07 +08:00
HosokawaRandfisker Cheung 9fbdcda5b1 Print as instead of : for babel-ts parser (#12706)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-27 17:56:38 +08:00
fisker Cheung d1332b4c63 Set printBasicPrototype: false in snapshots (#12702) 2022-04-27 17:56:05 +08:00
fisker Cheung 9560599b3c Skip test 2022-04-27 17:53:08 +08:00
fisker Cheung c0bbc1bd34 Bump jest-light-runner to v0.2.0 2022-04-26 22:06:36 +08:00
fisker Cheung ed6b2ddb94 Typo 2022-04-25 14:58:28 +08:00
fisker Cheung 11991d0de7 Fix jest.config.js 2022-04-25 14:54:38 +08:00
fisker Cheung 76d0002265 Fix by ESLint 2022-04-25 14:48:07 +08:00
fisker Cheung 7bc3ec5986 Fix deps 2022-04-25 14:39:16 +08:00
fisker Cheung a85f38f096 Merge branch 'main' into next
# Conflicts:
#	.github/workflows/dev-test.yml
#	jest.config.mjs
#	package.json
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/format.js
#	src/cli/options/create-minimist-options.js
#	src/cli/options/parse-cli-arguments.js
#	src/cli/usage.js
#	src/cli/utils.js
#	src/common/create-ignorer.js
#	src/common/load-plugins.js
#	src/config/resolve-config.js
#	src/index.js
#	src/language-css/utils/css-units.evaluate.js
#	src/language-html/ast.js
#	src/language-html/print-preprocess.js
#	src/language-html/utils/index.js
#	src/main/multiparser.js
#	tests/format/markdown/auto-link/jsfmt.spec.js
#	tests/integration/__tests__/__snapshots__/config-resolution.js.snap
#	tests/integration/__tests__/__snapshots__/with-config-precedence.js.snap
#	tests/integration/__tests__/file-info.js
#	yarn.lock
2022-04-25 14:28:27 +08:00
dependabot[bot]andfisker Cheung 586a4b2a87 Build(deps): Bump css-units-list from 0.0.5 to 1.1.0 (#12684)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-25 14:02:59 +08:00