@rotorsoft/act-diagram 0.3.1 → 0.3.2

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.
package/dist/index.cjs CHANGED
@@ -829,7 +829,7 @@ function execute(files) {
829
829
  "module",
830
830
  `
831
831
  "use strict";
832
- var __filename = "${file.path}";
832
+ var __filename = ${JSON.stringify(file.path)};
833
833
  var __dirname = ".";
834
834
  var process = { env: {}, cwd: function() { return "/"; }, exit: function() {}, on: function() {}, off: function() {} };
835
835
  var Buffer = { from: function() { return ""; } };