Commit Graph

837 Commits

Author SHA1 Message Date
Wilson Lin e41156d6e0 0.4.6 2021-04-07 22:16:02 +10:00
Wilson Lin d8f6bd457a Fix incorrect script end tag detection in JS 2021-04-07 22:08:44 +10:00
Wilson Lin 2e5d560797 Minor fix 2021-04-07 22:01:22 +10:00
Wilson Lin 31c99873f1 [bench] Use esbuild for CSS 2021-04-07 21:45:14 +10:00
Wilson Lin 7b1ac85f88 Fix Python module name 2021-04-07 20:50:05 +10:00
Wilson Lin b4142be729 0.4.5 2021-04-06 19:36:29 +10:00
Wilson Lin aad43945ad Mention invalid HTML output 2021-04-06 19:32:49 +10:00
Wilson Lin a2cc9d9ad6 Use older maturin version due to PyO3/maturin#478 2021-04-06 19:28:34 +10:00
Wilson Lin a21cc0b64f Fix OS version 2021-04-06 19:02:01 +10:00
Wilson Lin 0fc7dfcab5 Fix bench 2021-04-06 18:55:28 +10:00
Wilson Lin 518cf35935 Use fixed OS versions 2021-04-06 18:50:24 +10:00
Wilson Lin a92ea403e8 0.4.4 2021-04-06 18:43:07 +10:00
Wilson Lin 9bd07530c1 Core version for Python 2021-04-06 18:41:56 +10:00
Wilson Lin 12ce72448b Package each feature 2021-04-06 15:01:04 +10:00
Wilson Lin 77b3d1e4c3 Fix path 2021-04-06 14:12:51 +10:00
Wilson Lin 16cea54a31 Move buildnative to gyp 2021-04-06 14:09:20 +10:00
Wilson Lin 8c8c9cb12f Fix typo 2021-04-06 13:59:14 +10:00
Wilson Lin 9edd5cf682 Also publish core Node.js package 2021-04-06 13:46:09 +10:00
Wilson Lin 2c76bb3dd8 0.4.3 2021-02-07 01:57:32 +11:00
Wilson Lin 849a2d9dc1 Update doc 2021-02-07 01:57:09 +11:00
Wilson Lin 261f3f6461 Add test 2021-02-07 01:55:52 +11:00
Wilson Lin 485db71ca6 Use written tag name for comparison 2021-02-07 01:46:46 +11:00
Wilson Lin d2408732f5 0.4.2 2021-02-06 00:09:14 +11:00
Wilson Lin 4688003e5b Show core bench results 2021-02-06 00:08:07 +11:00
Wilson Lin 0bfb8d86d7 Fix pre propagation 2021-02-06 00:03:14 +11:00
Wilson Lin 55eab19bbe Do not minify any whitespace in any descendants of <pre> 2021-02-05 23:54:29 +11:00
Wilson Lin 83efa7e8a8 Add JS comment test 2021-01-26 21:25:08 +11:00
Wilson Lin 6c0fe45606 0.4.1 2021-01-09 16:56:14 +11:00
Wilson Lin 9b2a348fd4 Improve CLI; fix Ruby integration 2021-01-08 01:58:31 +11:00
Wilson Lin ae0740d9c4 0.4.0 2021-01-08 00:28:24 +11:00
Wilson Lin e4d8b14d0b CSS minification using esbuild 2021-01-08 00:26:02 +11:00
Wilson Lin ad7a24f9bd
Fix typo 2021-01-07 18:10:24 +11:00
Wilson Lin 52eaf10148 0.3.12 2021-01-06 21:57:41 +11:00
Wilson Lin 915a9227f7 Merge 0df4faf 2021-01-06 21:05:02 +11:00
Wilson Lin 5922b02fe4 git pull before versioning 2021-01-06 21:01:32 +11:00
Wilson Lin 0df4fafeef 0.3.11 2021-01-06 20:58:29 +11:00
Wilson Lin c265dd139e GitHub actions does not support Python 3.6 on macOS 11.0 2021-01-06 18:03:01 +11:00
Wilson Lin 9e6e0b1e6f Fix missing library linking in Node.js macOS version 2021-01-06 18:02:00 +11:00
Wilson Lin de41c79092 Exit on Node.js assertion failures 2021-01-06 17:13:07 +11:00
Wilson Lin b1968e539d Update PyO3 usage 2021-01-06 16:16:40 +11:00
Wilson Lin 71c3bd756f Python 3.5 is no longer supported by PyO3 2021-01-06 16:10:23 +11:00
Wilson Lin d72e83a3c6 Bump PyO3 version 2021-01-06 16:01:24 +11:00
Wilson Lin c0f8fa65a4 Build on latest macOS 2021-01-06 15:59:40 +11:00
zinootje 0d9e56bfc2
Add support for Python 3.9 (#19) 2020-12-29 15:54:06 +11:00
Wilson Lin 677dc5e655 0.3.10 2020-12-18 16:08:34 +11:00
Sondre Nilsen cf956e74df
Fix TS types and include index.d.ts when publishing to NPM (#16)
* Include index.d.ts when publishing to NPM

* Set correct type for minify in index.d.ts
2020-12-18 10:35:46 +11:00
Wilson Lin c959e51b4e 0.3.9 2020-11-13 22:20:30 +11:00
Wilson Lin 2954f8f7b0 Extract html-data; consider x86_64 when loading Java lib; use B2 action 2020-11-13 22:15:51 +11:00
Wilson Lin 8ff5bc3768 Minor reformatting; minor README wording improvements 2020-09-20 20:50:22 +10:00
Wilson Lin 9968dd4649 Add comment and a few more tests 2020-09-02 17:13:09 +10:00
Wilson Lin ec2b08e018 0.3.8 2020-09-02 17:07:32 +10:00
Wilson Lin 9baa4c1a9e Allow < followed by invalid char to be content 2020-09-02 17:07:02 +10:00
Wilson Lin cfc4db4a82 Fix Java example in README 2020-08-26 14:46:01 +10:00
Wilson Lin cf02e8265c Minor refactoring of Rust API `copy` example 2020-08-26 14:42:42 +10:00
Wilson Lin 3416691955 [node] Add type declarations and documentation 2020-08-26 13:48:42 +10:00
Wilson Lin a1df68e213 [java] Move inner classes to package level 2020-08-26 13:15:32 +10:00
Wilson Lin a2c9f1a5d8 0.3.7 2020-08-25 00:37:54 +10:00
Wilson Lin 693c847563 Add documentation comments to Rust API 2020-08-25 00:36:27 +10:00
Wilson Lin ef44006ef6 Fix ECMA-262 bench page 2020-08-24 23:59:19 +10:00
Wilson Lin 11560d71fe 0.3.6 2020-08-24 21:49:19 +10:00
Wilson Lin a415045ae6 Fix hex numeric entity parsing 2020-08-24 21:48:58 +10:00
Wilson Lin e306047067 Simplify parsing README section 2020-08-02 12:19:01 +10:00
Wilson Lin d7ddda3f21 Do not allow unmatched closing tag at root 2020-07-30 20:17:55 +10:00
Wilson Lin d024d21274 Refactoring 2020-07-30 19:51:43 +10:00
Wilson Lin 6a56bcc89f 0.3.5 2020-07-30 14:51:46 +10:00
Wilson Lin 0eddabcb89 Remove unused function 2020-07-30 14:41:33 +10:00
Wilson Lin ed72690463 Allow omitted tags in source 2020-07-30 14:38:40 +10:00
Wilson Lin d2bffe8005 Allow case insensitive closing tag names for script and style 2020-07-30 12:46:18 +10:00
Wilson Lin abfc4bceaa Make tag and attribute names case insensitive 2020-07-30 12:32:53 +10:00
Wilson Lin 373128e466 0.3.4 2020-07-30 00:33:33 +10:00
Wilson Lin 08a2f39108 Fix debug repr line boundaries check; reduce debug repr output by stopping at read position; provide expected and actual tag names for closing tag mismatch error 2020-07-30 00:28:57 +10:00
Wilson Lin 8badd30b40 Minor fix: support numeric entities with more than 256 digits 2020-07-27 18:33:31 +10:00
Wilson Lin 58fe37c17f 0.3.3 2020-07-27 18:13:10 +10:00
Wilson Lin 2eb1bea077 Bang -> bang 2020-07-27 18:09:49 +10:00
Wilson Lin e5245acc31 Inline most functions; use aho-corasick for comments and instructions too 2020-07-27 18:08:53 +10:00
Wilson Lin e8726c2ed1 Fix boundary bugs 2020-07-27 17:56:19 +10:00
Wilson Lin c379f6667f Link to esbuild-rs 2020-07-27 17:00:56 +10:00
Wilson Lin ca5e60c5b8 Mention entities left encoded 2020-07-27 15:58:18 +10:00
Wilson Lin ab415ae0fb 0.3.2 2020-07-27 00:30:43 +10:00
Wilson Lin 009e91d094 Use aho-corasick for faster and simpler end tag matching 2020-07-27 00:27:52 +10:00
Wilson Lin 2542d6c24c Also test JS minification before publishing 2020-07-25 18:06:40 +10:00
Wilson Lin 2f5659bce0 0.3.1 2020-07-25 18:05:23 +10:00
Wilson Lin c2a11c4ee3 Fix HTML_ONLY env not passed to bench 2020-07-25 16:13:56 +10:00
Wilson Lin 6a025ada3b Fix bench results path in workflow 2020-07-25 14:46:44 +10:00
Wilson Lin 2d20698e46 Also run and upload HTML-only bench 2020-07-25 14:31:55 +10:00
Wilson Lin e76c12a9db Avoid cloning script data before passing to esbuild 2020-07-25 14:18:23 +10:00
Wilson Lin cae66f3e2a Use actual Node.js library name for bench; allow benchmarking without JS minification 2020-07-25 13:59:21 +10:00
Wilson Lin 863ccb947b Implement Node.js errors 2020-07-25 13:40:37 +10:00
Wilson Lin 9627921cb2 Do not minify non-JS script data 2020-07-25 13:22:39 +10:00
Wilson Lin 9a26aaa493 Fix Windows CLI URL 2020-07-24 20:19:41 +10:00
Wilson Lin ec17be9be9 Fix Rust API examples in README 2020-07-24 19:59:02 +10:00
Wilson Lin 8733ca4b59 Fix Node.js API example in README 2020-07-24 19:57:11 +10:00
Wilson Lin eb886014e8 0.3.0 2020-07-24 19:43:48 +10:00
Wilson Lin 8ba9fa591c Try without loading login profile for Ruby profile 2020-07-24 19:30:25 +10:00
Wilson Lin c4130ab912 Minor Ruby workflow reformatting 2020-07-24 19:21:53 +10:00
Wilson Lin 3be87d8683 Refactor Ruby workflow 2020-07-24 19:12:43 +10:00
Wilson Lin 9f40000527 Omit closing tags for html, head, body 2020-07-24 19:05:29 +10:00
Wilson Lin 4fcb36f59b Fix typo 2020-07-24 18:30:59 +10:00
Wilson Lin 812bbd896d Clean Ruby workflow 2020-07-24 18:30:25 +10:00
Wilson Lin 4ff2e14b04 Use esbuild for minifiers in bench 2020-07-24 18:24:28 +10:00