diff --git a/components/Meta.js b/components/Meta.js index c9cca22..333396f 100644 --- a/components/Meta.js +++ b/components/Meta.js @@ -26,7 +26,7 @@ export const StylesheetLink = ({ theme }) => { href = `/static/themes/${theme}.min.css` } else { const themeDef = THEMES_HASH[theme] - href = `//cdnjs.cloudflare.com/ajax/libs/codemirror/5.47.0/theme/${themeDef && + href = `//cdnjs.cloudflare.com/ajax/libs/codemirror/5.48.2/theme/${themeDef && (themeDef.link || themeDef.id)}.min.css` } @@ -34,7 +34,7 @@ export const StylesheetLink = ({ theme }) => { } export const CodeMirrorLink = () => ( - + ) const title = 'Carbon' @@ -65,13 +65,13 @@ export const MetaTags = React.memo(() => ( export const MetaLinks = React.memo(() => { return ( - + {LOCAL_STYLESHEETS.map(id => ( ))} {CDN_STYLESHEETS.map(themeDef => { - const href = `//cdnjs.cloudflare.com/ajax/libs/codemirror/5.47.0/theme/${themeDef && + const href = `//cdnjs.cloudflare.com/ajax/libs/codemirror/5.48.2/theme/${themeDef && (themeDef.link || themeDef.id)}.min.css` return })} diff --git a/package.json b/package.json index be024eb..67ae9e6 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@dawnlabs/tacklebox": "^0.0.11", "@reach/visually-hidden": "^0.1.4", "axios": "^0.19.0", - "codemirror": "^5.47.0", + "codemirror": "^5.48.2", "codemirror-graphql": "^0.8.3", "codemirror-mode-elixir": "^1.1.2", "colornames": "^1.1.1", diff --git a/yarn.lock b/yarn.lock index 91fe66d..167e555 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2527,10 +2527,10 @@ codemirror-mode-elixir@^1.1.2: resolved "https://registry.yarnpkg.com/codemirror-mode-elixir/-/codemirror-mode-elixir-1.1.2.tgz#61227208d2684d928500af6934e4b9c995fb0960" integrity sha512-1oIuRVHyUhLv0Za9sEIsI7urAj06EohwO/yVj10bg7aHnimHQ964Wk3uuoPH0Yn8L38EkOd+SwULYpDiCQtoTA== -codemirror@^5.47.0: - version "5.48.0" - resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.48.0.tgz#66e6dae6ca79b955e34b322881ebb7b5512f3cc5" - integrity sha512-3Ter+tYtRlTNtxtYdYNPxGxBL/b3cMcvPdPm70gvmcOO2Rauv/fUEewWa0tT596Hosv6ea2mtpx28OXBy1mQCg== +codemirror@^5.48.2: + version "5.48.2" + resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.48.2.tgz#a9dd3d426dea4cd59efd59cd98e20a9152a30922" + integrity sha512-i9VsmC8AfA5ji6EDIZ+aoSe4vt9FcwPLdHB1k1ItFbVyuOFRrcfvnoKqwZlC7EVA2UmTRiNEypE4Uo7YvzVY8Q== collection-visit@^1.0.0: version "1.0.0"