2009-12-24 22:41:35 +00:00
|
|
|
{
|
2017-02-13 01:00:05 +00:00
|
|
|
"name": "coffeescript",
|
2014-01-28 01:56:29 +00:00
|
|
|
"description": "Unfancy JavaScript",
|
|
|
|
"keywords": [
|
|
|
|
"javascript",
|
|
|
|
"language",
|
|
|
|
"coffeescript",
|
|
|
|
"compiler"
|
|
|
|
],
|
|
|
|
"author": "Jeremy Ashkenas",
|
2.0.0-beta3 (#4594)
* Don’t confuse the syntax highlighter
* Comment Assign::compilePatternMatch a bit
* Assignment expressions in conditionals are a bad practice
* Rename `wrapInBraces` to `wrapInParentheses`, to set the stage for future `wrapInBraces` that uses `{` and `wrapInBrackets` that uses `[`
* Correct comment
* object destructuring
* Allow custom position of the rest element.
* Output simple array destructuring assignments to ES2015
* Output simple object destructured assignments to ES2015
* Compile shorthand object properties to ES2015 shorthand properties
This dramatically improves the appearance of destructured imports.
* Don’t confuse the syntax highlighter
* Comment Assign::compilePatternMatch a bit
* Assignment expressions in conditionals are a bad practice
* Rename `wrapInBraces` to `wrapInParentheses`, to set the stage for future `wrapInBraces` that uses `{` and `wrapInBrackets` that uses `[`
* object destructuring
* Allow custom position of the rest element.
* rest element in object destructuring
* rest element in object destructuring
* fix string interpolation
* merging
* fixing splats in object literal
* Rest element in parameter destructuring
* merging with CS2
* merged with CS2
* Add support for the object spread initializer. https://github.com/tc39/proposal-object-rest-spread/blob/master/Spread.md
* Fix misspellings, trailing whitespace, other minor details
* merging with beta2
* refactor object spread properties
* small fix
* - Fixed object spread function parameters.
- Clean up "Assign" and moved all logic for object rest properties in single method (compileObjectDestruct).
- Add helper function "objectWithoutKeys" to the "UTILITIES" for use with object rest properties,
e.g. {a, b, r...} = obj => {a, b} = obj, r = objectWithoutKeys(...)
- Clean up "Obj" and moved all logic for object spread properties in single method (compileSpread).
- Clean up "Code".
- Add method "hasSplat" to "Obj" and "Value" for checking if Obj contains the splat.
- Enable placing spread syntax triple dots on either right or left, per #85 (https://github.com/coffeescript6/discuss/issues/85)
* Fixed typos
* Remove unused code
* Removed dots (e.g. splat) on the left side from the grammar
* Initial release for deep spread properties, e.g. obj2 = {obj.b..., a: 1} or {obj[b][c]..., d: 7}
Tests need to be prepared!
* 1. Object literal spread properties
Object literals:
- obj = { {b:{c:{d:1}}}..., a:1 }
Parenthetical:
- obj = { ( body ), a:1 }
- obj = { ( body )..., a:1 }
Invocation:
- obj = { ( (args) -> ... )(params), a:1 }
- obj = { ( (args) -> ... )(params)..., a:1 }
- obj = { foo(), a:1 }
- obj = { foo()..., a:1 }
2. Refactor, cleanup & other optimizations.
* Merged with 2.0
* Cleanup
* Some more cleanup.
* Fixed error with freeVariable and object destructuring.
* Fixed errors with object spread properties.
* Improvements, fixed errors.
* Minor improvement.
* Minor improvements.
* Typo.
* Remove unnecessary whitespace.
* Remove unnecessary whitespace.
* Changed few "assertErrorFormat" tests since parentheses are now allowed in the Obj.
* Whitespace cleanup
* Comments cleanup
* fix destructured obj param declarations
* refine fix; add test
* Refactor function args ({a, b...})
* Additional tests for object destructuring in function argument.
* Minor improvement for object destructuring variable declaration.
* refactor function args ({a, b...}) and ({a, b...} = {}); Obj And Param cleanup
* fix comment
* Fix object destructuring variable declaration.
* more tests with default values
* fix typo
* Fixed default values in object destructuring.
* small fix
* Babel’s tests for object rest spread
* Style: spaces after colons in object declarations
* Cleanup comments
* Simplify Babel tests
* Fix comments
* Fix destructuring with splats in multiple objects
* Add test for default values in detsructuring assignment with splats
* Handle default values when assigning to object splats
* Rewrite traverseRest to fix handling of dynamic keys
* Fix double parens around destructuring with splats
* Update compileObjectDestruct comments
* Improve formatting of top-level destructures with splats and tidy parens
* Added a bigger destructuring-with-defaults test and fixed a bug
* Refactor destructuring grammar to allow additional forms
* Add a missing case to ObjSpreadExpr
* These tests shouldn’t run in the browser
* Fix test.html
* Fix docs scroll position getting screwed up by CodeMirror initialization
* Breaking change documentation about => (fixes #4593)
* Spread/rest syntax documentation
* Documentation about bound class methods
* 2.0.0-beta3 changelog
* Add note about ‘lib’
* Fix accidentally converting this to tabs
* Bump version to 2.0.0-beta3
* Update annotated source and test.html
2017-06-30 16:58:05 +00:00
|
|
|
"version": "2.0.0-beta3",
|
2014-01-28 01:56:29 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"engines": {
|
2017-04-03 05:05:09 +00:00
|
|
|
"node": ">=7.6.0"
|
2011-02-18 02:21:31 +00:00
|
|
|
},
|
2014-01-28 01:56:29 +00:00
|
|
|
"directories": {
|
2017-02-13 01:00:05 +00:00
|
|
|
"lib": "./lib/coffeescript"
|
2011-02-18 02:21:31 +00:00
|
|
|
},
|
2017-05-14 04:18:05 +00:00
|
|
|
"main": "./lib/coffeescript/index",
|
|
|
|
"browser": "./lib/coffeescript/browser",
|
2014-01-28 01:56:29 +00:00
|
|
|
"bin": {
|
|
|
|
"coffee": "./bin/coffee",
|
|
|
|
"cake": "./bin/cake"
|
2011-02-18 02:21:31 +00:00
|
|
|
},
|
2016-09-24 12:26:46 +00:00
|
|
|
"files": [
|
|
|
|
"bin",
|
|
|
|
"lib",
|
|
|
|
"register.js",
|
|
|
|
"repl.js"
|
|
|
|
],
|
2012-07-09 02:55:43 +00:00
|
|
|
"scripts": {
|
2016-11-29 07:10:17 +00:00
|
|
|
"test": "node ./bin/cake test",
|
2013-11-30 04:59:22 +00:00
|
|
|
"test-harmony": "node --harmony ./bin/cake test"
|
2012-07-09 02:55:43 +00:00
|
|
|
},
|
2014-01-28 01:56:29 +00:00
|
|
|
"homepage": "http://coffeescript.org",
|
2014-05-08 19:07:42 +00:00
|
|
|
"bugs": "https://github.com/jashkenas/coffeescript/issues",
|
2014-01-28 01:56:29 +00:00
|
|
|
"repository": {
|
2011-02-18 02:21:31 +00:00
|
|
|
"type": "git",
|
2014-05-08 19:07:42 +00:00
|
|
|
"url": "git://github.com/jashkenas/coffeescript.git"
|
2011-08-05 03:55:48 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-04-26 23:21:29 +00:00
|
|
|
"babel-core": "^6.24.1",
|
|
|
|
"babel-preset-babili": "0.0.12",
|
|
|
|
"babel-preset-env": "^1.4.0",
|
2016-11-29 07:10:17 +00:00
|
|
|
"docco": "~0.7.0",
|
2017-07-17 06:53:22 +00:00
|
|
|
"highlight.js": "~9.12.0",
|
2016-11-29 07:10:17 +00:00
|
|
|
"jison": ">=0.4.17",
|
2017-04-18 06:30:40 +00:00
|
|
|
"markdown-it": "^8.3.1",
|
2017-05-14 04:18:05 +00:00
|
|
|
"underscore": "~1.8.3",
|
|
|
|
"webpack": "^2.5.1"
|
2016-10-23 15:37:51 +00:00
|
|
|
},
|
2017-04-18 06:30:40 +00:00
|
|
|
"dependencies": {}
|
2009-12-24 22:41:35 +00:00
|
|
|
}
|