🚀 Release 0.222.1 (#5897)

This commit is contained in:
github-actions[bot]
2023-04-04 15:36:08 +02:00
committed by GitHub
parent 0be129254e
commit 64fa80fe8a
11 changed files with 32 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "n8n-workflow",
"version": "0.143.0",
"version": "0.143.1",
"description": "Workflow base code of n8n",
"license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://n8n.io",

View File

@@ -7,6 +7,7 @@ const augmentedObjects = new WeakSet<object>();
function augment<T>(value: T): T {
if (typeof value !== 'object' || value === null || value instanceof RegExp) return value;
if (value instanceof Date) return new Date(value.valueOf()) as T;
if (value instanceof Uint8Array) return value.slice() as T;
// eslint-disable-next-line @typescript-eslint/no-use-before-define
if (Array.isArray(value)) return augmentArray(value) as T;