Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jashkenas/coffeescript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.3.2
Choose a base ref
...
head repository: jashkenas/coffeescript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.4.0
Choose a head ref
  • 11 commits
  • 53 files changed
  • 7 contributors

Commits on Oct 5, 2018

  1. Configuration menu
    Copy the full SHA
    294bb47 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2018

  1. implement coffeescript.registerCompiled method (#5130)

    * implement coffeescript._addSoucrse method
    
    This method enables an external module to implement caching of
    compilation results. When the compiled js source is loaded from cache,
    the original coffee code should be added with this method in order to
    enable the Error.prepareStackTrace below to correctly adjust the stack
    trace for the corresponding file (the source map will be generated on
    demand).
    
    * replace _addSource with registerCompiled
    
    * extract the logic from _compileFile into _compileRawFileContent
    
    _compileFile takes care of logging the file and calls _compileRawFileContent
    
    this way an external caching implementation which computes cache key
    based on raw content of the sources file, can reuse the logic of
    _compileFile and avoid having calling `fs.readFileSync` for the file
    more twice in case of cache miss
    
    * remove 'output' argument from registerCompiled
    adrian-gierakowski authored and GeoffreyBooth committed Nov 28, 2018
    Configuration menu
    Copy the full SHA
    2f82b75 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2019

  1. Configuration menu
    Copy the full SHA
    247b511 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2019

  1. Fix 5085 (#5145)

    * Add test for #5085
    
        $ cake test
        failed 1 and passed 1274 tests in 4.81 seconds
    
          #5085: Bug: @ reference to class not maintained in do block
          AssertionError [ERR_ASSERTION]: Expected undefined to equal 2
    
    * Fix #5085: @ reference to class in "do" block
    
    Assuming that a bound Code node inside an ExecutableClassBody without a
    name must be a "do" block.
    
    * Additional tests
    
    #5145 (comment)
    
    Also switched to concat'g strings for test values, as opposed to
    incrementing numbers: makes the tests a bit easier to read.
    brewingcode authored and GeoffreyBooth committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    63ffe0a View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2019

  1. Fix #5128: parens around default param (#5167)

    * compile params at LEVEL_PAREN
    
    * test
    helixbass authored and GeoffreyBooth committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    ca275c2 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2019

  1. Dynamic import (#5169)

    * dynamic import
    
    * updated grammar
    
    * specify callable
    
    * DynamicImportCall
    
    * Fix from code review
    
    Co-Authored-By: helixbass <[email protected]>
    
    * recompile
    helixbass authored and GeoffreyBooth committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    ff24e5c View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2019

  1. Fix tests (#5176)

    * Fix cake test:integrations per newer Webpack
    
    * Update dependencies
    
    * Update dependencies
    GeoffreyBooth authored Mar 24, 2019
    Configuration menu
    Copy the full SHA
    ec034e2 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2019

  1. Fix repl.rli deprecation (#5178)

    The `rli` property is just a reference to itself. It still exists
    for legacy reasons but it will likely be removed in a future major
    version. This makes sure everything works as expected.
    BridgeAR authored and GeoffreyBooth committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    41b31c7 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2019

  1. ES module version of compiler for use in browsers; dynamic import() d…

    …ocs; revised Stage 3 policy (#5177)
    
    * Build both a legacy and modern browser compiler
    
    * Dynamic import example and documentation
    
    * Update the docs to use the modern browser compiler if the browser supports it
    
    * Update policy regarding Stage 3 features
    
    * This never made sense, and assigning a string to index 0 *of a string* throws in Module mode (and silently does nothing in Script mode) so remove this unneeded code that throws when compiling `fn for i from from iterable` in Module mode
    
    * Have browser-based tests use the ES module version if supported
    
    * Simplify building logic
    
    * Update output
    
    * For the ES module version of the browser compiler, don't automatically attach the runScripts event handler
    
    * Consistent comments
    
    * Fix comment
    GeoffreyBooth authored Mar 27, 2019
    Configuration menu
    Copy the full SHA
    f6d6377 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2019

  1. Release 2.4.0 (#5182)

    * cake doc:site:watch should also watch the changelog files
    
    * Changelog for 2.4.0
    
    * 2.4.0 output
    GeoffreyBooth authored Mar 30, 2019
    Configuration menu
    Copy the full SHA
    c09d8fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6f6aa8 View commit details
    Browse the repository at this point in the history
Loading