html-minifier.git
6 years agoVersion 3.5.13
alexlamsl [Sat, 31 Mar 2018 12:07:13 +0000 (20:07 +0800)]
Version 3.5.13

6 years agofix race in QUnit web test (#899)
Alex Lam S.L [Thu, 29 Mar 2018 07:03:25 +0000 (16:03 +0900)]
fix race in QUnit web test (#899)

6 years agoreduce dependencies (#898)
Alex Lam S.L [Thu, 29 Mar 2018 06:35:08 +0000 (15:35 +0900)]
reduce dependencies (#898)

- inline `ncname`

6 years agoVersion 3.5.12
alexlamsl [Mon, 19 Mar 2018 18:32:01 +0000 (02:32 +0800)]
Version 3.5.12

6 years agofix corner case in `decodeEntities` (#894)
Alex Lam S.L [Mon, 19 Mar 2018 18:13:53 +0000 (02:13 +0800)]
fix corner case in `decodeEntities` (#894)

fixes #893

6 years agoVersion 3.5.11
alexlamsl [Wed, 14 Mar 2018 18:48:12 +0000 (02:48 +0800)]
Version 3.5.11

6 years agoallow disabling of default flags on CLI (#892)
Alex Lam S.L [Wed, 14 Mar 2018 18:32:51 +0000 (02:32 +0800)]
allow disabling of default flags on CLI (#892)

fixes #860

6 years agotest Node.js 8 instead of 7
alexlamsl [Wed, 14 Mar 2018 17:54:25 +0000 (01:54 +0800)]
test Node.js 8 instead of 7

6 years agoupdate dependencies
alexlamsl [Wed, 14 Mar 2018 17:26:07 +0000 (01:26 +0800)]
update dependencies
commander 2.15.0

6 years agoRepackage with `clean-css@4.1.11`
alexlamsl [Tue, 6 Mar 2018 17:07:58 +0000 (01:07 +0800)]
Repackage with `clean-css@4.1.11`

6 years agoVersion 3.5.10
alexlamsl [Sun, 4 Mar 2018 10:34:33 +0000 (18:34 +0800)]
Version 3.5.10

6 years agoAdd "ol" and "ul" to nonPhrasing (#889)
Wei Xu [Fri, 2 Mar 2018 08:28:53 +0000 (19:28 +1100)]
Add "ol" and "ul" to nonPhrasing (#889)

fixes #888

6 years agopreserve whitespace around custom fragments within `<pre>` (#885)
Alex Lam S.L [Thu, 15 Feb 2018 21:44:49 +0000 (05:44 +0800)]
preserve whitespace around custom fragments within `<pre>` (#885)

fixes #836

6 years agoVersion 3.5.9
alexlamsl [Thu, 8 Feb 2018 19:29:02 +0000 (03:29 +0800)]
Version 3.5.9

6 years agoupdate dependencies (#884)
Alex Lam S.L [Thu, 8 Feb 2018 19:09:49 +0000 (03:09 +0800)]
update dependencies (#884)

commander 2.14.1
minimize 2.2.0

6 years agotest minified asset
alexlamsl [Thu, 8 Feb 2018 10:14:11 +0000 (18:14 +0800)]
test minified asset

6 years agofix corner cases in `collapseWhitespace` (#883)
Alex Lam S.L [Wed, 7 Feb 2018 13:12:51 +0000 (21:12 +0800)]
fix corner cases in `collapseWhitespace` (#883)

fixes #878

6 years agoupdate online assets
alexlamsl [Thu, 28 Dec 2017 19:42:33 +0000 (03:42 +0800)]
update online assets

6 years agoVersion 3.5.8
alexlamsl [Sun, 24 Dec 2017 20:34:30 +0000 (04:34 +0800)]
Version 3.5.8

6 years agoVersion 3.5.7
alexlamsl [Sat, 25 Nov 2017 22:14:21 +0000 (06:14 +0800)]
Version 3.5.7

6 years agoupdate dependencies
alexlamsl [Sat, 25 Nov 2017 22:01:00 +0000 (06:01 +0800)]
update dependencies
commander 2.12.1
chalk 2.3.0
uglify-js 3.2.0

6 years agoparse `option` element correctly (#869)
Alex Lam S.L [Sat, 25 Nov 2017 21:57:59 +0000 (05:57 +0800)]
parse `option` element correctly (#869)

fixes #866

6 years agodon't automatically throw out trailing semicolons in style attributes (#854)
DChristiany [Thu, 26 Oct 2017 07:07:00 +0000 (09:07 +0200)]
don't automatically throw out trailing semicolons in style attributes (#854)

fixes #798
fixes #852

6 years agoVersion 3.5.6
alexlamsl [Tue, 17 Oct 2017 22:20:54 +0000 (06:20 +0800)]
Version 3.5.6

6 years agocorrectly parse HTML4 nested inline elements (#861)
Alex Lam S.L [Tue, 17 Oct 2017 21:58:48 +0000 (05:58 +0800)]
correctly parse HTML4 nested inline elements (#861)

fixes #857

7 years agoVersion 3.5.5
alexlamsl [Tue, 12 Sep 2017 17:06:41 +0000 (01:06 +0800)]
Version 3.5.5

7 years agoupdate dependecies
alexlamsl [Tue, 12 Sep 2017 16:45:52 +0000 (00:45 +0800)]
update dependecies
grunt-contrib-uglify 3.1.0

7 years agoPreserve en/em/non-breaking/hair space etc. while minifying (#849)
Andreas Lind [Mon, 11 Sep 2017 22:04:01 +0000 (00:04 +0200)]
Preserve en/em/non-breaking/hair space etc. while minifying (#849)

7 years agoVersion 3.5.4
alexlamsl [Sun, 10 Sep 2017 19:11:24 +0000 (03:11 +0800)]
Version 3.5.4

7 years agoupdate benchmark
alexlamsl [Sun, 10 Sep 2017 18:41:10 +0000 (02:41 +0800)]
update benchmark

7 years agoupdate dependencies
alexlamsl [Sun, 10 Sep 2017 13:56:07 +0000 (21:56 +0800)]
update dependencies
chalk 2.1.0
grunt-browserify 5.2.0
uglify-js 3.1.0

7 years agoVersion 3.5.3
alexlamsl [Sun, 23 Jul 2017 08:06:21 +0000 (16:06 +0800)]
Version 3.5.3

7 years agofix CLI when overwriting input
alexlamsl [Sat, 22 Jul 2017 08:01:50 +0000 (16:01 +0800)]
fix CLI when overwriting input

fixes #829

7 years agoupdate dependencies
alexlamsl [Sun, 16 Jul 2017 15:04:09 +0000 (23:04 +0800)]
update dependencies
chalk 2.0.1
commander 2.11.0
gruntify-eslint 4.0.0

7 years agoMerge pull request #819 from papandreou/patch-1
Alex Lam S.L [Sat, 27 May 2017 09:07:14 +0000 (17:07 +0800)]
Merge pull request #819 from papandreou/patch-1

Fix typo in comment (sorry for introducing it!)

7 years agoFix typo in comment (sorry for introducing it!)
Andreas Lind [Sat, 27 May 2017 09:00:29 +0000 (11:00 +0200)]
Fix typo in comment (sorry for introducing it!)

7 years agoVersion 3.5.2
alexlamsl [Thu, 25 May 2017 09:20:22 +0000 (17:20 +0800)]
Version 3.5.2

7 years agoMerge pull request #817 from papandreou/fix/whitespaceStackHousekeeping
Alex Lam S.L [Thu, 25 May 2017 07:00:21 +0000 (15:00 +0800)]
Merge pull request #817 from papandreou/fix/whitespaceStackHousekeeping

Fix stackNoTrimWhitespace and stackNoCollapseWhitespace housekeeping

7 years agoFix stackNoTrimWhitespace and stackNoCollapseWhitespace housekeeping
Andreas Lind [Wed, 24 May 2017 13:26:49 +0000 (15:26 +0200)]
Fix stackNoTrimWhitespace and stackNoCollapseWhitespace housekeeping

Previously the first encountered end tag matching the top item would
clear it from the stack, regardless of whether the two were actually
a start + end pair.

7 years agoVersion 3.5.1
alexlamsl [Mon, 22 May 2017 13:30:58 +0000 (21:30 +0800)]
Version 3.5.1

7 years agoMerge pull request #813 from papandreou/fix/canCollapseAndTrimWhitespaceHooks
Alex Lam S.L [Mon, 22 May 2017 13:10:29 +0000 (21:10 +0800)]
Merge pull request #813 from papandreou/fix/canCollapseAndTrimWhitespaceHooks

Add the ability for options.can{Trim,Collapse}Whitespace to veto the default implementation when that returns true.

7 years agoAdd the ability for options.can{Trim,Collapse}Whitespace to veto the default implemen...
Andreas Lind [Mon, 22 May 2017 10:19:28 +0000 (12:19 +0200)]
Add the ability for options.can{Trim,Collapse}Whitespace to veto the default implementation when that returns true.

Also, provide the default implementation as the 3rd parameter to the
custom hook so the user doesn't have to reimplement it.

7 years agoMerge pull request #811 from papandreou/fix/consoleLogWhenTesting
Alex Lam S.L [Mon, 22 May 2017 08:55:33 +0000 (16:55 +0800)]
Merge pull request #811 from papandreou/fix/consoleLogWhenTesting

grunt qunit: Don't break in JSON.parse when debug output is generated while running the test suite

7 years agogrunt qunit: Don't break in JSON.parse when debug output is generated while running...
Andreas Lind [Mon, 22 May 2017 07:17:18 +0000 (09:17 +0200)]
grunt qunit: Don't break in JSON.parse when debug output is generated while running the test suite

7 years agoVersion 3.5.0
alexlamsl [Mon, 15 May 2017 20:06:16 +0000 (04:06 +0800)]
Version 3.5.0

7 years agoMerge pull request #809 from kangax/uglify-v3
Alex Lam S.L [Mon, 15 May 2017 19:35:12 +0000 (03:35 +0800)]
Merge pull request #809 from kangax/uglify-v3

upgrade to uglify-js 3.0.5

7 years agoupgrade to uglify-js 3.0.5
alexlamsl [Mon, 15 May 2017 19:26:18 +0000 (03:26 +0800)]
upgrade to uglify-js 3.0.5
bump to clean-css 4.1.2

7 years agoVersion 3.4.4
alexlamsl [Sat, 6 May 2017 12:34:59 +0000 (20:34 +0800)]
Version 3.4.4

7 years agoMerge pull request #807 from kangax/issue-805
Alex Lam S.L [Sat, 6 May 2017 12:12:36 +0000 (20:12 +0800)]
Merge pull request #807 from kangax/issue-805

fix `sortClassName` on custom fragments

7 years agomore tests
alexlamsl [Sat, 6 May 2017 11:52:46 +0000 (19:52 +0800)]
more tests

7 years agofix `sortClassName` on custom fragments
alexlamsl [Sat, 6 May 2017 10:56:58 +0000 (18:56 +0800)]
fix `sortClassName` on custom fragments
Prefer sub-optimal sort over extraneous whitespaces.

fixes #805

7 years agoVersion 3.4.3
alexlamsl [Sun, 9 Apr 2017 07:37:10 +0000 (15:37 +0800)]
Version 3.4.3

7 years agoadjust minifyJS options
alexlamsl [Sun, 9 Apr 2017 07:10:48 +0000 (15:10 +0800)]
adjust minifyJS options
`inline_script` now enabled by default

7 years agoupdate dependencies
alexlamsl [Sun, 9 Apr 2017 07:09:45 +0000 (15:09 +0800)]
update dependencies
grunt-contrib-uglify 2.3.0
progress 2.0.0
uglify-js 2.8.22

7 years agoVersion 3.4.2
alexlamsl [Sun, 19 Mar 2017 06:37:47 +0000 (14:37 +0800)]
Version 3.4.2

7 years agoMerge pull request #796 from kangax/parser-nbsp
Alex Lam S.L [Sun, 19 Mar 2017 06:21:39 +0000 (14:21 +0800)]
Merge pull request #796 from kangax/parser-nbsp

parse whitespace attribute values properly

7 years agoparse whitespace attribute values properly
alexlamsl [Sun, 19 Mar 2017 06:13:04 +0000 (14:13 +0800)]
parse whitespace attribute values properly

7 years agoMerge pull request #795 from kangax/issue-794
Alex Lam S.L [Sun, 19 Mar 2017 05:09:35 +0000 (13:09 +0800)]
Merge pull request #795 from kangax/issue-794

avoid token overriding prototype members

7 years agoavoid token overriding prototype members
alexlamsl [Sun, 19 Mar 2017 05:04:34 +0000 (13:04 +0800)]
avoid token overriding prototype members

fixes #794

7 years agoVersion 3.4.1
alexlamsl [Mon, 13 Mar 2017 20:06:46 +0000 (04:06 +0800)]
Version 3.4.1

7 years agoupgrade dependencies
alexlamsl [Mon, 13 Mar 2017 19:28:10 +0000 (03:28 +0800)]
upgrade dependencies
grunt-contrib-uglify 2.2.0
minimize 2.1.0

7 years agoMerge pull request #793 from kangax/issue-792
Alex Lam S.L [Mon, 13 Mar 2017 19:27:15 +0000 (03:27 +0800)]
Merge pull request #793 from kangax/issue-792

fix minifyJS on event attributes

7 years agofix minifyJS on event attributes
alexlamsl [Mon, 13 Mar 2017 19:24:42 +0000 (03:24 +0800)]
fix minifyJS on event attributes
latest `uglify-js` has advanced side-effect-free optimisation which invalidates an old hack

fixes #792

7 years agoVersion 3.4.0
alexlamsl [Tue, 28 Feb 2017 14:30:00 +0000 (22:30 +0800)]
Version 3.4.0

7 years agoMerge pull request #789 from kangax/uglify-js-2.8.0
Alex Lam S.L [Tue, 28 Feb 2017 13:11:26 +0000 (21:11 +0800)]
Merge pull request #789 from kangax/uglify-js-2.8.0

uglify-js 2.8.0

7 years agoupgrade dependencies
alexlamsl [Tue, 28 Feb 2017 13:05:41 +0000 (21:05 +0800)]
upgrade dependencies
uglify-js 2.8.0

7 years agoVersion 3.3.3
alexlamsl [Sun, 19 Feb 2017 13:13:43 +0000 (21:13 +0800)]
Version 3.3.3

7 years agoMerge pull request #785 from kangax/collapseWhitespace-nbsp
Alex Lam S.L [Sun, 19 Feb 2017 12:55:33 +0000 (20:55 +0800)]
Merge pull request #785 from kangax/collapseWhitespace-nbsp

handle &nbsp; better in collapseWhitespace

7 years agohandle &nbsp; better in collapseWhitespace
alexlamsl [Sun, 19 Feb 2017 12:52:26 +0000 (20:52 +0800)]
handle &nbsp; better in collapseWhitespace

7 years agoVersion 3.3.2
alexlamsl [Sun, 19 Feb 2017 12:20:31 +0000 (20:20 +0800)]
Version 3.3.2

7 years agoMerge pull request #784 from kangax/issue-777
Alex Lam S.L [Sun, 19 Feb 2017 12:07:51 +0000 (20:07 +0800)]
Merge pull request #784 from kangax/issue-777

handle whitespace around &nbsp; correctly

7 years agohandle whitespace around &nbsp; correctly
alexlamsl [Sun, 19 Feb 2017 12:03:48 +0000 (20:03 +0800)]
handle whitespace around &nbsp; correctly

fixes #777

7 years agoVersion 3.3.1
alexlamsl [Wed, 8 Feb 2017 01:34:56 +0000 (09:34 +0800)]
Version 3.3.1

7 years agoMerge pull request #780 from kangax/issue-777
Alex Lam S.L [Wed, 8 Feb 2017 01:20:49 +0000 (09:20 +0800)]
Merge pull request #780 from kangax/issue-777

preserve non-breaking spaces during collapseWhitespace

7 years agopreserve non-breaking spaces during collapseWhitespace
alexlamsl [Wed, 8 Feb 2017 01:09:29 +0000 (09:09 +0800)]
preserve non-breaking spaces during collapseWhitespace
fixes #777
replaces #184

7 years agoVersion 3.3.0
alexlamsl [Tue, 24 Jan 2017 17:17:22 +0000 (01:17 +0800)]
Version 3.3.0

7 years agoMerge pull request #772 from kangax/clean-css-4
Alex Lam S.L [Tue, 24 Jan 2017 16:53:32 +0000 (00:53 +0800)]
Merge pull request #772 from kangax/clean-css-4

upgrade to clean-css 4.0

7 years agoupgrade dependencies
alexlamsl [Sun, 25 Dec 2016 02:36:23 +0000 (10:36 +0800)]
upgrade dependencies
clean-css 4.0.0

7 years agoVersion 3.2.3
alexlamsl [Thu, 24 Nov 2016 06:51:13 +0000 (14:51 +0800)]
Version 3.2.3

7 years agohandle errors from Will Peavy's HTML Minifier
alexlamsl [Thu, 24 Nov 2016 06:51:08 +0000 (14:51 +0800)]
handle errors from Will Peavy's HTML Minifier

7 years agomention default option values
alexlamsl [Thu, 24 Nov 2016 05:54:36 +0000 (13:54 +0800)]
mention default option values

7 years agoMerge pull request #760 from kangax/issue-757
Alex Lam S.L [Thu, 24 Nov 2016 05:48:47 +0000 (13:48 +0800)]
Merge pull request #760 from kangax/issue-757

retain attribute quotes around values containing custom fragments

7 years agoretain attribute quotes around values containing custom fragments
alexlamsl [Thu, 24 Nov 2016 05:45:51 +0000 (13:45 +0800)]
retain attribute quotes around values containing custom fragments
fixes #757

7 years agofix error propagation from worker
alexlamsl [Mon, 21 Nov 2016 08:54:40 +0000 (16:54 +0800)]
fix error propagation from worker

7 years agoMerge pull request #754 from kangax/issue-675
Alex Lam S.L [Sat, 19 Nov 2016 09:48:51 +0000 (17:48 +0800)]
Merge pull request #754 from kangax/issue-675

make options safe for structured cloning

7 years agomake options safe for structured cloning
alexlamsl [Sat, 19 Nov 2016 09:48:07 +0000 (17:48 +0800)]
make options safe for structured cloning

7 years agoMerge pull request #753 from kangax/issue-675
Alex Lam S.L [Sat, 19 Nov 2016 09:41:49 +0000 (17:41 +0800)]
Merge pull request #753 from kangax/issue-675

fix message passing

7 years agofix message passing
alexlamsl [Sat, 19 Nov 2016 09:41:04 +0000 (17:41 +0800)]
fix message passing

7 years agoMerge pull request #752 from kangax/issue-675
Alex Lam S.L [Sat, 19 Nov 2016 09:38:33 +0000 (17:38 +0800)]
Merge pull request #752 from kangax/issue-675

fix worker path

7 years agofix worker path
alexlamsl [Sat, 19 Nov 2016 09:37:32 +0000 (17:37 +0800)]
fix worker path

7 years agoMerge pull request #751 from kangax/issue-675
Alex Lam S.L [Sat, 19 Nov 2016 09:34:24 +0000 (17:34 +0800)]
Merge pull request #751 from kangax/issue-675

utilise Web Worker whenever available

7 years agocheck for existence of Worker
alexlamsl [Sat, 19 Nov 2016 09:30:35 +0000 (17:30 +0800)]
check for existence of Worker

7 years agoutilise Web Worker whenever available
alexlamsl [Sat, 19 Nov 2016 09:27:13 +0000 (17:27 +0800)]
utilise Web Worker whenever available
fixes #675

7 years agoMerge pull request #749 from kangax/travis-node-v7
Alex Lam S.L [Thu, 17 Nov 2016 18:48:36 +0000 (02:48 +0800)]
Merge pull request #749 from kangax/travis-node-v7

enable CI testing on Node.js v7

7 years agoenable CI testing on Node.js v7
alexlamsl [Thu, 17 Nov 2016 18:43:16 +0000 (02:43 +0800)]
enable CI testing on Node.js v7

7 years agoVersion 3.2.0
alexlamsl [Thu, 17 Nov 2016 12:07:51 +0000 (20:07 +0800)]
Version 3.2.0

7 years agoMerge pull request #744 from sxend/feature/custom-delete-attributes
Alex Lam S.L [Thu, 17 Nov 2016 10:25:37 +0000 (18:25 +0800)]
Merge pull request #744 from sxend/feature/custom-delete-attributes

remove additionally empty attributes

7 years agoremoveEmptyAttr predicate function
sxend [Thu, 17 Nov 2016 09:39:37 +0000 (18:39 +0900)]
removeEmptyAttr predicate function

7 years agoMerge pull request #736 from vlyahovich/feature/change-case-clean
Alex Lam S.L [Tue, 8 Nov 2016 08:38:50 +0000 (16:38 +0800)]
Merge pull request #736 from vlyahovich/feature/change-case-clean

Remove change-case from dependencies

7 years agoRemove change-case from dependencies
tarkus [Thu, 3 Nov 2016 11:14:29 +0000 (14:14 +0300)]
Remove change-case from dependencies