Comparing version 4.2.0 to 4.2.1
136
History.md
@@ -1,13 +0,14 @@ | ||
4.2.0 / 2017-10-05 | ||
================== | ||
# 4.2.1 / 2017-10-20 | ||
* Fix regex catastophic backtracking issue with unclosed code blocks | ||
# 4.2.0 / 2017-10-05 | ||
* Adds support for `preserveImportant` to CLI | ||
4.0.1 / 2016-11-24 | ||
================== | ||
# 4.0.1 / 2016-11-24 | ||
* Updated typescript definitions | ||
4.0.0 / 2016-11-17 | ||
================== | ||
# 4.0.0 / 2016-11-17 | ||
@@ -18,14 +19,11 @@ * deps: update web-resource-inliner and cross-spawn | ||
3.0.1 / 2016-10-06 | ||
================== | ||
# 3.0.1 / 2016-10-06 | ||
* deps: install mensch from npm instead of github | ||
3.0.0 / 2016-06-01 | ||
================== | ||
# 3.0.0 / 2016-06-01 | ||
* deps: upgrade web-resource-inliner, change cross-spawn-async to cross-spawn, move batch to devDeps | ||
2.0.0 / 2016-05-24 | ||
================== | ||
# 2.0.0 / 2016-05-24 | ||
@@ -37,4 +35,3 @@ * fix: specificity bugs | ||
1.11.0 / 2016-05-11 | ||
================== | ||
# 1.11.0 / 2016-05-11 | ||
@@ -44,4 +41,3 @@ * feat: exclude css properties from inliner with juiceClient.excludedProperties | ||
1.10.0 / 2016-02-25 | ||
================== | ||
# 1.10.0 / 2016-02-25 | ||
@@ -52,14 +48,11 @@ * cli: correctly handle absolute path for `optionsFile` | ||
1.9.0 / 2016-01-04 | ||
================== | ||
# 1.9.0 / 2016-01-04 | ||
* Add option `insertPreservedExtraCss` | ||
1.8.1 / 2015-12-01 | ||
================== | ||
# 1.8.1 / 2015-12-01 | ||
* Switch xtend to deep-extend to fix issue loading webResources settings when using --options-file | ||
1.8.0 / 2015-11-23 | ||
================== | ||
# 1.8.0 / 2015-11-23 | ||
@@ -72,4 +65,3 @@ * Make all options available through CLI | ||
1.7.0 / 2015-11-03 | ||
================== | ||
# 1.7.0 / 2015-11-03 | ||
@@ -80,4 +72,3 @@ * Refactor to provide browser support at `juice/client` | ||
1.6.0 / 2015-10-26 | ||
================== | ||
# 1.6.0 / 2015-10-26 | ||
@@ -87,4 +78,3 @@ * Add feature `data-embed` attribute | ||
1.5.0 / 2015-09-25 | ||
================== | ||
# 1.5.0 / 2015-09-25 | ||
@@ -95,4 +85,3 @@ * Exclude non-visual tags from inlining | ||
1.4.0 / 2015-08-19 | ||
================== | ||
# 1.4.0 / 2015-08-19 | ||
@@ -102,9 +91,7 @@ * Add extra CSS option to CLI | ||
1.3.3 / 2015-07-14 | ||
================== | ||
# 1.3.3 / 2015-07-14 | ||
* Prevent mangling of EJS tags | ||
1.3.0 / 2015-07-02 | ||
================== | ||
# 1.3.0 / 2015-07-02 | ||
@@ -114,19 +101,15 @@ * Add option `preserveImportant` | ||
1.2.0 / 2015-05-21 | ||
================== | ||
# 1.2.0 / 2015-05-21 | ||
* Add `xmlMode` option | ||
1.1.2 / 2015-05-08 | ||
================== | ||
# 1.1.2 / 2015-05-08 | ||
* remove index.js and point `main` in package.json to `/lib/juice.js` | ||
1.1.1 | ||
================== | ||
# 1.1.1 | ||
* publish with line endings fixed in /bin | ||
1.1.0 / 2015-05-04 | ||
================== | ||
# 1.1.0 / 2015-05-04 | ||
@@ -136,4 +119,3 @@ * Fix order of inlined style properties. Now sorted by selector specificity, resulting in the same computed styles that the original CSS would have had. | ||
1.0.2 / 2015-04-27 | ||
================== | ||
# 1.0.2 / 2015-04-27 | ||
@@ -144,4 +126,3 @@ * added option `applyAttributesTableElements` | ||
1.0.1 / 2015-02-22 | ||
================== | ||
# 1.0.1 / 2015-02-22 | ||
@@ -153,4 +134,3 @@ * legacy support for `url` option | ||
1.0.0 / 2015-02-12 | ||
================== | ||
# 1.0.0 / 2015-02-12 | ||
@@ -171,4 +151,3 @@ * add support for node 0.12 | ||
0.5.0 / 2014-09-08 | ||
================== | ||
# 0.5.0 / 2014-09-08 | ||
@@ -179,9 +158,7 @@ * update dependencies [binarykitchen] | ||
0.4.0 / 2013-04-15 | ||
================== | ||
# 0.4.0 / 2013-04-15 | ||
* update jsdom dependency to 0.6.0 | ||
0.3.3 / 2013-04-08 | ||
================== | ||
# 0.3.3 / 2013-04-08 | ||
@@ -192,14 +169,11 @@ * fix resolving file:// paths on windows (thanks Mirco Zeiss) | ||
0.3.2 / 2013-03-26 | ||
================== | ||
# 0.3.2 / 2013-03-26 | ||
* fix regression: not ignoring pseudos | ||
0.3.1 / 2013-03-26 | ||
================== | ||
# 0.3.1 / 2013-03-26 | ||
* do not crash on ::selectors (covered by normalize.css test case) | ||
0.3.0 / 2013-03-26 | ||
================== | ||
# 0.3.0 / 2013-03-26 | ||
@@ -210,9 +184,7 @@ * update jsdom dependency to 0.5.4 | ||
0.2.0 / 2013-02-13 | ||
================== | ||
# 0.2.0 / 2013-02-13 | ||
* update jsdom dependency to 0.5.0 | ||
0.1.3 / 2013-02-12 | ||
================== | ||
# 0.1.3 / 2013-02-12 | ||
@@ -222,9 +194,7 @@ * fix specificity test. all test cases passed now. | ||
0.1.2 / 2013-02-11 | ||
================== | ||
# 0.1.2 / 2013-02-11 | ||
* fix incorrectly lowercasing <link> href | ||
0.1.1 / 2013-02-11 | ||
================== | ||
# 0.1.1 / 2013-02-11 | ||
@@ -235,4 +205,3 @@ * explicitly document which node versions are supported | ||
0.1.0 / 2013-02-07 | ||
================== | ||
# 0.1.0 / 2013-02-07 | ||
@@ -247,4 +216,3 @@ * fix / test case for @media queries | ||
0.0.9 / 2013-02-07 | ||
================== | ||
# 0.0.9 / 2013-02-07 | ||
@@ -254,4 +222,3 @@ * update jsdom dependency to 0.4.0 | ||
0.0.8 / 2013-02-06 | ||
================== | ||
# 0.0.8 / 2013-02-06 | ||
@@ -262,4 +229,3 @@ * expose a lower level export so you can operate on a jsdom document [superjoe30] | ||
0.0.7 / 2013-02-06 | ||
================== | ||
# 0.0.7 / 2013-02-06 | ||
@@ -272,4 +238,3 @@ * fixed test case expected outputs to have starting and ending <html> and <body> tags as jsdom appends them in its html() function if they do not exist | ||
0.0.6 / 2011-12-20 | ||
================== | ||
# 0.0.6 / 2011-12-20 | ||
@@ -281,4 +246,3 @@ * Corrected juice unit tests for latest cssom. | ||
0.0.5 / 2011-10-10 | ||
================== | ||
# 0.0.5 / 2011-10-10 | ||
@@ -289,20 +253,16 @@ * Added whitelist of pseudos to ignore (fixes `:first-child` etc) | ||
0.0.4 / 2011-10-10 | ||
================== | ||
# 0.0.4 / 2011-10-10 | ||
* Fixed `:hover`. | ||
0.0.3 / 2011-10-09 | ||
================== | ||
# 0.0.3 / 2011-10-09 | ||
* Fixed specificity :not recursion. | ||
0.0.2 / 2011-10-09 | ||
================== | ||
# 0.0.2 / 2011-10-09 | ||
* Fixed specificity calculation for `not()` and pseudos. [arian] | ||
0.0.1 / 2011-10-09 | ||
================== | ||
# 0.0.1 / 2011-10-09 | ||
* Initial release. |
@@ -18,3 +18,3 @@ 'use strict'; | ||
Object.keys(blocks).forEach(function(key) { | ||
var re = new RegExp(blocks[key].start + '((.|\\s)*?)' + blocks[key].end, 'g'); | ||
var re = new RegExp(blocks[key].start + '([\\S\\s]*?)' + blocks[key].end, 'g'); | ||
html = html.replace(re, function(match, subMatch) { | ||
@@ -21,0 +21,0 @@ return '<!--' + key + ' ' + blocks[key].start + subMatch + blocks[key].end + ' -->'; |
{ | ||
"name": "juice", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Inlines css into html source", | ||
@@ -5,0 +5,0 @@ "bin": "bin/juice", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1240268