cccf-diff
v3.0.2
Published
Diff two cccf configs
Downloads
5
Readme
cccf-diff
This module can diff two cccf configs / states. It takes current and a wanted state and returns an object of containers to add, remove and keep in order to get you there.
Install
npm install cccf-diff
Use
var diff = require('cccf-diff')(current, wanted)
// => { add : [], remove : [], keep : [] }
Changelog
3.0.2
- Patched a global variable leak
3.0.1
- Handles properties in random order (does a sort pre diff)
3.0.0
- Now looking at all properties of the containers (not just the id's)
2.0.1
- Updated docs
2.0.0
- Using cccf v3.0.0
1.0.0
- Initial release