Skip to content

Commit

Permalink
💥 refactor!: Remove default export.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The default export is gone.
  • Loading branch information
make-github-pseudonymous-again committed Jul 27, 2021
1 parent af8b77f commit bdb6621
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ import _dict from './_dict.js';
const Dict = _Dict(Map); // Use native Map implementation
const dict = _dict(Dict);

export default dict;

export {dict, Dict, _dict, _Dict};
2 changes: 1 addition & 1 deletion test/src/dict.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {lexicographical} from '@total-order/lex';
import {sorted} from '@iterable-iterator/sorted';
import {KeyError} from '@failure-abstraction/error';

import dict from '../../src/index.js';
import {dict} from '../../src/index.js';

const lex = lexicographical(increasing);

Expand Down

0 comments on commit bdb6621

Please sign in to comment.