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

react-style-tag

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-style-tag - npm Package Versions

23

3.0.1

Diff

Changelog

Source

3.0.1

  • #55 - link / style tags no longer migrated to document.head
planttheidea
published 3.0.0 •

Changelog

Source

3.0.0

Breaking Changes

  • Versions of React prior to 16.8.0 (aka, when hooks were introduced) are no longer supported
  • Specific ES2015 features are now expected
    • String.prototype.trimEnd()
    • Object.assign()
  • Style no longer has the static setGlobalOptions method applied (use the dedicated import)
  • isCompressed has been deprecated, as it is no longer supported by stylis

Enhancements

  • Rewritten in TypeScript with exposed types, as requested in #49
  • Updated to support React 18, as requested in #53
  • Updated stylis to latest version, which has significantly better performance
planttheidea
published 2.0.5 •

Changelog

Source

2.0.5

  • #34 - process is not defined for some build environments
planttheidea
published 2.0.4 •

Changelog

Source

2.0.4

  • #38 - Another another fix for deprecated lifecycle methods, this time due to a lack of React 17 support
planttheidea
published 2.0.3 •

Changelog

Source

2.0.3

  • #30 - Another fix for deprecated lifecycle methods (moving to normal prefixed version instead of getSnapshotBeforeUpdate)
planttheidea
published 2.0.2 •

Changelog

Source

2.0.2

  • #26 - Fix React version check for deprecated lifecycle methods
planttheidea
published 2.0.1 •

Changelog

Source

2.0.1

  • README fixes
planttheidea
published 2.0.0 •

Changelog

Source

2.0.0

  • Rewritten using stylis for both footprint and performance
BREAKING CHANGES
  • Style is now a named export instead of the default export
  • Names of props have changed
    • doNotPrefix => isPrefixed (but inverse, naturally)
NEW FEATURES
  • CSS now offers nesting via use of & reference, for simplified declaration of styles
  • isCompressed prop will enable aggressive CSS compression
planttheidea
published 1.4.1 •

Changelog

Source

1.4.1

  • Use prop-types package instead of React.PropTypes for React 16 support
  • Move react to peerDependencies
  • Remove moize dependency for simple memoization
planttheidea
published 1.4.0 •

Changelog

Source

1.4.0

  • Add autoprefixerOptions as both instance and global option (provides custom configuration of interal prefixing via autoprefixer) - thanks @oasisvali
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