n8n/packages/workflow/test
कारतोफ्फेलस्क्रिप्ट™ 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
..
Cron.test.ts perf(tooling): Upgrade to TypeScript 4.8 (#4207) 2022-10-05 13:36:09 +02:00
Expression.test.ts perf(tooling): Upgrade to TypeScript 4.8 (#4207) 2022-10-05 13:36:09 +02:00
Helpers.ts refactor: rename NodeVersionedType to VersionedNodeType and move it to the workflow package (#4443) 2022-10-25 21:33:12 +02:00
NodeHelpers.test.ts fix: correct all the spelling typos (#3960) 2022-09-02 16:13:17 +02:00
ObservableObject.test.ts 🎨 Set up linting and formatting (#2120) 2021-08-29 20:58:11 +02:00
RoutingNode.test.ts refactor(core): clear @ts-ignore from workflow and core packages (#4467) 2022-10-31 12:45:34 +01:00
TelemetryHelpers.test.ts perf(tooling): Upgrade to TypeScript 4.8 (#4207) 2022-10-05 13:36:09 +02:00
utils.test.ts fix(core): make deepCopy backward compatible (#4505) 2022-11-02 17:44:12 +01:00
Workflow.test.ts refactor(core): clear @ts-ignore from workflow and core packages (#4467) 2022-10-31 12:45:34 +01:00
WorkflowDataProxy.test.ts feat(core): Improve paired item and add additional variables (#3765) 2022-09-29 23:02:25 +02:00