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 |
curbengh
|
d1ca7f9c2b
|
refactor(test): remove unnecessary variable
|
2019-12-30 06:01:28 +00:00 |
curbengh
|
4a5c66add2
|
style(test): it() to test()
|
2019-12-30 05:53:28 +00:00 |
curbengh
|
fa6f514a05
|
ci: add code coverage report
|
2019-12-29 04:14:49 +00:00 |
curbengh
|
60642c8048
|
docs: add TOC
|
2019-12-29 03:51:02 +00:00 |
curbengh
|
1c530b7d44
|
test(include): negation pattern and basename
|
2019-12-29 02:33:59 +00:00 |
curbengh
|
51ff9d953d
|
fix(test): corrects slash pattern tests
|
2019-12-28 10:26:25 +00:00 |
curbengh
|
50d80ccc70
|
feat(globbing): support disabling basename for each pattern in 'include:' option
|
2019-12-28 10:10:30 +00:00 |
curbengh
|
9d6b72422b
|
refactor(test): utilize Buffer.equals
- instead of binary-base64 conversion
- https://jestjs.io/docs/en/expect#toequalvalue
|
2019-12-28 08:42:14 +00:00 |
curbengh
|
6111d21a7c
|
docs: 'logger:', compression level, 'basename' globOptions
|
2019-12-28 01:12:40 +00:00 |
curbengh
|
7201b3f56f
|
refactor(test): de-duplicate variables
|
2019-12-27 23:12:46 +00:00 |
curbengh
|
440b9ccd8c
|
feat: rename 'logger:' option to 'verbose:'
BREAKING CHANGE
|
2019-12-27 22:54:09 +00:00 |
curbengh
|
e59e3866b9
|
test(br): invalid level
|
2019-12-27 09:12:27 +00:00 |
curbengh
|
1a5197b9c9
|
test(logger): add test
|
2019-12-27 08:55:39 +00:00 |
curbengh
|
866593110e
|
test(br): test passing option
|
2019-12-27 08:09:31 +00:00 |
curbengh
|
f0b37aaf45
|
chore: requires at least Node 10.18
BREAKING CHANGE: Drop Node 8 and iltorb
- utilize native brotli
- Drop string-to-buffer conversion
* conversion was necessary for iltorb
|
2019-12-27 08:00:16 +00:00 |
curbengh
|
48868bfa7e
|
feat(gz & br): support custom compression level
|
2019-12-27 07:50:03 +00:00 |
curbengh
|
ab023da82e
|
test(brotli): add unit test
|
2019-12-27 05:59:44 +00:00 |
curbengh
|
626369e3e0
|
test(gzip): add unit test
|
2019-12-27 05:39:29 +00:00 |
curbengh
|
7e1ec95f9a
|
test(svg): add unit test
|
2019-12-27 04:32:03 +00:00 |
curbengh
|
932d36182c
|
fix: reject a promise with an error object
- resolve "Unhandled promise rejection" error
- https://stackoverflow.com/a/47803880
|
2019-12-27 04:30:10 +00:00 |
curbengh
|
9df4e8283b
|
fix(logger): pass the correct variable to the parameter
|
2019-12-27 03:31:33 +00:00 |
curbengh
|
7d163bcb00
|
test(js): result should not be undefined
|
2019-12-27 00:38:44 +00:00 |
curbengh
|
4e4605e1a4
|
test(css): invalid option
|
2019-12-26 15:32:21 +00:00 |
curbengh
|
f7c600545b
|
test: option.enable
|
2019-12-26 15:24:54 +00:00 |
curbengh
|
631503aa1a
|
fix: Terser should throw error if there is invalid option
- Other functions also throw error to abort
|
2019-12-26 15:06:32 +00:00 |
curbengh
|
b046d2a09e
|
fix: disable basename by invidual pattern
|
2019-12-26 14:44:42 +00:00 |
curbengh
|
e6381ebed3
|
Merge pull request #21 from curbengh/unit-test
test: add tests for html, js, css minifiers
|
2019-12-27 00:22:09 +10:30 |
curbengh
|
e9609de460
|
ci: avoid running snyk in PR
|
2019-12-26 13:32:14 +00:00 |
curbengh
|
679dcaf077
|
test: add tests for html, js, css minifiers
|
2019-12-26 13:19:39 +00:00 |
curbengh
|
9263366537
|
ci: Node 10, 12 & 13
|
2019-12-26 11:14:53 +00:00 |
curbengh
|
4dc883d269
|
ci: drop deprecated sudo option
|
2019-12-26 11:13:59 +00:00 |
curbengh
|
0c270a4594
|
release: v3.2.3
|
2019-12-16 08:45:28 +00:00 |