Skip to content

Releases: google/traceur-compiler

0.0.101

02 Apr 22:31
@arv arv
Compare
Choose a tag to compare
  • Make sure we do not clobber a pre existing System object.
  • Use a context argument in System.register
  • Add commonjs versions of the src in dist/commonjs/. This making reusing core Traceur modules easier from projects such as es module loader:
require('traceur/bin/traceur-runtime.js');
var Parser = require('traceur/dist/commonjs/syntax/Parser.js').Parser;
...

0.0.94

02 Apr 22:28
@arv arv
Compare
Choose a tag to compare
  • Lots of refactoring related to traceur runtime.
  • Add support for import type and make sure the import/export validation works.
  • Implement __moduleName second argument to System.register.

0.0.93

02 Apr 22:24
@arv arv
Compare
Choose a tag to compare
  • Add support for TypeAliasDeclaration. This adds support for TypeScript/Flow's type alias declaration:
type NumberArray = Array<number>;
  • Basic JSX parsing support. The option to turn this on is called jsx. You can provide your own
    function to call by setting this option to a string. --jsx=my.func.
    If not set it defaults to React.createElement.
  • Remove type-assertions option. It was never fully implemented...
  • Add --modules=parse output option. This allows outputting ES6 module syntax.
  • Basic polyfill for WeakMap/WeakSet.
  • Support IdentifierName in extended export. The following is now valid:
// Options: --export-from-extended
export new from './file.js';
  • Fix issue where we added initializers to for in vars.
  • Only conditionally override Object.keys and Object.getOwnPropertyNames if there is no native support for Symbol.

0.0.92

02 Apr 22:17
@arv arv
Compare
Choose a tag to compare
  • Fix issue with regular expressions. Regular expressions starting with /=* was not parsed correctly.
  • Fix arrow functions in derived class constructors

0.0.91

19 Jul 00:28
@arv arv
Compare
Choose a tag to compare
  • Add tool for printing dependencies
  • Improve performance for bulk exports when using --modules=instantiate
  • Add super support to object literals
  • Fix issue with parens and arrow functions (#1962)
  • Fix issue with let/const in while/do-while (#1970)
  • Remove extra use strict directive from modules (#1973)
  • Renamed some AST class names. See commits for details.