Skip to content

fix: rename methods #3381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 3, 2021
Merged

fix: rename methods #3381

merged 3 commits into from
Jun 3, 2021

Conversation

anshumanv
Copy link
Member

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

existing

Motivation / Use-Case

better methods

Breaking Changes

none

Additional Info

@codecov
Copy link

codecov bot commented Jun 2, 2021

Codecov Report

Merging #3381 (13f67be) into master (6ee6918) will increase coverage by 0.00%.
The diff coverage is 93.33%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3381   +/-   ##
=======================================
  Coverage   95.70%   95.71%           
=======================================
  Files          33       33           
  Lines        1304     1307    +3     
  Branches      384      387    +3     
=======================================
+ Hits         1248     1251    +3     
  Misses         52       52           
  Partials        4        4           
Impacted Files Coverage Δ
lib/Server.js 96.27% <93.33%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6ee6918...13f67be. Read the comment docs.

@alexander-akait alexander-akait merged commit e3f366f into master Jun 3, 2021
@alexander-akait alexander-akait deleted the rename branch June 3, 2021 12:23
byCedric added a commit to expo/expo that referenced this pull request Dec 16, 2023
# Why

This patches SDK 49 with a fix to "support" `webpack-dev-server@v4`.

# How

- `sockWrite` was renamed to `sendMessage` in
`webpack-dev-server@4.0.0-rc.0`
([PR](webpack/webpack-dev-server#3381),
[release](webpack/webpack-dev-server@v4.0.0-beta.3...v4.0.0-rc.0#diff-b706bbadb3d2315d99678f05e1f4bfd78a4bb4a7a6c65f3e81f1386fee3c883aL111))
- Updated assertion and `broadcastMessage` in `WebpackBundlerDevServer`.

# Test Plan

- `$ bun create expo ./test-webpack --template blank@49
- `$ bun expo install react-native-web react-dom @expo/webpack-config`
- `$ bun expo start`
- Press `w` in terminal
- Press `r` in terminal
- This should render `No apps connected. Sending "reload" to all React
Native apps failed.` (without crashing the CLI process with a
`CommandError: ...`).

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants