projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update to Drupal 8.4.6
[yaffs-website]
/
node_modules
/
defaults
/
index.js
1
var clone = require('clone');
2
3
module.exports = function(options, defaults) {
4
options = options || {};
5
6
Object.keys(defaults).forEach(function(key) {
7
if (typeof options[key] === 'undefined') {
8
options[key] = clone(defaults[key]);
9
}
10
});
11
12
return options;
13
};