{
  "name": "mongoose-history",
  "version": "0.4.1",
  "description": "Keeps a history of all changes of a document.",
  "main": "lib/mongoose-history.js",
  "files": [
    "lib/"
  ],
  "scripts": {
    "test": "mocha"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/nassor/mongoose-history"
  },
  "keywords": [
    "mongoose",
    "history",
    "safe",
    "cqrs",
    "backup"
  ],
  "author": "Nassor Paulino da Silva <nassor@gmail.com>",
  "contributors": [
    {
      "name" : "Christopher Britz",
      "email" : "britztopher@gmail.com",
      "url" : "https://github.com/britztopher"
    },
    {
      "name" : "Allan Nienhuis",
      "url" : "https://github.com/allannienhuis"
    }
  ],
  "license": "BSD-2-Clause",
  "bugs": {
    "url": "https://github.com/nassor/mongoose-history/issues"
  },
  "dependencies": {
    "mongoose": "~4.0.0"
  },
  "devDependencies": {
    "mocha": "*",
    "should": "*"
  }
}

{
  "name": "mongoose-history",
  "version": "0.4.1",
  "description": "Keeps a history of all changes of a document.",
  "main": "lib/mongoose-history.js",
  "files": [
    "lib/"
  ],
  "scripts": {
    "test": "mocha"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/nassor/mongoose-history"
  },
  "keywords": [
    "mongoose",
    "history",
    "safe",
    "cqrs",
    "backup"
  ],
  "author": "Nassor Paulino da Silva <nassor@gmail.com>",
  "contributors": [
    {
      "name" : "Christopher Britz",
      "email" : "britztopher@gmail.com",
      "url" : "https://github.com/britztopher"
    },
    {
      "name" : "Allan Nienhuis",
      "url" : "https://github.com/allannienhuis"
    }
  ],
  "license": "BSD-2-Clause",
  "bugs": {
    "url": "https://github.com/nassor/mongoose-history/issues"
  },
  "dependencies": {
    "mongoose": "^4.0.0"
  },
  "devDependencies": {
    "mocha": "*",
    "should": "*"
  }
}

Set mongoose version to ^4.0.0, tests passing for latest mongoose release(4.1.10)
Set mongoose version to ^4.0.0, tests passing for latest mongoose release(4.1.10)
