(path)
| 99 | section('Checking www/_data/integrity.json matches package.json + dist/...') |
| 100 | |
| 101 | function sri(path) { |
| 102 | return 'sha384-' + createHash('sha384').update(readFileSync(path)).digest('base64') |
| 103 | } |
| 104 | |
| 105 | const integrityPath = join(repoRoot, 'www', '_data', 'integrity.json') |
| 106 | let integrity |