[Python-checkins] gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (#93953)
tiran
webhook-mailer at python.org
Fri Jul 1 05:54:34 EDT 2022
https://github.com/python/cpython/commit/1df9449db24f16c9c96bdd7dc283a5062bca68e6
commit: 1df9449db24f16c9c96bdd7dc283a5062bca68e6
branch: main
author: Petr Viktorin <encukou at gmail.com>
committer: tiran <christian at python.org>
date: 2022-07-01T11:54:30+02:00
summary:
gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (#93953)
files:
M Tools/wasm/python.html
diff --git a/Tools/wasm/python.html b/Tools/wasm/python.html
index 41cf5fcf6b6df..17ffa0ea8bfef 100644
--- a/Tools/wasm/python.html
+++ b/Tools/wasm/python.html
@@ -7,7 +7,7 @@
<meta name="author" content="Katie Bell">
<meta name="description" content="Simple REPL for Python WASM">
<title>wasm-python terminal</title>
- <link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin/>
+ <link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin integrity="sha384-4eEEn/eZgVHkElpKAzzPx/Kow/dTSgFk1BNe+uHdjHa+NkZJDh5Vqkq31+y7Eycd"/>
<style>
body {
font-family: arial;
@@ -32,7 +32,7 @@
padding: 6px 18px;
}
</style>
- <script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin></script>
+ <script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin integrity="sha384-yYdNmem1ioP5Onm7RpXutin5A8TimLheLNQ6tnMi01/ZpxXdAwIm2t4fJMx1Djs+"/></script>
<script type="module">
class WorkerManager {
constructor(workerURL, standardIO, readyCallBack) {
More information about the Python-checkins
mailing list