New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ql.io-compiler

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ql.io-compiler - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

47

lib/compiler.js

@@ -27,3 +27,3 @@ /*

var cache = {};
exports.compile = function(script) {
exports.compile = function(script, loaded) {
assert.ok(script, 'script is undefined');

@@ -35,2 +35,3 @@

cooked = cache[cacheKey];
cache['_tables'] = loaded
if(cooked) {

@@ -449,33 +450,29 @@ return cooked;

refname = from.name.substring(1, from.name.length - 1);
dependency = symbols[refname];
if(dependency) {
if(line.assign === refname) {
throw new this.SyntaxError('Circular reference ' + line.assign);
}
else {
if(parent) {
addDep(parent, parent.dependsOn, dependency, symbols);
}
else {
addDep(line, line.dependsOn, dependency, symbols);
}
}
}
}
else if(symbols[from.name]) {
refname = from.name
dependency = symbols[refname];
if(dependency) {
if(line.assign === refname) {
throw new this.SyntaxError('Circular reference ' + line.assign);
}
dependency = symbols[refname];
if(dependency) {
if(line.assign === refname) {
throw new this.SyntaxError('Circular reference ' + line.assign);
}
else {
if(parent) {
addDep(parent, parent.dependsOn, dependency, symbols);
}
else {
if(parent) {
addDep(parent, parent.dependsOn, dependency, symbols);
}
else {
addDep(line, line.dependsOn, dependency, symbols);
}
addDep(line, line.dependsOn, dependency, symbols);
}
}
var hasverb = dependency[line.type];
if(hasverb && hasverb.expect){
line.expects = hasverb.expect;
}
}else{
if(cache['_tables'] && cache['_tables'][from.name] && cache['_tables'][from.name].verbs && cache['_tables'][from.name].verbs[line.type] && cache['_tables'][from.name].verbs[line.type].expects){
line.expects = fromTable;
}
}

@@ -482,0 +479,0 @@ }

{
"author": "ql.io",
"name": "ql.io-compiler",
"version": "0.8.4",
"version": "0.8.5",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

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

Sorry, the diff of this file is not supported yet

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