From 4b0b4e5b6958f5459ad06a6f31ed51341075161e Mon Sep 17 00:00:00 2001 From: Calciumdibromid Bot Date: Sat, 2 Apr 2022 19:02:29 +0200 Subject: [PATCH] Update dependency prettier to v2.6.2 (#1280) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | devDependencies | patch | [`2.6.1` -> `2.6.2`](https://renovatebot.com/diffs/npm/prettier/2.6.1/2.6.2) | --- ### Release Notes
prettier/prettier ### [`v2.6.2`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​262) [Compare Source](https://github.com/prettier/prettier/compare/2.6.1...2.6.2) [diff](https://github.com/prettier/prettier/compare/2.6.1...2.6.2) ##### Fix LESS/SCSS format error ([#​12536](https://github.com/prettier/prettier/pull/12536) by [@​fisker](https://github.com/fisker)) ```less // Input .background-gradient(@​cut) { background: linear-gradient( to right, @​white 0%, @​white (@​cut - 0.01%), @​portal-background @​cut, @​portal-background 100% ); } // Prettier 2.6.1 TypeError: Cannot read properties of undefined (reading 'endOffset') // Prettier 2.6.2 .background-gradient(@​cut) { background: linear-gradient( to right, @​white 0%, @​white (@​cut - 0.01%), @​portal-background @​cut, @​portal-background 100% ); } ``` ##### Update `meriyah` to fix several bugs ([#​12567](https://github.com/prettier/prettier/pull/12567) by [@​fisker](https://github.com/fisker), fixes in [`meriyah`](https://github.com/meriyah/meriyah/) by [@​3cp](https://github.com/3cp)) Fixes bugs when parsing following valid code: ```js foo(await bar()); ``` ```js const regex = /.*/ms; ``` ```js const element =

{/w/.test(s)}

; ``` ```js class A extends B { #privateMethod() { super.method(); } } ```
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Co-authored-by: cabr2-bot Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1280 Reviewed-by: 6543 <6543@noreply.codeberg.org> Co-authored-by: Calciumdibromid Bot Co-committed-by: Calciumdibromid Bot --- frontend/package.json | 2 +- frontend/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 6935b6899..61e5f43ff 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -72,7 +72,7 @@ "karma-coverage": "2.2.0", "karma-jasmine": "4.0.2", "karma-jasmine-html-reporter": "1.7.0", - "prettier": "2.6.1", + "prettier": "2.6.2", "ts-node": "10.7.0", "typescript": "4.6.3", "webpack-bundle-analyzer": "4.5.0" diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 1c09f0ce0..56581cd44 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -6509,10 +6509,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.1.tgz#d472797e0d7461605c1609808e27b80c0f9cfe17" - integrity sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A== +prettier@2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.2.tgz#e26d71a18a74c3d0f0597f55f01fb6c06c206032" + integrity sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew== pretty-bytes@^5.3.0: version "5.6.0"