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.3.3 to 2.4.0

2

index.d.ts

@@ -28,3 +28,3 @@ // Type definitions for codependency 0.1

export function register(baseModule: NodeModule, options?: {index?: string[], strictCheck?: boolean, name?: string, pkg?: object, parentPkg?: object}): RequirePeerFunction;
export function register(baseModule: NodeModule, options?: {index?: string[], strictCheck?: boolean, name?: string, pkg?: object, parentPkg?: object, parentModule?: NodeModule}): RequirePeerFunction;
export function get(middlewareName: string): RequirePeerFunction;

@@ -288,3 +288,4 @@ 'use strict';

* @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
* @param {Object} [options.parentPkg] The contents of the package.json file of the parentModule
* @param {Object} [options.parentModule] The parent module
* @returns {function} The generated require function.

@@ -320,3 +321,3 @@ */

baseModule = baseModule.parent;
baseModule = (!options.parentModule) ? baseModule.parent: options.parentModule;

@@ -323,0 +324,0 @@ // find the package.json belonging to the application

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

},
"version": "2.3.3",
"version": "2.4.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