Socket
Socket
Sign inDemoInstall

html-postcss

Package Overview
Dependencies
28
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

10

package.json
{
"name": "html-postcss",
"version": "0.1.0",
"version": "0.1.1",
"description": "PostCSS for inline HTML CSS",

@@ -26,10 +26,10 @@ "main": "index.js",

"chai": "^3.2.0",
"istanbul": "^0.3.17",
"mocha": "^2.2.5",
"sinon": "^1.15.4"
"istanbul": "^0.3.19",
"mocha": "^2.3.2",
"sinon": "^1.16.1"
},
"dependencies": {
"cheerio": "^0.19.0",
"postcss": "^4.1.16"
"postcss": "^5.0.4"
}
}

@@ -46,8 +46,7 @@ 'use strict';

it('can pass postcss options', function() {
var htmlString = '<html><style>body { color: black;</style></html>';
var expected = '<html><style>body { color: black;}</style></html>';
var actual = processor.process(htmlString, null, { safe: true });
expect(actual).to.equal(expected);
var htmlString = '<html><style>body { color: black; }</style></html>';
var actual = processor.process(htmlString, null, { map: true });
expect(actual).to.contain('sourceMappingURL=');
});
});
});

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc