mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 11:43:59 -05:00
Update dependency prettier to v2.3.1 (#1312)
* Update dependency prettier to v2.3.1 Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
119171a95c
commit
5933fb801d
4 changed files with 11 additions and 9 deletions
|
@ -188,7 +188,7 @@
|
||||||
"eslint-plugin-chai-friendly": "0.7.1",
|
"eslint-plugin-chai-friendly": "0.7.1",
|
||||||
"eslint-plugin-cypress": "2.11.3",
|
"eslint-plugin-cypress": "2.11.3",
|
||||||
"http-server": "0.12.3",
|
"http-server": "0.12.3",
|
||||||
"prettier": "2.3.0",
|
"prettier": "2.3.1",
|
||||||
"redux-devtools": "3.7.0",
|
"redux-devtools": "3.7.0",
|
||||||
"redux-devtools-extension": "2.13.9",
|
"redux-devtools-extension": "2.13.9",
|
||||||
"ts-loader": "9.2.2",
|
"ts-loader": "9.2.2",
|
||||||
|
|
|
@ -7,8 +7,9 @@
|
||||||
import React, { useContext, useMemo } from 'react'
|
import React, { useContext, useMemo } from 'react'
|
||||||
import { IframeEditorToRendererCommunicator } from '../../render-page/iframe-editor-to-renderer-communicator'
|
import { IframeEditorToRendererCommunicator } from '../../render-page/iframe-editor-to-renderer-communicator'
|
||||||
|
|
||||||
const IFrameEditorToRendererCommunicatorContext =
|
const IFrameEditorToRendererCommunicatorContext = React.createContext<IframeEditorToRendererCommunicator | undefined>(
|
||||||
React.createContext<IframeEditorToRendererCommunicator | undefined>(undefined)
|
undefined
|
||||||
|
)
|
||||||
|
|
||||||
export const useIFrameEditorToRendererCommunicator: () => IframeEditorToRendererCommunicator | undefined = () =>
|
export const useIFrameEditorToRendererCommunicator: () => IframeEditorToRendererCommunicator | undefined = () =>
|
||||||
useContext(IFrameEditorToRendererCommunicatorContext)
|
useContext(IFrameEditorToRendererCommunicatorContext)
|
||||||
|
|
|
@ -9,8 +9,9 @@ import { IframeRendererToEditorCommunicator } from '../../render-page/iframe-ren
|
||||||
import { useSelector } from 'react-redux'
|
import { useSelector } from 'react-redux'
|
||||||
import { ApplicationState } from '../../../redux'
|
import { ApplicationState } from '../../../redux'
|
||||||
|
|
||||||
const IFrameRendererToEditorCommunicatorContext =
|
const IFrameRendererToEditorCommunicatorContext = createContext<IframeRendererToEditorCommunicator | undefined>(
|
||||||
createContext<IframeRendererToEditorCommunicator | undefined>(undefined)
|
undefined
|
||||||
|
)
|
||||||
|
|
||||||
export const useIFrameRendererToEditorCommunicator: () => IframeRendererToEditorCommunicator | undefined = () =>
|
export const useIFrameRendererToEditorCommunicator: () => IframeRendererToEditorCommunicator | undefined = () =>
|
||||||
useContext(IFrameRendererToEditorCommunicatorContext)
|
useContext(IFrameRendererToEditorCommunicatorContext)
|
||||||
|
|
|
@ -11524,10 +11524,10 @@ prepend-http@^1.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
|
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
|
||||||
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
|
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
|
||||||
|
|
||||||
prettier@2.3.0:
|
prettier@2.3.1:
|
||||||
version "2.3.0"
|
version "2.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.1.tgz#76903c3f8c4449bc9ac597acefa24dc5ad4cbea6"
|
||||||
integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==
|
integrity sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==
|
||||||
|
|
||||||
pretty-bytes@^5.3.0, pretty-bytes@^5.6.0:
|
pretty-bytes@^5.3.0, pretty-bytes@^5.6.0:
|
||||||
version "5.6.0"
|
version "5.6.0"
|
||||||
|
|
Loading…
Reference in a new issue