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

iconnectivity-js

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iconnectivity-js - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

1

lib/index.d.ts

@@ -14,2 +14,3 @@ /// <reference types="lodash" />

private _devices;
private _midiInputIds;
readonly devicesChanged: {

@@ -16,0 +17,0 @@ addListener: (listener: (devices: Device[]) => void) => () => void;

@@ -40,4 +40,10 @@ "use strict";

this._devices = [];
this._midiInputIds = [];
this.devicesChanged = (0, event_source_1.createEventSource)();
this.handleMidiStateChange = (0, debounce_1.default)(async () => {
const inputIds = [...this.midiAccess.inputs.values()].map((i) => i.id);
if ((0, isEqual_1.default)(this._midiInputIds, inputIds)) {
return;
}
this._midiInputIds = inputIds;
const devices = await this.getDevices();

@@ -44,0 +50,0 @@ if (!(0, isEqual_1.default)(devices.map((d) => d.serialNumber), this._devices.map((d) => d.serialNumber))) {

2

package.json
{
"name": "iconnectivity-js",
"version": "1.2.0",
"version": "1.2.1",
"main": "lib/index.js",

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

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