Skip to content

Commit

Permalink
fix: pbkdf2 hack (tradle#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib authored Oct 19, 2020
1 parent 300ca44 commit b98b099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg-hacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ var hackers = [
hack: function (file, contents) {
if (isInReactNative(file)) return

var fixed = contents.replace('process.version', '"' + process.version + '"')
var fixed = contents.replace(/process.version/g, '"' + process.version + '"')

return contents === fixed ? null : fixed
}
Expand Down

0 comments on commit b98b099

Please sign in to comment.