Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tokens-studio/sd-transforms

Package Overview
Dependencies
Maintainers
0
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tokens-studio/sd-transforms - npm Package Versions

1
9

0.14.0

Diff

Changelog

Source

0.14.0

Minor Changes

  • 03e3819: Add W3C Design Token Community Group draft spec forward compatibility.
jorenbroekema
published 0.13.4 •

Changelog

Source

0.13.4

Patch Changes

  • 8bde22d: Support references in color modifiers now that style-dictionary transformers can defer themselves.
  • 771428a: Fix expanding composition tokens flattening to not occur for certain object values and resulting in [object Object].
jorenbroekema
published 0.13.3 •

Changelog

Source

0.13.3

Patch Changes

  • cfc0c3d: Fix rgba(hex, alpha) regex to allow percentages, add more tests for different types of alpha values.
jorenbroekema
published 0.13.2 •

Changelog

Source

0.13.2

Patch Changes

  • 3f97dc2: Remove trailing console logs from previous update.
jorenbroekema
published 0.13.1 •

Changelog

Source

0.13.1

Patch Changes

  • 7409419: Use expr-eval-fork to work around a prototype pollution vulnerability in the original package.
jorenbroekema
published 0.13.0 •

Changelog

Source

0.13.0

Minor Changes

  • 6c95fe4: BREAKING: remove code that allowed user to not pass StyleDictionary instance to registerTransforms, and grabbed the locally installed StyleDictionary automatically. This seemed like a cool feature at first, but can cause hard to trace bugs if there are multiple installations of style-dictionary (due to incompatible semver).
  • 6c95fe4: Will now use preprocessors instead of parsers when user Style-Dictionary is v4.0.0-prerelease.2 or higher. Fixes an issue with multi-file references not being resolvable when running composite token expansion or add font style utilities.
jorenbroekema
published 0.12.2 •

Changelog

Source

0.12.2

Patch Changes

  • 7dad579: Workaround fix in color modifiers transform to allow UIColor format. This workaround should be removed (in a breaking change) if https://github.com/amzn/style-dictionary/issues/1063 gets resolved and post-transitive transforms become a thing.
jorenbroekema
published 0.12.1 •

Changelog

Source

0.12.1

Patch Changes

  • e7ecf43: Fixes transform HEXRGBa format when this format is contained within a value, e.g. linear-gradient() or multi-value.
jorenbroekema
published 0.12.0 •

Changelog

Source

0.12.0

Minor Changes

  • 6f4b5ed: BREAKING: swap expandComposites 2nd argument and 3rd argument. 2nd argument is now TransformOptions and 3rd argument the filePath (string). This used to be vice versa and was inconsistent with the other parser functions.
  • 6f4b5ed: Add and expose a parseTokens function to make it more developer friendly to add the sd-transforms parsing step to your own custom parser.
  • f7e88b6: BREAKNG: Use structuredClone instead of shallow Object.assign copy in parsers. Must use NodeJS v17 at minimum now, as opposed to v15.14.0 before this update.
  • 6f4b5ed: Add the addAttributeCTI option to registerTransforms function, to automatically add attribute/cti predefined transform to the tokens-studio transformGroup.

Patch Changes

  • 2307b9d: Refined CSS font name processing: Enhanced escapeApostrophes for accurate apostrophe handling in font names. Updated quoteWrapWhitespacedFont for smart quoting and escaping in multi-word fonts. Ensures better CSS font family compatibility.
jorenbroekema
published 0.11.10 •

Changelog

Source

0.11.10

Patch Changes

  • 8c2e03f: Fix types for expandComposites functions, no longer trips up on key value pairs with primitive values during parsing process.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc