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

@dotnet/jsinterop

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotnet/jsinterop - npm Package Compare versions

Comparing version 3.0.0-preview8.19405.4 to 3.0.0-preview9.19423.4

5

dist/Microsoft.JSInterop.js

@@ -74,2 +74,5 @@ "use strict";

function invokePossibleInstanceMethodAsync(assemblyName, methodIdentifier, dotNetObjectId, args) {
if (assemblyName && dotNetObjectId) {
throw new Error("For instance method calls, assemblyName should be null. Received '" + assemblyName + "'.");
}
var asyncCallId = nextAsyncCallId++;

@@ -224,3 +227,3 @@ var resultPromise = new Promise(function (resolve, reject) {

DotNetObject.prototype.dispose = function () {
var promise = invokeMethodAsync('Microsoft.JSInterop', 'DotNetDispatcher.ReleaseDotNetObject', this._id);
var promise = invokePossibleInstanceMethodAsync(null, '__Dispose', this._id, null);
promise.catch(function (error) { return console.error(error); });

@@ -227,0 +230,0 @@ };

2

package.json
{
"name": "@dotnet/jsinterop",
"version": "3.0.0-preview8.19405.4",
"version": "3.0.0-preview9.19423.4",
"description": "Provides abstractions and features for interop between .NET and JavaScript code.",

@@ -5,0 +5,0 @@ "main": "dist/Microsoft.JSInterop.js",

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