@technote-space/clover-json
Advanced tools
Comparing version 0.4.34 to 0.4.35
@@ -73,3 +73,3 @@ "use strict"; | ||
}); | ||
exports.parseContent = (xml) => new Promise((resolve, reject) => { | ||
const parseContent = (xml) => new Promise((resolve, reject) => { | ||
xml2js_1.parseString(xml, (err, parseResult) => { | ||
@@ -84,3 +84,5 @@ if (err) { | ||
}); | ||
exports.parseFile = (filePath) => __awaiter(void 0, void 0, void 0, function* () { return yield exports.parseContent(yield util_1.promisify(fs_1.default.readFile)(filePath, 'utf-8')); }); | ||
exports.parseContent = parseContent; | ||
const parseFile = (filePath) => __awaiter(void 0, void 0, void 0, function* () { return yield exports.parseContent(yield util_1.promisify(fs_1.default.readFile)(filePath, 'utf-8')); }); | ||
exports.parseFile = parseFile; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@technote-space/clover-json", | ||
"version": "0.4.34", | ||
"version": "0.4.35", | ||
"description": "Parse clover XML coverage reports to JSON, using the same format as lcov-parse", | ||
@@ -48,10 +48,10 @@ "keywords": [ | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^14.14.6", | ||
"@typescript-eslint/eslint-plugin": "^4.6.1", | ||
"@typescript-eslint/parser": "^4.6.1", | ||
"eslint": "^7.13.0", | ||
"@types/node": "^14.14.9", | ||
"@typescript-eslint/eslint-plugin": "^4.8.1", | ||
"@typescript-eslint/parser": "^4.8.1", | ||
"eslint": "^7.14.0", | ||
"jest": "^26.6.3", | ||
"jest-circus": "^26.6.3", | ||
"ts-jest": "^26.4.3", | ||
"typescript": "^4.0.5" | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.1.2" | ||
}, | ||
@@ -58,0 +58,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
14713
111