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

l5x-js

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

l5x-js - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

2

package.json
{
"name": "l5x-js",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "A tool to help with parsing and generating Allen Bradley L5X files.",

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

@@ -37,3 +37,3 @@ const fs = require("fs");

name: "Controller",
attributes: { Use: "context" },
attributes: { Use: "Context" },
elements: []

@@ -165,11 +165,9 @@ }

const controller = this.findOne("Controller");
/* eslint-disable indent */
switch (target.dom.name) {
case "Program":
controller.dom.attributes.TargetType = "Program";
this.dom.elements[0].attributes.TargetType = "Program";
break;
case "Routine":
controller.dom.attributes.TargetType = "Routine";
this.dom.elements[0].attributes.TargetType = "Routine";
break;

@@ -184,3 +182,3 @@ default:

/* eslint-enable indent */
const prog = this.findOne("Program", { Use: "Target" });

@@ -192,3 +190,3 @@ if (prog) prog.dom.attributes.Use = "Context";

controller.dom.attributes.TargetName = target.dom.attributes.Name;
this.dom.elements[0].attributes.TargetName = target.dom.attributes.Name;
target.dom.attributes.Use = "Target";

@@ -195,0 +193,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