Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coffee-script

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffee-script - npm Package Compare versions

Comparing version 1.9.2 to 1.9.3

2

bower.json
{
"name": "coffee-script",
"version": "1.9.2",
"version": "1.9.3",
"main": [

@@ -5,0 +5,0 @@ "lib/coffee-script/coffee-script.js"

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -3,0 +3,0 @@ var CoffeeScript, compile, runScripts,

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -3,0 +3,0 @@ var CoffeeScript, cakefileDirectory, fatalError, fs, helpers, missingTask, oparse, options, optparse, path, printTasks, switches, tasks;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -21,3 +21,3 @@ var Lexer, SourceMap, base, compile, ext, formatSourcePosition, fs, getSourceMap, helpers, i, len, lexer, parser, path, ref, sourceMaps, vm, withPrettyErrors,

exports.VERSION = '1.9.2';
exports.VERSION = '1.9.3';

@@ -38,2 +38,5 @@ exports.FILE_EXTENSIONS = ['.coffee', '.litcoffee', '.coffee.md'];

err = _error;
if (typeof code !== 'string') {
throw err;
}
throw helpers.updateSyntaxError(err, code, options.filename);

@@ -76,3 +79,3 @@ }

if (options.sourceMap) {
if (fragment.locationData) {
if (fragment.locationData && !/^[;\s]*$/.test(fragment.code)) {
map.add([fragment.locationData.first_line, fragment.locationData.first_column], [currentLine, currentColumn], {

@@ -79,0 +82,0 @@ noReplace: true

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -3,0 +3,0 @@ var BANNER, CoffeeScript, EventEmitter, SWITCHES, compileJoin, compileOptions, compilePath, compileScript, compileStdio, exec, findDirectoryIndex, forkNode, fs, helpers, hidden, joinTimeout, makePrelude, mkdirp, notSources, optionParser, optparse, opts, outputPath, parseOptions, path, printLine, printTokens, printWarn, ref, removeSource, removeSourceDir, silentUnlink, sourceCode, sources, spawn, timeLog, usage, useWinPathSep, version, wait, watch, watchDir, watchedDirs, writeJs,

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -3,0 +3,0 @@ var Parser, alt, alternatives, grammar, name, o, operators, token, tokens, unwrap;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -3,0 +3,0 @@ var buildLocationData, extend, flatten, ref, repeat, syntaxErrorToString;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -3,0 +3,0 @@ var key, ref, val;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -67,3 +67,3 @@ var BOM, BOOL, CALLABLE, CODE, COFFEE_ALIASES, COFFEE_ALIAS_MAP, COFFEE_KEYWORDS, COMMENT, COMPARE, COMPOUND_ASSIGN, HERECOMMENT_ILLEGAL, HEREDOC_DOUBLE, HEREDOC_INDENT, HEREDOC_SINGLE, HEREGEX, HEREGEX_OMIT, IDENTIFIER, INDENTABLE_CLOSERS, INDEXABLE, INVALID_ESCAPE, INVERSES, JSTOKEN, JS_FORBIDDEN, JS_KEYWORDS, LEADING_BLANK_LINE, LINE_BREAK, LINE_CONTINUER, LOGIC, Lexer, MATH, MULTI_DENT, NOT_REGEX, NUMBER, OPERATOR, POSSIBLY_DIVISION, REGEX, REGEX_FLAGS, REGEX_ILLEGAL, RELATION, RESERVED, Rewriter, SHIFT, SIMPLE_STRING_OMIT, STRICT_PROSCRIBED, STRING_DOUBLE, STRING_OMIT, STRING_SINGLE, STRING_START, TRAILING_BLANK_LINE, TRAILING_SPACES, UNARY, UNARY_MATH, VALID_FLAGS, WHITESPACE, compact, count, invertLiterate, key, locationDataToString, ref, ref1, repeat, starts, throwSyntaxError,

Lexer.prototype.identifierToken = function() {
var colon, colonOffset, forcedIdentifier, id, idLength, input, match, poppedToken, prev, ref2, ref3, ref4, ref5, tag, tagToken;
var alias, colon, colonOffset, forcedIdentifier, id, idLength, input, match, poppedToken, prev, ref2, ref3, ref4, ref5, tag, tagToken;
if (!(match = IDENTIFIER.exec(this.chunk))) {

@@ -122,2 +122,3 @@ return 0;

if (indexOf.call(COFFEE_ALIASES, id) >= 0) {
alias = id;
id = COFFEE_ALIAS_MAP[id];

@@ -147,2 +148,5 @@ }

tagToken = this.token(tag, id, 0, idLength);
if (alias) {
tagToken.origin = [tag, alias, tagToken[2]];
}
tagToken.variable = !forcedIdentifier;

@@ -506,2 +510,5 @@ if (poppedToken) {

if (!prev[1].reserved && (ref3 = prev[1], indexOf.call(JS_FORBIDDEN, ref3) >= 0)) {
if (prev.origin) {
prev = prev.origin;
}
this.error("reserved word '" + prev[1] + "' can't be assigned", prev[2]);

@@ -508,0 +515,0 @@ }

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(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 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -3,0 +3,0 @@ var CoffeeScript, Module, binary, child_process, ext, findExtension, fork, helpers, i, len, loadFile, path, ref;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -128,2 +128,3 @@ var CoffeeScript, addHistory, addMultilineHandler, fs, getCommandId, merge, nodeREPL, path, ref, replDefaults, runInContext, updateSyntaxError, vm;

fs.readSync(readFd, buffer, 0, size, stat.size - size);
fs.close(readFd);
repl.rli.history = buffer.toString().split('\n').reverse();

@@ -146,3 +147,3 @@ if (stat.size > maxSize) {

});
repl.rli.on('exit', function() {
repl.on('exit', function() {
return fs.close(fd);

@@ -190,3 +191,5 @@ });

repl.on('exit', function() {
return repl.outputStream.write('\n');
if (!repl.rli.closed) {
return repl.outputStream.write('\n');
}
});

@@ -193,0 +196,0 @@ addMultilineHandler(repl);

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -287,3 +287,3 @@ var BALANCED_PAIRS, CALL_CLOSERS, EXPRESSION_CLOSE, EXPRESSION_END, EXPRESSION_START, IMPLICIT_CALL, IMPLICIT_END, IMPLICIT_FUNC, IMPLICIT_UNSPACED_CALL, INVERSES, LINEBREAKS, SINGLE_CLOSERS, SINGLE_LINERS, generate, k, left, len, ref, rite,

}
if (indexOf.call(IMPLICIT_FUNC, tag) >= 0 && this.indexOfTag(i + 1, 'INDENT', null, ':') > -1 && !this.findTagsBackwards(i, ['CLASS', 'EXTENDS', 'IF', 'CATCH', 'SWITCH', 'LEADING_WHEN', 'FOR', 'WHILE', 'UNTIL'])) {
if (indexOf.call(IMPLICIT_FUNC, tag) >= 0 && this.indexOfTag(i + 1, 'INDENT') > -1 && this.looksObjectish(i + 2) && !this.findTagsBackwards(i, ['CLASS', 'EXTENDS', 'IF', 'CATCH', 'SWITCH', 'LEADING_WHEN', 'FOR', 'WHILE', 'UNTIL'])) {
startImplicitCall(i + 1);

@@ -290,0 +290,0 @@ stack.push(['INDENT', i + 2]);

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -3,0 +3,0 @@ var Scope,

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -3,0 +3,0 @@ var LineMap, SourceMap;

@@ -11,3 +11,3 @@ {

"author": "Jeremy Ashkenas",
"version": "1.9.2",
"version": "1.9.3",
"license": "MIT",

@@ -14,0 +14,0 @@ "engines": {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc