* swap to `merge` to not act on clones
This commit is contained in:
Ian Storm Taylor 2014-02-06 14:21:58 -08:00
parent dc2f5f1994
commit d84cb86284
3 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,8 @@
0.0.2 - February 6, 2013
------------------------
* swap to `merge` to not act on clones
0.0.1 - February 5, 2013
------------------------
:sparkles:

View file

@ -1,5 +1,5 @@
var defaults = require('defaults');
var merge = require('merge');
/**
* Expose `plugin`.
@ -48,6 +48,6 @@ function plugin(collections){
});
var data = metalsmith.metadata();
metalsmith.metadata(defaults(data, arrs));
metalsmith.metadata(merge(data, arrs));
};
}

View file

@ -2,11 +2,11 @@
"name": "metalsmith-collections",
"description": "A Metalsmith plugin that adds collections of files to the global metadata.",
"repository": "git://github.com/segmentio/metalsmith-collections.git",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",
"main": "lib/index.js",
"dependencies": {
"defaults": "~1.0.0"
"merge": "~1.1.2"
},
"devDependencies": {
"metalsmith": "0.x",