Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/terser/html-minifier-terser

actively maintained fork of html-minifier - minify HTML, CSS and JS code using terser - supports ES6 code
https://github.com/terser/html-minifier-terser

Add more tests

97992e6fb8d84533f7dbfccc5ad48ca219964893 authored over 11 years ago by kangax <[email protected]>
Add more tests based on issues reported by users

678be0786c375137159caa9440416babf2a83708 authored over 11 years ago by kangax <[email protected]>
Make parser ignore block elements in inline elements (allowed in HTML5, not HTML4). Closes #51. Closes #52. Closes #54.

b38600d8f15e39e458c7bb871ae29cb52eecb2d1 authored over 11 years ago by kangax <[email protected]>
Merge pull request #50 from cometcult/prefix_fix_close

Fix minifier issue with prefixed tags (closing)

094cf8b0c3ed98f78ecd0cc609255454c6b3ed11 authored over 11 years ago by Juriy Zaytsev <[email protected]>
Fix minifier issue with prefixed tags (closing)

cddb3fad049b79720b6a2973ebe507b9f00631b0 authored over 11 years ago by Even André Fiskvik <[email protected]>
Merge pull request #43 from willfarrell/gh-pages

Smarter collapseWhitespace - preserver space around inline tags

49b9e8d4574bd0693fa8f5837db3a0811ac6f44c authored almost 12 years ago by Juriy Zaytsev <[email protected]>
Smarter collapseWhitespace - preserver space around inline tags

90b482e8b283631799f5010aa7f3a4746ec7260c authored almost 12 years ago by will Farrell <[email protected]>
Merge pull request #42 from sindresorhus/patch-1

npmignore unneeded files

f2d67cf3a7b5f8b2036914495822d98fc798d9b4 authored almost 12 years ago by Juriy Zaytsev <[email protected]>
npmignore unneeded files

4d7bde2843ba65e865c2f95f08e4d9304dd2936a authored almost 12 years ago by Sindre Sorhus <[email protected]>
Lint minifier, linter via JSHint

9d1113fd90e73449a8527efa16eb56200a8e730f authored almost 12 years ago by kangax <[email protected]>
Correct package.json

63c201dfe84633a230cf4cd3372f482f76553ec8 authored almost 12 years ago by kangax <[email protected]>
Update license, fix package.json

8c933e89ebe8c0c2eea133f16d2ddbe21c61a75a authored almost 12 years ago by kangax <[email protected]>
Add lint tests

1933a8d68b1e2ea30effcc5589fed4eef5a61f13 authored almost 12 years ago by kangax <[email protected]>
Update license

7ec371658c77c62e6bb90c4dc946212b1a340dff authored almost 12 years ago by kangax <[email protected]>
Set up travis hook

f8e16388f744c99de3b5876b763ac7c5a06d0f60 authored almost 12 years ago by kangax <[email protected]>
Add .gitignore

38d1b0eebddaf2250c52e410375e6cf9d2814702 authored almost 12 years ago by kangax <[email protected]>
Port tests to run on node, add dist/all.js

8d254708cd150de9500530d8e9023e5ecf58a49a authored almost 12 years ago by kangax <[email protected]>
Merge pull request #38 from willfarrell/gh-pages

IE Bug Fix

49aba1dff9b7b5a6048e0233c41f06527e5b49da authored almost 12 years ago by Juriy Zaytsev <[email protected]>
IE Bug Fix

Bug fix related to https://github.com/gruntjs/grunt-contrib-htmlmin/issues/13#issuecomment-15769874

038d0da744bc31cfda8697c50a12c00376497f7f authored almost 12 years ago by will Farrell <[email protected]>
Merge pull request #37 from sohira/fix-prefix

Fix prefix in element

75013f3032812b9d53f539b6b4b8a770cc55c513 authored almost 12 years ago by Juriy Zaytsev <[email protected]>
Fix prefix in element

254279144eac8711e6b0e9637c2e0ddc4658cb43 authored almost 12 years ago by Shinya Ohira <[email protected]>
Merge pull request #30 from stereobooster/gh-pages

Update qunit.

7032d3d3d97aabf0a2c96c8155ed077b455aca31 authored over 12 years ago by Juriy Zaytsev <[email protected]>
use this instead of window

fc7addd7c7952c351e63f204957c508a18d4482a authored over 12 years ago by slavic <[email protected]>
update qunit

b48d998a6c2e569cdb5f20d07c9bbf859f48c7d5 authored over 12 years ago by slavic <[email protected]>
Merge pull request #29 from stereobooster/gh-pages

Improvements to CommonJS support.

949c2d0d39482986e95e3764c08559b530790cb3 authored over 12 years ago by Juriy Zaytsev <[email protected]>
move tests to external files, so they can be launched on the server-side

ae89c0475d6c4ba0864178cb30ac1649af6d91af authored over 12 years ago by stereobooster <[email protected]>
exports does not contain console object

ceec07119cb97923244acf16faa5b5ad6d67c5b8 authored over 12 years ago by slavic <[email protected]>
Bumping version again for npm.

f4425e23b2368969147d00e61b28be11c8eba113 authored almost 13 years ago by kangax <[email protected]>
Update package.json

f4c5566da16008dd1857d68a9c16f11df4471051 authored almost 13 years ago by kangax <[email protected]>
Merge pull request #27 from crcn/gh-pages

Add support for custom canTrimWhitespace & canCollapseWhitespace options.

107d24674b72abbb60093d9e7c7d98758fce6e43 authored almost 13 years ago by Juriy Zaytsev <[email protected]>
ability to customize canCollapseWhitespace & canTrimWhitespace

2ffeec0dc9ed87dd3aa12d598884e8184e30c44a authored almost 13 years ago by Craig Condon <[email protected]>
Bumping version for npm.

53d833d71e53e3e81163a4571dab72baafc23803 authored over 13 years ago by kangax <[email protected]>
Update README to mention npm-based installation.

eae7f6bf826bfc8810090871ebc4cac3224ecc38 authored over 13 years ago by kangax <[email protected]>
Fix version and description in package.json, update urls to point to original repo.

27cac390064144548a5d1dc293460ea1c2e4fb4a authored over 13 years ago by kangax <[email protected]>
Modified to work with node and potentially npm.

cf25eaa25f8307a129625136d95879c41d76cd20 authored over 13 years ago by Hugo Wetterberg <[email protected]>
Fixed issue #13 - Whitespace is munged in elements that are descendants of <pre>

d9b302d115b696d3bab39b336c7e3e5d31470bc2 authored almost 14 years ago by Gilmore Davidson <[email protected]>
Add option to remove type="text/css" attributes from <style> and <link> elements. Thanks @mathias for suggestion.

f3fc9d188d31493cb828f521e617e415f673b68c authored about 14 years ago by kangax <[email protected]>
Move todo items to github issues.

78a28dc2170e572730f9ea93aeb9b706a5155e43 authored over 14 years ago by Juriy Zaytsev <[email protected]>
Make lint report repeating <br> elements and "&nbsp;" sequences. Rephrase report messages and number them. Bump version to 0.42.

8c739357e90ebeb9e4b227605448dc939fe580b2 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add new option — "removeScriptTypeAttribute", which removes `type="text/javascript"` from script elements (à la HTML5). This optimization is currently marked as unsafe. Bump version to 0.41.

945a4d8984ac9e464d62d529c17b7a2389017e92 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add link to test suite in readme.

7f32c80aa11fedf1e5d0e2766ac79e10280e0d11 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add bug with <pre><code>...</code></pre> reported by V1.

88f393edebaa8218e45a1c0e528fbca93badb982 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Strip trailing ";" from event attributes (onclick, onmouseover, etc.).

e753a32b92c1acd27c40f1bcb459dba4f53b03f6 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add simple V8 perf. test (minifying amazon home page).

6c7e4ebeceecebe948bd6b67469de712aff5253e authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Strip trailing ";" from style attributes (this allows to strip quotes from values like "display:none;").

60addbb1bdf83eb851d8c4ec7cb65722ddc7cabd authored almost 15 years ago by Juriy Zaytsev <[email protected]>
area's shape="rect" is a default attribute (strip it as part of "removeRedundantAttribute" option).

bc9add73a138f0aacfc8fb3b846a8c3973a0dc6f authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Make it possible to quickly select "all", "none" or "safe" options.

9b673b85f97519ae5cab5d7832cf2bd8c7823b0a authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Trim whitespace in Number-type attributes (e.g. rows, cols in TEXTAREA; tabindex in A, BUTTON, etc.).

Make sure URI and Number -type attributes are matched on proper elements (e.g. <head profile="......

a1429cce4aa905f9c5234308e956937316704167 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Trim whitespace in style attributes.

6b7c1a70d75af1a43d7f7a353f08bc13feb90f19 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Trim whitespace in attribute values. For now, only in those with %URI; type: href, src, action, etc.

0d4371205a28849b7792a4c545aa3f66a71f0d8e authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Minifier now removes insignificant whitespace in conditional comments.

70e672448a7df62fcfef8516dc6dd52d161fcfa1 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Start testing HTMLLint. Add detection of href="javascript:void(0)" during linting.

b8460c1854b4a22160b41f3770bd9c3b28920c94 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add detection of `href="javascript:void 0"` to todo.

a800861b3014b8f92013b50a592d7678c44d519d authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add test with optgroups to "removing optional tags in <option>".

9bf0c75f7adff7d07533bbe67c888df77f253e91 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add README.md;

Add </option> to tags allowed for deletion (thanks Jakub Vrána).

388d307cdd1059684e5cccf32574cf9c340cb1ac authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Delete JS comment delimeters before HTML comment delimeters in scripts.

004de6d537b22ba976bd4f8b69268aed460530df authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix comments in scripts (forgot that "<!--" strips everything till new line; thanks @zoompf for reminder).

cb18dce10e09453ebe52a44fa4835a5c2a4e70f1 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix a bug with space-less attributes. Move scripts to the bottom.

7703e9ca121a6c28dd2400f525a5d2dd0e2f5f80 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add TR to the list of optional end tags.

515f57cc47b861ffedf5846b96efa4896db8f581 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Slight optimization to `trimWhitespace`. Fix bug with `removeEmptyElements` cutting off tags in some cases.

21aa0ecd6779115e1546faa4e7aba54d495c6359 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix grammatical error.

f4d7fb10af1b1e5ea79d69a7c34f1d011e031326 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add "thead", "tbody" and "tfoot" end tags to "allowed for removal" list.

d6db21012e684afb159495b2659fc5bbb7a0f1e0 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Name button "minify" not "convert". Restyle todo list slightly.

72dc73bf5f8f921c0e9cd4b561243d0bd1145b15 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Test `removeEmptyAttributes` on IMG element (should not remove "src" and "alt" attributes).

7f92656e2f542547bfc647f50dfe91fd047a522a authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Warn about style attributes.

aeaadd6386301f0da0715bc43cd193465f1c8bd9 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Test whitespace collapsing in style element.

dcfb93bc3baf6b4431f55fbeffc7e5b89b3ed75f authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Convert tabs to spaces in htmlparser.js.

d5b14934fdbc089b92aefa5b4560abfd4f9abe85 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add link to source on github. Remove redundant comment from index.html.

c6546d70828c2ef492e3acec8ebcb2f5661cd392 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add todo item "Wanr about missing doctype"

f3f0aeda5afc1fffab90be5eba92b772849c517d authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add GA.

acd065a74c24b903fb1e3165faa144b8a77a401e authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Bump version to 0.4.

36ce30f24e65fd2a36f9b4be8bee5355a084e041 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Extract LINT logic into a separate file -- htmllint.js, now also under a standalone constructor -- HTMLLint (still needs tests)

1cc3f849b922889afcee9861a5b555ee0974f59a authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add ability to remove optional tags (</body> and </html> for now);

Bump to version 0.3;
Reorganize main page slightly.

9faa99da5d5837b13c7be0dbfa6ab120d863cf3f authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Slight refactoring.

571d46e0831448dd99f1d7ac0c109ff910e2e3a1 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Remove "write more tests" from todo. Looks like all current cases are already covered.

63fc6e71137937a6499bca137cba98afabac9992 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add tests for collapsing boolean attributes.

2e929ffeb1005dfb12d509e54458eeb225d17c27 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix logic error with charset attribute check.

Write more tests for removing redundant attributes.

76be365d9bf1617c3f860e56842a1a0af8a16b45 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Trim whitespace around values of event handler attributes.

More test cases for "javascript:" cleaning.

12d1968e2c7aef1ea86d49116c3cea8dfc178014 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Do not strip conditional comments (write tests for it and mention on a main page).

Fix CDATA sections.

29e5e71f8d7a56e4edbc02bfb6a4c4012fae7461 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix typo. Fix CDATA bug.

c78587f023587ce5783addc96c70d74c332f66e0 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add option to strip CDATA sections from script and style elements.

7c0620531d330af1fefd2c34c07b25567289990f authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Bump version to 0.2 on main page.

110b5401fe71ea0360b9fc8741ca7b0a88a4d359 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add MIT license and mention it in htmlminifier.js;

Add checkbox to remove empty elements (off by default);
Add checkbox to remove comments from STYL...

fd0a2c227beccdbe01ab1159628889386335d7ca authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix some of the bugs in element removal mechanism. Write more tests for it.

10291f87b92406c68a284ce09b6153ff8af528b1 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Refactor `minify` function slightly. More tests — case normalization, space normalization and options.

32b02f044d35f89be9b6ac407c95705502e3b54e authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add tests for removing quotes around attributes.

6413520f630ddcc18bbb722fcbde6bec02e6ebf4 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Collapse whitespace in class attributes to 1 space (not only trim).

6256d94b8f404e9e4b0d4fd026500b63a8ab1afe authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Trim whitespace from class attributes.

Add todo item to investigate when it is safe to trim other attributes (and which).
Test this clas...

2e8483ead264e59b93ce3f57bdf36629de9d7976 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Tweak input textarea height.

e0860d80e3d9f86561a371bd153e545cf78ce403 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix UI to fit smaller screens better. Add a couple more todo items.

60692ccd9323add125e2f3cbb114644b77c00b32 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add test for empty attributes.

Add more empty "attributes" to the list (onfocus, onchange, onblur).

8e35978101ac754ba75a0591d6d142b4c235b3c3 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Minifier is now in a separate file, under /src.

Start writing unit tests with qUnit.
List parser defficiencies that were taken care of.
Add more ...

9f89ad65ec89d4064fe3c06fefa30a6d8c154e9b authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix multi-line comment and CDATA matching.

4c21af5d7166cf45409066d062b04586d8616c25 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add todo section;

Add warning about draft state of minifier;
Rearrange UI slightly;
Whitepaces are now collapsed to...

bcd51a4c8e27abbef9365963b160783dfc91800f authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Use proper characters when checking attribute value for validity when ommitting quotes;

Make sure lower-case doctype matches.

27fe66f0ce38238f2235daf5e650b7cb9e1f920e authored almost 15 years ago by Juriy Zaytsev <[email protected]>
markup tweak

b2969598357c6634b65f61344c07c7f5a197ac9a authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add version number. Avoid division by 0 when converting empty string.

fb17c97e3296894e3a55dd6fb5dc8f22885084d1 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Renamed index file to index.html

4b5eda5ade1bdd7a42855591b9a0b67e2522c8fb authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Initial import

4705f915d8880d84741dac942cef460234b0de1d authored almost 15 years ago by Juriy Zaytsev <[email protected]>