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
5
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 Compare versions

Comparing version 1.2.4 to 1.2.5

2

dist/css/transformHEXRGBa.js

@@ -26,3 +26,3 @@ import Color from 'colorjs.io';

const transformProp = (val, prop) => {
if (val[prop] !== undefined) {
if (val[prop] !== undefined && typeof val[prop] === 'string') {
val[prop] = transformHEXRGBa(val[prop]);

@@ -29,0 +29,0 @@ }

@@ -146,3 +146,4 @@ import { transformDimension } from './transformDimension.js';

transitive: true,
filter: token => (token.$type ?? token.type) === 'color' &&
filter: token => typeof (token.$value ?? token.value) === 'string' &&
(token.$type ?? token.type) === 'color' &&
token.$extensions &&

@@ -149,0 +150,0 @@ token.$extensions['studio.tokens']?.modify,

{
"name": "@tokens-studio/sd-transforms",
"version": "1.2.4",
"version": "1.2.5",
"description": "Custom transforms for Style-Dictionary, to work with Design Tokens that are exported from Tokens Studio",

@@ -5,0 +5,0 @@ "license": "MIT",

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