Skip to content

fix: node 18 by update source-map used by Terser to 0.7.4 #999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 27, 2022

Conversation

heypiotr
Copy link
Contributor

@heypiotr heypiotr commented Nov 8, 2022

Fixes minification failing on Node 18 with:

You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer

mozilla/source-map#454

There's also an open dependabot PR to bump the Terser version itself, I confirmed that also fixes the issue:
chore(deps-dev): bump terser from 5.10.0 to 5.15.1

Fixes minification failing on Node 18 with:

You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({
'lib/mappings.wasm': ... }) before using SourceMapConsumer

mozilla/source-map#454
@heypiotr heypiotr requested review from styfle and Timer as code owners November 8, 2022 15:51
@styfle styfle changed the title Update source-map used by Terser to 0.7.4 fix: node 18 by update source-map used by Terser to 0.7.4 Nov 27, 2022
Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@styfle styfle merged commit 2f69f83 into vercel:main Nov 27, 2022
@github-actions
Copy link

github-actions bot commented Dec 5, 2022

🎉 This PR is included in version 0.36.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy