Skip to content

Tags: omicode/minify

Tags

1.3.28

Toggle 1.3.28's commit message
Merge pull request matthiasmullie#62 from EkkoSense/master

Allow URL-rewriting without saving the minified content to the file system

1.3.27

Toggle 1.3.27's commit message
Don't collapse line feeds after "return"

return is not guaranteed to be followed by a return value.
It could just be "return", followed by nothing (void return),
not even a semicolon, just line feed (ASI)
Whatever is next could, for example, be another operator.
We may just need ASI to kick in there, so keep the line feed
after return.

Fixes issue matthiasmullie#54

1.3.26

Toggle 1.3.26's commit message
Fix relative target path tests

1.3.25

Toggle 1.3.25's commit message
Allow minified data to be written to cache

1.3.24

Toggle 1.3.24's commit message
Add gzip method

Fixed matthiasmullie#47

1.3.23

Toggle 1.3.23's commit message
Don't convert standalone arrays

"return" looks like it could be a variable of which ['x']
is a key. I've improved the code to also check for keywords.
If whatever preceeds it is one of the keywords, don't convert.

Fixes issue matthiasmullie#44

1.3.22

Toggle 1.3.22's commit message
Empty strings should be extracted after all

The extraction routine needs to skip that match.
However, it doesn't need a placeholder value.

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