Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Update `serialize-javascript` dependency #695
Comments
|
Here are the release notes for the last few versions of
|
|
We're currently waiting for egoist/rollup-plugin-postcss#295 to land so we can upgrade rollup and all our dependencies. Microbundle is a dev dependency so you shouldn't be too afraid of remote code execution as it's not running while your app is running. |
|
Indeed, this is technically unused code since serialize-javascript is not actually executed at any point by Microbundle's usage of Terser. It's only used for Terser's I've changed the issue title to reflect the fact that this is neither a vulnerability nor high severity for Microbundle. |
|
Awesome, thanks for the reassurance! |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Hello! I just installed Microbundle in my project, but after I did so (
npm i --save-dev microbundle), npm told me that it introduced the following high severity vulnerability:Here are the specific version numbers that got installed:
Is this remote code execution vulnerability something I should be worried about, or does it not apply to Microbundle?
Being that this vulnerability is fixed in
serialize-javascript >=3.1.0, it looks like updatingrollup-plugin-terserto at least 6.0.0 would updateserialize-javascriptto a safe version. I tried forking Microbundle, updatingrollup-plugin-terserto 7.0.0, crossing my fingers, and running the tests, but unfortunately, the tests failed, so some breaking change must be getting in the way.