File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -157,17 +157,17 @@ function render () {
157
157
158
158
function importDependencies ( ) {
159
159
const link = document . createElement ( 'link' )
160
- link . href = 'https://unpkg.com/graphiql@2.0.9 /graphiql.min.css'
160
+ link . href = 'https://unpkg.com/graphiql@3.7.1 /graphiql.min.css'
161
161
link . type = 'text/css'
162
162
link . rel = 'stylesheet'
163
163
link . media = 'screen,print'
164
164
link . crossOrigin = 'anonymous'
165
165
document . getElementsByTagName ( 'head' ) [ 0 ] . appendChild ( link )
166
166
167
167
return importer . urls ( [
168
- 'https://unpkg.com/react@18.2.0 /umd/react.production.min.js' ,
169
- 'https://unpkg.com/react-dom@18.2.0 /umd/react-dom.production.min.js' ,
170
- 'https://unpkg.com/graphiql@2.0.9 /graphiql.min.js'
168
+ 'https://unpkg.com/react@18.3.1 /umd/react.production.min.js' ,
169
+ 'https://unpkg.com/react-dom@18.3.1 /umd/react-dom.production.min.js' ,
170
+ 'https://unpkg.com/graphiql@3.7.1 /graphiql.min.js'
171
171
] ) . then ( function ( ) {
172
172
const pluginUrls = window . GRAPHIQL_PLUGIN_LIST
173
173
. map ( plugin => window [ `GRAPIHQL_PLUGIN_${ plugin . toUpperCase ( ) } ` ] . umdUrl )
Original file line number Diff line number Diff line change 2
2
3
3
self . addEventListener ( 'install' , function ( e ) {
4
4
e . waitUntil (
5
- caches . open ( 'graphiql-v2.0.9 ' ) . then ( function ( cache ) {
5
+ caches . open ( 'graphiql-v3.7.1 ' ) . then ( function ( cache ) {
6
6
return cache . addAll ( [
7
7
'./main.js' ,
8
- 'https://unpkg.com/graphiql@2.0.9 /graphiql.css' ,
9
- 'https://unpkg.com/react@18.2.0 /umd/react.production.min.js' ,
10
- 'https://unpkg.com/react-dom@18.2.0 /umd/react-dom.production.min.js' ,
11
- 'https://unpkg.com/graphiql@2.0.9 /graphiql.min.js'
8
+ 'https://unpkg.com/graphiql@3.7.1 /graphiql.css' ,
9
+ 'https://unpkg.com/react@18.3.1 /umd/react.production.min.js' ,
10
+ 'https://unpkg.com/react-dom@18.3.1 /umd/react-dom.production.min.js' ,
11
+ 'https://unpkg.com/graphiql@3.7.1 /graphiql.min.js'
12
12
] )
13
13
} )
14
14
)
You can’t perform that action at this time.
0 commit comments