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

sanitize.css

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sanitize.css - npm Package Versions

123

2.0.0

Diff

Changelog

Source

2.0.0 (September 3, 2015)

  • Added: Visually hidden element style [hidden][aria-hidden="false"]
  • Added: Currently updating element style [aria-busy="true"]
  • Added: Trigger element style [aria-controls]
  • Added: Color style for html
  • Added: CHANGELOG.md
  • Removed: Standards-breaking visually hidden style [hidden~="screen"]
  • Removed: Standards-breaking IE-proprietary style [unselectable="on"]
  • Removed: Prefix-less properties and the use of Autoprefixer
  • Updated: Form styling
  • Updated: Support for the latest Chrome, Edge, Firefox, and Safari
  • Updated: Licensing reference in package.json
  • Updated: Development dependencies
  • Updated: README.md and code documentation
jonathantneal
published 1.1.0 •

Changelog

Source

1.1.0 (March 20, 2015)

  • Added: Form support
  • Updated: Normalization
  • Updated: Border assignment
jonathantneal
published 1.0.0 •

Changelog

Source

1.0.0 (11 6, 2012)

  • Updated: Moved from normalize.css to sanitize.css

Normalize.css had and still has opinionated, developer-centric styles. For example, sub and sup elements are styled to not impact the line height of text, and table, th, and td omit all spacing. As Nicolas pushed Normalize.css into maturity, future preferences like these no longer had a place in the project. Almost a year later, Sanitize was officially branded. Where Normalize.css conservatively follows user agent consensus and results in more pre-styled elements, Sanitize.css liberally follows developer consensus and results in more unstyled elements.

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