This repository was archived by the owner on Feb 9, 2021. It is now read-only.
Update module tdewolff/minify/v2 to v2.9.12 #41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.7.6->v2.9.12Release Notes
tdewolff/minify
v2.9.12Compare Source
v2.9.11Compare Source
--bundlefor concatenation when the input is a directory, see #348valueandplaceholderit's significant), see #351translate=no, see #352KeepCommentsto keep all comments, see #366</script>in strings, fixes #355widthandheightattributes on<svg>, fixes #367v2.9.10Compare Source
"use strict", fixes #3430x80upwards unless it's UTF-8, fixes #341v2.9.9Compare Source
(function(){})()to!function(){}()which modifies the return value, fixes #340v2.9.8Compare Source
1e-10which was invalidly converted to.e-9(this only applied to1e-10,1e-100, etc and not to other numbers such as1e-11or1e-9), fixes #339??which is not supported by IE, Android+Firefox, and Android+Opera, fixes #338v2.9.7Compare Source
Precisionoption in minifying numbersforeignObjecttagsv2.9.6Compare Source
v2.9.5Compare Source
transparentonly if the color is fully transparent black (and not any other transparent color), fixes #332box-shadowvaluenoneconversion to0 0as they are not equivalent, fixes #332titleandlangattributes, fixes #331v2.9.4Compare Source
v2.9.3Compare Source
box-shadow,background,background-repeat,background-size, andbackground-positionproperties (fixes #322)Decimalsoptions in favor ofPrecision--decimalsoptions for CSS and SVG minifiers in favor of--precision--bundleoption to explicitly bundle (concatenate/merge) files into one, do not asume from the-ooptions if it lacks a/at the end that it outputs to a file and thus needs to merge the inputs--recursive, previously directories would be expanded by defaults (but not their subdirectories). This matches behaviour of thecpcommand and will be more intuitive.minify -o out path/to/filewould output toout/path/to/filebut will now output toout/file. This is the same behaviour as thecpcommand and will be more intuitive for users.v2.9.2Compare Source
vardeclaration intofororwhile, and notletnorconst, fixes #325vardeclaration with afororwhilestatementv2.9.1Compare Source
inidentifier in group expressionstypeof x==='undefined'totypeof x=='undefined'forwith empty initializer or withwhilestatement converted toforif(a){return b}if(c){return d}return echains toreturn a?b:c?d:ev2.9.0Compare Source
parse.Inputinstead ofio.ReadermintominifyJS minifier overview
Features:
true,false, andundefinedto!0,!1andvoid 0vardeclarations to the top of the global/function scope (if more than one)if/elsestatements to expressionsreturnandthrowIt compresses files at about 25 MB/s (only minifying, not considering reading/writing files) which is (much) faster than existing minifiers. Compression rate is between 1.5 and 3.0 depending on the file (respectively, the compression file size is between 35% -- 65% of the original). Example of known files:
The minifier has been tested for a number of web applications including WordPress. The
go-fuzzfuzzer has been used extensively in order to detect bugs, and will continue finding bugs using https://github.com/google/oss-fuzzv2.8.0Compare Source
WARNING for package maintainers, some files have been renamed, adjust your build scripts accordingly.
make release. This fixes theREADME.mdfile location inside the archives to be in the root of the archivecmd/minify/install.sh, usemake installinsteadcmd/minify/minify_bash_tab_completiontocmd/minify/bash_completionLICENSE.mdtoLICENSEas it is not a Markdown fileminsubpackage tominifyminifywithout arguments will print a more informative error messagev2.7.7Compare Source
--cpuprofileand--memprofileoptions--matchand--syncsimultaneously, fixes #315--matchapplies to all filename inputs not just under directories<a>tag with manynameoridattributes (OSS-Fuzz)+in DataURI, fixes #314@ : ; = ? + , / $ \t \n \rin DataURIs (works for Chrome, Firefox, Opera, Edge, Safari, Yandex, and IE9, IE10, IE11)Renovate configuration
📅 Schedule: 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.