BoldGrid / w3-total-cache

GNU General Public License v2.0
151 stars 81 forks source link

Upgrading JSMin.php to latest version to support ES6 #884

Open alexw23 opened 1 month ago

alexw23 commented 1 month ago

Had a few issues with string literals in the current version of JSMin.

Have upgraded to the latest version and the issues have gone away so would be great to get this merged in.

Source taken from here and configured as per the previous file (i.e change name space and add in exceptions).

Also might fix https://github.com/BoldGrid/w3-total-cache/issues/418.

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 187 lines in your changes are missing coverage. Please review.

Project coverage is 4.21%. Comparing base (3d1b00c) to head (0c5f9ec).

Files Patch % Lines
lib/Minify/JSMin.php 0.00% 187 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #884 +/- ## ======================================== Coverage 4.21% 4.21% - Complexity 21594 21598 +4 ======================================== Files 873 873 Lines 95182 95180 -2 ======================================== Hits 4010 4010 + Misses 91172 91170 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.