facebook / metro

🚇 The JavaScript bundler for React Native
https://metrobundler.dev
MIT License
5.25k stars 626 forks source link

Add rejectUnauthorized option to `ws` types #1133

Closed motiz88 closed 1 year ago

motiz88 commented 1 year ago

Summary: Changelog: [Internal]

Adds a Flow definition that allows passing the rejectUnauthorized option to a WebSocket client. (See example usage in the ws repo.)

Differential Revision: D51014312

facebook-github-bot commented 1 year ago

This pull request was exported from Phabricator. Differential Revision: D51014312

facebook-github-bot commented 1 year ago

This pull request was exported from Phabricator. Differential Revision: D51014312

codecov-commenter commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d1b0015) 83.09% compared to head (5aee931) 83.09%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1133 +/- ## ======================================= Coverage 83.09% 83.09% ======================================= Files 206 206 Lines 10547 10547 Branches 2617 2617 ======================================= Hits 8764 8764 Misses 1783 1783 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

facebook-github-bot commented 1 year ago

This pull request has been merged in facebook/metro@187aa2cde5d0a970abefdafa74a6a23765284915.