From 27bfd1ae0c0980ff88e91171d21502823f28c011 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Mon, 27 Mar 2017 23:10:18 -0400 Subject: [PATCH] Add the same underscore.string dep as ledger-publisher Auditors: @bridiver Fix #7911 It turns out we did have an underscore-string dep top level from argparse, but it was old, and it had a different directory hierarchy. It had trim under lib, and package.json specified that as the main entry point, but our electron resolver doesn't check that. The underscore.string that ledger-parser uses is newer and has the deps directly under underscore.string without a lib folder. By adding the dep top level, we can ensure we use the later version which doesn't have an extra directory that our resolver doesn't understand. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e1c720a1c7a..b77d37adad6 100644 --- a/package.json +++ b/package.json @@ -127,6 +127,7 @@ "tldjs": "1.6.2", "tracking-protection": "1.1.x", "underscore": "1.8.3", + "underscore.string": "^3.3.4", "url-loader": "^0.5.7", "webtorrent-remote": "^1.0.0" },