Skip to content

Commit

Permalink
fix: node 18 by update source-map used by Terser to 0.7.4 (#999)
Browse files Browse the repository at this point in the history
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](#988)
  • Loading branch information
heypiotr committed Nov 27, 2022
1 parent 9ff8aa6 commit 2f69f83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yarn.lock
Expand Up @@ -13920,9 +13920,9 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1:
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==

source-map@^0.7.3, source-map@~0.7.2:
version "0.7.3"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
version "0.7.4"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656"
integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==

source-map@~0.1.30:
version "0.1.43"
Expand Down

0 comments on commit 2f69f83

Please sign in to comment.