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

rap-esp32

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rap-esp32 - npm Package Compare versions

Comparing version 0.4.9 to 0.4.10

2

package.json
{
"name": "rap-esp32",
"version": "0.4.9",
"version": "0.4.10",
"description": "Rap extension for esp32",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -54,21 +54,21 @@ 'use strict';

let cmd = (() => {
let platform = process.platform;
switch (platform) {
case 'darwin':
arglst = arglst.replaceItem('__PORT__', '/dev/cu.SLAB_USBtoUART');
break;
case 'linux':
arglst = arglst.replaceItem('__PORT__', '/dev/ttyUSB0');
break;
case 'win32':
arglst = arglst.replaceItem('__PORT__', 'COM1');
break;
default: {
console.log(`Unknown platform ${platform}!`);
process.exit(1);
}
}
if (options.port) {
arglst = arglst.replaceItem('__PORT__', options.port);
} else {
let platform = process.platform;
switch (platform) {
case 'darwin':
arglst = arglst.replaceItem('__PORT__', '/dev/cu.SLAB_USBtoUART');
break;
case 'linux':
arglst = arglst.replaceItem('__PORT__', '/dev/ttyUSB0');
break;
case 'win32':
arglst = arglst.replaceItem('__PORT__', 'COM1');
break;
default: {
console.log(`Unknown platform ${platform}!`);
process.exit(1);
}
}
}

@@ -75,0 +75,0 @@

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