Update module github.com/tdewolff/minify/v2 to v2.20.15
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| github.com/tdewolff/minify/v2 | v2.12.4 -> v2.20.15 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
tdewolff/minify (github.com/tdewolff/minify/v2)
v2.20.15
- Fix ResponseWriter to not minify if there is no supported RequestURI extension or supported Content-Type header, fixes https://github.com/tdewolff/minify/issues/660
- JS: fix parsing of comments in expressions and keep all bang-comments at the top of the statement list, fixes https://github.com/tdewolff/minify/issues/664
- cmd: fix printing an error when writing to directory but it doesn't exist
- cmd: add Debug logging class, don't print error when can't infer mimetype from input but is excluded by --exclude
- cmd: update argp package with some fixes
v2.20.14
- Update tdewolff/parse: revert ignoring error in lexer of identifier after number to be on the safe side (it should be caught by the parser nonetheless)
v2.20.13
- JS: update tdewolff/parse and fix https://github.com/tdewolff/minify/issues/656
- HTML: rename KeepConditionalComments => KeepSpecialComments, fixes https://github.com/tdewolff/minify/issues/657
- JS: support parsing binary/octal/hexadecimal integers with big int suffix, fixes https://github.com/tdewolff/parse/issues/116
- JS: fix parsing of for/for-of/for-in regarding LHSExpr vs Expr
- JS: fix parsing of semicolon after import() CallExpression
v2.20.12
JS: fix escaping of single/double/backtick quotes in strings when encoded as unicode escape literal, fixes https://github.com/tdewolff/minify/issues/654
v2.20.11
- HTML: fix whitespace after https://github.com/tdewolff/minify/issues/611
- JS: fix converting \n and \r to unicode in string and template literals https://github.com/tdewolff/minify/issues/653
v2.20.10
- cmd: default value for --preserve only includes ownership if supported on platform, see https://github.com/tdewolff/minify/issues/646
- cmd: fix endless loop on preserving attributes on Windows, see https://github.com/tdewolff/minify/issues/646
- Fix various parsing bugs for JS/HTML in
tdewolff/parse
v2.20.9
Fix build
v2.20.8
- HTML: fix parsing of PHP/ASP/EJS files
- cmd: support ASP, PHP, Mustache, Handlebars, EJS and Go templates for command line
v2.20.7
v2.20.6
- JS: fix merging of var decls when moving to a hoisted decl, fixes https://github.com/tdewolff/minify/issues/634
- JS: fix parsing invalid PrivateIdentifiers
v2.20.5
- HTML: fix bug when parsing inline JavaScript, fixes https://github.com/tdewolff/minify/issues/631
- HTML: don't minify in style/script if it contains templates, see https://github.com/tdewolff/minify/issues/621
- HTML: disable lowercasing attribute values; the effect is almost negligible and problems can arise when combining with CSS or JS, fixes https://github.com/tdewolff/minify/issues/620
v2.20.4
Update Python release
v2.20.3
Update JavaScript and Python packages
v2.20.2
- HTML: support Go templates, fixes https://github.com/tdewolff/minify/issues/35
- HTML: update attribute traits, see https://github.com/tdewolff/minify/issues/620
- cmd: fix bug in argp, fixes https://github.com/tdewolff/minify/issues/624
- Update Python and JS workflows
v2.20.1
- JS: allow return in class/object methods, fixes https://github.com/tdewolff/minify/issues/623
- JS: support 'PrivateIdentifier in ShiftExpression'
- Fix Python binding
v2.20.0
- Update Python binding to use CFFI thanks to @pydsigner
- JS: fix bug in var decl merging with for-in statements
- JS: improve var hoisting when redeclaring the same variable
- JS: remove import statement with empty named imports
- JS: merge expression stmt with for initializer
- JS: support ECMAVersion < 2015 for template literals, fixes https://github.com/tdewolff/minify/issues/621
And many JS fixes from https://github.com/tdewolff/parse/releases/tag/v2.7.0
v2.19.10
- CSS: fix bug with var() in background, fixes https://github.com/tdewolff/minify/issues/603
- XML: keep unquoted attribute values untouched, fixes https://github.com/tdewolff/minify/issues/611
- cmd: add .rss, .xhtml, and .webmanifest mimetypes, see https://github.com/tdewolff/minify/issues/438
- cmd: use tdewolff/argp for argument parsing; support --ext for mapping custom extensions, see https://github.com/tdewolff/minify/issues/438
- cmd: improve --match/--include/--exclude patterns parsing
- cmd: remove --mime in favor of --type
v2.12.9
- HTML: fix panic for malformed IE conditional comment, fixes https://github.com/tdewolff/minify/issues/596
- cmd: fix bundling of JS files when files end in a comment, fixes https://github.com/tdewolff/minify/issues/594
- SVG: keep attribute value when empty, see https://github.com/tdewolff/minify/issues/576
- JS: fix bug in replacing unicode escapes; don't reparse already replaced escapes
- CSS: fix bug for unsupported nested components, fixes https://github.com/tdewolff/minify/issues/602
v2.12.8
- Update Go version to 1.18, fixes https://github.com/tdewolff/minify/pull/593
- HTML: fix spacing around ; fixes https://github.com/tdewolff/minify/issues/592
- HTML: fix KeepWhitespace after block end tag; improves solution of https://github.com/tdewolff/minify/issues/442
- HTML: add and improve tag traits for whitespace handling
-
HTML: fix whitespace removal for inline tags, ie. keep space in
afor most cases - JS: keep bang comments, fixes https://github.com/tdewolff/minify/issues/552
- cmd: trailing slash in source path will not copy directory itself but all the files inside
- cmd: trailing slash for destination path resolves ambiguity when writing to a directory
- cmd: allow use of dash - for source/destination to mean stdin/stdout
- cmd: better error messages when using stdin/stdout in combination with --recursive or --bundle
v2.12.7
- JS: fix bundling JS file separator, fixes https://github.com/tdewolff/minify/issues/584
- cmd: preserve mode,ownership,timestamps on all created directories, see https://github.com/tdewolff/minify/issues/562
- cmd: remove deprecated --preserve-links and add --preserve=all as option, see https://github.com/tdewolff/minify/issues/562
- JS: don't convert \0,\x00,\u0000 to literal NULL as it breaks RegExp; convert \x00,\u0000 to \0 only if it can't possibly be an octal escape sequence (see https://github.com/tdewolff/minify/issues/577); fixes https://github.com/tdewolff/minify/issues/585
v2.12.6
- SVG: keep empty attributes; fixes https://github.com/tdewolff/minify/issues/576
- JS: use literal NULL instead of escaped zero in strings, fixes https://github.com/tdewolff/minify/issues/577
- JS: fix parsing of string expressions at the start of statement lists that are no UseStrictDirectives
- JS: decode unicode escape sequences in strings to UTF-8 literals
- JS: fix unicode string escape when not a valid UTF-8 character
- HTML: do not convert lang attribute value to lower https://github.com/tdewolff/minify/issues/579
- JS: fix race condition for ECMAScript version and remove deprecated NoNullishOperator (use Version instead), fixes https://github.com/tdewolff/minify/issues/582
v2.12.5
- CSS: fix order in background-position:center left; see https://github.com/tdewolff/minify/pull/222
- JS: support different ECMAScript version to toggle optimizations, merge with NoNullishOperator and add NoOptionalCatchParameter, fixes https://github.com/tdewolff/minify/issues/540
- HTML: make mediatype parameters case sensitive, fixes https://github.com/tdewolff/minify/issues/545
- HTML: fix last commit, see https://github.com/tdewolff/minify/issues/545
- HTML: don't replace & by & when followed by what could be an entity, even though it is not terminated by a semicolon (as the spec requires), fixes https://github.com/tdewolff/minify/issues/546
- CSS: limit too many nested functions
- SVG: don't remove rect with zero width or height, fixes https://github.com/tdewolff/minify/issues/557
- cmd: copy file if minify fails, fixes https://github.com/tdewolff/minify/issues/560
- cmd: add --incluce/--exclude filters, and allow comma-separated patterns for --match/--include/--exclude, see https://github.com/tdewolff/minify/issues/560
- cmd: throw error when using multiple input files (such as when using *) to a non-existing output directory in line with cp behaviour, fixes https://github.com/tdewolff/minify/issues/562
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.