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

autorequire

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autorequire - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

lib/loader_behavior/v0.6.10.js

16

lib/loader.js

@@ -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

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