Comparing version 0.1.6 to 0.1.7
var fs = require('fs') | ||
var path = require('path') | ||
var resolvers = require('./resolvers') | ||
var NestedError = require('nested-error-stacks') | ||
@@ -13,3 +14,3 @@ 'use strict'; | ||
} catch (e) { | ||
throw new Error("Cannot find global module '"+ module +"'") | ||
throw new NestedError("Could not require module '"+ module +"'", e) | ||
} | ||
@@ -16,0 +17,0 @@ } |
{ | ||
"name": "requireg", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Require and resolve global modules like a boss", | ||
@@ -42,2 +42,3 @@ "homepage": "http://github.com/h2non/requireg", | ||
"dependencies": { | ||
"nested-error-stacks": "~2.0.0", | ||
"rc": "~1.0.0", | ||
@@ -44,0 +45,0 @@ "resolve": "~0.6.1" |
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
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
18313
12
426
3
+ Addednested-error-stacks@~2.0.0
+ Addednested-error-stacks@2.0.1(transitive)