This repository has been archived by the owner on Feb 9, 2021. It is now read-only.
Update module tdewolff/minify/v2 to v2.9.11 #38
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.11
Release Notes
tdewolff/minify
v2.9.11
Compare Source
--bundle
for concatenation when the input is a directory, see #348value
andplaceholder
it's significant), see #351translate=no
, see #352KeepComments
to keep all comments, see #366</script>
in strings, fixes #355width
andheight
attributes on<svg>
, fixes #367v2.9.10
Compare Source
"use strict"
, fixes #3430x80
upwards unless it's UTF-8, fixes #341v2.9.9
Compare Source
(function(){})()
to!function(){}()
which modifies the return value, fixes #340v2.9.8
Compare Source
1e-10
which was invalidly converted to.e-9
(this only applied to1e-10
,1e-100
, etc and not to other numbers such as1e-11
or1e-9
), fixes #339??
which is not supported by IE, Android+Firefox, and Android+Opera, fixes #338v2.9.7
Compare Source
Precision
option in minifying numbersforeignObject
tagsv2.9.6
Compare Source
v2.9.5
Compare Source
transparent
only if the color is fully transparent black (and not any other transparent color), fixes #332box-shadow
valuenone
conversion to0 0
as they are not equivalent, fixes #332title
andlang
attributes, fixes #331v2.9.4
Compare Source
v2.9.3
Compare Source
box-shadow
,background
,background-repeat
,background-size
, andbackground-position
properties (fixes #322)Decimals
options in favor ofPrecision
--decimals
options for CSS and SVG minifiers in favor of--precision
--bundle
option to explicitly bundle (concatenate/merge) files into one, do not asume from the-o
options 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 thecp
command and will be more intuitive.minify -o out path/to/file
would output toout/path/to/file
but will now output toout/file
. This is the same behaviour as thecp
command and will be more intuitive for users.v2.9.2
Compare Source
var
declaration intofor
orwhile
, and notlet
norconst
, fixes #325var
declaration with afor
orwhile
statementv2.9.1
Compare Source
in
identifier in group expressionstypeof x==='undefined'
totypeof x=='undefined'
for
with empty initializer or withwhile
statement converted tofor
if(a){return b}if(c){return d}return e
chains toreturn a?b:c?d:e
v2.9.0
Compare Source
parse.Input
instead ofio.Reader
min
tominify
JS minifier overview
Features:
true
,false
, andundefined
to!0
,!1
andvoid 0
var
declarations to the top of the global/function scope (if more than one)if
/else
statements to expressionsreturn
andthrow
It 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-fuzz
fuzzer has been used extensively in order to detect bugs, and will continue finding bugs using https://github.com/google/oss-fuzzv2.8.0
Compare Source
WARNING for package maintainers, some files have been renamed, adjust your build scripts accordingly.
make release
. This fixes theREADME.md
file location inside the archives to be in the root of the archivecmd/minify/install.sh
, usemake install
insteadcmd/minify/minify_bash_tab_completion
tocmd/minify/bash_completion
LICENSE.md
toLICENSE
as it is not a Markdown filemin
subpackage tominify
minify
without arguments will print a more informative error messagev2.7.7
Compare Source
--cpuprofile
and--memprofile
options--match
and--sync
simultaneously, fixes #315--match
applies to all filename inputs not just under directories<a>
tag with manyname
orid
attributes (OSS-Fuzz)+
in DataURI, fixes #314@ : ; = ? + , / $ \t \n \r
in 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.