cccf-diff
Diff two cccf configs
Last updated 5 years ago by asbjornenge .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cccf-diff 
SYNC missed versions from official npm registry.

cccf-diff

NPM

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

Current Tags

  • 3.0.2                                ...           latest (5 years ago)

6 Versions

  • 3.0.2                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |