n8n/packages
कारतोफ्फेलस्क्रिप्ट™ b282c7e5d9
fix(core): make deepCopy backward compatible (#4505)
* fix(core): make `deepCopy` backward compatible

`JSON.parse(JSON.stringify())`  uses `.toJSON` when available. so should `deepCopy`

* fix(core): prevent double quotes on luxon datetimes (#4508)

* 🐛 Prevent double quotes on luxon datetimes

*  Generalize solution

* update the types in packages/workflow/src/utils.ts

* add `toJSON` check to NodeErrors.isTraversableObject as well

* move the toJSON check before the cyclic dependency check

* fix(core): keep backward compatibility in deepCopy by calling `toJSON` on objects that have it

* fix(core): updating deepCopy typings

* Revert "fix(core): updating deepCopy typings"

This reverts commit 100a0f1f3d.

* fix(core): temporarily removing Date cloning from deepCopy

* fix(core): updating deepCopy types

* fix(core): updating deepCopy

* fix(core): updating deepCopy get prototype of object

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2022-11-02 17:44:12 +01:00
..
@n8n_io/eslint-config refactor(core): clear @ts-ignore from workflow and core packages (#4467) 2022-10-31 12:45:34 +01:00
cli fix(core): fix workflow hasing for MySQL (#4491) 2022-11-01 13:51:13 +01:00
core refactor(core): clear @ts-ignore from workflow and core packages (#4467) 2022-10-31 12:45:34 +01:00
design-system fix(editor): disable settings link in executions view for unsaved workflows (#4493) 2022-11-01 22:23:05 +01:00
editor-ui fix(editor): workflow settings link font size change (no-changelog) (#4511) 2022-11-02 15:37:34 +01:00
node-dev refactor(core): clear @ts-ignore from workflow and core packages (#4467) 2022-10-31 12:45:34 +01:00
nodes-base fix(core): make deepCopy backward compatible (#4505) 2022-11-02 17:44:12 +01:00
workflow fix(core): make deepCopy backward compatible (#4505) 2022-11-02 17:44:12 +01:00