Commit Graph

283 Commits

Author SHA1 Message Date
curbengh 4923f5c39d
Merge pull request #15 from curbengh/basename
feat: disable basename globbing when pattern contains slash
2019-08-06 11:36:11 +09:30
curbengh a6f59a9704
feat: disable basename globbing when pattern contains slash 2019-08-06 11:26:11 +09:30
curbengh 43a316d149
refactor: use basename instead of matchBase 2019-08-06 11:23:58 +09:30
curbengh 7d06de7e79 release: v2.1.1 2019-07-18 17:34:54 +09:30
curbengh 37dac8c011 chore: update username 2019-07-18 17:34:26 +09:30
weyusi 374b24e9f4 release: v2.1.0 2019-07-10 12:17:00 +09:30
weyusi 41ecf75f71 chore: npmignore is not used 2019-07-10 12:16:01 +09:30
weyusi 5fac46455c test(snyk): remove nanomatch and add lodash 2019-07-10 12:14:21 +09:30
weyusi a75fc79e3d docs: tidy up readme 2019-07-10 12:04:37 +09:30
weyusi ba77db0094
Merge pull request #14 from weyusi/micromatch
feat: switch nanomatch to micromatch
2019-07-10 11:59:38 +09:30
weyusi c69b6d3356 feat: switch nanomatch to micromatch 2019-07-10 11:50:23 +09:30
weyusi 55908e655a chore: ignore optional deps 2019-06-22 14:22:08 +09:30
weyusi 98f174cd7a chore: specify minor version of node
* https://node.green
2019-06-22 14:16:16 +09:30
weyusi feaf654f15 test(snyk): add set-value and mixin-deep
* https://snyk.io/vuln/SNYK-JS-MIXINDEEP-450212
* https://snyk.io/vuln/SNYK-JS-SETVALUE-450213
* Remove braces and chownr
2019-06-22 14:10:58 +09:30
weyusi 7203ea2abe release: v2.0.4 2019-06-08 17:25:53 +09:30
weyusi 0ce066c2fd fix(html-minifier): ignore post excerpt tag
https://hexo.io/docs/tag-plugins#Post-Excerpt
2019-06-08 17:22:40 +09:30
weyusi 655f65adcd refactor: add 'use strict' 2019-05-27 10:44:04 +09:30
weyusi 654d279378
Merge pull request #12 from weyusi/terser-v4
chore(deps): Update terser from 3.17.0 to 4.0.0
2019-05-21 17:00:07 +09:30
weyusi 0623ca7e31 chore(deps): Update terser from 3.17.0 to 4.0.0 2019-05-21 16:56:01 +09:30
weyusi 3929884c8c chore(package): Set PR title for greenkeeper
https://greenkeeper.io/docs.html#custom-pr-titles
2019-05-21 16:46:47 +09:30
weyusi 587b460029 chore(package): use dependabot commit message
* (package) for non-deps change
2019-05-21 16:36:43 +09:30
weyusi 9c8af3b30f chore(package): change greenkeeper commit message
ref:
https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#type
https://github.com/hexojs/hexo/commits/master
2019-05-21 16:31:57 +09:30
weyusi 9bb184e9cf release: v2.0.3 2019-05-21 13:47:14 +09:30
weyusi db58c8e686 fix: typo in default config of svgo 2019-05-21 13:45:18 +09:30
weyusi 8531b77cfc style: arrow function
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
2019-05-21 11:16:14 +09:30
weyusi 37aa7f9758 release: v2.0.2 2019-05-18 17:07:24 +09:30
weyusi f05c379687 feat: assign more default options for html-minifier
* to minify more stuff.
  * remove deprecated removeCommentsFromCDATA
  * add removeScriptTypeAttributes and removeStyleLinkTypeAttributes
    * noticed from https://github.com/weyusi/hexo-nofollow/issues/4#issue-445559505
  * ref https://github.com/kangax/html-minifier
2019-05-18 17:01:15 +09:30
weyusi c9b7323768 refactor: remove default ignoreCustomComments from html-minifier
not sure why upstream has it in the first place ¯\_(ツ)_/¯
2019-05-18 14:19:42 +09:30
weyusi ea2a4afe99 release: v2.0.1 2019-05-13 16:53:22 +09:30
weyusi 0595a4ae31 docs: add license 2019-05-13 16:51:06 +09:30
weyusi 3d08e37c8f chore: specify files in package.json 2019-05-13 16:44:51 +09:30
weyusi 08e3cc5a46 docs: update status on brotli support by github/gitlab/netlify 2019-05-08 12:28:19 +09:30
weyusi a87dd05ff4 refactor: new is not necessary
https://nodejs.org/api/buffer.html#buffer_class_method_buffer_from_string_encoding
2019-05-02 16:34:11 +09:30
weyusi cdee4c0768 style: Standard JS 2019-05-02 15:55:43 +09:30
weyusi cceae36368 style: fix comment 2019-04-23 17:57:52 +09:30
weyusi ce7a1f607d docs: minify svg 2019-04-23 17:51:44 +09:30
weyusi 302ea906a1 release: v2.0.0 2019-04-23 17:48:08 +09:30
weyusi 374c16575b style: rearrange and give more neat_js config examples 2019-04-23 17:46:56 +09:30
weyusi 55b48a76aa
Merge pull request #10 from weyusi/svgo
feat: minify svg using svgo
2019-04-23 17:32:38 +09:30
weyusi 15465ca16b feat: minify svg using svgo 2019-04-23 17:33:30 +09:30
weyusi a219775d6c
Merge pull request #9 from weyusi/file-ext
feat: allow custom file extension for compressions
2019-04-23 16:44:48 +09:30
weyusi 528486761d feat: allow custom file extension for compressions 2019-04-23 15:10:43 +09:30
weyusi 02b323868a release: v1.4.0 2019-04-23 14:20:02 +09:30
weyusi ad5f82712c style: tab to space 2019-04-23 13:35:59 +09:30
weyusi ce973f940f docs: rearrange options 2019-04-23 13:32:08 +09:30
weyusi 94a8f90c2b feat: allow custom options for neat_css
https://github.com/jakubpawlowicz/clean-css
2019-04-23 13:26:43 +09:30
weyusi b93e92b1bb docs: more glob pattern examples, fix Terser link and typo 2019-04-23 13:17:22 +09:30
weyusi 5a5a6fb504 fix: neat_js exclude
delete operator previously remove reference including 'options.exclude',
use Object.assign to clone 'options' object to prevent that.
https://stackoverflow.com/a/33053362
2019-04-23 12:30:47 +09:30
weyusi 1de8ec2cd9 refactor: use nanomatch.some()
.some supports string and array patterns, so no need for loop.
https://github.com/micromatch/nanomatch#some
2019-04-23 12:25:17 +09:30
weyusi fa2efb9bd3 release: v1.3.2 2019-04-22 21:43:04 +09:30