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

unify-token

Package Overview
Dependencies
Maintainers
3
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unify-token - npm Package Compare versions

Comparing version 1.4.0-beta-1 to 1.4.0-beta-2

2

build/typography.js

@@ -67,2 +67,2 @@ const fontType = {

module.exports = {fontType,fontTypeRAW,fontSize,fontSizeRAW,fontWeight,fontWeightRAW,lineHeight,lineHeightRAW};
module.exports = {fontType,fontSize,fontSizeRAW,fontWeight,lineHeight,lineHeightRAW};

@@ -82,4 +82,2 @@ const camelCase = require('lodash/camelCase');

exportVal = [...exportVal, name, name + 'RAW'];
if (unit) {

@@ -121,6 +119,8 @@ unit.map((key, index) => unitObject[index] = key)

exportVal = [...exportVal, name, !unitWhitelist.includes(category) ? name + 'RAW' : ''];
return mainModule + rawModule
}).toJS().join('\n')
return `${res}\nmodule.exports = {${exportVal.join(',')}};`
return `${res}\nmodule.exports = {${exportVal.filter(Boolean).join(',')}};`
})

@@ -127,0 +127,0 @@

{
"name": "unify-token",
"version": "1.4.0-beta-1",
"version": "1.4.0-beta-2",
"description": "Design Tokens for the Unify Design System",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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