Socket
Socket
Sign inDemoInstall

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 Compare versions

Comparing version 6.0.0 to 7.0.0

14

CHANGELOG.md
# Changes to sanitize.css
### 7.0.0 (August 22, 2018)
- Use the default user interface font in all browsers (opinionated).
- Use the default monospace user interface font in all browsers (opinionated).
- Use a 4-space tab width in all browsers (opinionated).
- Fix correction of cursor style of increment and decrement buttons
in Safari, not Chrome.
- Correct the text style of placeholders in Chrome, Edge, and Safari.
- Remove unnecessary form control margin normalizations in Firefox.
- Remove opinionated fieldset padding in all browsers.
- Remove `::-moz-focus-inner` and `:-moz-focusring` normalizations
fixed in Firefox 53
https://bugzilla.mozilla.org/show_bug.cgi?id=140562
### 6.0.0 (June 24, 2018)

@@ -4,0 +18,0 @@

4

package.json
{
"name": "sanitize.css",
"version": "6.0.0",
"version": "7.0.0",
"description": "A best-practices CSS foundation",

@@ -24,3 +24,3 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>",

"devDependencies": {
"stylelint": "^9.3.0",
"stylelint": "^9.5.0",
"stylelint-config-standard": "^18.2.0"

@@ -27,0 +27,0 @@ },

@@ -6,4 +6,6 @@ # sanitize.css [<img src="https://csstools.github.io/sanitize.css/logo.svg" alt="sanitize" width="90" height="90" align="right">][sanitize.css]

## Usage
## How to get it
**NPM**
```sh

@@ -17,2 +19,35 @@ npm install --save sanitize.css

**CDN**
see https://cdnjs.com/libraries/10up-sanitize.css
### Usage in npm and webpack
Import [sanitize.css] in CSS:
```css
@import '~sanitize.css';
```
Alternatively, import [sanitize.css] in JS:
```js
import 'sanitize.css';
```
In `webpack.config.js`, be sure to use the appropriate loaders:
```js
module.exports = {
module: {
rules: [
{
test: /\.css$/,
use: [ 'style-loader', 'css-loader' ]
}
]
}
}
```
## What does it do?

@@ -19,0 +54,0 @@

Sorry, the diff of this file is not supported yet

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