mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(core): Avoid using Object.keys on Buffer and other non-plain objects (#6131)
* create a unified way to check if an object is empty * avoid running `Object.keys` on Buffer objects, to avoid unnecessary memory usage
This commit is contained in:
committed by
GitHub
parent
188ef042cd
commit
a3aba835a1
@@ -23,7 +23,15 @@ export * from './WorkflowErrors';
|
||||
export * from './WorkflowHooks';
|
||||
export * from './VersionedNodeType';
|
||||
export { LoggerProxy, NodeHelpers, ObservableObject, TelemetryHelpers };
|
||||
export { deepCopy, jsonParse, jsonStringify, sleep, fileTypeFromMimeType, assert } from './utils';
|
||||
export {
|
||||
isObjectEmpty,
|
||||
deepCopy,
|
||||
jsonParse,
|
||||
jsonStringify,
|
||||
sleep,
|
||||
fileTypeFromMimeType,
|
||||
assert,
|
||||
} from './utils';
|
||||
export {
|
||||
isINodeProperties,
|
||||
isINodePropertyOptions,
|
||||
|
||||
Reference in New Issue
Block a user