Skip to content

Bump commander from 10.0.0 to 10.0.1#12

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/commander-10.0.1
Closed

Bump commander from 10.0.0 to 10.0.1#12
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/commander-10.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 17, 2023

Copy link
Copy Markdown
Contributor

Bumps commander from 10.0.0 to 10.0.1.

Release notes

Sourced from commander's releases.

v10.0.1

Added

Fixed

  • remove unused Option.optionFlags property from TypeScript definition (#1844)

Changed

  • assume boolean option intended if caller passes string instead of hash to .implies() (#1854)
Changelog

Sourced from commander's changelog.

[10.0.1] (2023-04-15)

Added

Fixed

  • remove unused Option.optionFlags property from TypeScript definition (#1844)

Changed

  • assume boolean option intended if caller passes string instead of hash to .implies() (#1854)
Commits
  • 33195f1 Update CHANGELOG and version for 10.0.1
  • 321cd76 Could be multiple hooks, pluralise
  • 5fbf83a Add new documentation to README
  • 28928ed Add parsing life cycle and hooks
  • 1aa5271 Describe help description wrapping
  • ee78d95 Link to Help class in configure-help.js and README.
  • f4c7349 Assume a string parameter to implies is name of boolean option. (#1854)
  • 869c3c0 Remove unused property (#1844)
  • See full diff 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 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 [commander](https://github.com/tj/commander.js) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](tj/commander.js@v10.0.0...v10.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/commander-10.0.1 branch from bdb382f to aad6090 Compare April 20, 2023 08:36
@dependabot @github

dependabot Bot commented on behalf of github Apr 23, 2023

Copy link
Copy Markdown
Contributor Author

Looks like commander is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Apr 23, 2023
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/commander-10.0.1 branch April 23, 2023 13:47
sraphaz added a commit that referenced this pull request Feb 13, 2026
feat(cli,playground,docs,generators): Export LikeC4 views to Draw.io
farhan523 added a commit to farhan523/likec4 that referenced this pull request May 23, 2026
isTagColorSpecified is only a prefix check (accepts `#zzz`, `rgb(garbage)`, etc.),
so a malformed color in a tag spec would reach getContrastedColorsAPCA and throw
from chroma(refColor), crashing the diagram render.

Validate the value with chroma.valid via a new isValidColor helper exported from
@likec4/core/styles, and fall through to the default tag styling when it fails.
New regression test in TagStylesContext.spec.ts covers `#zzzzzz`, `likec4#12`, and
`rgb(garbage)`.

Addresses CodeRabbit feedback on likec4#2978.
davydkov pushed a commit that referenced this pull request May 23, 2026
* feat(diagram): accurate text color for tags with custom colors

Custom-colored tags (e.g. `tag deprecated { color #FF0000 }`) now
get a high-contrast text color derived from the background via
the APCA contrast algorithm, instead of the previous CSS-filter
hack (`autoTextColor` variant).

- `getContrastedColorsAPCA` is now exported from `@likec4/core/styles`.
- `TagStylesProvider` emits `--colors-likec4-tag-text` for every tag,
  including custom-hex ones. Named (Radix) tags are unchanged.
- `autoTextColor` is removed from the `likec4tag` recipe and from
  `ElementTags`.

Resolves #2143

* fix(diagram): guard tag APCA call against malformed custom colors

isTagColorSpecified is only a prefix check (accepts `#zzz`, `rgb(garbage)`, etc.),
so a malformed color in a tag spec would reach getContrastedColorsAPCA and throw
from chroma(refColor), crashing the diagram render.

Validate the value with chroma.valid via a new isValidColor helper exported from
@likec4/core/styles, and fall through to the default tag styling when it fails.
New regression test in TagStylesContext.spec.ts covers `#zzzzzz`, `#12`, and
`rgb(garbage)`.

Addresses CodeRabbit feedback on #2978.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants