Socket
Socket
Sign inDemoInstall

inline-css

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inline-css - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

4

package.json
{
"name": "inline-css",
"version": "2.3.1",
"version": "2.4.0",
"description": "Inline css into an html file.",

@@ -14,3 +14,3 @@ "main": "index.js",

"extend": "^3.0.1",
"extract-css": "^1.1.1",
"extract-css": "^1.2.0",
"flatten": "^1.0.2",

@@ -17,0 +17,0 @@ "object.pick": "^1.3.0",

@@ -184,2 +184,10 @@ # inline-css [![npm](http://img.shields.io/npm/v/inline-css.svg?style=flat)](https://badge.fury.io/js/inline-css) [![Build Status](https://travis-ci.org/jonkemp/inline-css.svg?branch=master)](https://travis-ci.org/jonkemp/inline-css) [![Coverage Status](https://coveralls.io/repos/jonkemp/inline-css/badge.svg?branch=master&service=github)](https://coveralls.io/github/jonkemp/inline-css?branch=master)

### Special markup
#### data-embed
When a data-embed attribute is present on a <style></style> tag, inline-css will not inline the styles and will not remove the <style></style> tags.
This can be used to embed email client support hacks that rely on css selectors into your email templates.
### cheerio options

@@ -186,0 +194,0 @@

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