Skip to content

Add CoffeeScript 2.7.0 #277

@KayleighWasTaken

Description

@KayleighWasTaken
  • Name: CoffeeScript
  • Version: 2.7.0
  • Release Note/Changelog:
    Changelogs can be found at coffeescript.org.

The main rationale behind requesting this update is due to the extremely outdated (and slow) Node version (v 8.7.0) that the current CS 1.10.0 runner is using. This will also make transitioning away from the Codewars test framework to the chai framework used by the JS/TS runners easier, as chai assertions (and assertions in general) behave very poorly on Node v8, pictured below.

An assertion being run on the Node v8 JS/CS runner:
image

The same assertion being run on the Node v10 JS runner:
image

This is an issue as for Kata with large expected outputs, for example The Observed Pin, where the output buffer can become entirely filled without having chai truncate the test output and giving the solver unhelpful error messages such as expected [ Array(1440) ] to deeply equal [ Array(1440) ]. The performance of certain assertions also seems to be severely degraded on the current runner, as a single deep equality check between two ~30000 element arrays takes over 12000ms on its own.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions