Comparing version 0.4.5 to 0.5.0
@@ -43,3 +43,3 @@ var fs = require('fs'), | ||
} else { | ||
var err = new Error('lazyEval config option only accepts modules which are dependencies of "' + result.main + '". "' + id + '" is not.'); | ||
var err = new TypeError('LazyEval config option only accepts modules which are dependencies of "' + result.main + '". "' + id + '" is not.'); | ||
callback(err); | ||
@@ -46,0 +46,0 @@ return; |
@@ -50,3 +50,5 @@ var fs = require('fs'), | ||
config.paths = config.paths || []; | ||
config.paths.push('.'); | ||
if (config.paths.indexOf('.') < 0) { | ||
config.paths.push('.'); | ||
} | ||
config.isPackageAware = true; | ||
@@ -53,0 +55,0 @@ config.root = root; |
@@ -1,42 +0,35 @@ | ||
{ | ||
{ | ||
"name": "modulr", | ||
"description": "Resolves and concatenates CommonJS module dependencies for use in the browser.", | ||
"main": "./main", | ||
"version": "0.4.5", | ||
"version": "0.5.0", | ||
"dependencies": { | ||
"module-grapher" : ">=0.5.2" | ||
"module-grapher": "0.6.x", | ||
"uglify-js": "~1.0.7" | ||
}, | ||
"author": { | ||
"name": "Tobie Langel", | ||
"email": "tobie.langel@gmail.com", | ||
"web": "http://tobielangel.com" | ||
}, | ||
"author": "Tobie Langel <tobie.langel@gmail.com> (http://tobielangel.com)", | ||
"maintainers": [ | ||
{ | ||
"name": "Tobie Langel", | ||
"email": "tobie.langel@gmail.com", | ||
"web": "http://tobielangel.com" | ||
} | ||
"Tobie Langel <tobie.langel@gmail.com> (http://tobielangel.com)" | ||
], | ||
"contributors": [ | ||
{ | ||
"name": "Tobie Langel", | ||
"email": "tobie.langel@gmail.com", | ||
"web": "http://tobielangel.com" | ||
} | ||
"Tobie Langel <tobie.langel@gmail.com> (http://tobielangel.com)" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/tobie/modulr-node.git" | ||
"url": "git://github.com/tobie/modulr-node.git" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type" : "MIT", | ||
"url" : "http://github.com/tobie/modulr-node/raw/master/LICENSE" | ||
"type": "MIT", | ||
"url": "http://github.com/tobie/modulr-node/raw/master/LICENSE" | ||
}, | ||
{ | ||
"type" : "Apache-2.0", | ||
"url" : "http://github.com/tobie/modulr-node/raw/master/LICENSE" | ||
"type": "Apache-2.0", | ||
"url": "http://github.com/tobie/modulr-node/raw/master/LICENSE" | ||
} | ||
] | ||
], | ||
"devDependencies": {}, | ||
"engines": { | ||
"node": "*" | ||
} | ||
} |
516
20689
2
+ Addeduglify-js@~1.0.7
+ Addedmodule-grapher@0.6.0(transitive)
+ Addeduglify-js@1.0.7(transitive)
- Removedmodule-grapher@0.11.0(transitive)
- Removeduglify-js@1.3.5(transitive)
Updatedmodule-grapher@0.6.x