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

radium

Package Overview
Dependencies
Maintainers
32
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radium - npm Package Versions

13
7

0.22.0

Diff

Changelog

Source

0.22.0 (February 9, 2018)

Breaking Changes

  • Radium now exports defaults as .default, so for runtimes like Node.js for all files in lib/**. We have changed package.json:main to point to /index.js instead of /lib/index.js as a convenience wrapper to expose mostly what was there before so behavior of const Radium = require('radium'); works mostly as it did before. Caveats:
    • When using webpack2+ to build code with require('radium') in it you will need to change that to become require('radium').default.
    • Any imports of a default export from a file in lib like const Enhancer = require('radium/lib/enhancer'); will need to be changed to const Enhancer = require('radium/lib/enhancer').default;.
    • We have a full examples repository of how imports work in all likely scenarios that should come up. https://github.com/FormidableLabs/radium-experiments-v0.22

Features

  • Add es ESM module export files.

Fixes

  • Fix package.json:scripts.postinstall task to correctly work for git-based dependencies.
ryan.roemer
published 0.21.2 •

Changelog

Source

0.21.2 (January 25, 2018)

  • Fix multiple-value prefixed inline styles. (#962, #958, #951)
ryan.roemer
published 0.21.1 •

Changelog

Source

0.21.1 (January 18, 2018)

  • Call componentDidUpdate() inherited method (#957).
stefvhuynh
published 0.21.0 •

Changelog

Source

0.21.0 (January 8, 2018)

  • Automatically clear browser state of elements when unmounting and remounting (#956).
    • resolveStyles returns { extraRadiumStateKeys, element } instead of just element.
ryan.roemer
published 0.20.1 •

Changelog

Source

0.20.1 (January 8, 2018)

  • Fix v0.20.0 build.
stefvhuynh
published 0.20.0 •

Changelog

Source

0.20.0 (January 8, 2018)

  • Upgrade inline-style-prefixer to version ^4.0.0.
ryan.roemer
published 0.19.6 •

Changelog

Source

0.19.6 (October 5, 2017)

  • Allow native ES classes to be used with the Radium enhancer.
ryan.roemer
published 0.19.5 •

Changelog

Source

0.19.5 (October 5, 2017)

  • Enable React 16 in peerDependencies and update tests to React 16.
ryan.roemer
published 0.19.4 •

Changelog

Source

0.19.4 (July 21, 2017)

  • Remove .babelrc from published npm registry package.
ryan.roemer
published 0.19.3 •

Changelog

Source

0.19.3 (July 20, 2017)

  • Remove publishr from prod dependencies in npm registry package.
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