Socket
Socket
Sign inDemoInstall

next

Package Overview
Dependencies
3
Maintainers
1
Versions
2644
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

2

lib/module/require-silent.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc