From 8a864484110bb9fdfbd4e15b7fd89636651786d2 Mon Sep 17 00:00:00 2001 From: Mark Vayngrib Date: Mon, 19 Oct 2020 14:52:48 -0400 Subject: [PATCH] fix: pbkdf2 hack --- pkg-hacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg-hacks.js b/pkg-hacks.js index 25f4dbd..5004ce0 100644 --- a/pkg-hacks.js +++ b/pkg-hacks.js @@ -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 }