monocart-coverage-reports 2.12.1 → 2.12.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/lib/utils/util.js CHANGED
@@ -439,6 +439,7 @@ const Util = {
439
439
  });
440
440
  },
441
441
 
442
+
442
443
  forEachFile: function(dir, extList, callback) {
443
444
  if (!fs.existsSync(dir)) {
444
445
  return;
@@ -462,7 +463,12 @@ const Util = {
462
463
  const list = fs.readdirSync(dir);
463
464
  for (const name of list) {
464
465
  const abs = path.resolve(dir, name);
465
- const info = fs.statSync(abs);
466
+
467
+ const info = fs.lstatSync(abs);
468
+ if (info.isSymbolicLink()) {
469
+ continue;
470
+ }
471
+
466
472
  if (info.isDirectory()) {
467
473
  subDirs.push(abs);
468
474
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monocart-coverage-reports",
3
- "version": "2.12.1",
3
+ "version": "2.12.2",
4
4
  "description": "A code coverage tool to generate native V8 reports or Istanbul reports.",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -81,7 +81,7 @@
81
81
  "commander": "^13.1.0",
82
82
  "console-grid": "^2.2.3",
83
83
  "eight-colors": "^1.3.1",
84
- "foreground-child": "^3.3.0",
84
+ "foreground-child": "^3.3.1",
85
85
  "istanbul-lib-coverage": "^3.2.2",
86
86
  "istanbul-lib-report": "^3.0.1",
87
87
  "istanbul-reports": "^3.1.7",
@@ -93,25 +93,25 @@
93
93
  "async-tick": "^1.0.0",
94
94
  "convert-source-map": "^2.0.0",
95
95
  "diff-sequences": "^29.6.3",
96
- "esbuild": "^0.24.2",
97
- "eslint": "~9.19.0",
96
+ "esbuild": "^0.25.0",
97
+ "eslint": "~9.21.0",
98
98
  "eslint-config-plus": "^2.0.2",
99
99
  "eslint-plugin-html": "^8.1.2",
100
100
  "eslint-plugin-vue": "^9.32.0",
101
101
  "find-up": "^7.0.0",
102
102
  "minimatch": "^9.0.5",
103
103
  "mocha": "^11.1.0",
104
- "monocart-code-viewer": "^1.1.4",
105
- "monocart-formatter": "^3.0.0",
104
+ "monocart-code-viewer": "^1.1.5",
105
+ "monocart-formatter": "^3.0.1",
106
106
  "node-stream-zip": "^1.15.0",
107
- "postcss": "^8.5.1",
108
- "starfall-cli": "^2.0.20",
107
+ "postcss": "^8.5.3",
108
+ "starfall-cli": "^2.0.21",
109
109
  "stylelint": "^16.14.1",
110
110
  "stylelint-config-plus": "^1.1.3",
111
111
  "supports-color": "^10.0.0",
112
112
  "turbogrid": "^3.2.0",
113
113
  "vine-ui": "^3.1.16",
114
- "ws": "^8.18.0",
114
+ "ws": "^8.18.1",
115
115
  "yazl": "^3.3.1"
116
116
  }
117
117
  }