Comparing 2.0.1...2.0.2 · jashkenas/coffeescript

Commits on Sep 27, 2017

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Oct 2, 2017

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Oct 3, 2017

  1. Fix #4727: Tests failing in Windows (#4731)

    * ?
    
    * ??
    
    * Revert the coffee.EXE approach
    
    * Explicitly define the PATH to include only the folders we need
    
    * Get spawnSync working in Windows
    
    * Simplify test to be cross-platform
    Configuration menu

    Browse the repository at this point in the history

Commits on Oct 5, 2017

  1. Configuration menu

    Browse the repository at this point in the history

  2. Transpile REPL (#4729)

    * Fix #4725: apply transpile option to require’d .coffee files
    
    * Use the current module’s options if it has any, before going searching up the tree
    
    * Don’t mutate passed-in options object
    
    * If the REPL is run with `--transpile`, turn transpilation on for both the current REPL input and any files imported by that input
    
    * Use the command.coffee machinery for parsing arguments
    
    * Fix test for Windows
    Configuration menu

    Browse the repository at this point in the history

Commits on Oct 7, 2017

  1. Fix #4724 (#4737)

    The handling of hoisted nodes in class bodies was incorrect, as the node
    was being unwrapped *before* checking if it was hoisted, meaning nodes
    that should have been hoisted would be output normally.
    
    This affected `PassthroughLiteral`s as they were wrapped in a `Value`.
    Configuration menu

    Browse the repository at this point in the history

Commits on Oct 12, 2017

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Oct 19, 2017

  1. Fix #4706: Flow generics (#4736)

    * Fix #4706: Comments before a PARAM_START token stay before that token
    
    * Simplify nodes
    
    * Add function-in-function test
    
    * Fix #4706: Comments after class name should go after the identifier that's after `class`, not the variable assigned to
    
    * Fix #4706: Top-level identifiers with trailing comments get wrapped in parentheses (around the comment too) so that Flow doesn't interpret it as a JavaScript label
    
    * Cleanup
    
    * If the source has parentheses wrapping an identifier followed by a block comment, output those parentheses rather than optimizing them away; this is a requirement of Flow, to distinguish from JavaScript labels
    
    * More tests for Flow comments
    Configuration menu

    Browse the repository at this point in the history

  2. Fix #4747: Flow local variables (#4753)

    * Fix #4706: Comments before a PARAM_START token stay before that token
    
    * Simplify nodes
    
    * Add function-in-function test
    
    * Fix #4706: Comments after class name should go after the identifier that's after `class`, not the variable assigned to
    
    * Fix #4706: Top-level identifiers with trailing comments get wrapped in parentheses (around the comment too) so that Flow doesn't interpret it as a JavaScript label
    
    * Cleanup
    
    * If the source has parentheses wrapping an identifier followed by a block comment, output those parentheses rather than optimizing them away; this is a requirement of Flow, to distinguish from JavaScript labels
    
    * More tests for Flow comments
    
    * For local variables with trailing inline herecomments, output the comments up in the variable declarations line for Flow compatibility
    Configuration menu

    Browse the repository at this point in the history

Commits on Oct 26, 2017

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

Commits on Oct 27, 2017

  1. 2.0.2 (#4758)

    * Give the notes about `super` and `this` their own section in the docs
    
    * 2.0.2 changelog
    
    * 2.0.2 release output
    
    * Rewrite
    Configuration menu

    Browse the repository at this point in the history