Skip to content

Bump style-dictionary from 3.9.2 to 5.7.0 - #199

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/style-dictionary-5.7.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/style-dictionary-5.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 20, 2026

Copy link
Copy Markdown
Contributor

Bumps style-dictionary from 3.9.2 to 5.7.0.

Release notes

Sourced from style-dictionary's releases.

v5.7.0

Minor Changes

  • 2f0b0ff: Add support for DTCG v2025.10 duration token values, while remaining backwards compatible for Style Dictionary time tokens.

    The time/seconds transform now also matches duration tokens and handles their object values, and transition/css/shorthand stringifies the duration and delay properties of a transition, including when those properties reference duration tokens.

    {
      "fast": {
        "$type": "duration",
        "$value": { "value": 200, "unit": "ms" }
      },
      "fade": {
        "$type": "transition",
        "$value": {
          "duration": "{fast}",
          "delay": { "value": 0, "unit": "ms" },
          "timingFunction": "ease-in-out"
        }
      }
    }

    time/seconds now uses the minimum amount of decimals that keeps the precision of the input, instead of a fixed two. A 1ms duration resolves to 0.001s instead of being rounded away to 0.00s, and a value that needs no decimals is no longer padded with them. A value that is already in seconds, e.g. "0.36s", is also no longer divided a second time into "0.00s".

    Note that dropping the fixed two decimals changes existing output: a time token of 500 now transforms to 0.5s rather than 0.50s, and 1000 to 1s rather than 1.00s. The values are equivalent on every platform this transform targets.

Patch Changes

  • 871dbfb: Ignore a trailing DTCG v2025.10 $root path segment in the built-in name transforms, so a root token is named after its group (e.g. --color-text-warning instead of --color-text-warning-root). Also fix outputReferences not replacing references to $root tokens.

v5.6.1

Patch Changes

  • 7a80396: Fix sortByReference collecting "filtered out token references" warnings while sorting. With multiple levels of references, it reported references of tokens that are never output, and outputReferencesFilter could not clear those warnings.

v5.6.0

Minor Changes

  • 2f28731: Add "sassdoc" comment style (a triple-slash short comment)

Patch Changes

  • 76074dc: Fix outputReferences leaking a raw {group.$root} placeholder into formatted output instead of resolving it, when a reference path segment (e.g. a DTCG $root token) contains a RegExp special character.

v5.5.5

Patch Changes

  • bc51123: Fix prototype pollution GHSA-cr3w-v879-f973 for nested objects created by the convertTokenData utility in "object" output mode.

... (truncated)

Changelog

Sourced from style-dictionary's changelog.

5.7.0

Minor Changes

  • 2f0b0ff: Add support for DTCG v2025.10 duration token values, while remaining backwards compatible for Style Dictionary time tokens.

    The time/seconds transform now also matches duration tokens and handles their object values, and transition/css/shorthand stringifies the duration and delay properties of a transition, including when those properties reference duration tokens.

    {
      "fast": {
        "$type": "duration",
        "$value": { "value": 200, "unit": "ms" }
      },
      "fade": {
        "$type": "transition",
        "$value": {
          "duration": "{fast}",
          "delay": { "value": 0, "unit": "ms" },
          "timingFunction": "ease-in-out"
        }
      }
    }

    time/seconds now uses the minimum amount of decimals that keeps the precision of the input, instead of a fixed two. A 1ms duration resolves to 0.001s instead of being rounded away to 0.00s, and a value that needs no decimals is no longer padded with them. A value that is already in seconds, e.g. "0.36s", is also no longer divided a second time into "0.00s".

    Note that dropping the fixed two decimals changes existing output: a time token of 500 now transforms to 0.5s rather than 0.50s, and 1000 to 1s rather than 1.00s. The values are equivalent on every platform this transform targets.

Patch Changes

  • 871dbfb: Ignore a trailing DTCG v2025.10 $root path segment in the built-in name transforms, so a root token is named after its group (e.g. --color-text-warning instead of --color-text-warning-root). Also fix outputReferences not replacing references to $root tokens.

5.6.1

Patch Changes

  • 7a80396: Fix sortByReference collecting "filtered out token references" warnings while sorting. With multiple levels of references, it reported references of tokens that are never output, and outputReferencesFilter could not clear those warnings.

5.6.0

Minor Changes

  • 2f28731: Add "sassdoc" comment style (a triple-slash short comment)

Patch Changes

  • 76074dc: Fix outputReferences leaking a raw {group.$root} placeholder into formatted output instead of resolving it, when a reference path segment (e.g. a DTCG $root token) contains a RegExp special character.

5.5.5

... (truncated)

Commits
  • 745264a chore: fix workflow npm build
  • d79ba47 chore: release (#1776)
  • 124645c chore: upgrade to changesets v3 and lint-staged latest (#1777)
  • cdb5cab Change logo image source in examples README (#1775)
  • 871dbfb fix: ignore trailing DTCG $root segment in name transforms (#1772)
  • 2f0b0ff feat: support DTCG duration token values in time and transition transforms (#...
  • 81ecc05 chore: release (#1764)
  • f859fd5 chore: increase timeout flaky test (#1771)
  • 5f4f959 feat(examples): add Storybook token docs example (#1766)
  • 94e1cad docs: show css platform in basic example to match examples/basic (#1765)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for style-dictionary since your current version.

Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


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 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 [style-dictionary](https://github.com/style-dictionary/style-dictionary) from 3.9.2 to 5.7.0.
- [Release notes](https://github.com/style-dictionary/style-dictionary/releases)
- [Changelog](https://github.com/style-dictionary/style-dictionary/blob/main/CHANGELOG.md)
- [Commits](style-dictionary/style-dictionary@v3.9.2...v5.7.0)

---
updated-dependencies:
- dependency-name: style-dictionary
  dependency-version: 5.7.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #201.

@dependabot dependabot Bot closed this Oct 27, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/style-dictionary-5.7.0 branch October 27, 2026 19:34
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.

0 participants