@stemy/backend 2.9.6 → 2.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1274,7 +1274,7 @@
1274
1274
  switch (_b.label) {
1275
1275
  case 0:
1276
1276
  if (fileType.mime === "image/svg+xml") {
1277
- match = /<svg(.+)>/gi.exec(buffer.toString("utf8"));
1277
+ match = /<svg([^<>]+)>/gi.exec(buffer.toString("utf8"));
1278
1278
  if (match && match.length > 1) {
1279
1279
  attrs = match[1].match(/([a-z]+)="([^"]+)"/gi);
1280
1280
  attrs.forEach(function (attr) {