* Update browserslist's caniuse-lite
$ npx browserslist@latest --update-db
- should be ran regularly
or:
- caniuse-lite added to devDependencies for renovate to pick up.
* Optimize babel configuration for bundle size & runtime performance
* Remove probably unused/unnecessary raf polyfill
* Use babel.config.js file over .babelrc to allow comments
* Cleanup dependencies
- Remove unused/deprecated babel-core dependency
- Remove unnecessary babel-jest dependency, use version provided by jest
- Remove object.values unnecessary dependency
- Move url-loader to devDependencies where it belongs
- Remove typescript dependency
* Upgrade babel dependencies & migrate to assumptions
* Use caret ranges for devDependencies, including Babel related ones
* Fix tests
* Fix lint errors
- misc lint errors
- bin/regenerate_font.js must be wrapped in a function as newest babel
eslint parser fails to parse a return; statement outside of a function...
- add latest eslint-plugin-react devDependency, as without it, with newest
babel eslint parser, the plugin fails to see propTypes static class properties.
* Update dependency web-vitals to v2.0.1
* Revert mocks for web-vitals now that the library has been patched
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Mathieu Pillard <mpillard@mozilla.com>
* Update dependency web-vitals to v2
* Mock performance.getEntriesByName() in tests
* Only patch the method in window.performance if the object is already present
* Update tests/setup.js
Co-authored-by: William Durand <will+git@drnd.me>
* Throw an error if mocked method was already there for the future, and mock to return a list
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Mathieu Pillard <mpillard@mozilla.com>
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
Co-authored-by: William Durand <will+git@drnd.me>