autorequire
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -90,11 +90,19 @@ (function() { | ||
behavior = (function() { | ||
if (version[1] === 6) { | ||
if (version[1] === 8 && version[2] >= 0) { | ||
return require('./loader_behavior/v0.6.10'); | ||
} else if (version[1] === 7 && version[2] >= 2) { | ||
return require('./loader_behavior/v0.6.10'); | ||
} else if (version[1] === 7 && version[2] >= 0) { | ||
return require('./loader_behavior/v0.5.2'); | ||
} else if (version[1] === 6 && version[2] >= 10) { | ||
return require('./loader_behavior/v0.6.10'); | ||
} else if (version[1] === 6 && version[2] >= 0) { | ||
return require('./loader_behavior/v0.5.2'); | ||
} else if (version[1] === 5 && version[2] >= 2) { | ||
return require('./loader_behavior/v0.5.2'); | ||
} else if (version[1] === 5 && version[2] === 1) { | ||
} else if (version[1] === 5 && version[2] >= 1) { | ||
return require('./loader_behavior/v0.5.1'); | ||
} else if (version[1] === 5 && version[2] === 0) { | ||
} else if (version[1] === 5 && version[2] >= 0) { | ||
return require('./loader_behavior/v0.4.0'); | ||
} else if (version[1] === 4) { | ||
} else if (version[1] === 4 && version[2] >= 0) { | ||
return require('./loader_behavior/v0.4.0'); | ||
@@ -101,0 +109,0 @@ } else { |
{ | ||
"name": "autorequire", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Automatically requires source for a module/project, provided you follow a convention.", | ||
@@ -25,6 +25,6 @@ "keywords": ["require", "autorequire", "autoload", "modules", "load", "loader"], | ||
"testedEngines": { | ||
"node": ">= 0.4.0 <= 0.4.12 || >= 0.5.0 <= 0.5.10 || >= 0.6.0 <= 0.6.7" | ||
"node": ">= 0.4.0 <= 0.4.12 || >= 0.5.0 <= 0.5.10 || >= 0.6.0 <= 0.6.19 || >= 0.7.0 <= 0.7.12 || >= 0.8.0" | ||
}, | ||
"engines": { | ||
"node": ">= 0.4.0 < 0.7.0" | ||
"node": ">= 0.4.0" | ||
}, | ||
@@ -43,3 +43,3 @@ "dependencies": {}, | ||
"console": "npm run-script build-lib && rlwrap --always-readline node_modules/.bin/coffee", | ||
"prepublish": "scripts/prepublish", | ||
"test": "npm run-script build-lib && node_modules/.bin/vows test/*_test.coffee --isolate --spec", | ||
@@ -46,0 +46,0 @@ "test-all": "npm run-script build-lib && scripts/test" |
Sorry, the diff of this file is not supported yet
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
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
205059
71
879
1
20