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

Commit 5fd8368

Browse files
committed
Remove default export (Level/community#87)
1 parent 2ec3ebb commit 5fd8368

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

memdown.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ MemDOWN.prototype._iterator = function (options) {
249249
return new MemIterator(this, options)
250250
}
251251

252-
module.exports = MemDOWN.default = MemDOWN
252+
module.exports = MemDOWN
253+
253254
// Exposed for unit tests only
254255
module.exports.MemIterator = MemIterator

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const test = require('tape')
44
const suite = require('abstract-leveldown/test')
55
const concat = require('level-concat-iterator')
6-
const memdown = require('.').default
6+
const memdown = require('.')
77
const ltgt = require('ltgt')
88
const Buffer = require('safe-buffer').Buffer
99
const noop = function () { }

0 commit comments

Comments
 (0)