Socket
Socket
Sign inDemoInstall

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 Versions

13
11

7.0.0

Diff

Changelog

Source

[7.0.0]

  • Imports are now resolved using resolve-from @stevenbenisek
  • Aliases are now recursively resolved if value is an object or array

⚠️ Breaking changes

  • Due to how imports are resolved, my-aliases will now point to ./node_modules/my-aliases instead of ./my-aliases. Local imports should include the relative path (./, ../)
salesforce-ux
published 6.0.0 •

Changelog

Source

[6.0.0]

Theo v6 is a complete re-write that allowed us to fix some long standing issues and separate the core engine from the Gulp plugin.

  • Handlebars support for registerFormat() (@kaelig)
  • Formats can now receive additional options
  • Added new formats
  • CLI support (@nickbalestra @tomger)
  • Array support for "props" (as long as each prop has a "name" key) which will preserve prop order in the final output
  • Bug fixes and documentation for several existing formats (@corygibbons @dennisreimann @micahwood @didoo)

Big thanks to @kaelig for helping kickstart this release and to all the alpha/beta testers who reported issues and fixed bugs!

⚠️ Breaking changes

  • Aliases are only available to files that directly import them – see #101
  • The Gulp plugin is in a separate gulp-theo package
  • Renamed the .meta key to meta
  • Removed the includeRawValue option in favor of always adding an originalValue key in each transformed prop

Migration guide

If you would like to keep using Theo as a Gulp plugin with Theo v6, here is what a typical update would look like:

salesforce-ux
published 6.0.0-beta.10 •

salesforce-ux
published 6.0.0-beta.9 •

salesforce-ux
published 6.0.0-beta.8 •

salesforce-ux
published 6.0.0-beta.7 •

salesforce-ux
published 6.0.0-beta.6 •

salesforce-ux
published 6.0.0-beta.5 •

salesforce-ux
published 6.0.0-beta.4 •

salesforce-ux
published 6.0.0-beta.3 •

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