Jinzhe Zeng
8f7fdcc8f0
fix: use html-minifier-terser instead of html-minifier
...
html-minifier-terser was developed based on html-minifier, and the difference
between them is that html-minifier-terser can minify inline ES6 scripts in html
file, but html-minifier cannot.
2021-03-01 18:20:22 -05:00
MDLeom
ef57b75638
docs(precompressed): link to caddy guide
2020-11-13 23:04:16 +00:00
MDLeom
5cc13c1ad8
docs(br): GitLab Pages now support pre-compressed br
...
- https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/359
2020-11-12 02:05:51 +00:00
MDLeom
140a005dc7
docs(br): Caddy v2 doesn't server pre-compressed files automatically
2020-11-12 02:05:51 +00:00
MDLeom
ea29aa0ad5
Merge pull request #33 from curbengh/node-15
...
chore(actions): add Node 15
2020-11-07 14:18:47 +10:30
MDLeom
bbc464b29e
chore(actions): simpler Node version syntax
2020-11-07 03:43:57 +00:00
MDLeom
cef2d0e377
chore(actions): add Node 15
2020-11-07 03:42:45 +00:00
MDLeom
91c4d936e0
Merge pull request #32 from curbengh/dependabot/npm_and_yarn/standard-16.0.1
...
chore(deps-dev): bump standard from 14.3.4 to 16.0.1
2020-11-07 11:45:40 +10:30
MDLeom
4a16fca23e
Merge pull request #27 from curbengh/dependabot/github_actions/actions/setup-node-v2.1.2
...
chore(dev-deps): bump actions/setup-node from v2.1.1 to v2.1.2
2020-11-07 11:43:57 +10:30
dependabot[bot]
d8805d9a9a
chore(deps-dev): bump standard from 14.3.4 to 16.0.1
...
Bumps [standard](https://github.com/standard/standard ) from 14.3.4 to 16.0.1.
- [Release notes](https://github.com/standard/standard/releases )
- [Changelog](https://github.com/standard/standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/standard/standard/compare/v14.3.4...v16.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-02 07:11:23 +00:00
dependabot[bot]
19424d8ae8
chore(deps): bump actions/setup-node from v2.1.1 to v2.1.2
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2.1.1...c6fd00ceb9747fb23ffdf72987450a2664414867 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-02 06:11:47 +00:00
MDLeom
18e1fd3a78
ci(snyk): requires deps to be installed beforehand
2020-09-09 05:23:11 +00:00
MDLeom
bc742f75fb
Merge pull request #26 from curbengh/dependabot/github_actions/actions/setup-node-v2.1.1
...
chore(deps): bump actions/setup-node from v1 to v2.1.1
2020-09-06 10:07:56 +09:30
dependabot[bot]
11b07ab00f
chore(deps): bump actions/setup-node from v1 to v2.1.1
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from v1 to v2.1.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v1...321b6ccb03083caa2ad22b27dc4b45335212e824 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-06 00:05:01 +00:00
MDLeom
0fd2ed31ee
release: 4.2.0
2020-09-06 00:04:28 +00:00
MDLeom
ba66c4bc89
chore(dependabot): monitor actions' dep
...
- https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem
2020-09-06 00:02:26 +00:00
MDLeom
9ac8969a08
docs: Netlify supports brotli
2020-09-05 14:15:58 +00:00
MDLeom
353ca8ea37
docs: links to xml & json sections
2020-09-05 14:05:10 +00:00
MDLeom
fd117bcd58
docs(badge): add codecov
2020-09-05 13:51:51 +00:00
MDLeom
c8cc870b4c
docs(badge): add logo
2020-09-05 13:49:02 +00:00
MDLeom
327b36782b
ci(snyk): fix cron syntax
...
- docs: add actions badge
2020-09-05 12:47:23 +00:00
MDLeom
57db21d2ad
ci: replace travis with actions
2020-09-05 12:43:05 +00:00
MDLeom
51cc9b1d8d
feat: show path that caused the error
2020-09-05 11:58:20 +00:00
MDLeom
c57e227efd
fix: set default config
2020-09-05 11:41:22 +00:00
MDLeom
37ba1d9a2b
refactor: destructure
2020-09-05 11:22:36 +00:00
MDLeom
ce8c4a145b
refactor(test): set default config in individual test
2020-09-05 11:18:35 +00:00
MDLeom
16cdf467d9
fix(js): compatibility with terser v5
...
- https://github.com/terser/terser/blob/master/CHANGELOG.md#v500-beta0
2020-09-05 10:56:33 +00:00
MDLeom
3de777904f
chore(deps-dev): update hexo from 25.4.0 to 26.4.2
2020-09-05 10:23:32 +00:00
MDLeom
d9817f8a44
chore(deps-dev): update hexo from 4.2.0 to 5.1.1
2020-09-05 10:23:01 +00:00
MDLeom
605c5fd57f
chore(deps): update terser from 4.0.0 to 5.3.0
2020-09-05 10:21:22 +00:00
MDLeom
d68c26a2c2
docs: use Shields.io badges
...
- move david-dm.org to more stable libraries.io
2020-09-05 10:18:51 +00:00
MDLeom
7f60c6959e
chore: replace deprecated greenkeeper with dependabot
2020-09-05 10:10:34 +00:00
MDLeom
c2bcaa7d69
Merge pull request #25 from curbengh/minify-xml
...
feat: utilise better minify-xml
2020-09-03 14:37:16 +09:30
MDLeom
8bbecf676f
feat: utilise better minify-xml
...
- replace pretty-data
2020-09-02 11:23:20 +00:00
MDLeom
9b94a2c2df
ci(travis): remove Node 13
...
- EOL 1 June 2020
2020-06-06 07:45:47 +01:00
MDLeom
bdb7e94350
test(gz): blns
2020-06-06 07:42:12 +01:00
MDLeom
e5ab822c45
test(br): blns
2020-06-06 07:41:37 +01:00
MDLeom
c42b9040a6
test(js): throw error on invalid input
2020-05-25 09:36:21 +01:00
MDLeom
9e67d11e8a
test(html): invalid input
...
- uncovered using blns.json
- https://github.com/minimaxir/big-list-of-naughty-strings
2020-05-25 09:13:15 +01:00
MDLeom
e1843f7400
chore(deps-dev): Update jest to 25.4.0
2020-04-24 13:57:26 +01:00
MDLeom
b8d48c7f8a
ci(travis): add Node 14
2020-04-24 13:54:24 +01:00
MDLeom
c721fa8c02
docs(readme): add lgtm.com badges
2020-02-24 04:11:50 +00:00
curbengh
81ab472fe1
test: utilise toThrow() to catch error
...
- try...catch would (incorrectly) pass the test, despite having no error
2020-01-09 15:14:25 +00:00
curbengh
b9f4cd6173
release: v4.1.0
2020-01-03 01:37:33 +00:00
curbengh
fdcdbef4a1
feat: minify json
2020-01-03 01:17:37 +00:00
curbengh
64ba16cb22
refactor(test): organise unit tests into separate files
2020-01-03 00:51:45 +00:00
curbengh
317b5e43d3
feat: minify xml
2020-01-03 00:35:25 +00:00
curbengh
d75b10b64b
fix: skip empty file
2020-01-02 12:49:29 +00:00
curbengh
8d0fdaeb80
docs: clarify logger -> verbose
2020-01-02 10:46:28 +00:00
curbengh
ab69db2f3e
release: v4.0.0
2020-01-02 00:47:55 +00:00