pecl-jsmin icon indicating copy to clipboard operation
pecl-jsmin copied to clipboard

PHP PECL extension for JavaScript minification

Results 11 pecl-jsmin issues
Sort by recently updated
recently updated
newest added

In file included from /tmp/pear/temp/jsmin/php_jsmin.c:27: /tmp/pear/temp/jsmin/jsmin.h:28:42: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 28 | extern jsmin_obj* jsmin(char *javascript TSRMLS_DC); | ^~~~~~~~~ /tmp/pear/temp/jsmin/jsmin.h:29:43: error: expected ‘;’, ‘,’ or ‘)’...

will this receive php8 support? Current release does not compile with php 8: ``` In file included from php_jsmin.c:27: jsmin.h:28:42: error: expected ';', ',' or ')' before 'TSRMLS_DC' 28 |...

I was advised to install jsmin extension by Advagg Drupal module. Here is my php version: ```PHP 8.1.6 (cli) (built: Jun 29 2020 09:25:38) (NTS) Copyright (c) The PHP Group...

based on https://github.com/sqmk/pecl-jsmin/pull/59 - `tests/99-compress-jquery.phpt` fails because package from PECL has no jquery shipped, and that's valid as the commited version is outdated - `tests/missing-argument8.phpt` is a copy for PHP...

Using JSMin in drupal module advagg, I get some console errors in Firefox and Chrome like "SyntaxError: illegal character", "Uncaught SyntaxError: Unexpected token ILLEGAL" or "SyntaxError: expected expression, got ')'"....

```bash $ php ```` >PHP Warning: PHP Startup: jsmin: Unable to initialize module Module compiled with module API=20180731 PHP compiled with module API=20190902 These options need to match ```bash $...

I get following error after JS is minified > Uncaught ReferenceError: Invalid left-hand side expression in postfix operation It happens if there is some statement like `anything_here + ++aVariable` then...

jsmin version is 3.0. Example JS code `var b = a.match(/ред/i);` Expected output `var b=a.match(/ред/i);` Actual output `var b=a.match(/@54/i);` So any unicode character inside a regular expression is replaced. In...

This package is not "PHP license" It is "PHP and BSD with restriction" Because of jsmin.c, this is not a free software. Mostly for information.