Skip to content

Fix optional dependencies shifting dependency indices, allow nulls in dependency arrays #453

Fix optional dependencies shifting dependency indices, allow nulls in dependency arrays

Fix optional dependencies shifting dependency indices, allow nulls in dependency arrays #453

Triggered via pull request June 27, 2025 13:45
Status Failure
Total duration 5m 31s
Artifacts

build-test-and-deploy.yml

on: pull_request
Matrix: test
Type check, lint, smoke test
53s
Type check, lint, smoke test
Tests with coverage
1m 28s
Tests with coverage
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
Type check, lint, smoke test: packages/metro-transform-plugins/src/addParamsToDefineCall.js#L26
Always use `== null` or `!= null` to check for `null` AND `undefined` values (even if you just expect either of them). Within fb we treat them as equal and `== null` checks for both
Type check, lint, smoke test: packages/metro-minify-terser/src/__tests__/minify-test.js#L13
Requires should be sorted alphabetically, with at least one line between imports/requires and code