Socket
Socket
Sign inDemoInstall

@ospin/fct-graph

Package Overview
Dependencies
11
Maintainers
4
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.24.0 to 2.24.1

2

package.json
{
"name": "@ospin/fct-graph",
"author": "danielseehausen",
"version": "2.24.0",
"version": "2.24.1",
"description": "Graph data structure with conditional edges via 'slots' on nodes. Intended to represent physical and virtual functionalities on a device.",

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -6,2 +6,3 @@ const { v4: uuidv4 } = require('uuid')

const OutSlot = require('../../../slots/OutSlot')
const OutputNode = require('../../../functionalities/OutputNode')

@@ -49,3 +50,3 @@ function assertIsOutSlot(slot) {

dataType: outSlot.dataType,
name: outSlot.name,
name: OutputNode.SLOT_NAME,
functionalityId,

@@ -52,0 +53,0 @@ displayType: outSlot.displayType,

@@ -53,3 +53,3 @@ const { v4: uuidv4 } = require('uuid')

dataType: inSlot.dataType,
name: inSlot.name,
name: PushIn.SLOT_NAME,
functionalityId,

@@ -56,0 +56,0 @@ displayType: inSlot.displayType,

@@ -7,2 +7,6 @@ const Joi = require('joi')

static get SLOT_NAME() {
return 'output'
}
static get TYPE() {

@@ -9,0 +13,0 @@ return 'InputNode'

@@ -7,2 +7,6 @@ const Joi = require('joi')

static get SLOT_NAME() {
return 'input'
}
static get TYPE() {

@@ -9,0 +13,0 @@ return 'OutputNode'

@@ -9,3 +9,3 @@ const OutputNodeSeeder = require('./OutputNodeSeeder')

return [
FloatInSlotSeeder.generate({ name: 'value in' }),
FloatInSlotSeeder.generate({ name: IntervalOut.SLOT_NAME }),
]

@@ -12,0 +12,0 @@ }

@@ -13,3 +13,3 @@ const InputNodeSeeder = require('./InputNodeSeeder')

return [
RandomSlotSeeder.generateRandomOutSlot({ name: 'value out' }),
RandomSlotSeeder.generateRandomOutSlot({ name: PushIn.SLOT_NAME }),
]

@@ -16,0 +16,0 @@ }

@@ -12,3 +12,3 @@ const OutputNodeSeeder = require('./OutputNodeSeeder')

return [
RandomSlotSeeder.generateRandomInSlot({ name: 'value in' }),
RandomSlotSeeder.generateRandomInSlot({ name: PushOut.SLOT_NAME }),
]

@@ -15,0 +15,0 @@ }

@@ -103,3 +103,3 @@ const Joi = require('joi')

functionality,
displayType,
displayType = null,
unit,

@@ -109,3 +109,3 @@ }) {

this.functionality = functionality
this.displayType = displayType || null
this.displayType = displayType
this.unit = unit

@@ -112,0 +112,0 @@ this.dataStreams = []

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc