js-comments-eraser 1.1.6 → 1.1.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.
Files changed (2) hide show
  1. package/index-multi.js +3 -2
  2. package/package.json +1 -1
package/index-multi.js CHANGED
@@ -27,8 +27,9 @@ function removeCommentsFromFile(fileContent) {
27
27
  .replace(/(http:--)/gm, 'http://')
28
28
  .replace(/(https:--)/gm, 'https://');
29
29
 
30
- const falseIfBlockRegex = /if\s*\(\s*false\s*\)\s*\{[\s\S]*?\}/gm;
31
- const step4 = step3.replace(falseIfBlockRegex, '');
30
+ // const falseIfBlockRegex = /if\s*\(\s*false\s*\)\s*\{[\s\S]*?\}/gm;
31
+ const step4 = step3
32
+ // .replace(falseIfBlockRegex, '');
32
33
 
33
34
  return step4;
34
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-comments-eraser",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "main": "index-multi.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"