coffee-script-redux
Advanced tools
Comparing version 2.0.0-beta6 to 2.0.0-beta7
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var CoffeeScript, runScripts; | ||
@@ -3,0 +3,0 @@ module.exports = CoffeeScript = require('./module'); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var concat, foldl, map, nub, span; | ||
@@ -3,0 +3,0 @@ this.any = function (list, fn) { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var beingDeclared, cleanMarkers, concat, concatMap, CS, difference, envEnrichments, envEnrichments_, foldl, humanReadable, map, nub, numberLines, pointToErrorLocation, usedAsExpression, usedAsExpression_; | ||
@@ -120,3 +120,2 @@ cache$ = require('./functional-helpers'); | ||
possibilities = function () { | ||
var this$, this$1; | ||
switch (false) { | ||
@@ -133,3 +132,21 @@ case !this['instanceof'](CS.AssignOp): | ||
return nub(concat([ | ||
concatMap(this.childNodes, (this$ = this, function (child) { | ||
concatMap(this.childNodes, function (this$) { | ||
return function (child) { | ||
if (in$(child, this$.listMembers)) { | ||
return concatMap(this$[child], function (m) { | ||
return envEnrichments(m, inScope); | ||
}); | ||
} else { | ||
return envEnrichments(this$[child], inScope); | ||
} | ||
}; | ||
}(this)), | ||
beingDeclared(this.keyAssignee), | ||
beingDeclared(this.valAssignee) | ||
])); | ||
case !this['instanceof'](CS.Functions): | ||
return []; | ||
default: | ||
return nub(concatMap(this.childNodes, function (this$) { | ||
return function (child) { | ||
if (in$(child, this$.listMembers)) { | ||
@@ -142,18 +159,4 @@ return concatMap(this$[child], function (m) { | ||
} | ||
})), | ||
beingDeclared(this.keyAssignee), | ||
beingDeclared(this.valAssignee) | ||
])); | ||
case !this['instanceof'](CS.Functions): | ||
return []; | ||
default: | ||
return nub(concatMap(this.childNodes, (this$1 = this, function (child) { | ||
if (in$(child, this$1.listMembers)) { | ||
return concatMap(this$1[child], function (m) { | ||
return envEnrichments(m, inScope); | ||
}); | ||
} else { | ||
return envEnrichments(this$1[child], inScope); | ||
} | ||
}))); | ||
}; | ||
}(this))); | ||
} | ||
@@ -160,0 +163,0 @@ }.call(this); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var ArrayExpression, AssignmentExpression, BinaryExpression, BlockStatement, CallExpression, createNode, ctor, difference, exports, FunctionDeclaration, FunctionExpression, GenSym, handleLists, handlePrimitives, Identifier, isStatement, Literal, LogicalExpression, MemberExpression, NewExpression, node, nodeData, Nodes, ObjectExpression, params, Program, SequenceExpression, SwitchCase, SwitchStatement, TryStatement, UnaryExpression, UpdateExpression, VariableDeclaration, VariableDeclaration; | ||
@@ -3,0 +3,0 @@ difference = require('./functional-helpers').difference; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var CoffeeScript, Compiler, cscodegen, escodegen, escodegenFormat, formatParserError, Nodes, Optimiser, Parser, pkg, Preprocessor; | ||
@@ -79,3 +79,3 @@ formatParserError = require('./helpers').formatParserError; | ||
jsAst = jsAst.toBasicObject(); | ||
targetName = options['source-map-file'] || options['source-map'] && options.output.match(/^.*[\\\/]([^\\\/]+)$/)[1]; | ||
targetName = options.sourceMapFile || options.sourceMap && options.output.match(/^.*[\\\/]([^\\\/]+)$/)[1]; | ||
return escodegen.generate(jsAst, { | ||
@@ -82,0 +82,0 @@ comment: !options.compact, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var ArrayInitialiser, Block, Bool, Class, CompoundAssignOp, concat, concatMap, Conditional, createNodes, difference, exports, ForOf, FunctionApplications, Functions, GenSym, handleLists, handlePrimitives, HeregExp, Identifier, Identifiers, map, NegatedConditional, NewOp, Nodes, nub, ObjectInitialiser, Primitives, Range, RegExp, RegExps, Slice, StaticMemberAccessOps, Super, Switch, SwitchCase, union, While; | ||
@@ -3,0 +3,0 @@ cache$ = require('./functional-helpers'); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var all, any, beingDeclared, concat, concatMap, CS, declarationsFor, difference, envEnrichments, exports, foldl, foldl1, isFalsey, isTruthy, makeDispatcher, mayHaveSideEffects, union, usedAsExpression; | ||
@@ -374,19 +374,22 @@ cache$ = require('./functional-helpers'); | ||
], function (inScope) { | ||
var this$; | ||
return any(this.childNodes, (this$ = this, function (child) { | ||
if (in$(child, this$.listMembers)) { | ||
return any(this$[child], function (m) { | ||
return mayHaveSideEffects(m, inScope); | ||
}); | ||
} else { | ||
return mayHaveSideEffects(this$[child], inScope); | ||
} | ||
})); | ||
return any(this.childNodes, function (this$) { | ||
return function (child) { | ||
if (in$(child, this$.listMembers)) { | ||
return any(this$[child], function (m) { | ||
return mayHaveSideEffects(m, inScope); | ||
}); | ||
} else { | ||
return mayHaveSideEffects(this$[child], inScope); | ||
} | ||
}; | ||
}(this)); | ||
}); | ||
exports.Optimiser = function () { | ||
var defaultRules, this$; | ||
Optimiser.optimise = (this$ = Optimiser, function () { | ||
var cache$2; | ||
return (cache$2 = new this$).optimise.apply(cache$2, [].slice.call(arguments).concat()); | ||
}); | ||
var defaultRules; | ||
Optimiser.optimise = function (this$) { | ||
return function () { | ||
var cache$2; | ||
return (cache$2 = new this$).optimise.apply(cache$2, [].slice.call(arguments).concat()); | ||
}; | ||
}(Optimiser); | ||
Optimiser.isTruthy = isTruthy; | ||
@@ -399,3 +402,3 @@ Optimiser.isFalsey = isFalsey; | ||
function () { | ||
if (null != this.body && mayHaveSideEffects(this.body, [])) { | ||
if (!(null != this.body) || mayHaveSideEffects(this.body, [])) { | ||
return this; | ||
@@ -402,0 +405,0 @@ } else { |
@@ -1,9 +0,7 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
var EventEmitter, pointToErrorLocation, Preprocessor, StringScanner; | ||
EventEmitter = require('events').EventEmitter; | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var pointToErrorLocation, Preprocessor, StringScanner; | ||
pointToErrorLocation = require('./helpers').pointToErrorLocation; | ||
StringScanner = require('StringScanner'); | ||
this.Preprocessor = Preprocessor = function (super$) { | ||
this.Preprocessor = Preprocessor = function () { | ||
var DEDENT, INDENT, TERM, ws; | ||
extends$(Preprocessor, super$); | ||
ws = '\\t\\x0B\\f\\r \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF'; | ||
@@ -14,5 +12,5 @@ INDENT = '\uefef'; | ||
function Preprocessor(param$) { | ||
if (null == param$) | ||
param$ = {}; | ||
this.options = param$; | ||
if (null == this.options) | ||
this.options = {}; | ||
this.preprocessed = ''; | ||
@@ -313,17 +311,2 @@ this.base = null; | ||
return Preprocessor; | ||
}(EventEmitter); | ||
function isOwn$(o, p) { | ||
return {}.hasOwnProperty.call(o, p); | ||
} | ||
function extends$(child, parent) { | ||
for (var key in parent) | ||
if (isOwn$(parent, key)) | ||
child[key] = parent[key]; | ||
function ctor() { | ||
this.constructor = child; | ||
} | ||
ctor.prototype = parent.prototype; | ||
child.prototype = new ctor; | ||
child.__super__ = parent.prototype; | ||
return child; | ||
} | ||
}(); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var CoffeeScript, fs, runModule; | ||
@@ -3,0 +3,0 @@ fs = require('fs'); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var addHistory, addMultilineHandler, CoffeeScript, CS, fs, merge, nodeREPL, path, vm; | ||
@@ -3,0 +3,0 @@ fs = require('fs'); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta6 | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
var CoffeeScript, formatSourcePosition, Module, patched, patchStackTrace, path, runMain, runModule, SourceMapConsumer; | ||
@@ -3,0 +3,0 @@ path = require('path'); |
{ | ||
"name": "coffee-script-redux", | ||
"author": "Michael Ficarra", | ||
"version": "2.0.0-beta6", | ||
"version": "2.0.0-beta7", | ||
"homepage": "https://github.com/michaelficarra/CoffeeScriptRedux", | ||
@@ -29,7 +29,7 @@ "bugs": "https://github.com/michaelficarra/CoffeeScriptRedux/issues", | ||
"pegjs": "git://github.com/dmajda/pegjs.git#bea6b1fde74c8aebf802f9bcc3380c65b241e1b7", | ||
"commonjs-everywhere": "~0.6.0" | ||
"commonjs-everywhere": "~0.9.0" | ||
}, | ||
"dependencies": { | ||
"StringScanner": "~0.0.3", | ||
"jedediah": "~0.1.0" | ||
"nopt": "~2.1.2" | ||
}, | ||
@@ -42,3 +42,5 @@ "optionalDependencies": { | ||
}, | ||
"engines": { "node": "0.8.x || 0.10.x" }, | ||
"engines": { | ||
"node": "0.8.x || 0.10.x" | ||
}, | ||
"licenses": [ | ||
@@ -45,0 +47,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
24753
796825
20
10
+ Addednopt@~2.1.2
+ Addedabbrev@1.1.1(transitive)
+ Addednopt@2.1.2(transitive)
- Removedjedediah@~0.1.0
- Removedjedediah@0.1.1(transitive)