Socket
Socket
Sign inDemoInstall

next

Package Overview
Dependencies
2
Maintainers
1
Versions
2641
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.7 to 0.2.8

7

lib/require-first-in-tree.js

@@ -7,3 +7,4 @@ // Require first named module in tree (traversing up)

, errorMsg = require('./is-module-not-found-error')
, trim = require('./path/trim')
, normalize = require('./path/normalize')
, separator = require('./path/separator')

@@ -14,4 +15,4 @@ , dirname = path.dirname;

var m;
path = trim(path);
root = root ? trim(root) : '/';
path = normalize(path);
root = root ? normalize(root) : separator;
while (true) {

@@ -18,0 +19,0 @@ m = requireSilent(path + '/' + name);

{
"name": "next",
"version": "0.2.7",
"version": "0.2.8",
"description": "Node.js extensions",

@@ -5,0 +5,0 @@ "keywords": ["node", "nodejs", "node.js", "extensions", "addons", "extras"],

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