From 30c41e5404ad496eb5cb7b4966bbdd883ba7622b Mon Sep 17 00:00:00 2001 From: Valters Jansons Date: Fri, 11 Nov 2022 23:04:03 +0200 Subject: [PATCH] chore(deps): update `source-map@^0.7.3` to 0.7.4 The `source-map@0.7.4` update is important for enabling Node.js v18 compatibility. Older versions use a `typeof fetch === 'function'` check to enable browser-specific behavior. With this release however, the browser check is moved to whether `window` is defined and matches `this` value at check time. Node.js 18 has a `fetch` function, so older `source-map` versions incorrectly flag it as 'browser'. None of Node.js versions have a `this === window` situation going on. This is a change on the path to Node.js 18 compatibility route, in anticipation of #6489 offering official support down the line. --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index d0361aae975..c6dc9167436 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11931,9 +11931,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: - 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== sourcemap-codec@^1.4.4: version "1.4.6"