Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This update includes the removal of a direct dependency on `source-map@0.7.x`, in particular the problematic (especially for React Native) `fetch`-based browser/node environment detection described in terser/terser#1164. This was the last item blocking us from deprecating and replacing `metro-minify-uglify`, which uses the long-depreceted [`uglify-es`](https://www.npmjs.com/package/uglify-es). ### Follow-up I'll follow up with adding `metro-minify-terser` to `metro`'s dependencies and communicating the deprecation of `metro-minify-uglify` in OSS. Then we'll be able to switch the default and remove `metro-minify-uglify` from the deps in a release cycle or two. Reviewed By: motiz88 Differential Revision: D36098090 fbshipit-source-id: 415431f17e8048bcd1eccd80c3faa6bbc2283cfb
- Loading branch information
1 parent
aede8fe
commit 3fe3e40
Showing
2 changed files
with
53 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,6 @@ | |
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"terser": "^5.10.0" | ||
"terser": "^5.14.0" | ||
} | ||
} |
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