fix: prevent app wide crash when terrain properties are undefined #2582
Annotations
1 error and 11 warnings
|
Run tests
Process completed with exit code 1.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run tests:
modules/react-maplibre/src/maplibre/maplibre.ts#L461
Method '_updateStyleComponents' has a complexity of 14. Maximum allowed is 11
|
|
Run tests:
modules/react-maplibre/src/maplibre/maplibre.ts#L262
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
|
Run tests:
modules/react-maplibre/src/components/popup.ts#L41
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
|
Run tests:
modules/react-mapbox/src/utils/transform.ts#L65
Function 'applyViewStateToTransform' has too many statements (29). Maximum allowed is 25
|
|
Run tests:
modules/react-mapbox/src/utils/transform.ts#L35
Function 'compareViewStateWithTransform' has a complexity of 14. Maximum allowed is 11
|
|
Run tests:
modules/react-mapbox/src/mapbox/proxy-transform.ts#L92
Method 'set' has a complexity of 28. Maximum allowed is 11
|
|
Run tests:
modules/react-mapbox/src/mapbox/proxy-transform.ts#L92
Method 'set' has too many statements (28). Maximum allowed is 25
|
|
Run tests:
modules/react-mapbox/src/mapbox/proxy-transform.ts#L42
Method 'get' has a complexity of 12. Maximum allowed is 11
|
|
Run tests:
modules/react-mapbox/src/mapbox/mapbox.ts#L515
Method '_updateStyleComponents' has a complexity of 13. Maximum allowed is 11
|
|
Run tests:
modules/main/src/mapbox-legacy/mapbox/mapbox.ts#L518
Method '_updateStyleComponents' has a complexity of 13. Maximum allowed is 11
|
Loading