vsivsi/meteor-file-collection

Upgrade to CoffeeScript 2.0 for latest Meteor compatibility (1.6.1)

Open

#171 geöffnet am 2. Feb. 2018

Auf GitHub ansehen
 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)CoffeeScript (38 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (158 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

So it looks like the upgrade of the coffeescript from 1.0.17 to 1.12.3_1 after version 1.3.5 of this project has created an incompatibility with the latest Meteor (1.6.1). From what I can tell Meteor 1.6.1 uses a version of babel that is incompatible with this 1.12.3_1 version coffeescript. There is probably two options here:

  • Upgrade this project to use a newer Meteor/Babel compatible version of coffeescript (like a 2.0 version). This seems hard since there are some breaking changes with moving from coffeescript 1.x to 2.0.
  • Downgrade this project back to the last Meteor compatible coffeescript version (1.0.17).

I attempted the first option and ran into problems with your use of super that is now deprecated in coffeescript 2.0.

I ended up falling back to an older coffeescript ... 1.0.17 (the one you use in version 1.3.5) and things seem to be working for now.

Contributor Guide