New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nodescript/core

Package Overview
Dependencies
Maintainers
3
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodescript/core - npm Package Compare versions

Comparing version 7.18.3 to 7.18.4

5

out/main/runtime/NodeView.js

@@ -1,2 +0,1 @@

import { coerce } from 'airtight';
import { PropSpecSchema } from '../schema/PropSpec.js';

@@ -92,5 +91,3 @@ import { clone } from '../util/clone.js';

}
const propSpec = this.nodeSpec.props[key] ?? PropSpecSchema.create({
value: coerce('string', paramSpec.schema.default) ?? '',
});
const propSpec = this.nodeSpec.props[key] ?? PropSpecSchema.create({});
return new PropView(this, key, propSpec);

@@ -97,0 +94,0 @@ }

2

out/main/runtime/PropView.js

@@ -42,3 +42,3 @@ import { clone } from '../util/clone.js';

isUsingDefaultValue() {
return this.getStaticValue() !== '';
return this.getStaticValue() === '';
}

@@ -45,0 +45,0 @@ /**

@@ -1,2 +0,2 @@

import { getType, Schema } from 'airtight';
import { getDefaultValue, getType, Schema } from 'airtight';
import { parseJson } from './json.js';

@@ -8,2 +8,3 @@ export { getType };

}
let val = value;
if (value === '') {

@@ -16,4 +17,4 @@ if (targetSchema.optional) {

}
val = getDefaultValue(targetSchema);
}
let val = value;
if (targetSchema.type === 'object' || targetSchema.type === 'array') {

@@ -20,0 +21,0 @@ val = parseJson(val, undefined);

{
"name": "@nodescript/core",
"version": "7.18.3",
"version": "7.18.4",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Visual programming language for Browser and Node",

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