Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

this

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

this - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

test/exceptions.js

10

package.json
{
"name": "this",
"version": "1.0.2",
"version": "1.1.0",
"description": "Traverses up the directory tree and returns the first module found",

@@ -34,8 +34,8 @@ "main": "src/index.js",

"devDependencies": {
"ava": "^0.19.1",
"coveralls": "^2.13.1",
"ava": "^0.25.0",
"coveralls": "^3.0.0",
"eslint-config-xo-lukechilds": "^1.0.0",
"nyc": "^10.3.2",
"xo": "^0.19.0"
"nyc": "^11.0.3",
"xo": "^0.20.1"
}
}

@@ -5,6 +5,4 @@ 'use strict';

try {
module.exports = require(pkgDir.sync());
} catch (err) {
module.exports = undefined;
}
const packageDir = pkgDir.sync();
module.exports = packageDir === null ? undefined : require(packageDir);
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc