Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING: Bump prettier to ^3.3.3 #202

Merged
merged 4 commits into from
Sep 23, 2024
Merged

BREAKING: Bump prettier to ^3.3.3 #202

merged 4 commits into from
Sep 23, 2024

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Sep 23, 2024

This bumps Prettier to ^3.3.3, and fixes any breaking changes in Prettier.

Closes #201.

Breaking changes

  • prettier@^3.3.3 is now a peer-dependency of this package.
  • Changelog.toString now returns a Promise, which resolves with the formatted changelog.

@Mrtenz Mrtenz requested a review from a team as a code owner September 23, 2024 13:37
Copy link

socket-security bot commented Sep 23, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] environment 0 24.1 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 101 kB nicolo-ribaudo
npm/@babel/[email protected] environment, filesystem, unsafe 0 788 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 487 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 52.3 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 63.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 160 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 114 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 14.1 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 31.8 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 49.3 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 11.8 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 928 kB nicolo-ribaudo
npm/@babel/[email protected] environment 0 20.3 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 1.89 MB nicolo-ribaudo
npm/@babel/[email protected] None 0 70 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 69.7 kB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/[email protected] None 0 70.4 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 731 kB nicolo-ribaudo
npm/@babel/[email protected] environment 0 2.48 MB nicolo-ribaudo
npm/@istanbuljs/[email protected] None 0 17.2 kB coreyfarrell
npm/@jest/[email protected] None 0 19 kB simenb
npm/@jest/[email protected] unsafe 0 145 kB simenb
npm/@jest/[email protected] None 0 15.9 kB simenb
npm/@jest/[email protected] None 0 28.3 kB simenb
npm/@jest/[email protected] None 0 5.23 kB simenb
npm/@jest/[email protected] None 0 26.3 kB simenb
npm/@jest/[email protected] None 0 5.26 kB simenb
npm/@jest/[email protected] environment, unsafe 0 115 kB simenb
npm/@jest/[email protected] None 0 5.07 kB simenb
npm/@jest/[email protected] None 0 15.8 kB simenb
npm/@jest/[email protected] None 0 13.6 kB simenb
npm/@jest/[email protected] None 0 52.4 kB simenb
npm/@jridgewell/[email protected] None 0 81.6 kB jridgewell
npm/@jridgewell/[email protected] None 0 17.9 kB jridgewell
npm/@jridgewell/[email protected] None 0 169 kB jridgewell
npm/@pkgr/[email protected] None 0 8.54 kB jounqin
npm/@sinonjs/[email protected] None 0 38 kB mrgnrdrck
npm/@sinonjs/[email protected] eval 0 80.1 kB fatso83
npm/@types/[email protected] None 0 33 kB types
npm/@types/[email protected] None 0 3.9 kB types
npm/[email protected] None 0 808 kB aearly
npm/[email protected] environment 0 13.5 kB simenb
npm/[email protected] None 0 14.3 kB simenb
npm/[email protected] None 0 2.69 kB simenb
npm/[email protected] environment, filesystem 0 63 kB ai
npm/[email protected] None 0 11.7 kB sindresorhus
npm/[email protected] None 0 0 B
npm/[email protected] None 0 35 kB sindresorhus
npm/[email protected] environment 0 26.1 kB sibiraj-s
npm/[email protected] None 0 146 kB guybedford
npm/[email protected] None 0 32.3 kB oss-bot
npm/[email protected] None 0 15.9 kB simenb
npm/[email protected] environment 0 42.1 kB qix
npm/[email protected] None 0 23.9 kB joshuakgoldberg
npm/[email protected] None 0 9.75 kB sindresorhus
npm/[email protected] eval, filesystem 0 143 kB mde
npm/[email protected] None 0 148 kB kilianvalkhof
npm/[email protected] None 0 46.5 kB sindresorhus
npm/[email protected] filesystem 0 12.4 kB lukeed
npm/[email protected] None 0 20.8 kB lydell
npm/[email protected] None 0 34.3 kB jounqin
npm/[email protected] None 0 146 kB simenb
npm/[email protected] filesystem 0 96.7 kB mrmlnc
npm/[email protected] filesystem 0 18.6 kB mde
npm/[email protected] None 0 173 kB pipobscure
npm/[email protected] None 0 4.54 kB sindresorhus
npm/[email protected] None 0 5.57 kB fisker
npm/[email protected] environment, filesystem 0 32.5 kB isaacs
npm/[email protected] None 0 53.6 kB kael
npm/[email protected] None 0 4.08 kB sindresorhus
npm/[email protected] None 0 72 kB oss-bot
npm/[email protected] None 0 294 kB oss-bot
npm/[email protected] environment, filesystem, shell 0 175 kB mde
npm/[email protected] environment 0 18.2 kB simenb
npm/[email protected] unsafe 0 72 kB simenb
npm/[email protected] None 0 33.8 kB simenb
npm/[email protected] None 0 114 kB simenb
npm/[email protected] None 0 8.99 kB simenb
npm/[email protected] None 0 33.7 kB simenb
npm/[email protected] unsafe 0 9.37 kB simenb
npm/[email protected] environment, filesystem, shell, unsafe 0 121 kB simenb
npm/[email protected] unsafe 0 5.59 kB simenb
npm/[email protected] None 0 28.4 kB simenb
npm/[email protected] None 0 20.6 kB simenb
npm/[email protected] None 0 47.5 kB simenb
npm/[email protected] None 0 3.52 kB simenb
npm/[email protected] None 0 8.92 kB simenb
npm/[email protected] environment, unsafe 0 65.7 kB simenb
npm/[email protected] environment 0 29.6 kB simenb
npm/[email protected] unsafe 0 89.2 kB simenb
npm/[email protected] eval 0 83.5 kB simenb
npm/[email protected] environment 0 41.8 kB simenb
npm/[email protected] None 0 28.7 kB simenb
npm/[email protected] None 0 23.4 kB simenb
npm/[email protected] environment, shell 0 90.8 kB simenb
npm/[email protected] None 0 5.01 kB simenb
npm/[email protected] None 0 20.1 kB jdalton
npm/[email protected] None 0 15.7 kB isaacs
npm/[email protected] None 0 6.07 kB daaku
npm/[email protected] None 0 6.72 kB styfle
npm/[email protected] None 0 35.7 kB chicoxyzzy
npm/[email protected] None 0 5.41 kB sindresorhus
npm/[email protected] environment 0 11.4 kB alexeyraspopov
npm/[email protected] unsafe 0 13.5 kB danez
npm/[email protected] None 0 5.55 kB matzkoh
npm/[email protected] environment, filesystem, unsafe 0 7.7 MB prettier-bot
npm/[email protected] None 0 84 kB ndubien
npm/[email protected] None 0 23.9 kB lukeed
npm/[email protected] None 0 95.8 kB npm-cli-ops
npm/[email protected] None 0 2.69 kB keithamus
npm/[email protected] None 0 33.3 kB keithamus
npm/[email protected] filesystem, unsafe 0 82.5 kB linusu
npm/[email protected] unsafe 0 14.6 kB isaacs
npm/[email protected] environment 0 55.7 kB jounqin
npm/[email protected] None 0 328 kB anhpnnd, kul, tsjest
npm/[email protected] environment, filesystem, shell 0 14.8 kB ai
npm/[email protected] filesystem, unsafe 0 47.6 kB oss-bot
npm/[email protected] filesystem 0 5.8 kB daaku
npm/[email protected] filesystem 0 12.2 kB gar
npm/[email protected] environment, filesystem 0 128 kB oss-bot
npm/[email protected] environment, filesystem 0 292 kB oss-bot

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@cnakazawa/[email protected], npm/@istanbuljs/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@sinonjs/[email protected], npm/@sinonjs/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

socket-security bot commented Sep 23, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/[email protected], npm/[email protected]

View full report↗︎

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@Mrtenz
Copy link
Member Author

Mrtenz commented Sep 23, 2024

@SocketSecurity ignore npm/[email protected]

New author ok.

@SocketSecurity ignore npm/[email protected]

Shell access expected.

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Copy link
Member

@mikesposito mikesposito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@@ -107,7 +107,7 @@ type ValidateChangelogOptions = {
* `true` and the changelog contains uncategorized changes.
* @throws `ChangelogFormattingError` - Will throw if there is a formatting error.
*/
export function validateChangelog({
export async function validateChangelog({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: README should be updated with the new API (though, I believe it should be updated with other things as well i.e. node version)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do in a separate PR.

@Mrtenz Mrtenz merged commit 0a736b6 into main Sep 23, 2024
14 checks passed
@Mrtenz Mrtenz deleted the mrtenz/prettier-3 branch September 23, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump Prettier to v3
2 participants