coffeescript
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // This **Browser** compatibility layer extends core CoffeeScript functions |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(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.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(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.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(function() { | ||
@@ -622,12 +622,16 @@ // The `coffee` utility. Handles command-line compilation of CoffeeScript | ||
// browsers) or use a proper build chain like Gulp or Webpack. | ||
require('babel-core'); | ||
require('@babel/core'); | ||
} catch (error) { | ||
// Give appropriate instructions depending on whether `coffee` was run | ||
// locally or globally. | ||
if (require.resolve('.').indexOf(process.cwd()) === 0) { | ||
console.error('To use --transpile, you must have babel-core installed:\n npm install --save-dev babel-core\nAnd you must save options to configure Babel in one of the places it looks to find its options.\nSee https://coffeescript.org/#transpilation'); | ||
} else { | ||
console.error('To use --transpile with globally-installed CoffeeScript, you must have babel-core installed globally:\n npm install --global babel-core\nAnd you must save options to configure Babel in one of the places it looks to find its options, relative to the file being compiled or to the current folder.\nSee https://coffeescript.org/#transpilation'); | ||
try { | ||
require('babel-core'); | ||
} catch (error) { | ||
// Give appropriate instructions depending on whether `coffee` was run | ||
// locally or globally. | ||
if (require.resolve('.').indexOf(process.cwd()) === 0) { | ||
console.error('To use --transpile, you must have @babel/core installed:\n npm install --save-dev @babel/core\nAnd you must save options to configure Babel in one of the places it looks to find its options.\nSee https://coffeescript.org/#transpilation'); | ||
} else { | ||
console.error('To use --transpile with globally-installed CoffeeScript, you must have @babel/core installed globally:\n npm install --global @babel/core\nAnd you must save options to configure Babel in one of the places it looks to find its options, relative to the file being compiled or to the current folder.\nSee https://coffeescript.org/#transpilation'); | ||
} | ||
process.exit(1); | ||
} | ||
process.exit(1); | ||
} | ||
@@ -634,0 +638,0 @@ if (typeof opts.transpile !== 'object') { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(function() { | ||
@@ -132,2 +132,7 @@ // The CoffeeScript parser is generated by [Jison](https://github.com/zaach/jison) | ||
}), | ||
o('YIELD INDENT Object OUTDENT', | ||
function() { | ||
return new Op($1, | ||
$3); | ||
}), | ||
o('YIELD FROM Expression', | ||
@@ -1962,2 +1967,7 @@ function() { | ||
}), | ||
o('AWAIT INDENT Object OUTDENT', | ||
function() { | ||
return new Op($1, | ||
$3); | ||
}), | ||
o('-- SimpleAssignable', | ||
@@ -1964,0 +1974,0 @@ function() { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(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.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(function() { | ||
@@ -20,7 +20,11 @@ // Node.js Implementation | ||
try { | ||
babel = require('babel-core'); | ||
babel = require('@babel/core'); | ||
} catch (error) { | ||
// This error is only for Node, as CLI users will see a different error | ||
// earlier if they don’t have Babel installed. | ||
throw new Error('To use the transpile option, you must have the \'babel-core\' module installed'); | ||
try { | ||
babel = require('babel-core'); | ||
} catch (error) { | ||
// This error is only for Node, as CLI users will see a different error | ||
// earlier if they don’t have Babel installed. | ||
throw new Error('To use the transpile option, you must have the \'@babel/core\' module installed'); | ||
} | ||
} | ||
@@ -27,0 +31,0 @@ return babel.transform(js, options); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(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.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(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.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(function() { | ||
@@ -253,8 +253,12 @@ var CoffeeScript, addHistory, addMultilineHandler, fs, getCommandId, merge, nodeREPL, path, replDefaults, runInContext, sawSIGINT, transpile, updateSyntaxError, vm; | ||
if (opts.transpile) { | ||
transpile = {}; | ||
try { | ||
transpile = {}; | ||
transpile.transpile = require('babel-core').transform; | ||
transpile.transpile = require('@babel/core').transform; | ||
} catch (error) { | ||
console.error('To use --transpile with an interactive REPL, babel-core must be installed either in the current folder or globally:\n npm install --save-dev babel-core\nor\n npm install --global babel-core\nAnd you must save options to configure Babel in one of the places it looks to find its options.\nSee https://coffeescript.org/#transpilation'); | ||
process.exit(1); | ||
try { | ||
transpile.transpile = require('babel-core').transform; | ||
} catch (error) { | ||
console.error('To use --transpile with an interactive REPL, @babel/core must be installed either in the current folder or globally:\n npm install --save-dev @babel/core\nor\n npm install --global @babel/core\nAnd you must save options to configure Babel in one of the places it looks to find its options.\nSee https://coffeescript.org/#transpilation'); | ||
process.exit(1); | ||
} | ||
} | ||
@@ -261,0 +265,0 @@ transpile.options = { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(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.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(function() { | ||
@@ -3,0 +3,0 @@ // The **Scope** class regulates lexical scoping within CoffeeScript. As you |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.3.1 | ||
// Generated by CoffeeScript 2.3.2 | ||
(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.3.1", | ||
"version": "2.3.2", | ||
"license": "MIT", | ||
@@ -43,14 +43,14 @@ "engines": { | ||
"devDependencies": { | ||
"babel-core": "6.26.3", | ||
"babel-preset-env": "1.6.1", | ||
"babel-preset-minify": "0.4.0", | ||
"codemirror": "^5.37.0", | ||
"@babel/core": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"babel-preset-minify": "^0.4.3", | ||
"codemirror": "^5.39.2", | ||
"docco": "~0.8.0", | ||
"highlight.js": "~9.12.0", | ||
"jison": ">=0.4.18", | ||
"markdown-it": "~8.4.1", | ||
"underscore": "~1.9.0", | ||
"webpack": "~4.6.0" | ||
"markdown-it": "~8.4.2", | ||
"underscore": "~1.9.1", | ||
"webpack": "~4.17.2" | ||
}, | ||
"dependencies": {} | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
668288
14385
18