Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Remove default export (Level/community#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Apr 10, 2021
1 parent 2ec3ebb commit 5fd8368
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion memdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ MemDOWN.prototype._iterator = function (options) {
return new MemIterator(this, options)
}

module.exports = MemDOWN.default = MemDOWN
module.exports = MemDOWN

// Exposed for unit tests only
module.exports.MemIterator = MemIterator
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const test = require('tape')
const suite = require('abstract-leveldown/test')
const concat = require('level-concat-iterator')
const memdown = require('.').default
const memdown = require('.')
const ltgt = require('ltgt')
const Buffer = require('safe-buffer').Buffer
const noop = function () { }
Expand Down

0 comments on commit 5fd8368

Please sign in to comment.