webapp/patches/sass-embedded+1.78.0.patch

17 lines
900 B
Diff
Raw Normal View History

2024-09-16 08:53:14 +00:00
diff --git a/node_modules/sass-embedded/dist/bin/sass.js b/node_modules/sass-embedded/dist/bin/sass.js
old mode 100755
new mode 100644
diff --git a/node_modules/sass-embedded/dist/lib/src/legacy/importer.js b/node_modules/sass-embedded/dist/lib/src/legacy/importer.js
2024-09-16 09:03:43 +00:00
index 51fd501..ed5880f 100644
2024-09-16 08:53:14 +00:00
--- a/node_modules/sass-embedded/dist/lib/src/legacy/importer.js
+++ b/node_modules/sass-embedded/dist/lib/src/legacy/importer.js
@@ -92,6 +92,8 @@ class LegacyImporterWrapper {
// Windows. In that case, we treat it as though the file doesn't
// exist so that the user's custom importer can still handle the
// URL.
+ console.warn(`Invalid URL detected: ${url}. Skipping import.`);
2024-09-16 09:03:43 +00:00
+ return;
2024-09-16 08:53:14 +00:00
}
else {
throw error;