Skip to content

Node.js 16

Node.js 16 #596

Triggered via pull request June 7, 2024 11:41
@morpheus-87morpheus-87
synchronize #300
node-16
Status Success
Total duration 1m 23s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
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/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#L187
'LineWrapper' is a function
build: src/components/PageTextDisplay.js#L189
'SpanElem' is a function