mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Specific improvements: - Parentheses are now stripped from commands that look like named classes so that they will be treated as class declarations rather than as named class expressions. - When the `ecmascript` package is installed, `compileForShell` errors are now exposed to the `evalCommand` callback. - Instead of using `vm.runInThisContext` to parse and evaluate commands at the same time, `evalCommand` now parses commands by creating a new `vm.Script` and later evaluates them using `script.runInThisContext()`, so that `SyntaxError`s can be reported immediately. Fixes #5131.