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

includejs

Package Overview
Dependencies
Maintainers
1
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

includejs - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

template/sample/.import/libjs/class/lib/class.js

2

package.json

@@ -9,3 +9,3 @@ {

},
"version": "0.5.7",
"version": "0.5.8",
"bin": {

@@ -12,0 +12,0 @@ "includejs": "includejs"

@@ -16,2 +16,4 @@ /**

'shell',
'project-import',
'project-reference',
'custom'],

@@ -36,7 +38,9 @@ program = require('commander'),

}];
parseOverrides(program, cfg[0]);
parseFile(cfg[0]);
parseType(cfg[0]);
cfg.state = 4;
global.config = cfg;

@@ -48,3 +52,3 @@ return;

if (file.exists() == false) {

@@ -54,3 +58,3 @@ console.error('File doesnt exists (404)', file.uri.toLocalFile());

}
switch(file.uri.extension){

@@ -74,9 +78,9 @@ case 'config':

action: 'build'
}
}
break;
}
config = global.config;
if (config instanceof Array === false) {

@@ -129,4 +133,4 @@ config = [config];

key, value, x;
for (; i < length; i++) {

@@ -140,15 +144,15 @@ x = array[i];

var c = value[0];
if (c == '"' || c == "'"){
value = value.substring(1, value.length - 1);
}
config[key] = value;
continue;
}
config[key] = true;
config[key] = true;
continue;
}
if (actionFound){

@@ -159,8 +163,8 @@ var c = x[0];

}
(config.args || (config.args = [])).push(x);
continue;
}
if (x == action){

@@ -174,2 +178,2 @@ actionFound = true;

include.exports = (global.config = config);
});
});
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