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

@st-one-io/nodes7

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@st-one-io/nodes7 - npm Package Compare versions

Comparing version 1.0.0-beta.2 to 1.0.0

2

package.json
{
"name": "@st-one-io/nodes7",
"description": "A javascript library to communicate with Siemens S7 PLCs",
"version": "1.0.0-beta.2",
"version": "1.0.0",
"author": "Guilherme Francescon <guilherme@st-one.io>",

@@ -6,0 +6,0 @@ "keywords": [

@@ -916,5 +916,6 @@ //@ts-check

* Uploads all active blocks from the PLC
* @param {boolean} [strict=false] If true, errors on the upload of individual blocks will cause the whole upload to fail
* @returns {Promise<Buffer[]>}
*/
async uploadAllBlocks() {
async uploadAllBlocks(strict) {
debug('S7Endpoint uploadAllBlocks');

@@ -927,3 +928,8 @@

for (const blk of blockList[typ]) {
res.push(await this.uploadBlock(typ, blk.number));
try {
res.push(await this.uploadBlock(typ, blk.number));
} catch (e) {
debug('S7Endpoint uploadAllBlocks err-upload', typ, blk.number, e);
if (strict) throw e;
}
}

@@ -930,0 +936,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