next
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -14,4 +14,4 @@ // Require module, if module is not found return null, if there was an error | ||
} catch (e) { | ||
return isNotFound(e, path) ? null : e; | ||
return isNotFound(e, path) ? undefined : e; | ||
} | ||
}); |
{ | ||
"name": "next", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "(deprecated) Node.js extensions", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -17,4 +17,4 @@ # node-ext - (Deprecated) Node.js extensions | ||
## Tests | ||
## Tests [![Build Status](https://secure.travis-ci.org/medikoo/node-ext.png?branch=master)](https://secure.travis-ci.org/medikoo/node-ext) | ||
$ npm test |
@@ -11,3 +11,3 @@ 'use strict'; | ||
file = playground + '/sample-na'; | ||
a(t(require)(file), null, "Non existing"); | ||
a(t(require)(file), undefined, "Non existing"); | ||
@@ -14,0 +14,0 @@ file = playground + '/sample-error'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17156
0