chore(deps): bump colored from 2.1.0 to 2.2.0 by dependabot[bot] · Pull Request #402 · Shopify/function-runner
Bumps colored from 2.1.0 to 2.2.0.
Changelog
Sourced from colored's changelog.
Unreleased
- Updated top-level docs to include a note about
ColoredString's role in theColorizepipeline as well as link to it to suggest learning more about how to manipulate existingColoredString's.- Changes to
ColoredString:
- Expose fields.
- [DEPRECATION]: Deprecated methods
fgcolor,bgcolor, andstyledue to their obsolescence in the face of the exposing of their represented fields.- Add methods for clearing specific elements of
fgcolor,bgcolor, andstyle.- Change Default implementation to be via derive as Style now implements Default (see changes to Style below).
- Add implementation of
DerefMut.- Updated docs to reflect the above changes as well as generally greatly expand them.
- Changes to
Style:
- Implemented
DefaultforStyle(returnsCLEAR). This exposes a method by which users can create plainStyle's from scratch.- Implemented
From<Styles>forStyle. This lets users easily createStyle's from specific styles.- Exposed previously private method
add.- Created method
removewhich essentially does the opposite.- Added builder-style methods in the vein of
Colorizeto add stylings (e.g.bold,underline,italic,strikethrough).- Implemented bitwise operators
BitAnd,BitOr,BitXor, andNotas well as their representative assignment operators. You can also use aStylesas an operand for these.- Implemented
FromIterator<Styles>for Style.- Changes to
Styles:
- Implemented bitwise operators
BitAnd,BitOr,BitXor, andNotwhich all combineStyles's and outputStyle's. These can also take aStyleas an operand.- Added additional testing for all of the above changes.
- Added methods
with_styleandwith_color_and_styletoColorize.
Commits
ef1484c2.2.0 (#186)1bb63e4cargo: supported range for windows-sys (#184)a7e464fAdd dependabot config (#178)0ddacefIgnore blame for clippy fix05b0f57Differentiate between ansi_term style and colored style due to deprecation of...981cfe4Fix deprecation warnings58a06a4Apply some (pedantic) clippy lintse55e26cUpdate rspec (#177)775ec9ffix usage of wildcard import (#165)bbe16cbonly run semver check when merging to mater- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)