New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tfk-samf/figma-to-dtcg

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tfk-samf/figma-to-dtcg - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

dist/index.js

@@ -81,3 +81,3 @@ const figmaDesignTokenTypeMap = {

const isAlias = (v) => !!v.type && !!v.id;
const isForeground = ({ name: _name }) => !!_name.match(/^Foreground\/(Dark|Light)\/(Primary|Secondary|Disabled)$/);
const isForeground = ({ name: _name }) => !!_name.match(/^Foreground\/([\w\s]+)\/(Primary|Secondary|Disabled)$/);
const isColorPalette = ({ name: _name }) => !!_name.match(/^[A-Za-z]+\/\d+\/Background$/);

@@ -84,0 +84,0 @@ let _value;

{
"name": "@tfk-samf/figma-to-dtcg",
"version": "0.3.1",
"version": "0.3.2",
"description": "Parse Figma Variables Plugin API and REST API into design tokens.",

@@ -35,3 +35,3 @@ "files": [

},
"gitHead": "498e10f575799c6ea205d80ad72fc1cb1f27be9a"
"gitHead": "4290c60bd6007d3e4a696ee7712e0065d3ccb461"
}
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