Przeglądaj źródła

Merge pull request #6889 from telamonian/fix-fs-import

fix auto import of `fs@~0.0.1-security` by integrity
Jason Grout 5 lat temu
rodzic
commit
13de724698
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1 0
      testutils/package.json
  2. 1 1
      testutils/src/compare-lighthouse.ts

+ 1 - 0
testutils/package.json

@@ -42,6 +42,7 @@
     "@jupyterlab/services": "^4.0.1",
     "@phosphor/coreutils": "^1.3.1",
     "@phosphor/signaling": "^1.2.3",
+    "fs-extra": "^8.0.1",
     "identity-obj-proxy": "^3.0.0",
     "json-to-html": "~0.1.2",
     "node-fetch": "^2.6.0",

+ 1 - 1
testutils/src/compare-lighthouse.ts

@@ -3,7 +3,7 @@
  *
  * Outputs in Markdown for easy posting in Github.
  */
-import { readFileSync } from 'fs';
+import { readFileSync } from 'fs-extra';
 
 const firstFilePath = process.argv[2];
 const secondFilePath = process.argv[3];