PouchDB growing with revisions even when revs_limit: 1
<p>I've created PouchDB with the option not to create revisions</p>

<pre><code>var db = new PouchDB('test1', {
  revs_limit: 1,
  auto_compaction: true
});
</code></pre>

<p>When I inspect indexedDB in chrome it looks like revisions are stored there. I'd like to keep size of db small as it is used in cordova project, no sync with CouchDB is needed. </p>

<p>PouchDB.version === "5.3.2".<br>
It a bug in PouchDB or did I missed smth?</p>

<p>The following code demonstrates how revisions are created: 
<a href="https://i.stack.imgur.com/2vvSL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2vvSL.png" alt="enter image description here"></a></p>

<pre><code>function upsert(id, title) {
  var obj;

  return db.get(id)
    .then(function (doc) {
      obj = { // UPDATE
        _id: id,
        _rev: doc._rev,
        title: title
      };
      return db.put(obj)
        .then(function (res) {
          console.log('updated', res);
        })
        .catch(function (e) {
          console.error('update error', obj, e);
        });
    })
    .catch(function (e) {
      if (e.status === 404) {
        obj = { // INSERT
          _id: id,
          title: title
        };
        return db.put(obj)
          .then(function (res) {
            console.log('inserted', res);
          })
          .catch(function (e) {
            console.error('insert error', obj, e);
          });
      }
      console.error('another error', e);
    });
}

var db = new PouchDB('test1', {
  revs_limit: 1,
  auto_compaction: true
});
var id = '666-' + (new Date()).toISOString();
var serializer;
console.log('Test started with\nid = ' + id);
db.then(function () {
  for (var i = 0; i &lt; 5; i++) {
    if (!serializer) {
      serializer = upsert(id, 'Heroes');
    } else {
      serializer = serializer
        .then(function () {
          return upsert(id, 'Heroes')
        });
    }
  }
});
</code></pre>