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

n8n-workflow

Package Overview
Dependencies
Maintainers
3
Versions
285
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.152.0 to 0.153.0

15

dist/Expression.js

@@ -45,2 +45,10 @@ "use strict";

};
const AsyncFunction = (async () => { }).constructor;
const fnConstructors = {
sync: Function.prototype.constructor,
async: AsyncFunction.prototype.constructor,
mock: () => {
throw new ExpressionError_1.ExpressionError('Arbitrary code execution detected');
},
};
class Expression {

@@ -206,2 +214,3 @@ constructor(workflow) {

try {
[Function, AsyncFunction].forEach(({ prototype }) => Object.defineProperty(prototype, 'constructor', { value: fnConstructors.mock }));
return tmpl.tmpl(expression, data);

@@ -233,2 +242,8 @@ }

}
finally {
Object.defineProperty(Function.prototype, 'constructor', { value: fnConstructors.sync });
Object.defineProperty(AsyncFunction.prototype, 'constructor', {
value: fnConstructors.async,
});
}
return null;

@@ -235,0 +250,0 @@ }

2

package.json
{
"name": "n8n-workflow",
"version": "0.152.0",
"version": "0.153.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

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