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

node-red-contrib-jacdac

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

node-red-contrib-jacdac - npm Package Compare versions

Comparing version 1.2.8 to 1.2.9

9

dist/nodes/shared/bus.js

@@ -13,9 +13,9 @@ "use strict";

}
const usb = tryRequire("webusb");
const rpio = tryRequire("rpio");
const usb = tryRequire("usb");
const serialport = tryRequire("serialport");
const rpio = tryRequire("rpio");
const transports = [
usb && (0, jacdac_ts_1.createUSBTransport)((0, jacdac_ts_1.createNodeUSBOptions)()),
rpio && (0, jacdac_ts_1.createNodeSPITransport)(rpio),
usb && (0, jacdac_ts_1.createUSBTransport)((0, jacdac_ts_1.createNodeUSBOptions)(usb.WebUSB)),
serialport && (0, jacdac_ts_1.createNodeWebSerialTransport)(serialport),
rpio && (0, jacdac_ts_1.createNodeSPITransport)(rpio),
];

@@ -29,2 +29,3 @@ exports.bus = new jacdac_ts_1.JDBus(transports, {

node.log(`connection: ${exports.bus.connected ? "connected" : "disconnected"}`);
node.log(`transports: ${exports.bus.transports.map(tr => `${tr.type}: ${tr.connectionState}`)}`);
node.status(exports.bus.connected

@@ -31,0 +32,0 @@ ? { fill: "green", shape: "dot", text: "connected" }

{
"name": "node-red-contrib-jacdac",
"version": "1.2.8",
"version": "1.2.9",
"description": "Microsoft Jacdac for Node-Red",

@@ -26,2 +26,5 @@ "keywords": [

"license": "MIT",
"engines": {
"node": ">=14.17.0"
},
"node-red": {

@@ -35,6 +38,6 @@ "nodes": {

"dependencies": {
"jacdac-ts": "^1.24.8"
"jacdac-ts": "^1.24.10"
},
"optionalDependencies": {
"webusb": "^2.2.0",
"usb": "^2.1.2",
"serialport": "^9.2.8",

@@ -49,23 +52,23 @@ "rpio": "^2.4.2"

"@types/jest": "^27.4.0",
"@types/node": "^17.0.12",
"@types/node": "^17.0.16",
"@types/node-red": "^1.2.0",
"@types/node-red-node-test-helper": "^0.2.2",
"@types/sinon": "^10.0.8",
"@types/sinon": "^10.0.11",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"colorette": "^2.0.16",
"concurrently": "^7.0.0",
"copyfiles": "^2.4.1",
"eslint": "^8.7.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-jest": "^26.1.0",
"glob": "^7.2.0",
"jest": "^27.4.7",
"jest": "^27.5.1",
"mustache": "^4.2.0",
"node-red": "^2.1.6",
"node-red": "^2.2.0",
"node-red-node-test-helper": "^0.2.7",
"onchange": "^7.1.0",
"prettier": "^2.5.1",
"rollup": "^2.66.1",
"rollup": "^2.67.1",
"semantic-release": "^19.0.2",

@@ -72,0 +75,0 @@ "ts-jest": "^27.1.3",

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