Skip to content
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

Fix: Update lowbandwidth condition to match new spec #2688

Merged
merged 3 commits into from
Sep 12, 2022

Conversation

jfkm69
Copy link
Contributor

@jfkm69 jfkm69 commented Feb 25, 2022

The connection spec has gone through mutiple updates but the lowbandwidth test still tests against the initial spec which introduced the preliminary version of the network information API. The newest version of the NetworkInformation API, which is still in draft (https://wicg.github.io/netinfo/#dfn-connection-type), has changed the name of the property being used to determine the quality of the network from type to effectiveType. Kindly note type now provides a list of strings describing different network adapters (ie ethernet, bluetooth, wifi, e.t.c). This PR updates the check to account for the old and new properties.

@jfkm69 jfkm69 marked this pull request as ready for review February 25, 2022 20:21
veeck and others added 2 commits September 12, 2022 21:55
Bumps [minimist](https://github.com/substack/minimist) and [minimist](https://github.com/substack/minimist). These dependencies needed to be updated together.

Updates `minimist` from 1.2.6 to 1.2.6
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.6...1.2.6)

Updates `minimist` from 1.2.5 to 1.2.6
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.6...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@rejas rejas merged commit 6752ffb into Modernizr:master Sep 12, 2022
@rejas
Copy link
Member

rejas commented Sep 12, 2022

Thx for the PR!

rejas pushed a commit that referenced this pull request Jul 20, 2023
* Update lowbandwidth condition to match new spec
rejas added a commit that referenced this pull request Jul 20, 2023
* Fix: Update lowbandwidth condition to match new spec (#2688)

* Adds PushManager feature detection #2703 (#2708)

* Added detection of type worker option and aspect ratio (#2702)
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.

2 participants