coffeescript
Advanced tools
Comparing version 2.2.4 to 2.3.0
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // This **Browser** compatibility layer extends core CoffeeScript functions |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // `cake` is a simplified version of [Make](http://www.gnu.org/software/make/) |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // CoffeeScript can be used both on the server, as a command-line compiler based |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // The `coffee` utility. Handles command-line compilation of CoffeeScript |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -289,12 +289,11 @@ // The CoffeeScript parser is generated by [Jison](https://github.com/zaach/jison) | ||
], | ||
SimpleObjAssignable: [ | ||
o('Identifier'), | ||
o('Property'), | ||
o('ThisProperty'), | ||
SimpleObjAssignable: [o('Identifier'), o('Property'), o('ThisProperty')], | ||
ObjAssignable: [ | ||
o('SimpleObjAssignable'), | ||
o('[ Expression ]', | ||
function() { | ||
return new Value(new ComputedPropertyName($2)); | ||
}) | ||
}), | ||
o('AlphaNumeric') | ||
], | ||
ObjAssignable: [o('SimpleObjAssignable'), o('AlphaNumeric')], | ||
// Object literal spread properties. | ||
@@ -1352,21 +1351,17 @@ ObjRestValue: [ | ||
For: [ | ||
o('Statement ForBody', | ||
o('Statement ForBody', | ||
function() { | ||
return new For($1, | ||
$2); | ||
return $2.addBody($1); | ||
}), | ||
o('Expression ForBody', | ||
o('Expression ForBody', | ||
function() { | ||
return new For($1, | ||
$2); | ||
return $2.addBody($1); | ||
}), | ||
o('ForBody Block', | ||
o('ForBody Block', | ||
function() { | ||
return new For($2, | ||
$1); | ||
return $1.addBody($2); | ||
}), | ||
o('ForLineBody Block', | ||
function() { | ||
return new For($2, | ||
$1); | ||
return $1.addBody($2); | ||
}) | ||
@@ -1377,20 +1372,18 @@ ], | ||
function() { | ||
return { | ||
return new For([], | ||
{ | ||
source: LOC(2)(new Value($2)) | ||
}; | ||
}); | ||
}), | ||
o('FOR Range BY Expression', | ||
function() { | ||
return { | ||
return new For([], | ||
{ | ||
source: LOC(2)(new Value($2)), | ||
step: $4 | ||
}; | ||
}); | ||
}), | ||
o('ForStart ForSource', | ||
function() { | ||
$2.own = $1.own; | ||
$2.ownTag = $1.ownTag; | ||
$2.name = $1[0]; | ||
$2.index = $1[1]; | ||
return $2; | ||
return $1.addSource($2); | ||
}) | ||
@@ -1401,14 +1394,11 @@ ], | ||
function() { | ||
return { | ||
return new For([], | ||
{ | ||
source: LOC(2)(new Value($2)), | ||
step: $4 | ||
}; | ||
}); | ||
}), | ||
o('ForStart ForLineSource', | ||
function() { | ||
$2.own = $1.own; | ||
$2.ownTag = $1.ownTag; | ||
$2.name = $1[0]; | ||
$2.index = $1[1]; | ||
return $2; | ||
return $1.addSource($2); | ||
}) | ||
@@ -1419,9 +1409,35 @@ ], | ||
function() { | ||
return $2; | ||
return new For([], | ||
{ | ||
name: $2[0], | ||
index: $2[1] | ||
}); | ||
}), | ||
o('FOR AWAIT ForVariables', | ||
function() { | ||
var index, | ||
name; | ||
[name, | ||
index] = $3; | ||
return new For([], | ||
{ | ||
name, | ||
index, | ||
await: true, | ||
awaitTag: LOC(2)(new Literal($2)) | ||
}); | ||
}), | ||
o('FOR OWN ForVariables', | ||
function() { | ||
$3.own = true; | ||
$3.ownTag = LOC(2)(new Literal($2)); | ||
return $3; | ||
var index, | ||
name; | ||
[name, | ||
index] = $3; | ||
return new For([], | ||
{ | ||
name, | ||
index, | ||
own: true, | ||
ownTag: LOC(2)(new Literal($2)) | ||
}); | ||
}) | ||
@@ -1428,0 +1444,0 @@ ], |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // This file contains the common helper functions that we'd like to share among |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // Node.js Implementation |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var LONG_FLAG, MULTI_FLAG, OPTIONAL, OptionParser, SHORT_FLAG, buildRule, buildRules, normalizeArguments, repeat, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var CoffeeScript, Module, binary, child_process, ext, findExtension, fork, getRootModule, helpers, i, len, loadFile, path, ref; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var CoffeeScript, addHistory, addMultilineHandler, fs, getCommandId, merge, nodeREPL, path, replDefaults, runInContext, sawSIGINT, transpile, updateSyntaxError, vm; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // The CoffeeScript language has a good deal of optional syntax, implicit syntax, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // The **Scope** class regulates lexical scoping within CoffeeScript. As you |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.2.4 | ||
// Generated by CoffeeScript 2.3.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // Source maps allow JavaScript runtimes to match running JavaScript back to |
@@ -11,3 +11,3 @@ { | ||
"author": "Jeremy Ashkenas", | ||
"version": "2.2.4", | ||
"version": "2.3.0", | ||
"license": "MIT", | ||
@@ -43,7 +43,7 @@ "engines": { | ||
"devDependencies": { | ||
"babel-core": "~6.26.0", | ||
"babel-core": "~6.26.2", | ||
"babel-preset-babili": "~0.1.4", | ||
"babel-preset-env": "~1.6.1", | ||
"babel-preset-minify": "^0.3.0", | ||
"codemirror": "^5.35.0", | ||
"babel-preset-minify": "^0.4.0", | ||
"codemirror": "^5.37.0", | ||
"docco": "~0.8.0", | ||
@@ -53,6 +53,6 @@ "highlight.js": "~9.12.0", | ||
"markdown-it": "~8.4.1", | ||
"underscore": "~1.8.3", | ||
"webpack": "~4.1.1" | ||
"underscore": "~1.9.0", | ||
"webpack": "~4.6.0" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -1,25 +0,25 @@ | ||
@@@@@@@ @@@@ @@@@@ | ||
{ @@@@@@@@@@ @@@ @@@ | ||
} } { @@@@ @@ @@@ @@@ | ||
{ { } } @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@@@@@ | ||
} }{ { @@@@ @@@ @@ @@@@@ @@@@@@ @@@ @@ @@@@ @@ | ||
{ }{ } } @@@@ @@@@ @@ @@@ @@@ @@@ @@@ @@@ @@@ | ||
{ }{ }{ { } @@@@ @@@@ @@ @@@ @@@ @@@@@@@@ @@@@@@@@ | ||
{ { } { } { } } @@@@@ @@@@ @@ @@@ @@@ @@@ @@@ | ||
{ } { } { } @@@@@@@@@@ @@@@@@@@ @@@ @@@ @@@@@@@@ @@@@@@@@ | ||
@@@@@@ { } { } @@@@@@@ @@@@@ @@@ @@@ @@@@@ @@@@@ | ||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@ @@@ | ||
@@ @@@@@@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@ @@@ @@@@ @@ @@@@@@@@@@@@@@@@@@@@@@@@ | ||
@@@@ @@@ @@ @@@@ @@@ @@@@@@@@@@@@@@@@@@@@@ | ||
@@@@@ @@@@@ @@ @@ @@@ @@@@@@@ @@@@@ @@@ @@@@@@@@@@@@@@@@@@ | ||
@@@@@ @@@ @@@ @@@@@@@@ @@@@ @@@@ @@@@@@@ @@@ @@@@@@@@@@@@@@@@ | ||
@@@@@ @@@ @@@@ @@@@ @@@ @@@ @@@ @@@@@@@@@@@@@@ | ||
@@@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ | ||
@@@ @@@@ @@@ @@@@ @@@@ @@@ @@@@ @@@@ | ||
@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ | ||
@@@@@@@@@ @@@@@@ @@@@ @@@@ @@@@@@@@@ @@@@ | ||
@@@ @@@@ | ||
@@@ | ||
@@@ | ||
@@ -33,7 +33,9 @@ CoffeeScript is a little language that compiles into JavaScript. | ||
```shell | ||
# Install locally for a project: | ||
npm install --save-dev coffeescript | ||
# Install globally to execute .coffee files anywhere: | ||
npm install --global coffeescript | ||
``` | ||
Leave off the `--global` if you don’t wish to install globally. | ||
## Getting Started | ||
@@ -40,0 +42,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65
657471
14286