lesjoursfr / gdpr-consent

GDPR banner to comply with the European cookie law. Inspired by tarteaucitronjs.
MIT License
8 stars 4 forks source link

Update all non-major dependencies #202

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/core (source) ^7.20.7 -> ^7.20.12 age adoption passing confidence
babel-loader ^9.1.0 -> ^9.1.2 age adoption passing confidence
eslint (source) ^8.31.0 -> ^8.33.0 age adoption passing confidence
eslint-config-prettier ^8.5.0 -> ^8.6.0 age adoption passing confidence
eslint-plugin-import ^2.26.0 -> ^2.27.5 age adoption passing confidence
eslint-plugin-n ^15.6.0 -> ^15.6.1 age adoption passing confidence
postcss (source) ^8.4.20 -> ^8.4.21 age adoption passing confidence
prettier (source) ^2.8.1 -> ^2.8.3 age adoption passing confidence

Release Notes

babel/babel ### [`v7.20.12`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72012-2023-01-04) [Compare Source](https://togithub.com/babel/babel/compare/v7.20.7...v7.20.12) ##### :bug: Bug Fix - `babel-traverse` - [#​15224](https://togithub.com/babel/babel/pull/15224) Fix `TaggedTemplateLiteral` evaluation ([@​nmn](https://togithub.com/nmn)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties` - [#​15312](https://togithub.com/babel/babel/pull/15312) fix: `delete this` in static class properties initialization ([@​SuperSodaSea](https://togithub.com/SuperSodaSea)) ##### :nail_care: Polish - `babel-traverse` - [#​15313](https://togithub.com/babel/babel/pull/15313) Implement support for evaluating computed properties. ([@​JBYoshi](https://togithub.com/JBYoshi))
babel/babel-loader ### [`v9.1.2`](https://togithub.com/babel/babel-loader/releases/tag/v9.1.2) [Compare Source](https://togithub.com/babel/babel-loader/compare/v9.1.1...v9.1.2) 9.1.1 was a broken release, it didn't include all the commits. #### Dependencies updates - Bump qs from 6.5.2 to 6.5.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/babel/babel-loader/pull/977](https://togithub.com/babel/babel-loader/pull/977) - Bump json5 from 2.2.1 to 2.2.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/babel/babel-loader/pull/980](https://togithub.com/babel/babel-loader/pull/980) #### Misc - GitHub Workflows security hardening by [@​sashashura](https://togithub.com/sashashura) in [https://github.com/babel/babel-loader/pull/976](https://togithub.com/babel/babel-loader/pull/976) #### New Contributors - [@​sashashura](https://togithub.com/sashashura) made their first contribution in [https://github.com/babel/babel-loader/pull/976](https://togithub.com/babel/babel-loader/pull/976) **Full Changelog**: https://github.com/babel/babel-loader/compare/v9.1.0...v9.1.2 ### [`v9.1.1`](https://togithub.com/babel/babel-loader/compare/v9.1.0...v9.1.1) [Compare Source](https://togithub.com/babel/babel-loader/compare/v9.1.0...v9.1.1)
eslint/eslint ### [`v8.33.0`](https://togithub.com/eslint/eslint/releases/tag/v8.33.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.32.0...v8.33.0) #### Features - [`2cc7954`](https://togithub.com/eslint/eslint/commit/2cc7954cdb1fed44e8a5d3c9b3ea1deceadb5e00) feat: add `restrictDefaultExports` option to no-restricted-exports rule ([#​16785](https://togithub.com/eslint/eslint/issues/16785)) (Nitin Kumar) #### Documentation - [`17f4be2`](https://togithub.com/eslint/eslint/commit/17f4be2b66deb81f4e9ffb3d6bdfb79f3fcf85a2) docs: Fix examples in no-multiple-empty-lines rule ([#​16835](https://togithub.com/eslint/eslint/issues/16835)) (jonz94) - [`9c7cfe3`](https://togithub.com/eslint/eslint/commit/9c7cfe33c4a39cf2c23529afe02030ea7f8acf70) docs: 'Source Code' content in 'Set up Development Environment' page ([#​16780](https://togithub.com/eslint/eslint/issues/16780)) (Ben Perlmutter) - [`ede5c64`](https://togithub.com/eslint/eslint/commit/ede5c6475469a905da4f559ab55f0ee73168a9d7) docs: Custom processors page ([#​16802](https://togithub.com/eslint/eslint/issues/16802)) (Ben Perlmutter) - [`2620614`](https://togithub.com/eslint/eslint/commit/2620614f525de13f2e3ab0a7cd92abe89dae4897) docs: Code of Conduct page ([#​16781](https://togithub.com/eslint/eslint/issues/16781)) (Ben Perlmutter) - [`50a8efd`](https://togithub.com/eslint/eslint/commit/50a8efd957c70c9978a8ed25744a24193b00e078) docs: report a sec vulnerability page ([#​16808](https://togithub.com/eslint/eslint/issues/16808)) (Ben Perlmutter) - [`ed60afd`](https://togithub.com/eslint/eslint/commit/ed60afd4450e769a975447178299446f4439d926) docs: Update page titles, section landing pages, and side TOC ([#​16760](https://togithub.com/eslint/eslint/issues/16760)) (Ben Perlmutter) - [`333c712`](https://togithub.com/eslint/eslint/commit/333c71243537966930e9ab8178bc98c37949b5f2) docs: add background to code-path-diagrams for dark-mode ([#​16822](https://togithub.com/eslint/eslint/issues/16822)) (Tanuj Kanti) - [`f5f7b9b`](https://togithub.com/eslint/eslint/commit/f5f7b9b8b512f5c6a5b4a1037f81bb3f5a7311e0) docs: Update README (GitHub Actions Bot) - [`2aa4f5f`](https://togithub.com/eslint/eslint/commit/2aa4f5fb2fdb1c4a1734093c225e5c6251b0ee0f) docs: no-constant-condition: Add multi-comparison example ([#​16776](https://togithub.com/eslint/eslint/issues/16776)) (Sebastian Simon) - [`40287db`](https://togithub.com/eslint/eslint/commit/40287dbe7407934a69805f02ece07491778c3694) docs: Remove Google Group icon ([#​16779](https://togithub.com/eslint/eslint/issues/16779)) (Nicholas C. Zakas) - [`ea10ca5`](https://togithub.com/eslint/eslint/commit/ea10ca5b7b5bd8f6e6daf030ece9a3a82f10994c) docs: 'a .eslint' -> 'an .eslint' for consistency ([#​16809](https://togithub.com/eslint/eslint/issues/16809)) (Ben Perlmutter) - [`3be0748`](https://togithub.com/eslint/eslint/commit/3be07488ee7b6a9591d169be9648fbd36b32105e) docs: add example for nodejs lintText api ([#​16789](https://togithub.com/eslint/eslint/issues/16789)) (Siva K) - [`ce4f5ff`](https://togithub.com/eslint/eslint/commit/ce4f5ff30590df053a539c8e8e2597838e038a36) docs: Replace removed related rules with a valid rule ([#​16800](https://togithub.com/eslint/eslint/issues/16800)) (Ville Saalo) ### [`v8.32.0`](https://togithub.com/eslint/eslint/releases/tag/v8.32.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.31.0...v8.32.0) #### Features - [`fc20f24`](https://togithub.com/eslint/eslint/commit/fc20f242a2ac073b5af6d5fca67e07a175f36c3b) feat: add suggestions for redundant wrapping in prefer-regex-literals ([#​16658](https://togithub.com/eslint/eslint/issues/16658)) (YeonJuan) #### Bug Fixes - [`b4f8329`](https://togithub.com/eslint/eslint/commit/b4f8329164d7b293a1557e05b987d2a685fe1d30) fix: ignore directives for no-fallthrough ([#​16757](https://togithub.com/eslint/eslint/issues/16757)) (gfyoung) #### Documentation - [`17b65ad`](https://togithub.com/eslint/eslint/commit/17b65ad10d653bb05077f21d8b1f79bee96e38d8) docs: IA Update page URL move ([#​16665](https://togithub.com/eslint/eslint/issues/16665)) (Ben Perlmutter) - [`5981296`](https://togithub.com/eslint/eslint/commit/5981296d5c7c86228ad766009901191fdd87d5a4) docs: fix theme switcher button ([#​16752](https://togithub.com/eslint/eslint/issues/16752)) (Sam Chen) - [`6669413`](https://togithub.com/eslint/eslint/commit/66694136b67277c050bd27f60050779687a88c9f) docs: deploy prerelease docs under the `/docs/next/` path ([#​16541](https://togithub.com/eslint/eslint/issues/16541)) (Nitin Kumar) - [`78ecfe0`](https://togithub.com/eslint/eslint/commit/78ecfe0e52c0e5780fefc8dc9a98864e48de6637) docs: use inline code for rule options name ([#​16768](https://togithub.com/eslint/eslint/issues/16768)) (Percy Ma) - [`fc2ea59`](https://togithub.com/eslint/eslint/commit/fc2ea598aee97beb6d768866da1ee4f63775f0c9) docs: Update README (GitHub Actions Bot) - [`762a872`](https://togithub.com/eslint/eslint/commit/762a8727fb3b5619cff900826053b643ca5f1162) docs: Update README (GitHub Actions Bot) #### Chores - [`2952d6e`](https://togithub.com/eslint/eslint/commit/2952d6ed95811ce0971b6855d66fb7a9767a7b72) chore: sync templates/\*.md files with issue templates ([#​16758](https://togithub.com/eslint/eslint/issues/16758)) (gfyoung) - [`3e34418`](https://togithub.com/eslint/eslint/commit/3e34418b31664decfb2337de798feafbf985b66c) chore: Add new issues to triage project ([#​16740](https://togithub.com/eslint/eslint/issues/16740)) (Nicholas C. Zakas)
prettier/eslint-config-prettier ### [`v8.6.0`](https://togithub.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-860-2023-01-02) [Compare Source](https://togithub.com/prettier/eslint-config-prettier/compare/v8.5.0...v8.6.0) - Added: \[vue/multiline-ternary]. Thanks to [@​xcatliu](https://togithub.com/xcatliu)!
import-js/eslint-plugin-import ### [`v2.27.5`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2275---2023-01-16) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.4...v2.27.5) ##### Fixed - \[`order]`: Fix group ranks order when alphabetizing (\[[#​2674](https://togithub.com/import-js/eslint-plugin-import/issues/2674)], thanks \[[@​Pearce-Ropion](https://togithub.com/Pearce-Ropion)]) ### [`v2.27.4`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2274---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.3...v2.27.4) ##### Fixed - `semver` should be a prod dep (\[[#​2668](https://togithub.com/import-js/eslint-plugin-import/issues/2668)]) ### [`v2.27.3`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2273---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.2...v2.27.3) ##### Fixed - \[`no-empty-named-blocks`]: rewrite rule to only check import declarations (\[[#​2666](https://togithub.com/import-js/eslint-plugin-import/issues/2666)]) ### [`v2.27.2`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2272---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.1...v2.27.2) ##### Fixed - \[`no-duplicates`]: do not unconditionally require `typescript` (\[[#​2665](https://togithub.com/import-js/eslint-plugin-import/issues/2665)]) ### [`v2.27.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2271---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.0...v2.27.1) ##### Fixed - `array.prototype.flatmap` should be a prod dep (\[[#​2664](https://togithub.com/import-js/eslint-plugin-import/issues/2664)], thanks \[[@​cristobal](https://togithub.com/cristobal)]) ### [`v2.27.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2270---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.26.0...v2.27.0) ##### Added - \[`newline-after-import`]: add `considerComments` option (\[[#​2399](https://togithub.com/import-js/eslint-plugin-import/issues/2399)], thanks \[[@​pri1311](https://togithub.com/pri1311)]) - \[`no-cycle`]: add `allowUnsafeDynamicCyclicDependency` option (\[[#​2387](https://togithub.com/import-js/eslint-plugin-import/issues/2387)], thanks \[[@​GerkinDev](https://togithub.com/GerkinDev)]) - \[`no-restricted-paths`]: support arrays for `from` and `target` options (\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://togithub.com/AdriAt360)]) - \[`no-anonymous-default-export`]: add `allowNew` option (\[[#​2505](https://togithub.com/import-js/eslint-plugin-import/issues/2505)], thanks \[[@​DamienCassou](https://togithub.com/DamienCassou)]) - \[`order`]: Add `distinctGroup` option (\[[#​2395](https://togithub.com/import-js/eslint-plugin-import/issues/2395)], thanks \[[@​hyperupcall](https://togithub.com/hyperupcall)]) - \[`no-extraneous-dependencies`]: Add `includeInternal` option (\[[#​2541](https://togithub.com/import-js/eslint-plugin-import/issues/2541)], thanks \[[@​bdwain](https://togithub.com/bdwain)]) - \[`no-extraneous-dependencies`]: Add `includeTypes` option (\[[#​2543](https://togithub.com/import-js/eslint-plugin-import/issues/2543)], thanks \[[@​bdwain](https://togithub.com/bdwain)]) - \[`order`]: new `alphabetize.orderImportKind` option to sort imports with same path based on their kind (`type`, `typeof`) (\[[#​2544](https://togithub.com/import-js/eslint-plugin-import/issues/2544)], thanks \[[@​stropho](https://togithub.com/stropho)]) - \[`consistent-type-specifier-style`]: add rule (\[[#​2473](https://togithub.com/import-js/eslint-plugin-import/issues/2473)], thanks \[[@​bradzacher](https://togithub.com/bradzacher)]) - Add \[`no-empty-named-blocks`] rule (\[[#​2568](https://togithub.com/import-js/eslint-plugin-import/issues/2568)], thanks \[[@​guilhermelimak](https://togithub.com/guilhermelimak)]) - \[`prefer-default-export`]: add "target" option (\[[#​2602](https://togithub.com/import-js/eslint-plugin-import/issues/2602)], thanks \[[@​azyzz228](https://togithub.com/azyzz228)]) - \[`no-absolute-path`]: add fixer (\[[#​2613](https://togithub.com/import-js/eslint-plugin-import/issues/2613)], thanks \[[@​adipascu](https://togithub.com/adipascu)]) - \[`no-duplicates`]: support inline type import with `inlineTypeImport` option (\[[#​2475](https://togithub.com/import-js/eslint-plugin-import/issues/2475)], thanks \[[@​snewcomer](https://togithub.com/snewcomer)]) ##### Fixed - \[`order`]: move nested imports closer to main import entry (\[[#​2396](https://togithub.com/import-js/eslint-plugin-import/issues/2396)], thanks \[[@​pri1311](https://togithub.com/pri1311)]) - \[`no-restricted-paths`]: fix an error message (\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://togithub.com/AdriAt360)]) - \[`no-restricted-paths`]: use `Minimatch.match` instead of `minimatch` to comply with Windows Native paths (\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://togithub.com/AdriAt360)]) - \[`order`]: require with member expression could not be fixed if alphabetize.order was used (\[[#​2490](https://togithub.com/import-js/eslint-plugin-import/issues/2490)], thanks \[[@​msvab](https://togithub.com/msvab)]) - \[`order`]: leave more space in rankings for consecutive path groups (\[[#​2506](https://togithub.com/import-js/eslint-plugin-import/issues/2506)], thanks \[[@​Pearce-Ropion](https://togithub.com/Pearce-Ropion)]) - \[`no-cycle`]: add ExportNamedDeclaration statements to dependencies (\[[#​2511](https://togithub.com/import-js/eslint-plugin-import/issues/2511)], thanks \[[@​BenoitZugmeyer](https://togithub.com/BenoitZugmeyer)]) - \[`dynamic-import-chunkname`]: prevent false report on a valid webpack magic comment (\[[#​2330](https://togithub.com/import-js/eslint-plugin-import/issues/2330)], thanks \[[@​mhmadhamster](https://togithub.com/mhmadhamster)]) - \[`export`]: do not error on TS export overloads (\[[#​1590](https://togithub.com/import-js/eslint-plugin-import/issues/1590)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`no-unresolved`], \[`extensions`]: ignore type only exports (\[[#​2436](https://togithub.com/import-js/eslint-plugin-import/issues/2436)], thanks \[[@​Lukas-Kullmann](https://togithub.com/Lukas-Kullmann)]) - `ExportMap`: add missing param to function (\[[#​2589](https://togithub.com/import-js/eslint-plugin-import/issues/2589)], thanks \[[@​Fdawgs](https://togithub.com/Fdawgs)]) - \[`no-unused-modules`]: `checkPkgFieldObject` filters boolean fields from checks (\[[#​2598](https://togithub.com/import-js/eslint-plugin-import/issues/2598)], thanks \[[@​mpint](https://togithub.com/mpint)]) - \[`no-cycle`]: accept Flow `typeof` imports, just like `type` (\[[#​2608](https://togithub.com/import-js/eslint-plugin-import/issues/2608)], thanks \[[@​gnprice](https://togithub.com/gnprice)]) - \[`no-import-module-exports`]: avoid a false positive for import variables (\[[#​2315](https://togithub.com/import-js/eslint-plugin-import/issues/2315)], thanks \[[@​BarryThePenguin](https://togithub.com/BarryThePenguin)]) ##### Changed - \[Tests] \[`named`]: Run all TypeScript test (\[[#​2427](https://togithub.com/import-js/eslint-plugin-import/issues/2427)], thanks \[[@​ProdigySim](https://togithub.com/ProdigySim)]) - \[readme] note use of typescript in readme `import/extensions` section (\[[#​2440](https://togithub.com/import-js/eslint-plugin-import/issues/2440)], thanks \[[@​OutdatedVersion](https://togithub.com/OutdatedVersion)]) - \[Docs] \[`order`]: use correct default value (\[[#​2392](https://togithub.com/import-js/eslint-plugin-import/issues/2392)], thanks \[[@​hyperupcall](https://togithub.com/hyperupcall)]) - \[meta] replace git.io link in comments with the original URL (\[[#​2444](https://togithub.com/import-js/eslint-plugin-import/issues/2444)], thanks \[[@​liby](https://togithub.com/liby)]) - \[Docs] remove global install in readme (\[[#​2412](https://togithub.com/import-js/eslint-plugin-import/issues/2412)], thanks \[[@​aladdin-add](https://togithub.com/aladdin-add)]) - \[readme] clarify `eslint-import-resolver-typescript` usage (\[[#​2503](https://togithub.com/import-js/eslint-plugin-import/issues/2503)], thanks \[[@​JounQin](https://togithub.com/JounQin)]) - \[Refactor] \[`no-cycle`]: Add per-run caching of traversed paths (\[[#​2419](https://togithub.com/import-js/eslint-plugin-import/issues/2419)], thanks \[[@​nokel81](https://togithub.com/nokel81)]) - \[Performance] `ExportMap`: add caching after parsing for an ambiguous module (\[[#​2531](https://togithub.com/import-js/eslint-plugin-import/issues/2531)], thanks \[[@​stenin-nikita](https://togithub.com/stenin-nikita)]) - \[Docs] \[`no-useless-path-segments`]: fix paths (\[[#​2424](https://togithub.com/import-js/eslint-plugin-import/issues/2424)], thanks \[[@​s-h-a-d-o-w](https://togithub.com/s-h-a-d-o-w)]) - \[Tests] \[`no-cycle`]: add passing test cases (\[[#​2438](https://togithub.com/import-js/eslint-plugin-import/issues/2438)], thanks \[[@​georeith](https://togithub.com/georeith)]) - \[Refactor] \[`no-extraneous-dependencies`] improve performance using cache (\[[#​2374](https://togithub.com/import-js/eslint-plugin-import/issues/2374)], thanks \[[@​meowtec](https://togithub.com/meowtec)]) - \[meta] `CONTRIBUTING.md`: mention inactive PRs (\[[#​2546](https://togithub.com/import-js/eslint-plugin-import/issues/2546)], thanks \[[@​stropho](https://togithub.com/stropho)]) - \[readme] make json for setting groups multiline (\[[#​2570](https://togithub.com/import-js/eslint-plugin-import/issues/2570)], thanks \[[@​bertyhell](https://togithub.com/bertyhell)]) - \[Tests] \[`no-restricted-paths`]: Tests for `import type` statements (\[[#​2459](https://togithub.com/import-js/eslint-plugin-import/issues/2459)], thanks \[[@​golergka](https://togithub.com/golergka)]) - \[Tests] \[`no-restricted-paths`]: fix one failing `import type` test case, submitted by \[[@​golergka](https://togithub.com/golergka)], thanks \[[@​azyzz228](https://togithub.com/azyzz228)] - \[Docs] automate docs with eslint-doc-generator (\[[#​2582](https://togithub.com/import-js/eslint-plugin-import/issues/2582)], thanks \[[@​bmish](https://togithub.com/bmish)]) - \[readme] Increase clarity around typescript configuration (\[[#​2588](https://togithub.com/import-js/eslint-plugin-import/issues/2588)], thanks \[[@​Nfinished](https://togithub.com/Nfinished)]) - \[Docs] update `eslint-doc-generator` to v1.0.0 (\[[#​2605](https://togithub.com/import-js/eslint-plugin-import/issues/2605)], thanks \[[@​bmish](https://togithub.com/bmish)]) - \[Perf] \[`no-cycle`], \[`no-internal-modules`], \[`no-restricted-paths`]: use `anyOf` instead of `oneOf` (thanks \[[@​ljharb](https://togithub.com/ljharb)], \[[@​remcohaszing](https://togithub.com/remcohaszing)])
eslint-community/eslint-plugin-n ### [`v15.6.1`](https://togithub.com/eslint-community/eslint-plugin-n/releases/tag/15.6.1) [Compare Source](https://togithub.com/eslint-community/eslint-plugin-n/compare/15.6.0...15.6.1) - fix: Allow imports of self-referenced package ([#​74](https://togithub.com/eslint-community/eslint-plugin-n/issues/74)) ([`17270f8`](https://togithub.com/eslint-community/eslint-plugin-n/commit/17270f8)) - chore: upgrade eslint-doc-generator v1.4 ([#​76](https://togithub.com/eslint-community/eslint-plugin-n/issues/76)) ([`83446a1`](https://togithub.com/eslint-community/eslint-plugin-n/commit/83446a1))
postcss/postcss ### [`v8.4.21`](https://togithub.com/postcss/postcss/blob/HEAD/CHANGELOG.md#​8421) [Compare Source](https://togithub.com/postcss/postcss/compare/8.4.20...8.4.21) - Fixed `Input#error` types (by Aleks Hudochenkov).
prettier/prettier ### [`v2.8.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​283) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3) [diff](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3) ##### Allow self-closing tags on custom elements ([#​14170](https://togithub.com/prettier/prettier/pull/14170) by [@​fisker](https://togithub.com/fisker)) See [Angular v15.1.0 release note](https://togithub.com/angular/angular/releases/tag/15.1.0) for details. ```html // Input // Prettier 2.8.2 SyntaxError: Only void and foreign elements can be self closed "app-test" (1:1) > 1 | | ^^^^^^^^^ 2 | // Prettier 2.8.3 ``` ### [`v2.8.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​282) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2) [diff](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2) ##### Don't lowercase link references ([#​13155](https://togithub.com/prettier/prettier/pull/13155) by [@​DerekNonGeneric](https://togithub.com/DerekNonGeneric) & [@​fisker](https://togithub.com/fisker)) ```markdown We now don't strictly follow the release notes format suggested by [Keep a Changelog]. [Keep a Changelog]: https://example.com/ We now don't strictly follow the release notes format suggested by [Keep a Changelog]. [keep a changelog]: https://example.com/ ``` ##### Preserve self-closing tags ([#​13691](https://togithub.com/prettier/prettier/pull/13691) by [@​dcyriller](https://togithub.com/dcyriller)) ```hbs {{! Input }}
{{! Prettier 2.8.1 }}
{{! Prettier 2.8.2 }}
``` ##### Allow custom "else if"-like blocks with block params ([#​13930](https://togithub.com/prettier/prettier/pull/13930) by [@​jamescdavis](https://togithub.com/jamescdavis)) [#​13507](https://togithub.com/prettier/prettier/issues/13507) added support for custom block keywords used with `else`, but failed to allow block params. This updates printer-glimmer to allow block params with custom "else if"-like blocks. ```hbs {{! Input }} {{#when isAtWork as |work|}} Ship that {{work}}! {{else when isReading as |book|}} You can finish {{book}} eventually... {{else}} Go to bed! {{/when}} {{! Prettier 2.8.1 }} {{#when isAtWork as |work|}} Ship that {{work}}! {{else when isReading}} You can finish {{book}} eventually... {{else}} Go to bed! {{/when}} {{! Prettier 2.8.2 }} {{#when isAtWork as |work|}} Ship that {{work}}! {{else when isReading as |book|}} You can finish {{book}} eventually... {{else}} Go to bed! {{/when}} ``` ##### Preserve empty lines between nested SCSS maps ([#​13931](https://togithub.com/prettier/prettier/pull/13931) by [@​jneander](https://togithub.com/jneander)) ```scss /* Input */ $map: ( 'one': ( 'key': 'value', ), 'two': ( 'key': 'value', ), ) /* Prettier 2.8.1 */ $map: ( 'one': ( 'key': 'value', ), 'two': ( 'key': 'value', ), ) /* Prettier 2.8.2 */ $map: ( 'one': ( 'key': 'value', ), 'two': ( 'key': 'value', ), ) ``` ##### Fix missing parentheses when an expression statement starts with `let[` ([#​14000](https://togithub.com/prettier/prettier/pull/14000), [#​14044](https://togithub.com/prettier/prettier/pull/14044) by [@​fisker](https://togithub.com/fisker), [@​thorn0](https://togithub.com/thorn0)) ```jsx // Input (let[0] = 2); // Prettier 2.8.1 let[0] = 2; // Prettier 2.8.1 (second format) SyntaxError: Unexpected token (1:5) > 1 | let[0] = 2; | ^ 2 | // Prettier 2.8.2 (let)[0] = 2; ``` ##### Fix semicolon duplicated at the end of LESS file ([#​14007](https://togithub.com/prettier/prettier/pull/14007) by [@​mvorisek](https://togithub.com/mvorisek)) ```less // Input @​variable: { field: something; }; // Prettier 2.8.1 @​variable: { field: something; }; ; // Prettier 2.8.2 @​variable: { field: something; }; ``` ##### Fix no space after unary minus when followed by opening parenthesis in LESS ([#​14008](https://togithub.com/prettier/prettier/pull/14008) by [@​mvorisek](https://togithub.com/mvorisek)) ```less // Input .unary_minus_single { margin: -(@​a); } .unary_minus_multi { margin: 0 -(@​a); } .binary_minus { margin: 0 - (@​a); } // Prettier 2.8.1 .unary_minus_single { margin: - (@​a); } .unary_minus_multi { margin: 0 - (@​a); } .binary_minus { margin: 0 - (@​a); } // Prettier 2.8.2 .unary_minus_single { margin: -(@​a); } .unary_minus_multi { margin: 0 -(@​a); } .binary_minus { margin: 0 - (@​a); } ``` ##### Do not change case of property name if inside a variable declaration in LESS ([#​14034](https://togithub.com/prettier/prettier/pull/14034) by [@​mvorisek](https://togithub.com/mvorisek)) ```less // Input @​var: { preserveCase: 0; }; // Prettier 2.8.1 @​var: { preservecase: 0; }; // Prettier 2.8.2 @​var: { preserveCase: 0; }; ``` ##### Fix formatting for auto-accessors with comments ([#​14038](https://togithub.com/prettier/prettier/pull/14038) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input class A { @​dec() // comment accessor b; } // Prettier 2.8.1 class A { @​dec() accessor // comment b; } // Prettier 2.8.1 (second format) class A { @​dec() accessor; // comment b; } // Prettier 2.8.2 class A { @​dec() // comment accessor b; } ``` ##### Add parentheses for TSTypeQuery to improve readability ([#​14042](https://togithub.com/prettier/prettier/pull/14042) by [@​onishi-kohei](https://togithub.com/onishi-kohei)) ```tsx // Input a as (typeof node.children)[number] a as (typeof node.children)[] a as ((typeof node.children)[number])[] // Prettier 2.8.1 a as typeof node.children[number]; a as typeof node.children[]; a as typeof node.children[number][]; // Prettier 2.8.2 a as (typeof node.children)[number]; a as (typeof node.children)[]; a as (typeof node.children)[number][]; ``` ##### Fix displacing of comments in default switch case ([#​14047](https://togithub.com/prettier/prettier/pull/14047) by [@​thorn0](https://togithub.com/thorn0)) It was a regression in Prettier 2.6.0. ```jsx // Input switch (state) { default: result = state; // no change break; } // Prettier 2.8.1 switch (state) { default: // no change result = state; break; } // Prettier 2.8.2 switch (state) { default: result = state; // no change break; } ``` ##### Support type annotations on auto accessors via `babel-ts` ([#​14049](https://togithub.com/prettier/prettier/pull/14049) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) [The bug that `@babel/parser` cannot parse auto accessors with type annotations](https://togithub.com/babel/babel/issues/15205) has been fixed. So we now support it via `babel-ts` parser. ```tsx class Foo { accessor prop: number; } ``` ##### Fix formatting of empty type parameters ([#​14073](https://togithub.com/prettier/prettier/pull/14073) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input const foo: bar = () => baz; // Prettier 2.8.1 Error: Comment "comment" was not printed. Please report this error! // Prettier 2.8.2 const foo: bar = () => baz; ``` ##### Add parentheses to head of `ExpressionStatement` instead of the whole statement ([#​14077](https://togithub.com/prettier/prettier/pull/14077) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input ({}).toString.call(foo) === "[object Array]" ? foo.forEach(iterateArray) : iterateObject(foo); // Prettier 2.8.1 ({}.toString.call(foo) === "[object Array]" ? foo.forEach(iterateArray) : iterateObject(foo)); // Prettier 2.8.2 ({}).toString.call(foo.forEach) === "[object Array]" ? foo.forEach(iterateArray) : iterateObject(foo); ``` ##### Fix comments after directive ([#​14081](https://togithub.com/prettier/prettier/pull/14081) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input "use strict" /* comment */; // Prettier 2.8.1 (with other js parsers except `babel`) Error: Comment "comment" was not printed. Please report this error! // Prettier 2.8.2 ``` ##### Fix formatting for comments inside JSX attribute ([#​14082](https://togithub.com/prettier/prettier/pull/14082) with by [@​fisker](https://togithub.com/fisker)) ```jsx // Input function MyFunctionComponent() { } // Prettier 2.8.1 Error: Comment "old" was not printed. Please report this error! // Prettier 2.8.2 function MyFunctionComponent() { ; } ``` ##### Quote numeric keys for json-stringify parser ([#​14083](https://togithub.com/prettier/prettier/pull/14083) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input {0: 'value'} // Prettier 2.8.1 { 0: "value" } // Prettier 2.8.2 { "0": "value" } ``` ##### Fix removing commas from function arguments in maps ([#​14089](https://togithub.com/prettier/prettier/pull/14089) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```scss /* Input */ $foo: map-fn( ( "#{prop}": inner-fn($first, $second), ) ); /* Prettier 2.8.1 */ $foo: map-fn(("#{prop}": inner-fn($first $second))); /* Prettier 2.8.2 */ $foo: map-fn( ( "#{prop}": inner-fn($first, $second), ) ); ``` ##### Do not insert space in LESS property access ([#​14103](https://togithub.com/prettier/prettier/pull/14103) by [@​fisker](https://togithub.com/fisker)) ```less // Input a { color: @​colors[@​white]; } // Prettier 2.8.1 a { color: @​colors[ @​white]; } // Prettier 2.8.2 ```

Configuration

📅 Schedule: Branch creation - "after 10:00 am and before 5:00 pm on the first day of the month" in timezone Europe/Paris, Automerge - 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.