Sha256: a826519741344f6d8e67a5c18b883c6a9202a22a77493d1d6e8597b0a80fc7ef
Contents?: true
Size: 1019 Bytes
Versions: 3
Compression:
Stored size: 1019 Bytes
Contents
"use strict"; exports.__esModule = true; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var _lodashObjectMerge = require("lodash/object/merge"); var _lodashObjectMerge2 = _interopRequireDefault(_lodashObjectMerge); exports["default"] = function (dest, src) { if (!dest || !src) return; return (0, _lodashObjectMerge2["default"])(dest, src, function (a, b) { if (Array.isArray(a)) { var c = a.slice(0); for (var _iterator = b, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { var _ref; if (_isArray) { if (_i >= _iterator.length) break; _ref = _iterator[_i++]; } else { _i = _iterator.next(); if (_i.done) break; _ref = _i.value; } var v = _ref; if (a.indexOf(v) < 0) { c.push(v); } } return c; } }); }; module.exports = exports["default"];
Version data entries
3 entries across 3 versions & 1 rubygems