html-postcss
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"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
2076676
66
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-flag@1.0.0(transitive)
+ Addedjs-base64@2.6.4(transitive)
+ Addedpostcss@5.2.18(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.03.2.3(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedes6-promise@2.3.0(transitive)
- Removedjs-base64@2.1.9(transitive)
- Removedpostcss@4.1.16(transitive)
- Removedsource-map@0.4.4(transitive)
Updatedpostcss@^5.0.4