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

n8n-workflow

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-workflow - npm Package Compare versions

Comparing version 0.25.0 to 0.26.0

8

dist/src/Workflow.js

@@ -68,3 +68,4 @@ "use strict";

convertObjectValueToString(value) {
return `[Object: ${JSON.stringify(value)}]`;
const typeName = Array.isArray(value) ? 'Array' : 'Object';
return `[${typeName}: ${JSON.stringify(value)}]`;
}

@@ -439,5 +440,2 @@ checkIfWorkflowCanBeActivated(ignoreNodeTypes) {

if (returnValue !== null && typeof returnValue === 'object') {
if (Object.keys(returnValue).length === 0) {
throw new Error('Expression is not valid.');
}
if (returnObjectAsString === true) {

@@ -450,3 +448,3 @@ return this.convertObjectValueToString(returnValue);

catch (e) {
throw new Error('Expression is not valid.');
throw new Error(`Expression is not valid: ${e.message}`);
}

@@ -453,0 +451,0 @@ }

{
"name": "n8n-workflow",
"version": "0.25.0",
"version": "0.26.0",
"description": "Workflow base code of n8n",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md",

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