monocart-coverage-reports 2.12.1 → 2.12.3
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
|
-
|
|
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.
|
|
3
|
+
"version": "2.12.3",
|
|
4
4
|
"description": "A code coverage tool to generate native V8 reports or Istanbul reports.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -62,9 +62,6 @@
|
|
|
62
62
|
"patch": "npm run build && npm run test && npx sf publish patch -r",
|
|
63
63
|
"beta": "npm version prerelease --preid=beta && npm run build && npm run test && npm publish --tag beta"
|
|
64
64
|
},
|
|
65
|
-
"workspaces": [
|
|
66
|
-
"test"
|
|
67
|
-
],
|
|
68
65
|
"files": [
|
|
69
66
|
"lib",
|
|
70
67
|
"README.zh-Hans.md"
|
|
@@ -75,13 +72,13 @@
|
|
|
75
72
|
"url": "git+https://github.com/cenfun/monocart-coverage-reports.git"
|
|
76
73
|
},
|
|
77
74
|
"dependencies": {
|
|
78
|
-
"acorn": "^8.14.
|
|
75
|
+
"acorn": "^8.14.1",
|
|
79
76
|
"acorn-loose": "^8.4.0",
|
|
80
77
|
"acorn-walk": "^8.3.4",
|
|
81
78
|
"commander": "^13.1.0",
|
|
82
79
|
"console-grid": "^2.2.3",
|
|
83
80
|
"eight-colors": "^1.3.1",
|
|
84
|
-
"foreground-child": "^3.3.
|
|
81
|
+
"foreground-child": "^3.3.1",
|
|
85
82
|
"istanbul-lib-coverage": "^3.2.2",
|
|
86
83
|
"istanbul-lib-report": "^3.0.1",
|
|
87
84
|
"istanbul-reports": "^3.1.7",
|
|
@@ -89,29 +86,49 @@
|
|
|
89
86
|
"monocart-locator": "^1.0.2"
|
|
90
87
|
},
|
|
91
88
|
"devDependencies": {
|
|
89
|
+
"@actions/core": "^1.11.1",
|
|
90
|
+
"@actions/github": "^6.0.0",
|
|
92
91
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
92
|
+
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
|
|
93
|
+
"@rollup/plugin-commonjs": "^28.0.3",
|
|
94
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
93
95
|
"async-tick": "^1.0.0",
|
|
96
|
+
"babel-loader": "^10.0.0",
|
|
97
|
+
"babel-plugin-istanbul": "^7.0.0",
|
|
94
98
|
"convert-source-map": "^2.0.0",
|
|
99
|
+
"cross-env": "^7.0.3",
|
|
95
100
|
"diff-sequences": "^29.6.3",
|
|
96
|
-
"esbuild": "^0.
|
|
97
|
-
"eslint": "~9.
|
|
101
|
+
"esbuild": "^0.25.1",
|
|
102
|
+
"eslint": "~9.22.0",
|
|
98
103
|
"eslint-config-plus": "^2.0.2",
|
|
99
104
|
"eslint-plugin-html": "^8.1.2",
|
|
100
|
-
"eslint-plugin-vue": "^
|
|
105
|
+
"eslint-plugin-vue": "^10.0.0",
|
|
101
106
|
"find-up": "^7.0.0",
|
|
107
|
+
"foreground-child": "^3.3.1",
|
|
108
|
+
"koa": "^2.16.0",
|
|
109
|
+
"koa-static-resolver": "^1.0.6",
|
|
102
110
|
"minimatch": "^9.0.5",
|
|
103
111
|
"mocha": "^11.1.0",
|
|
104
|
-
"monocart-code-viewer": "^1.1.
|
|
105
|
-
"monocart-formatter": "^3.0.
|
|
112
|
+
"monocart-code-viewer": "^1.1.5",
|
|
113
|
+
"monocart-formatter": "^3.0.1",
|
|
106
114
|
"node-stream-zip": "^1.15.0",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
115
|
+
"open": "^10.1.0",
|
|
116
|
+
"playwright": "^1.51.0",
|
|
117
|
+
"postcss": "^8.5.3",
|
|
118
|
+
"puppeteer": "^24.4.0",
|
|
119
|
+
"rollup": "^4.35.0",
|
|
120
|
+
"starfall-cli": "^2.0.21",
|
|
121
|
+
"stylelint": "^16.15.0",
|
|
110
122
|
"stylelint-config-plus": "^1.1.3",
|
|
111
123
|
"supports-color": "^10.0.0",
|
|
124
|
+
"swc-loader": "^0.2.6",
|
|
125
|
+
"ts-loader": "^9.5.2",
|
|
126
|
+
"tsx": "^4.19.3",
|
|
112
127
|
"turbogrid": "^3.2.0",
|
|
128
|
+
"typescript": "^5.8.2",
|
|
113
129
|
"vine-ui": "^3.1.16",
|
|
114
|
-
"
|
|
130
|
+
"webpack": "^5.98.0",
|
|
131
|
+
"ws": "^8.18.1",
|
|
115
132
|
"yazl": "^3.3.1"
|
|
116
133
|
}
|
|
117
134
|
}
|