Skip to content

Commit debb232

Browse files
committed
0.0.50; turn off sri
1 parent 32aec0e commit debb232

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@observablehq/cli",
33
"license": "UNLICENSED",
4-
"version": "0.0.49",
4+
"version": "0.0.50",
55
"type": "module",
66
"publishConfig": {
77
"registry": "https://npm.pkg.github.com"

src/javascript/imports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ async function fetchModulePreloads(href: string): Promise<Set<string> | undefine
346346
}
347347
}
348348
}
349-
integrityCache.set(href, `sha384-${createHash("sha384").update(body).digest("base64")}`);
349+
// TODO integrityCache.set(href, `sha384-${createHash("sha384").update(body).digest("base64")}`);
350350
return imports;
351351
})();
352352
promise.catch(() => preloadCache.delete(href)); // try again on error

test/output/build/imports/foo/foo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<link rel="modulepreload" href="../_observablehq/client.js">
1515
<link rel="modulepreload" href="../_observablehq/runtime.js">
1616
<link rel="modulepreload" href="../_observablehq/stdlib.js">
17-
<link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/[email protected]/+esm" integrity="sha384-OLBgp1GsljhM2TJ+sbHjaiH9txEUvgdDTAzHv2P24donTt6/529l+9Ua0vFImLlb">
17+
<link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/[email protected]/+esm">
1818
<script type="module">
1919

2020
import {define} from "../_observablehq/client.js";

0 commit comments

Comments
 (0)