closure-compiler icon indicating copy to clipboard operation
closure-compiler copied to clipboard

A JavaScript checker and optimizer.

Results 180 closure-compiler issues
Sort by recently updated
recently updated
newest added

[![Build Status](https://travis-ci.org/christiantjl/closure-compiler.svg?branch=unicode)](https://travis-ci.org/christiantjl/closure-compiler) Further resolves #3639, aims to prevent 99.999% of future issues that might occur from using non-English characters (except the few Greek and Latin chars manually included) in an...

cla: yes

Sample source: ```javascript /** moduleTest.js */ import fs from 'fs'; console.log(fs); ``` Command: ```none google-closure-compiler \ -O ADVANCED \ --module_resolution NODE \ --process_common_js_modules \ --externs ./node_modules/google-closure-compiler/contrib/nodejs/fs.js \ moduleTest.js ``` The...

feat

I used: https://closure-compiler.appspot.com/home **Input code:** `document.write(String.fromCharCode(115));` **Expected output:** `document.write("s")` **Actual output:** `document.write(String.fromCharCode(115));` I expected the `String.fromCharCode` function to be removed to just the resulting character.

good first issue
P4
feat

The dependency for protobuf (com.google.protobuf's artifact protobuf-java) has a reported vulnerability as described in https://nvd.nist.gov/vuln/detail/CVE-2015-5237. Updating to a version where this has been patched (3.4.0 onwards apparently, current dependency is...

If an input file name contains non-7bit-ASCII characters in it, Closure fails to operate. STR: 1. Install Closure compiler to directory "☃äö Ć € 🦠". (not mandatory, but for good...

help wanted

I tried to transpile down the vscode frontend from es2020 to es2015 in order to use it on a machine that does not support newer browsers. Rare use case but...

customer issue

The following class declaration: ``` js class Job extends JobModelMixin { ... } ``` Yields the following line when compiled into ES5-Strict, ``` js $jscomp.inherits(Job, JobModelMixin); ``` But is missing...

bug
ES6

To avoid compilation breaking uses of `this` and `super` in static methods of ES6 classes, you have to get `CommandLineRunner` to do `CompilerOptions.setAssumeStaticInheritanceRequired(true)` when creating the `Compiler` object. Unfortunately, there...

P3
good first issue

Over at the Emscripten repository, we found a situation where we would like to instruct Closure not to minify any JS symbols that contain the substring `__asyncjs__` in them. Or...

The following JS input ```js new DOMParser() .parseFromString(``, "image/svg+xml") .documentElement .width .baseVal ``` compiles into this under advanced optimizations ```js new DOMParser() .parseFromString(``, "image/svg+xml") .documentElement .width .g ``` The `baseVal`...

triage-done