Socket
Socket
Sign inDemoInstall

node-api-dotnet

Package Overview
Dependencies
Maintainers
0
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-api-dotnet - npm Package Compare versions

Comparing version 0.7.42 to 0.8.1

14

index.d.ts

@@ -74,8 +74,16 @@ // Copyright (c) Microsoft Corporation.

* Adds a listener for the `resolving` event, which is raised when a .NET assembly requires
* an additional dependent assembly to be resolved and loaded. The listener must call `load()`
* to load the requested assembly file.
* an additional dependent assembly to be resolved and loaded. The listener may call `resolve()`
* to load the requested assembly from a resolved file path. If the listener does not call
* `resolve()`, the runtime will then attempt to resolve the assembly by searching in the same
* application directory as other already-loaded assemblies, if there were any.
*/
export function addListener(
event: 'resolving',
listener: (assemblyName: string, assemblyVersion: string) => void,
/**
* Resolving event listener funciton to be invokved when a .NET assembly is being resolved.
* @param assemblyName Name of the assembly to be resolved.
* @param assemblyVersion Version of the assembly to be resolved.
* @param resolve Callback to invoke with the full path to the resolved assembly file.
*/
listener: (assemblyName: string, assemblyVersion: string, resolve: (string) => void) => void,
): void;

@@ -82,0 +90,0 @@

{
"name": "node-api-dotnet",
"version": "0.7.42",
"version": "0.8.1",
"description": "Node-API bindings for .Net",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc