ql.io-compiler
Advanced tools
Comparing version 0.3.0 to 0.4.0-beta
@@ -20,3 +20,3 @@ /* | ||
"use strict" | ||
'use strict' | ||
@@ -64,3 +64,3 @@ // | ||
if(symbols[line.assign]) { | ||
throw new this.SyntaxError("Duplicate symbol " + line.assign); | ||
throw new this.SyntaxError('Duplicate symbol ' + line.assign); | ||
} | ||
@@ -96,3 +96,3 @@ else { | ||
if(count > 1 && !hasReturn) { | ||
throw new this.SyntaxError("Missing return statement"); | ||
throw new this.SyntaxError('Missing return statement'); | ||
} | ||
@@ -196,3 +196,3 @@ return cooked; | ||
function introspectString(v, refname, index, dependency, symbols, dependsOn, id) { | ||
if(v.indexOf("{") === 0 && v.indexOf("}") === v.length - 1) { | ||
if(v.indexOf('{') === 0 && v.indexOf('}') === v.length - 1) { | ||
refname = v.substring(1, v.length - 1); | ||
@@ -199,0 +199,0 @@ index = refname.indexOf('.'); |
{ | ||
"author": "ql.io", | ||
"name": "ql.io-compiler", | ||
"version": "0.3.0", | ||
"version": "0.4.0-beta", | ||
"repository": { | ||
@@ -10,11 +10,11 @@ "type": "git", | ||
"engines": { | ||
"node": ">= 0.4.9 < 0.5.0" | ||
"node":"> 0.6.0" | ||
}, | ||
"main": "lib/compiler.js", | ||
"dependencies": { | ||
"underscore": "1.1.7" | ||
"underscore": "1.3.0" | ||
}, | ||
"devDependencies": { | ||
"nodeunit": "0.5.1" | ||
"nodeunit": "0.6.4" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
0
265062
13
7532
+ Addedunderscore@1.3.0(transitive)
- Removedunderscore@1.1.7(transitive)
Updatedunderscore@1.3.0