single-file-core 1.5.102 → 1.5.103

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.
@@ -248,7 +248,7 @@ class ProcessorHelperCommon {
248
248
  return serializeSrcset([Object.assign({}, srcsetValue, { url: resourceURL })]);
249
249
  }
250
250
  }));
251
- resourceElement.setAttribute("srcset", srcsetValues.join(", "));
251
+ resourceElement.setAttribute("srcset", srcsetValues.filter(srcsetValue => srcsetValue).join(", "));
252
252
  } else {
253
253
  resourceElement.setAttribute("srcset", "");
254
254
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.5.102",
3
+ "version": "1.5.103",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",