Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Bumps prettier from 3.1.0 to 3.1.1.

Release notes

Sourced from prettier's releases.

3.1.1

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.1.1

diff

Fix config file search (#15363 by @​fisker)

Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake.

├─ .prettierrc
└─ test.js         (A directory)
  └─ .prettierrc
// Prettier 3.1.0
await prettier.resolveConfigFile(new URL("./test.js", import.meta.url));
// <CWD>/test.js/.prettierrc
// Prettier 3.1.1
await prettier.resolveConfigFile(new URL("./test.js", import.meta.url));
// <CWD>/.prettierrc

Skip explicitly passed symbolic links with --no-error-on-unmatched-pattern (#15533 by @​sanmai-NL)

Since Prettier v3, we stopped following symbolic links, however in some use cases, the symbolic link patterns can't be filtered out, and there is no way to prevent Prettier from throwing errors.

In Prettier 3.1.1, you can use --no-error-on-unmatched-pattern to simply skip symbolic links.

Consistently use tabs in ternaries when useTabs is true (#15662 by @​auvred)

// Input
aaaaaaaaaaaaaaa
	? bbbbbbbbbbbbbbbbbb
	: ccccccccccccccc
	  ? ddddddddddddddd
	  : eeeeeeeeeeeeeee
	    ? fffffffffffffff
	    : gggggggggggggggg;
// Prettier 3.1.0
aaaaaaaaaaaaaaa
? bbbbbbbbbbbbbbbbbb
: ccccccccccccccc
? ddddddddddddddd
: eeeeeeeeeeeeeee
? fffffffffffffff
</tr></table>

... (truncated)

Commits
  • b86701d Release 3.1.1
  • c97480c Use attributes instead of deprecated assertions (#15758)
  • 0d1ffb3 Consistently use tabs in ternaries when useTabs is true (#15662)
  • 5f7aedc fix example to fit the actual experimentalTernaries behaviour (#15747)
  • 1e30f66 Remove claim, untrue since over 5 years ago, that cursorOffset is incompatibl...
  • 39e4e7b Add cursorOffset to Playground (#15751)
  • 8e816ad Allow skipping symlink patterns, to avoid raising a fault (#15533)
  • 2ca5d75 Fix expect call in dts test (#15766)
  • 15c7428 chore(deps): update dependency flow-parser to v0.223.3 (#15760)
  • d3b3d4f chore(deps): update dependency hermes-parser to v0.18.0 (#15761)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [prettier](https://github.com/prettier/prettier) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from dschach as a code owner December 11, 2023 18:49
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 11, 2023
@github-actions github-actions bot changed the title build: bump prettier from 3.1.0 to 3.1.1 build(prettier): bump prettier from 3.1.0 to 3.1.1 Dec 11, 2023
@github-actions github-actions bot merged commit e4e88b3 into main Dec 11, 2023
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/prettier-3.1.1 branch December 11, 2023 18:49
dschach added a commit that referenced this pull request Nov 30, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.0.1](duplicatehandling-v2.0.0...duplicatehandling-v2.0.1)
(2024-03-30)


### Bug Fixes

* **ci:** Codecov.yml trigger
([c5d1977](c5d1977))


### Miscellaneous Chores

* **linguist:** Exclude vendor js files
([b828481](b828481))
* Promote package v2.0
([#59](#59))
([609c058](609c058))
* Release sf package version 2.0.0.1 (beta)
([eebba52](eebba52))


### Styles

* **prettier:** Update Prettier config, prettify PMD rules
([51ad69b](51ad69b))
* Prettify project files
([a06d8a7](a06d8a7))


### Documentation

* Fix readme images in ApexDox
([500e8c5](500e8c5))
* **readme:** Add deploy buttons, specify bash language for instructions
([da3fd00](da3fd00))


### Dependencies

* **axios, wait-on:** Bump axios and wait-on
([#74](#74))
([de5c966](de5c966))


### Build System

* **@prettier/plugin-xml:** Bump @prettier/plugin-xml from 3.2.2 to
3.3.1 ([#97](#97))
([163e7f2](163e7f2))
* **actions:** Bump actions/checkout from 3 to 4
([#56](#56))
([d78018b](d78018b))
* **ApexDox:** Use local file for highlight.js if available
([11e6b1e](11e6b1e))
* **deps-dev:** Bump lint-staged from 13.2.3 to 14.0.0
([421bfbd](421bfbd))
* **follow-redirects:** Bump follow-redirects from 1.15.3 to 1.15.4
([#82](#82))
([57e263a](57e263a))
* **follow-redirects:** Bump follow-redirects from 1.15.4 to 1.15.6
([#102](#102))
([534bc38](534bc38))
* **github:** Add local branch deletion script
([6c67952](6c67952))
* **highlightjs-apex:** Bump highlightjs-apex from 1.3.3 to 1.3.5
([#96](#96))
([a43f5cb](a43f5cb))
* **highlightjs-apex:** Bump highlightjs-apex from 1.3.5 to 1.4.0
([#100](#100))
([d20f735](d20f735))
* **husky:** Bump husky from 8.0.3 to 9.0.5
([#87](#87))
([4f173cd](4f173cd))
* **husky:** Bump husky from 9.0.10 to 9.0.11
([#98](#98))
([ffe10c2](ffe10c2))
* **husky:** Bump husky from 9.0.5 to 9.0.6
([#88](#88))
([161c1bf](161c1bf))
* **husky:** Bump husky from 9.0.6 to 9.0.7
([#90](#90))
([763df27](763df27))
* **husky:** Bump husky from 9.0.7 to 9.0.10
([#92](#92))
([a353063](a353063))
* **lint-staged:** Bump lint-staged from 15.0.2 to 15.1.0
([#71](#71))
([4c82e42](4c82e42))
* **lint-staged:** Bump lint-staged from 15.1.0 to 15.2.0
([#77](#77))
([9d6ea11](9d6ea11))
* **lint-staged:** Bump lint-staged from 15.2.0 to 15.2.1
([#91](#91))
([571e199](571e199))
* **lint-staged:** Bump lint-staged from 15.2.1 to 15.2.2
([#93](#93))
([c617509](c617509))
* **marked:** Bump marked from 10.0.0 to 11.0.0
([#75](#75))
([e0010bb](e0010bb))
* **marked:** Bump marked from 11.0.0 to 11.0.1
([#78](#78))
([eece795](eece795))
* **marked:** Bump marked from 11.0.1 to 11.1.0
([#80](#80))
([e75f6ba](e75f6ba))
* **marked:** Bump marked from 11.1.0 to 11.1.1
([#81](#81))
([b7bbe44](b7bbe44))
* **marked:** Bump marked from 11.1.1 to 11.2.0
([#89](#89))
([6b99a8c](6b99a8c))
* **marked:** Bump marked from 11.2.0 to 12.0.0
([#94](#94))
([e59b932](e59b932))
* **marked:** Bump marked from 12.0.0 to 12.0.1
([#101](#101))
([e5b4dfd](e5b4dfd))
* **marked:** Bump marked from 9.1.6 to 10.0.0
([#73](#73))
([dae8cfe](dae8cfe))
* **npm:** Bump @prettier/plugin-xml from 2.2.0 to 3.0.0
([#47](#47))
([216d3c8](216d3c8))
* **npm:** Bump @prettier/plugin-xml from 3.0.0 to 3.1.1
([#49](#49))
([9fdf723](9fdf723))
* **npm:** Bump @prettier/plugin-xml from 3.1.1 to 3.2.0
([#51](#51))
([e6d5119](e6d5119))
* **npm:** Bump @prettier/plugin-xml from 3.2.0 to 3.2.1
([#57](#57))
([9a324aa](9a324aa))
* **npm:** Bump @prettier/plugin-xml from 3.2.1 to 3.2.2
([#65](#65))
([1b9186f](1b9186f))
* **npm:** Bump lint-staged from 13.1.2 to 13.2.0
([#33](#33))
([a9c1575](a9c1575))
* **npm:** Bump lint-staged from 13.2.0 to 13.2.2
([#42](#42))
([a16bab8](a16bab8))
* **npm:** Bump lint-staged from 13.2.2 to 13.2.3
([#45](#45))
([eef4b92](eef4b92))
* **npm:** Bump lint-staged from 14.0.0 to 14.0.1
([#54](#54))
([40f9dc0](40f9dc0))
* **npm:** Bump lint-staged from 14.0.1 to 15.0.1
([#63](#63))
([ddcb8f6](ddcb8f6))
* **npm:** Bump lint-staged from 15.0.1 to 15.0.2
([#64](#64))
([ed58505](ed58505))
* **npm:** Bump marked from 9.0.3 to 9.1.0
([#60](#60))
([28e8f27](28e8f27))
* **npm:** Bump marked from 9.1.0 to 9.1.2
([#62](#62))
([a9546f7](a9546f7))
* **npm:** Bump marked from 9.1.2 to 9.1.5
([#68](#68))
([36ccedd](36ccedd))
* **npm:** Bump marked from 9.1.5 to 9.1.6
([#69](#69))
([e912bce](e912bce))
* **npm:** Bump prettier and prettier-plugin-apex
([#46](#46))
([854df4f](854df4f))
* **npm:** Bump prettier from 2.8.4 to 2.8.6
([#35](#35))
([27a30d5](27a30d5))
* **npm:** Bump prettier from 2.8.6 to 2.8.7
([#37](#37))
([84857c4](84857c4))
* **npm:** Bump prettier from 2.8.7 to 2.8.8
([#40](#40))
([c760c53](c760c53))
* **npm:** Bump prettier from 3.0.0 to 3.0.1
([#50](#50))
([724cc39](724cc39))
* **npm:** Bump prettier from 3.0.1 to 3.0.2
([#53](#53))
([530eb65](530eb65))
* **npm:** Bump prettier from 3.0.2 to 3.0.3
([#55](#55))
([b5497de](b5497de))
* **npm:** Bump prettier-plugin-apex from 1.12.0 to 1.13.0
([#39](#39))
([7e99698](7e99698))
* **npm:** Bump yaml from 2.2.1 to 2.2.2
([#41](#41))
([13584a5](13584a5))
* **prettier-plugin-apex:** Bump prettier-plugin-apex from 2.0.1 to
2.1.0 ([#99](#99))
([0db814a](0db814a))
* **prettier:** Bump prettier from 3.0.3 to 3.1.0
([#72](#72))
([1dbb7d0](1dbb7d0))
* **prettier:** Bump prettier from 3.1.0 to 3.1.1
([#79](#79))
([e4e88b3](e4e88b3))
* **prettier:** Bump prettier from 3.1.1 to 3.2.0
([#83](#83))
([ff5d377](ff5d377))
* **prettier:** Bump prettier from 3.2.2 to 3.2.4
([#85](#85))
([ba69690](ba69690))
* **prettier:** Tweak Prettier config
([b8c5c5f](b8c5c5f))
* **sfdx:** Update scripts to sf commands
([#52](#52))
([59aa593](59aa593))
* Update highlightjs mechanism
([#70](#70))
([500e8c5](500e8c5))


### Continuous Integration

* **actions/cache:** Bump actions/cache from 3 to 4
([#86](#86))
([ac84b1f](ac84b1f))
* **Codecov:** Remove duplicate Codecov run on PR
([de3490f](de3490f))
* **dependabot/fetch-metadata:** Bump dependabot/fetch-metadata from 1
to 2 ([#104](#104))
([3ad504c](3ad504c))
* **dependabot:** Change context to pull request for updates
([3022be3](3022be3))
* **dependabot:** Rename Dependabot PRs
([37f7e22](37f7e22))
* **google-github-actions/release-please-action:** Bump
google-github-actions/release-please-action from 3 to 4
([#76](#76))
([b4ceacc](b4ceacc))
* **pmd/pmd-github-action:** Bump pmd/pmd-github-action from 1 to 2
([#103](#103))
([498ef07](498ef07))
* **PMD:** Change ruleset file name
([f157e53](f157e53))
* **PMD:** Delete pmd-version.txt
([99a9ca7](99a9ca7))
* **pmd:** Update to PMD 7
([#44](#44))
([95aa930](95aa930))
* **release-please:** Enable release-please on demand
([15804cd](15804cd))
* Run non-local prettier, query PMD version
([624adfc](624adfc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Schach <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant