Socket
Socket
Sign inDemoInstall

@nesto-software/codependency

Package Overview
Dependencies
1
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.1 to 2.3.0

8

index.js

@@ -286,3 +286,5 @@ 'use strict';

* @param {boolean} [options.strictCheck] Check for `package.json` in base module only
Default value: true
Default value: true
* @param {Object} [options.pkg] The contents of the package.json file of the baseModule
* @param {Object} [options.parentPkg] The contents of the package.json file of the parentModule
* @returns {function} The generated require function.

@@ -296,3 +298,3 @@ */

var pkg = exports.findPackage(baseModule, options.strictCheck !== false);
var pkg = (!options.pkg) ? exports.findPackage(baseModule, options.strictCheck !== false) : options.pkg;

@@ -323,3 +325,3 @@ // decide on a name for this middleware

var basePkg = exports.findPackage(baseModule, false);
var basePkg = (!options.parentPkg) ? exports.findPackage(baseModule, false) : options.parentPkg;

@@ -326,0 +328,0 @@ // create and return a requirePeer function

@@ -14,3 +14,3 @@ {

},
"version": "2.2.1",
"version": "2.3.0",
"description": "Optional peer dependencies",

@@ -17,0 +17,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc