Skip to content

Commit df95da5

Browse files
committed
Switch to browserify-crypto
1 parent a138997 commit df95da5

File tree

2 files changed

+3907
-0
lines changed

2 files changed

+3907
-0
lines changed

src/legacy/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ async function buildGraph(
102102

103103
const depNodesIds: string[] = [];
104104

105+
// raise an exception for testing to see if my tests cover this code path
106+
107+
105108
const hash = crypto.createHash('sha1');
106109
if (depTree.versionProvenance) {
107110
hash.update(objectHash(depTree.versionProvenance));

0 commit comments

Comments
 (0)