Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/teppeis/closure-compiler-es-compat-table

ECMAScript compatibility checker for Closure Compiler
https://github.com/teppeis/closure-compiler-es-compat-table

closure-compiler compat-table ecmascript

Last synced: about 2 months ago
JSON representation

ECMAScript compatibility checker for Closure Compiler

Awesome Lists containing this project

README

        

# ECMAScript compatibility checker for Closure Compiler

[![Test](https://github.com/teppeis/closure-compiler-es-compat-table/actions/workflows/test.yml/badge.svg)](https://github.com/teppeis/closure-compiler-es-compat-table/actions/workflows/test.yml)

Run [kangax's ES compat-table tests](https://kangax.github.io/compat-table/es6/) for [Google Closure Compiler](https://github.com/google/closure-compiler).

Also see [ECMAScript compatibility tracking issue · Issue \#2899 · google/closure\-compiler](https://github.com/google/closure-compiler/issues/2899)

## Setup

```console
$ git clone https://github.com/teppeis/closure-compiler-es-compat-table.git
$ git submodule --init update
$ npm install
```

## Update tests

Import new tests from `compat-table`

```console
$ ./update-tests.js
```

## Run tests and update result

```console
$ ./runjs es6 # use current installed google-closure-compiler
$ ./runjs es6/v20180402 # use google-closure-compiler@20180402
$ ./runjs es6/v20180402/syntax
$ ./runjs es6/v20180402/syntax/rest_parameters
$ ./runjs es6/v20180402/syntax/rest_parameters/basic_functionality
```

## Update `latest`

```console
$ ./update-latest.sh v20180402
```