How to use the merge.clone function in merge

To help you get started, we’ve selected a few merge examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nss-dev / nss / automation / taskcluster / graph / src / queue.js View on Github external
function parseArtifacts(artifacts) {
  let copy = clone(artifacts);
  Object.keys(copy).forEach(key => {
    copy[key].expires = fromNow(copy[key].expires);
  });
  return copy;
}

merge

(recursive)? merging of (cloned)? objects.

MIT
Latest version published 4 years ago

Package Health Score

67 / 100
Full package analysis