qfai 0.5.2 → 0.6.0
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/README.md +3 -0
- package/dist/cli/index.cjs +887 -649
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +881 -643
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1232,8 +1232,8 @@ var import_promises7 = require("fs/promises");
|
|
|
1232
1232
|
var import_node_path7 = __toESM(require("path"), 1);
|
|
1233
1233
|
var import_node_url = require("url");
|
|
1234
1234
|
async function resolveToolVersion() {
|
|
1235
|
-
if ("0.
|
|
1236
|
-
return "0.
|
|
1235
|
+
if ("0.6.0".length > 0) {
|
|
1236
|
+
return "0.6.0";
|
|
1237
1237
|
}
|
|
1238
1238
|
try {
|
|
1239
1239
|
const packagePath = resolvePackageJsonPath();
|
|
@@ -2677,11 +2677,13 @@ async function createReportData(root, validation, configResult) {
|
|
|
2677
2677
|
normalizeScSources(resolvedRoot, scSources)
|
|
2678
2678
|
);
|
|
2679
2679
|
const version = await resolveToolVersion();
|
|
2680
|
+
const reportFormatVersion = 1;
|
|
2680
2681
|
const displayRoot = toRelativePath(resolvedRoot, resolvedRoot);
|
|
2681
2682
|
const displayConfigPath = toRelativePath(resolvedRoot, configPath);
|
|
2682
2683
|
return {
|
|
2683
2684
|
tool: "qfai",
|
|
2684
2685
|
version,
|
|
2686
|
+
reportFormatVersion,
|
|
2685
2687
|
generatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2686
2688
|
root: displayRoot,
|
|
2687
2689
|
configPath: displayConfigPath,
|