From 3458c83e041c655247992173db8c85de9a597e4e Mon Sep 17 00:00:00 2001
From: Ollie Curtis <8831547+olliecurtis@users.noreply.github.com>
Date: Thu, 26 Sep 2024 15:47:53 +0100
Subject: [PATCH] [NO JIRA]: Upgrade sass-loader to latest

---
 package-lock.json                   | 17 ++++++++++-------
 packages/react-scripts/package.json |  2 +-
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 2e907e24a6..caf39ad8ea 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -32153,28 +32153,28 @@
       }
     },
     "node_modules/sass-loader": {
-      "version": "13.3.2",
-      "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-13.3.2.tgz",
-      "integrity": "sha512-CQbKl57kdEv+KDLquhC+gE3pXt74LEAzm+tzywcA0/aHZuub8wTErbjAoNI57rPUWRYRNC5WUnNl8eGJNbDdwg==",
+      "version": "16.0.2",
+      "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-16.0.2.tgz",
+      "integrity": "sha512-Ll6iXZ1EYwYT19SqW4mSBb76vSSi8JgzElmzIerhEGgzB5hRjDQIWsPmuk1UrAXkR16KJHqVY0eH+5/uw9Tmfw==",
       "dependencies": {
         "neo-async": "^2.6.2"
       },
       "engines": {
-        "node": ">= 14.15.0"
+        "node": ">= 18.12.0"
       },
       "funding": {
         "type": "opencollective",
         "url": "https://opencollective.com/webpack"
       },
       "peerDependencies": {
-        "fibers": ">= 3.1.0",
+        "@rspack/core": "0.x || 1.x",
         "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0",
         "sass": "^1.3.0",
         "sass-embedded": "*",
         "webpack": "^5.0.0"
       },
       "peerDependenciesMeta": {
-        "fibers": {
+        "@rspack/core": {
           "optional": true
         },
         "node-sass": {
@@ -32185,6 +32185,9 @@
         },
         "sass-embedded": {
           "optional": true
+        },
+        "webpack": {
+          "optional": true
         }
       }
     },
@@ -42361,7 +42364,7 @@
         "react-refresh": "^0.14.0",
         "resolve": "^1.22.8",
         "resolve-url-loader": "^4.0.0",
-        "sass-loader": "^13.3.2",
+        "sass-loader": "^16.0.2",
         "semver": "^7.5.4",
         "source-map-loader": "^3.0.2",
         "style-loader": "^3.3.3",
diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json
index 2a6ca415d0..f072f8f23e 100644
--- a/packages/react-scripts/package.json
+++ b/packages/react-scripts/package.json
@@ -73,7 +73,7 @@
     "react-refresh": "^0.14.0",
     "resolve": "^1.22.8",
     "resolve-url-loader": "^4.0.0",
-    "sass-loader": "^13.3.2",
+    "sass-loader": "^16.0.2",
     "semver": "^7.5.4",
     "source-map-loader": "^3.0.2",
     "style-loader": "^3.3.3",