single-file-core 1.5.49 → 1.5.50

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.
@@ -17097,7 +17097,8 @@ async function evalTemplate(template = "", options, content, doc, context = {})
17097
17097
  }
17098
17098
  optionalArguments = optionalArguments
17099
17099
  .map(argument => argument.replace(/\\\\(.)/g, "$1"))
17100
- .filter(argument => argument != undefined && argument != null && argument != "");
17100
+ .filter(argument => argument != undefined && argument != null)
17101
+ .map(argument => argument == "" ? undefined : argument);
17101
17102
  if ((argument != undefined && argument != null && argument != "") || optionalArguments.length > 0) {
17102
17103
  try {
17103
17104
  const dontReplaceSlash = fn.dontReplaceSlash === undefined ? true : fn.dontReplaceSlash;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.5.49",
3
+ "version": "1.5.50",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",