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

Deprecation warning Chrome 64 chrome.loadTimes() #4072

Closed
mudrz opened this issue Feb 24, 2018 · 3 comments
Closed

Deprecation warning Chrome 64 chrome.loadTimes() #4072

mudrz opened this issue Feb 24, 2018 · 3 comments

Comments

@mudrz
Copy link

mudrz commented Feb 24, 2018

I am opening this issue in all 3 affected libraries (create-react-app #4072 , html-webpack-plugin jantimon/html-webpack-plugin#858 , bluebird petkaantonov/bluebird#1505)

Is this a bug report?

No, it is a deprecation warning

Environment

  1. node -v: 8.5.0

  2. npm -v: 5.6.0

  3. yarn --version (if you use Yarn): 1.3.2

  4. npm ls react-scripts (if you haven’t ejected): 1.1.1

  5. Operating system: MacOS High Sierra 10.13.3

  6. Browser and version (if relevant): Chrome 64

Steps to Reproduce

  1. create-react-app test
  2. cd test
  3. yarn start
  4. Open with Chrome 64+

Behavior

Chrome 64 displays warnings (more annoyingly - even in production):
[Deprecation] chrome.loadTimes() is deprecated, instead use standardized API: nextHopProtocol in Navigation Timing 2.

It is related to:
https://www.chromestatus.com/features/5637885046816768

I have searched which dependencies might use chrome.loadTimes() and found, that it might be bluebird:

ent
└─┬ [email protected]
  └─┬ [email protected]
    └── [email protected] 

Reproducible Demo

Open any create-react-app app, including the create-react-app template https://jsfiddle.net/84v837e9/
or bluebird's documentation http://bluebirdjs.com/docs/getting-started.html

@sulliwane
Copy link

upgrading to [email protected] should fix this issue (as they do not depend on bluebird anymore) ?

@mudrz
Copy link
Author

mudrz commented Mar 2, 2018

yes, perhaps this is already fixed in create-react-app 2?

From the html-webpack-plugin issue:
ngyikp:

v3.0.0 no longer uses bluebird: https://github.com/jantimon/html-webpack-plugin/pull/861/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2L46

@Timer
Copy link
Contributor

Timer commented Mar 5, 2018

This will be fixed via #4077, thanks for the report!

@Timer Timer closed this as completed Mar 5, 2018
@lock lock bot locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants