Skip to content

Commit bcc4b30

Browse files
authored
Update index.html to include integrity hashes
1 parent b3c42a6 commit bcc4b30

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

examples/graphiql-cdn/index.html

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,17 @@
2828
font-size: 4rem;
2929
}
3030
</style>
31-
<link rel="stylesheet" href="https://esm.sh/graphiql/dist/style.css" />
3231
<link
3332
rel="stylesheet"
34-
href="https://esm.sh/@graphiql/plugin-explorer/dist/style.css"
33+
href="https://esm.sh/[email protected]/dist/style.css"
34+
integrity="sha384-f6GHLfCwoa4MFYUMd3rieGOsIVAte/evKbJhMigNdzUf52U9bV2JQBMQLke0ua+2"
35+
crossorigin="anonymous"
36+
/>
37+
<link
38+
rel="stylesheet"
39+
href="https://esm.sh/@graphiql/[email protected]/dist/style.css"
40+
integrity="sha384-vTFGj0krVqwFXLB7kq/VHR0/j2+cCT/B63rge2mULaqnib2OX7DVLUVksTlqvMab"
41+
crossorigin="anonymous"
3542
/>
3643
<!--
3744
* Note:
@@ -43,18 +50,25 @@
4350
"imports": {
4451
"react": "https://esm.sh/[email protected]",
4552
"react/": "https://esm.sh/[email protected]/",
46-
4753
"react-dom": "https://esm.sh/[email protected]",
4854
"react-dom/": "https://esm.sh/[email protected]/",
49-
50-
"graphiql": "https://esm.sh/graphiql?standalone&external=react,react-dom,@graphiql/react,graphql",
51-
"graphiql/": "https://esm.sh/graphiql/",
52-
"@graphiql/plugin-explorer": "https://esm.sh/@graphiql/plugin-explorer?standalone&external=react,@graphiql/react,graphql",
53-
"@graphiql/react": "https://esm.sh/@graphiql/react?standalone&external=react,react-dom,graphql,@graphiql/toolkit,@emotion/is-prop-valid",
54-
55-
"@graphiql/toolkit": "https://esm.sh/@graphiql/toolkit?standalone&external=graphql",
55+
"graphiql": "https://esm.sh/[email protected]?standalone&external=react,react-dom,@graphiql/react,graphql",
56+
"graphiql/": "https://esm.sh/[email protected]/",
57+
"@graphiql/plugin-explorer": "https://esm.sh/@graphiql/[email protected]?standalone&external=react,@graphiql/react,graphql",
58+
"@graphiql/react": "https://esm.sh/@graphiql/[email protected]?standalone&external=react,react-dom,graphql,@graphiql/toolkit,@emotion/is-prop-valid",
59+
"@graphiql/toolkit": "https://esm.sh/@graphiql/[email protected]?standalone&external=graphql",
5660
"graphql": "https://esm.sh/[email protected]",
5761
"@emotion/is-prop-valid": "data:text/javascript,"
62+
},
63+
"integrity": {
64+
"https://esm.sh/[email protected]": "sha384-C3ApUaeHIj1v0KX4cY/+K3hQZ/8HcAbbmkw1gBK8H5XN4LCEguY7+A3jga11SaHF",
65+
"https://esm.sh/[email protected]": "sha384-CKiqgCWLo5oVMbiCv36UR0pLRrzeRKhw1jFUpx0j/XdZOpZ43zOHhjf8yjLNuLEy",
66+
"https://esm.sh/[email protected]": "sha384-iJccq+zsT06wL6UQ27mjQ6OoghntU/ZdWkOmza8f/iD4hVJXQOgZeH/230Pm2y3V",
67+
"https://esm.sh/[email protected]?standalone&external=react,react-dom,@graphiql/react,graphql": "sha384-32Vv0P2Qy9UWdE0/n9/nFmGh8tM5/vMgpAarsa+UdD6So+aS6DVBQZDIjS2lU52e",
68+
"https://esm.sh/@graphiql/plugin-explorer": "sha384-OLBgp1GsljhM2TJ+sbHjaiH9txEUvgdDTAzHv2P24donTt6/529l+9Ua0vFImLlb",
69+
"https://esm.sh/@graphiql/[email protected]?standalone&external=react,react-dom,graphql,@graphiql/toolkit,@emotion/is-prop-valid": "sha384-vbrVVt6MhT20iaS0B9nwXO210Cix1sSiP+RyMEdFGEj5ZHbXJz96XxtckeWTrnkd",
70+
"https://esm.sh/@graphiql/[email protected]?standalone&external=graphql": "sha384-ZsnupyYmzpNjF1Z/81zwi4nV352n4P7vm0JOFKiYnAwVGOf9twnEMnnxmxabMBXe",
71+
"https://esm.sh/[email protected]": "sha384-uhRXaGfgCFqosYlwSLNd7XpDF9kcSUycv5yVbjjhH5OrE675kd0+MNIAAaSc+1Pi"
5872
}
5973
}
6074
</script>

0 commit comments

Comments
 (0)