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

theo

Package Overview
Dependencies
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

theo - npm Package Compare versions

Comparing version 6.0.0-beta.4 to 6.0.0-beta.5

20

lib/definition.js

@@ -136,9 +136,9 @@ // Copyright (c) 2015-present, salesforce.com, inc. All rights reserved

def.get('imports').reduce((aliases, i) =>
aliases.merge(i.get('aliases', Immutable.Map()))
, Immutable.Map()).merge(aliases)
aliases.merge(i.get('aliases', Immutable.OrderedMap()))
, Immutable.OrderedMap()).merge(aliases)
)
.update('props', props =>
def.get('imports').reduce((props, i) =>
props.merge(i.get('props', Immutable.Map()))
, Immutable.Map()).merge(props)
props.merge(i.get('props', Immutable.OrderedMap()))
, Immutable.OrderedMap()).merge(props)
)

@@ -191,6 +191,14 @@ .delete('imports')

.get('props')
.traverse(Either.of, prop =>
options.get('transforms', Immutable.List()).reduce((p, t) =>
.keySeq()
.toList()
.traverse(Either.of, key => {
const prop = def.getIn(['props', key])
return options.get('transforms', Immutable.List()).reduce((p, t) =>
p.chain(transformValue(t))
, Either.of(prop))
})
.map(props =>
props.reduce((props, prop) =>
props.set(prop.get('name'), prop)
, Immutable.OrderedMap())
)

@@ -197,0 +205,0 @@ .map(props =>

{
"name": "theo",
"version": "6.0.0-beta.4",
"version": "6.0.0-beta.5",
"license": "BSD-3-Clause",

@@ -5,0 +5,0 @@ "description": "Design Tokens formatter",

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