Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `parseCSString` no longer creates the `sandbox` variable if it was missing, the responsibility of such things should be, and now is, handled via the eval function of CoffeeScript which is what that method uses - This is a major breaking change as parsing CoffeeScript files will now by default run still in a virtual machine but now in the global context rather than their own context - If you are parsing untrusted CoffeeScript files, you should now setup the `sandbox` option yourself with the appropriate values - If you are parsing trusted CoffeeScript files, or not parsing CoffeeScript files (e.g. only CSON files), then this change won't impact you - This change is done such that the result object from `parseCSString` passes `result.__proto__ === Object.prototype` which before it did not as the different context caused the prototype to point to a different contexts `Object` causing the assertion to fail - Updated dependencies - Updated internal packing conventions
- Loading branch information