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 |
curbengh
|
7eda55a1aa
|
perf: use + operator
instead of Array.push()
https://stackoverflow.com/a/55409094
|
2019-12-16 08:43:35 +00:00 |
curbengh
|
1fdac53793
|
style: object-shorthand
https://eslint.org/docs/rules/object-shorthand
|
2019-12-16 08:43:35 +00:00 |
curbengh
|
89a6dcea9e
|
release: v3.2.2
|
2019-11-09 07:26:42 +00:00 |
curbengh
|
2548eb20bf
|
fix(js): remove 'priority' option
- Terser really doesn't like unsupported options
- 'priority' is introduced in 887eeda3cc
|
2019-11-09 07:18:59 +00:00 |
curbengh
|
de425e4b6f
|
refactor: destructure object
|
2019-11-09 07:16:07 +00:00 |
curbengh
|
85bfd3ba35
|
release: v3.2.1
|
2019-10-10 08:06:54 +01:00 |
curbengh
|
213700a617
|
fix: array should join() without a separator
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join
|
2019-10-10 08:04:56 +01:00 |
curbengh
|
26b466c1bf
|
release: v3.2.0
|
2019-10-09 23:34:32 +01:00 |
curbengh
|
887eeda3cc
|
feat: add 'priority' options
|
2019-10-09 23:33:34 +01:00 |
curbengh
|
48bf9951f0
|
fix: join Array, instead of using first index
|
2019-10-06 09:24:25 +01:00 |
curbengh
|
461fe1dd41
|
fix: bind 'this' to error()
|
2019-10-06 06:33:35 +01:00 |
curbengh
|
5de4a237b7
|
refactor: convert Stream to Buffer using Array.push()
|
2019-10-06 06:32:35 +01:00 |
curbengh
|
2c5ad19932
|
fix: utilize hexo.log to display error message
|
2019-10-04 08:27:25 +01:00 |
curbengh
|
680ee73a03
|
release: v3.1.0
|
2019-09-25 08:44:30 +01:00 |
curbengh
|
c2e6b898a9
|
Merge pull request #18 from curbengh/native-brotli
feat: support native brotli
|
2019-09-27 17:31:30 +09:30 |
curbengh
|
e473408673
|
feat: support native brotli
|
2019-09-25 01:33:47 +01:00 |
curbengh
|
60a045e429
|
refactor: async/await
- https://dev.to/gafi/7-reasons-to-always-use-async-await-over-plain-promises-tutorial-4ej9
- https://stackoverflow.com/a/56975197
|
2019-09-25 01:14:37 +01:00 |
curbengh
|
90bfe2ca36
|
style: to rename 'logger' to 'verbose'
|
2019-09-24 23:56:44 +01:00 |
curbengh
|
fd474580ce
|
refactor: destructure object
|
2019-09-24 23:55:07 +01:00 |
curbengh
|
7085b15d10
|
style: rename logic* to minify* or *Fn
|
2019-09-15 16:55:36 +01:00 |
curbengh
|
b5639aba85
|
refactor: logger function
|
2019-09-15 16:51:15 +01:00 |
curbengh
|
36bca1b939
|
refactor: use const function
|
2019-09-15 16:16:53 +01:00 |
curbengh
|
9cb977e2d2
|
Merge pull request #17 from curbengh/options
feat: enable plugin by default and update options naming
|
2019-09-13 11:29:36 +09:30 |