Skip to content

Commit 62ded09

Browse files
author
jc55
committed
change hash alg to use sha256 instead of md5
1 parent de5af78 commit 62ded09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vue2-jest/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
{ config, configString, instrument, rootDir }
99
) {
1010
return crypto
11-
.createHash('md5')
11+
.createHash('sha256')
1212
.update(
1313
babelJest.createTransformer().getCacheKey(fileData, filename, {
1414
config,

packages/vue3-jest/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
{ config, configString, instrument, rootDir }
99
) {
1010
return crypto
11-
.createHash('md5')
11+
.createHash('sha256')
1212
.update(
1313
babelJest.createTransformer().getCacheKey(fileData, filename, {
1414
config,

0 commit comments

Comments
 (0)