Files
n8n-nodes-gwezz-changdunovel/node_modules/@nodeutils/defaults-deep/lib/index.js
2025-10-26 23:10:15 +08:00

12 lines
337 B
JavaScript

"use strict";
var _ = require("lodash");
module.exports = function () {
var output = {};
_.toArray(arguments).reverse().forEach(function (item) {
_.mergeWith(output, item, function (objectValue, sourceValue) {
return _.isArray(sourceValue) ? sourceValue : undefined;
});
});
return output;
};