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
287
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 1.6.0 to 1.7.0

19

dist/AugmentObject.js

@@ -69,6 +69,6 @@ "use strict";

const newData = {};
const deletedProperties = [];
const deletedProperties = new Set();
const proxy = new Proxy(data, {
get(target, key, receiver) {
if (deletedProperties.indexOf(key) !== -1) {
if (deletedProperties.has(key)) {
return undefined;

@@ -98,3 +98,3 @@ }

if (key in target) {
deletedProperties.push(key);
deletedProperties.add(key);
}

@@ -109,3 +109,3 @@ return true;

if (key in target) {
deletedProperties.push(key);
deletedProperties.add(key);
}

@@ -115,5 +115,4 @@ return true;

newData[key] = newValue;
const deleteIndex = deletedProperties.indexOf(key);
if (deleteIndex !== -1) {
deletedProperties.splice(deleteIndex, 1);
if (deletedProperties.has(key)) {
deletedProperties.delete(key);
}

@@ -123,3 +122,3 @@ return true;

has(target, key) {
if (deletedProperties.indexOf(key) !== -1)
if (deletedProperties.has(key))
return false;

@@ -131,6 +130,6 @@ return Reflect.has(newData, key) || Reflect.has(target, key);

const newKeys = Object.keys(newData);
return [...new Set([...originalKeys, ...newKeys])].filter((key) => deletedProperties.indexOf(key) === -1);
return [...new Set([...originalKeys, ...newKeys])].filter((key) => !deletedProperties.has(key));
},
getOwnPropertyDescriptor(target, key) {
if (deletedProperties.indexOf(key) !== -1)
if (deletedProperties.has(key))
return undefined;

@@ -137,0 +136,0 @@ return Object.getOwnPropertyDescriptor(key in newData ? newData : data, key);

@@ -67,3 +67,3 @@ "use strict";

name: 'round',
description: 'Returns the value of a number rounded to the nearest whole number. Defaults to 0 decimal places if no argument is given.',
description: 'Returns the value of a number rounded to the nearest whole number, unless a decimal place is specified. Defaults to 0 decimal places if no argument is given.',
returnType: 'number',

@@ -70,0 +70,0 @@ args: [{ name: 'decimalPlaces?', type: 'number' }],

{
"name": "n8n-workflow",
"version": "1.6.0",
"version": "1.7.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