Skip to content

Deprecation warning Chrome 64 chrome.loadTimes() #4072

Closed

Description

@mudrz

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
└─┬ react-scripts@1.1.1
  └─┬ html-webpack-plugin@2.29.0
    └── bluebird@3.5.1 

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

Activity

  1. sulliwane commented on Mar 2, 2018

    @sulliwane

    upgrading to html-webpack-plugin@v3.0.0 should fix this issue (as they do not depend on bluebird anymore) ?

  2. mudrz commented on Mar 2, 2018

    @mudrz
    Author

    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

  3. Timer commented on Mar 5, 2018

    @Timer
    Contributor

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

  4. locked and limited conversation to collaborators on Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions