Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 3, 2025

This PR contains the following updates:

Package Change Age Confidence
style-dictionary ^4.4.0 -> ^5.1.1 age confidence

Release Notes

amzn/style-dictionary (style-dictionary)

v5.1.1

Compare Source

Patch Changes
  • 65745da: Fix outputReferences for tokens with 'value' in their name. Previously, references to tokens like object_type.value_chain were incorrectly resolved because the code removed the first occurrence of .value instead of only the trailing suffix.

v5.1.0

Compare Source

Minor Changes
  • 97a209a: Add new size/compose/{sp,dp} transforms
Patch Changes
  • dbcdae3: Fix fontName parsing to handle double quotes
  • c47600d: Export expand DTCGTypesMap for extension use cases.

v5.0.4

Compare Source

Patch Changes
  • 7a238af: Fix an issue with token collisions being way to eager about complaining when values that are identical are "colliding". This cuts collision warnings by 75% or more.

v5.0.3

Compare Source

Patch Changes
  • 3d070f5: Move patch-package to devDependencies and run in prepare instead of postinstall, so it only runs when npm installing locally and not for consumers.
  • 71614da: Wrap structuredClone in loadFile in a try catch, in case we have a JS/TS config file with dynamic content.

v5.0.2

Compare Source

Patch Changes
  • 8e413a2: Fix vulnerable dependencies, patch-package and its transitive tmp dependency in particular.
  • 9f84a81: Remove node-sass from create-react-app example, dart-sass is used now usually.
  • da19c8f: Small patch to allow no-destination "files" to not cause errors when using clean methods.

v5.0.1

Compare Source

Patch Changes
  • 463b456: Simplify internal cleanFile(s) utils, fix a bug that would still attempt to unlink non-existent files in verbosity "silent" mode.
  • 8f7c522: Fix loadFile to deep clone ES module exports to avoid unintended mutations

v5.0.0

Compare Source

Major Changes
  • 02300b1: No longer allow references to non-token leaf nodes. References only work when referencing a Design Token (its value).
    Non-token nodes will also not make it to the output, because they are filtered out during the flattening process to tokenMap and tokenArray.
    Remove allowing references with .value suffix.
  • f19a0cb: BREAKING: no longer possible to pass options to change the reference syntax {ref.foo}. The opening, closing and separator characters are now set to be aligned with the DTCG spec.
  • 02300b1: BREAKING: minimum NodeJS version required is now v22.0.0 (LTS, at time of writing this). This is to support Set.prototype.union which we utilize in our token reference resolution utility, and it's important to use the cheaper built-in versus doing a union manually.
Minor Changes
  • 02300b1: Support passing Token Map structure to getReferences and resolveReferences utils.
  • b80e75b: When transform hooks throw errors, they will now be caught and error-handled by Style Dictionary.
    Instead of causing a fatal failure, the error is collected and logged as a warning at the end.
    With verbosity turned to "verbose", information about which tokens in which files are causing an error in which transform, to help debugging the problem.
    Sensible fallbacks are used when a transform cannot complete.
Patch Changes
  • a23f353: SD will use posix style paths ('/') as much as possible and rely on node:fs to translate to win32 paths whenever a call to the filesystem is done. The exception is for dynamic imports of JS files (SD config, token files).
  • a23f353: Allow buildPaths without a trailing slash, by making use of path.join() utility.
  • 9bbbc8a: Dynamically import prettier and plugins so that they can be chunked separately by bundlers, and only imported on demand. This will significantly improve bundle size for users of Style Dictionary.

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone America/New_York, Automerge - Monday through Friday ( * * * * 1-5 ) in timezone America/New_York.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@renovate renovate bot added dependencies Pull requests that update a dependency file renovate-bot labels Jun 3, 2025
@renovate renovate bot added dependencies Pull requests that update a dependency file renovate-bot labels Jun 3, 2025
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 2 times, most recently from 84ad33f to b29b4ce Compare June 16, 2025 04:00
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 2 times, most recently from 8fe4f74 to 8111409 Compare July 2, 2025 04:51
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 3 times, most recently from bd02504 to 60d7068 Compare July 28, 2025 05:00
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 2 times, most recently from ae99fd6 to 6e7e5f5 Compare July 30, 2025 08:41
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 4 times, most recently from a9526d3 to f5d4d29 Compare August 13, 2025 04:55
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 3 times, most recently from 5e461e2 to fb4bd5d Compare August 21, 2025 08:09
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 2 times, most recently from 34cb691 to bd89b63 Compare September 4, 2025 04:33
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 3 times, most recently from 8d83bb3 to 532cf76 Compare September 15, 2025 07:08
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch from 532cf76 to 0bd092c Compare September 26, 2025 06:54
@renovate renovate bot added mend-bot and removed renovate-bot labels Sep 26, 2025
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 2 times, most recently from 52183d0 to 27bdec7 Compare October 1, 2025 04:06
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch from 27bdec7 to 6d40de2 Compare October 10, 2025 06:45
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch from 6d40de2 to 184a7ca Compare October 18, 2025 06:02
@renovate renovate bot added renovate-bot and removed mend-bot labels Oct 18, 2025
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch 2 times, most recently from 5e1cad9 to dbabd45 Compare October 23, 2025 04:56
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/style-dictionary-5.x branch from dbabd45 to 41cfd54 Compare October 30, 2025 04:05
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 renovate-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant