Comparing version 0.7.1 to 0.7.2-pre1
@@ -179,3 +179,3 @@ // Generated by CoffeeScript 1.6.2 | ||
function CommandConsole(argv) { | ||
var cwd, load, loads, program, _i, _len; | ||
var cwd, e, load, loads, program, _i, _len; | ||
@@ -191,10 +191,17 @@ loads = []; | ||
program.parse(argv); | ||
try { | ||
cwd = process.cwd(); | ||
for (_i = 0, _len = loads.length; _i < _len; _i++) { | ||
load = loads[_i]; | ||
console.log("Loading module '" + load + "'..."); | ||
require(path.resolve(cwd, load)); | ||
cwd = process.cwd(); | ||
for (_i = 0, _len = loads.length; _i < _len; _i++) { | ||
load = loads[_i]; | ||
console.log("Loading module '" + load + "'..."); | ||
try { | ||
require(load); | ||
} catch (_error) { | ||
e = _error; | ||
try { | ||
require(path.resolve(cwd, load)); | ||
} catch (_error) { | ||
e = _error; | ||
} | ||
} | ||
} catch (_error) {} | ||
} | ||
} | ||
@@ -201,0 +208,0 @@ |
{ | ||
"name": "cormo", | ||
"description": "ORM framework for Node.js", | ||
"version": "0.7.1", | ||
"version": "0.7.2-pre1", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "orm", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
240191
5700
13