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

Bump cfonts from 2.10.1 to 3.1.0 #3414

Merged
merged 1 commit into from
Jun 15, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 15, 2022

Bumps cfonts from 2.10.1 to 3.1.0.

Release notes

Sourced from cfonts's releases.

v3.1.0 nodejs

  • added the -V fallback flag for versions to comply with POSIX

v3.0.0

Cfonts has been re-built from scratch in rust and had it's nodejs app aligned to the more correct output that rust produced.

Nodejs

There are some minor changes to the node lib that warranted a new major release:

  • Change to license from GPLv2 to GPLv3+
  • letter-spacing is not appended anymore so the line ends at the last letter (which means more letters fit into a line)
  • Alignments are calculated now with ceil rather than floor which means half pixel are rounded up, not down
  • The console font now has it's own font file so we can re-use the same functionality and align across all fonts, also gives us more flexibility later if we want to make changes to the console font
  • Hex colors for background are now supported
  • The ANSI color system has been re-written from scratch giving us more flexibility and art-direction for when we have to convert 16 million colors to just 16
  • chalk as a dependency is removed and replaced with supports-color
  • The lower level ANSI16 colors now always render as ANSI16 and all other levels render depending on the current color support of the consuming console
  • The correct order of env var priority has been set and is being tested: FORCE_COLOR then NO_COLOR
  • letterspace_size has been added to each font file
  • Moved the nodejs implementation into it's own folder ./src -> ./nodejs/src

Rust

The rust implementation comes with a lot of tests as well as an end-to-end test that compares the output of the rust binary to the output of node which is also compared to a fixture. This test is run on three platforms (Linux, macOS and Windows) now with Github Actions.

v3.0.0-nodejs

Cfonts has been re-built from scratch in rust and had it's nodejs app aligned to the more correct output that rust produced.

Nodejs

There are some minor changes to the node lib that warranted a new major release:

  • Change to license from GPLv2 to GPLv3+
  • letter-spacing is not appended anymore so the line ends at the last letter (which means more letters fit into a line)
  • Alignments are calculated now with ceil rather than floor which means half pixel are rounded up, not down
  • The console font now has it's own font file so we can re-use the same functionality and align across all fonts, also gives us more flexibility later if we want to make changes to the console font
  • Hex colors for background are now supported
  • The ANSI color system has been re-written from scratch giving us more flexibility and art-direction for when we have to convert 16 million colors to just 16
  • chalk as a dependency is removed and replaced with supports-color
  • The lower level ANSI16 colors now always render as ANSI16 and all other levels render depending on the current color support of the consuming console
  • The correct order of env var priority has been set and is being tested: FORCE_COLOR then NO_COLOR
  • letterspace_size has been added to each font file
  • Moved the nodejs implementation into it's own folder ./src -> ./nodejs/src

Rust

The rust implementation comes with a lot of tests as well as an end-to-end test that compares the output of the rust binary to the output of node which is also compared to a fixture. This test is run on three platforms (Linux, macOS and Windows) now with Github Actions.

Commits

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 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)

@dependabot dependabot bot requested a review from h3poteto as a code owner June 15, 2022 15:49
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 15, 2022
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/cfonts-3.1.0 branch from a6e21c1 to f8f519b Compare June 15, 2022 15:59
Bumps [cfonts](https://github.com/dominikwilkowski/cfonts) from 2.10.1 to 3.1.0.
- [Release notes](https://github.com/dominikwilkowski/cfonts/releases)
- [Commits](https://github.com/dominikwilkowski/cfonts/commits)

---
updated-dependencies:
- dependency-name: cfonts
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/cfonts-3.1.0 branch from f8f519b to 750fcb0 Compare June 15, 2022 16:02
@h3poteto h3poteto merged commit 0f20106 into master Jun 15, 2022
@h3poteto h3poteto deleted the dependabot/npm_and_yarn/cfonts-3.1.0 branch June 15, 2022 16:09
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant