@danielx/civet 0.4.19-pre.8 → 0.4.19-pre.9

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/browser.js CHANGED
@@ -7168,7 +7168,7 @@ var Civet = (() => {
7168
7168
  }
7169
7169
  });
7170
7170
  module.modifyString = function(str) {
7171
- return str.replace(/(?<!\\)(\\\\)*\n/g, "$1\\n");
7171
+ return str.replace(/(^.?|[^\\]{2})(\\\\)*\n/g, "$1$2\\n");
7172
7172
  };
7173
7173
  });
7174
7174
  function Reset(state) {
package/dist/main.js CHANGED
@@ -7167,7 +7167,7 @@ var require_parser = __commonJS({
7167
7167
  }
7168
7168
  });
7169
7169
  module2.modifyString = function(str) {
7170
- return str.replace(/(?<!\\)(\\\\)*\n/g, "$1\\n");
7170
+ return str.replace(/(^.?|[^\\]{2})(\\\\)*\n/g, "$1$2\\n");
7171
7171
  };
7172
7172
  });
7173
7173
  function Reset(state) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielx/civet",
3
- "version": "0.4.19-pre.8",
3
+ "version": "0.4.19-pre.9",
4
4
  "description": "CoffeeScript style syntax for TypeScript",
5
5
  "main": "dist/main.js",
6
6
  "exports": {