Skip to content

Tags: vastrek/minify

Tags

1.3.21

Toggle 1.3.21's commit message
Fix recursive relative path resolving

I had to split the action of minification into a separate
method because recursively importing files requires them
to also be minified, and I don't want that one to write
to a file.

1.3.20

Toggle 1.3.20's commit message
Make comments-regex quantifiers posessive

Was prone to hit PREG_BACKTRACK_LIMIT_ERROR.
Should also improve performance.

Fixes matthiasmullie#42

1.3.19

Toggle 1.3.19's commit message
Don't strip double semicolons before )

Fixes matthiasmullie#40

1.3.18

Toggle 1.3.18's commit message
Add a newline between scripts being joined

Fixes issue matthiasmullie#35

1.3.17

Toggle 1.3.17's commit message
Improve string extraction

Test to check if ending string delimiter is escaped was flawed.

1.3.16

Toggle 1.3.16's commit message
Don't strip whitespace after ++ or --

1.3.15

Toggle 1.3.15's commit message
In PHP5.3, closures have no notion of where they're run at

So static:: (just like $this) won't work either.

1.3.14

Toggle 1.3.14's commit message
Remove some chars from palceholder text

Should speed up next regexes, a few less chars

1.3.13

Toggle 1.3.13's commit message
Fix propertyNotation

I originally executed this on content where string had not yet been replaced.
Because this could cause false positives and match content inside strings, I
switched it to be executed after strings had been extracted.

However, this means those array key texts were also replaced, by something that
always looks like a valid variable. I've now moved that check to match the
extracted value, which we'll be replacing.

1.3.12

Toggle 1.3.12's commit message
Fix issue 26