From e2d8c71ac98436e9dcacf1eb2b38623a835862c2 Mon Sep 17 00:00:00 2001
From: Alexandre Machado <xandemachado2@hotmail.com>
Date: Tue, 19 Sep 2023 17:25:44 -0300
Subject: [PATCH] feature: scripts integrity added (#1332)

---
 packages/graphql-playground-html/minimal.html       | 6 +++---
 packages/graphql-playground-html/withAnimation.html | 7 +++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/packages/graphql-playground-html/minimal.html b/packages/graphql-playground-html/minimal.html
index 1420a5564..793e637b8 100644
--- a/packages/graphql-playground-html/minimal.html
+++ b/packages/graphql-playground-html/minimal.html
@@ -5,9 +5,9 @@
   <meta charset=utf-8/>
   <meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
   <title>GraphQL Playground</title>
-  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css" />
-  <link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png" />
-  <script src="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js"></script>
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css" integrity="sha384-xb+UHILNN4fV3NgQMTjXk0x9A80U0hmkraTFvucUYTILJymGT8E1Aq2278NSi5+3" crossorigin="anonymous">
+  <link rel="shortcut icon" src="https://cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png" integrity="sha384-VLp5/okq5I2SPX4Uw0U/e4NV26ySLulHMNoG1Tql7c51MjUKtgTFKFTuVd3fjR2q" crossorigin="anonymous" />
+  <script src="https://cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js" integrity="sha384-ardaO17esJ2ZxvY24V1OE6X4j+Z3WKgGMptrlDLmD+2w/JC3nbQ5ZfKGY2zfOPEE" crossorigin="anonymous"></script>
 </head>
 
 <body>
diff --git a/packages/graphql-playground-html/withAnimation.html b/packages/graphql-playground-html/withAnimation.html
index cb9bdd798..586c1db29 100644
--- a/packages/graphql-playground-html/withAnimation.html
+++ b/packages/graphql-playground-html/withAnimation.html
@@ -6,10 +6,9 @@
   <meta charset=utf-8 />
   <meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
   <title>GraphQL Playground</title>
-  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css" />
-  <link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png" />
-  <script src="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js"></script>
-
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css" integrity="sha384-xb+UHILNN4fV3NgQMTjXk0x9A80U0hmkraTFvucUYTILJymGT8E1Aq2278NSi5+3" crossorigin="anonymous">
+  <link rel="shortcut icon" src="https://cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png" integrity="sha384-VLp5/okq5I2SPX4Uw0U/e4NV26ySLulHMNoG1Tql7c51MjUKtgTFKFTuVd3fjR2q" crossorigin="anonymous" />
+  <script src="https://cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js" integrity="sha384-ardaO17esJ2ZxvY24V1OE6X4j+Z3WKgGMptrlDLmD+2w/JC3nbQ5ZfKGY2zfOPEE" crossorigin="anonymous"></script>
 </head>
 
 <body>