Skip to content

Update dependency style-dictionary to v5.8.0 - #2631

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/style-dictionary-5.x
Nov 7, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/style-dictionary-5.x

Conversation

@renovate

@renovate renovate Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
style-dictionary (source) 5.7.1 → 5.8.0 age confidence

Release Notes

style-dictionary/style-dictionary (style-dictionary)

v5.8.0

Compare Source

Minor Changes
  • e8f77ed: Expose stripMetaProps, formatJS and isColor utilities through the style-dictionary/utils entrypoint, so that custom formats and transforms can reuse the same helpers as the built-in ones.
  • 73acfe2: Add StopTransformError to style-dictionary/utils. A transform can throw it to skip the remaining transforms for that token, which keeps the changes made by the transforms that ran before. It is still reported as a transform error.
Patch Changes
  • 52d9d7d: Fix cleaning the copy_assets action on Node.js 25 and later. It removed the assets directory with fs.rmdir() and its recursive option, which Node.js 25 removed, so cleaning threw ERR_INVALID_ARG_VALUE. It now uses fs.rm().
  • ce0a390: When a token in source overrides a token from include (or from the inline tokens option), it now replaces that token instead of being merged into it, the same as when two source files or two include files define the same token. Properties that only the overridden token had, such as $extensions or comment, are no longer carried over.
  • d87ca0b: Round alpha values that come from 8 or 4 digit hex colors in the color/css transform to the shortest value that maps back to the same hex alpha (two decimals, or three when two do not round-trip), the same as browsers do. For example #00000014 becomes rgba(0, 0, 0, 0.08) again instead of rgba(0, 0, 0, 0.0784313725490196). Alpha values written as decimals are still kept as they are.
  • f82e7aa: BREAKING: the sketch/palette format is registered under its documented name again. Since the enums were introduced in v4.3.0 the format was accidentally registered as sketchPalette, which made format: 'sketch/palette' throw "Can't find format". The formats.sketchPalette enum now resolves to 'sketch/palette', and the accidental 'sketchPalette' string name is no longer accepted. If you used format: 'sketchPalette', switch to format: 'sketch/palette' or use formats.sketchPalette from style-dictionary/enums.
  • 5a2e3d2: Include the token path, and the token's filePath when it has one, in the "Token name must be a string" error, so a token with an empty name (e.g. an empty "" key) is easier to find.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot

changeset-bot Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a52e80a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cloudfour-patterns ready!

Name Link
🔨 Latest commit a52e80a
🔍 Latest deploy log https://app.netlify.com/projects/cloudfour-patterns/deploys/6aeeacf0911e2113f882b3dc
😎 Deploy Preview https://deploy-preview-2631--cloudfour-patterns.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate
renovate Bot force-pushed the renovate/style-dictionary-5.x branch from 614e49d to a52e80a Compare November 7, 2026 04:45
@renovate
renovate Bot merged commit 2006d90 into main Nov 7, 2026
12 checks passed
@renovate
renovate Bot deleted the renovate/style-dictionary-5.x branch November 7, 2026 10:06
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.

0 participants