<#586 chore(deps): update dependency prettier to v...
# pact-js-development
g
#586 chore(deps): update dependency prettier to v3 - autoclosed Pull request opened by renovate[bot] This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [prettier](https://prettier.io) ([source](https://redirect.github.com/prettier/prettier)) | [2.8.8 -> 3.4.2](https://renovatebot.com/diffs/npm/prettier/2.8.8/3.4.2) | [[age](https://camo.githubusercontent.com/9cc20aaddc8167ebd7cf2b3520ce4300ae888b25ccf72c037c688208416ca1c9/68747470733a2f2f646576656c6f7065722e6d656e642e696f2f6170692f6d632f6261646765732f6167652f6e706d2f70726574746965722f332e342e323f736c696d3d74727565)](https://docs.renovatebot.com/merge-confidence/) | [[adoption](https://camo.githubusercontent.com/2dcd97dca79ded389273b7fccc710921847cd3501bb1f2be561c33c74757ce5d/68747470733a2f2f646576656c6f7065722e6d656e642e696f2f6170692f6d632f6261646765732f61646f7074696f6e2f6e706d2f70726574746965722f332e342e323f736c696d3d74727565)](https://docs.renovatebot.com/merge-confidence/) | [[passing](https://camo.githubusercontent.com/b47d29717e84b13c3bd59fa8d5d90f0af8fa5de852350f57c9f041933e48fbed/68747470733a2f2f646576656c6f7065722e6d656e642e696f2f6170692f6d632f6261646765732f636f6d7061746962696c6974792f6e706d2f70726574746965722f322e382e382f332e342e323f736c696d3d74727565)](https://docs.renovatebot.com/merge-confidence/) | [[confidence](https://camo.githubusercontent.com/12e94d4aefd38a9841e83da0966bbe600005f2a38dae2b9fdf68960dbe8be058/68747470733a2f2f646576656c6f7065722e6d656e642e696f2f6170692f6d632f6261646765732f636f6e666964656e63652f6e706d2f70726574746965722f322e382e382f332e342e323f736c696d3d74727565)](https://docs.renovatebot.com/merge-confidence/) | --- Release Notes prettier/prettier (prettier) `v3.4.2` Compare Source diff Treat U+30A0 & U+30FB in Katakana Block as CJK (#​16796 by @​tats-u) Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese. <!-- Input (--prose-wrap=never) --> C言 語 ・ C++ ・ Go ・ Rust <!-- Prettier 3.4.1 --> C言語・ C++ ・ Go ・ Rust <!-- Prettier 3.4.2 --> C言語・C++・Go・Rust U+30A0 can be used as the replacement of the
-
in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”). Fix comments print on class methods with decorators (#​16891 by @​fisker) // Input class A { @&#8203;decorator /** * The method description * */ async method(foo: Foo, bar: Bar) { console.log(foo); } } // Prettier 3.4.1 class A { @&#8203;decorator async /** * The method description * */ method(foo: Foo, bar: Bar) { console.log(foo); } } // Prettier 3.4.2 class A { @&#8203;decorator /** * The method description * */ async method(foo: Foo, bar: Bar) { console.log(foo); } } Fix non-idempotent formatting (#​16899 by @​seiyab) This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3. // Input <div> foo <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span> , abc </div>; // Prettier 3.4.1 (first) <div> foo <span> longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo </span>, abc </div>; // Prettier 3.4.1 (second) <div> foo <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span> , abc </div>; // Prettier 3.4.2 <div> foo <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span> , abc </div>; `v3.4.1` Compare Source diff Remove unnecessary parentheses around assignment in
v-on
(#​16887 by @​fisker)
<!-- Input --> <template> <button @&#8203;click="foo += 2">Click</button> </template> <!-- Prettier 3.4.0 --> <template> <button @&#8203;click="(foo += 2)">Click</button> </template> <!-- Prettier 3.4.1 --> &… pact-foundation/pact-js-core GitHub Actions: release_dry_run GitHub Actions: Test ${{ (((matrix.docker &#x3D;&#x3D; true) && (matrix.alpine &#x3D;&#x3D; true) && &#x27;linux-musl&#x27;) || ((matrix.docker &#x3D;&#x3D; true) && (matrix.alpine &#x3D;&#x3D; false) && &#x27;linux&#x27;) || matrix.os) }}-${{ matrix.arch }}-node-${{ matrix.node-version }} GitHub Actions: Prebuild ${{ (((matrix.docker &#x3D;&#x3D; true) && (matrix.alpine &#x3D;&#x3D; true) && &#x27;linux-musl&#x27;) || ((matrix.docker &#x3D;&#x3D; true) && (matrix.alpine &#x3D;&#x3D; false) && &#x27;linux&#x27;) || matrix.os) }}-${{ matrix.arch }} GitHub Actions: create_pre_release ✅ No checks have passed 0/4 successful checks