Node.js 16 #595
Annotations
10 errors and 7 warnings
build:
src/components/MiradorTextOverlay.js#L153
Expected 'this' to be used by class method 'shouldRenderPage'
|
build:
src/components/PageTextDisplay.js#L72
Unused method or property "updateTransforms" of class "PageTextDisplay"
|
build:
src/components/PageTextDisplay.js#L93
Unused method or property "updateColors" of class "PageTextDisplay"
|
build:
src/components/PageTextDisplay.js#L112
Unused method or property "updateSelectability" of class "PageTextDisplay"
|
build:
src/components/PageTextDisplay.js#L175
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “PageTextDisplay” and pass data as props
|
build:
src/components/PageTextDisplay.js#L175
'children' is missing in props validation
|
build:
src/components/PageTextDisplay.js#L179
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “PageTextDisplay” and pass data as props
|
build:
src/components/PageTextDisplay.js#L180
Prop spreading is forbidden
|
build:
src/components/PageTextDisplay.js#L188
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “PageTextDisplay” and pass data as props
|
build:
src/components/PageTextDisplay.js#L189
Prop spreading is forbidden
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build:
__tests__/components/OverlaySettings.test.js#L28
Unexpected unnamed function
|
build:
src/components/PageTextDisplay.js#L186
'LineWrapper' is a function
|
build:
src/components/PageTextDisplay.js#L188
'SpanElem' is a function
|
build:
src/components/PageTextDisplay.js#L188
Unexpected unnamed function
|
build:
src/index.js#L10
Assign array to a variable before exporting as module default
|
build:
src/locales.js#L1
Assign object to a variable before exporting as module default
|