n8n/packages/workflow/src
कारतोफ्फेलस्क्रिप्ट™ 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.ts [N8N-4339] Unify all Cron-specific code. Improve typing, and add tests. (#3887) 2022-08-19 12:45:04 +02:00
DeferredPromise.ts Add Webhook response node (#2254) 2021-11-05 10:45:51 -06:00
Expression.ts refactor(core): clear @ts-ignore from workflow and core packages (#4467) 2022-10-31 12:45:34 +01:00
ExpressionError.ts feat: use ES2022 native error chaining to improve error reporting (#4431) 2022-10-26 11:55:39 +02:00
index.ts refactor: rename NodeVersionedType to VersionedNodeType and move it to the workflow package (#4443) 2022-10-25 21:33:12 +02:00
Interfaces.ts refactor(core): clear @ts-ignore from workflow and core packages (#4467) 2022-10-31 12:45:34 +01:00
LoggerProxy.ts feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
NodeErrors.ts fix(core): make deepCopy backward compatible (#4505) 2022-11-02 17:44:12 +01:00
NodeHelpers.ts fix: displayOptions not getting value of RLC (#4460) 2022-11-02 09:37:49 +00:00
ObservableObject.ts feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
RoutingNode.ts feat: use ES2022 native error chaining to improve error reporting (#4431) 2022-10-26 11:55:39 +02:00
TelemetryHelpers.ts fix(core): fix predefinedCredentialType in node graph item (#4379) 2022-10-25 09:07:26 +02:00
type-guards.ts feat(editor): add readonly state for nodes (#4299) 2022-10-24 20:17:25 +02:00
types.d.ts fix(workflow): remove a few ts-ignore and eslint-disable (#3958) 2022-09-09 16:34:50 +02:00
utils.ts fix(core): make deepCopy backward compatible (#4505) 2022-11-02 17:44:12 +01:00
VersionedNodeType.ts refactor: rename NodeVersionedType to VersionedNodeType and move it to the workflow package (#4443) 2022-10-25 21:33:12 +02:00
Workflow.ts fix(core): fix single-node execution failing in main mode (#4421) 2022-10-24 15:03:41 +02:00
WorkflowActivationError.ts feat: use ES2022 native error chaining to improve error reporting (#4431) 2022-10-26 11:55:39 +02:00
WorkflowDataProxy.ts fix(editor): Fix pairedItem telemetry error reporting 2022-10-14 18:56:04 +02:00
WorkflowErrors.ts feat(editor, core, cli): implement new workflow experience (#4358) 2022-10-18 14:23:22 +02:00
WorkflowHooks.ts feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00