Skip to content

Commit

Permalink
Merge pull request #12 from snyk/fix/named-export
Browse files Browse the repository at this point in the history
fix: export LockfileParser only via named export
  • Loading branch information
mrackwitz committed Sep 25, 2019
2 parents c279385 + be70dbd commit 0120fb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import LockfileParser from './lockfile-parser';

export default LockfileParser;
export { LockfileParser };
2 changes: 1 addition & 1 deletion test/lib/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as fs from 'fs';
import * as path from 'path';
import { DepGraph, createFromJSON } from '@snyk/dep-graph';
import LockfileParser from '../../lib';
import { LockfileParser } from '../../lib';

const regenerateFixtures = process.env.REGENERATE == 'true';

Expand Down

0 comments on commit 0120fb4

Please sign in to comment.