n8n/packages/nodes-base/nodes/Code
कारतोफ्फेलस्क्रिप्ट™ 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
..
Code.node.json docs(Code Node): fix the docs link in the code node (#4366) 2022-10-18 11:21:28 +02:00
Code.node.ts feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
ExecutionError.ts feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
Sandbox.ts feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
utils.ts fix(core): make deepCopy backward compatible (#4505) 2022-11-02 17:44:12 +01:00
ValidationError.ts feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00