-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: update extractErrors Babel plugins to Babel 7
- this was using Babel 6's Babylon and babel-traverse, which meant two different versions of Babel were being used and a lot of unnecessary deps were in the tree - now there should no longer be any Babel 6 deps in the tree - also transformErrorMessages was already using Babel 7 (`@babel/helper-module-imports`) while extractErrors was on Babel 6 just for extra inconsistency 😬 - these two files seemed to be updated at the same time to Babel 7 as far as I can tell though 🤨 - `@babel/parser` ships its own typings now, so no need to use the `declare module` workaround for it anymore - but did have to add a type-cast as its usage doesn't entirely fit the type 😕 - this also helps remove an old version of core-js v2, the addition of which would give a deprecation warning on install: - "npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3."
- Loading branch information
Showing
4 changed files
with
10 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters