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/dist/index.d.cts CHANGED
@@ -145,6 +145,7 @@ type ReportTraceability = {
145
145
  type ReportData = {
146
146
  tool: "qfai";
147
147
  version: string;
148
+ reportFormatVersion: number;
148
149
  generatedAt: string;
149
150
  root: string;
150
151
  configPath: string;
package/dist/index.d.ts CHANGED
@@ -145,6 +145,7 @@ type ReportTraceability = {
145
145
  type ReportData = {
146
146
  tool: "qfai";
147
147
  version: string;
148
+ reportFormatVersion: number;
148
149
  generatedAt: string;
149
150
  root: string;
150
151
  configPath: string;
package/dist/index.mjs CHANGED
@@ -1179,8 +1179,8 @@ import { readFile as readFile4 } from "fs/promises";
1179
1179
  import path7 from "path";
1180
1180
  import { fileURLToPath } from "url";
1181
1181
  async function resolveToolVersion() {
1182
- if ("0.5.2".length > 0) {
1183
- return "0.5.2";
1182
+ if ("0.6.0".length > 0) {
1183
+ return "0.6.0";
1184
1184
  }
1185
1185
  try {
1186
1186
  const packagePath = resolvePackageJsonPath();
@@ -2624,11 +2624,13 @@ async function createReportData(root, validation, configResult) {
2624
2624
  normalizeScSources(resolvedRoot, scSources)
2625
2625
  );
2626
2626
  const version = await resolveToolVersion();
2627
+ const reportFormatVersion = 1;
2627
2628
  const displayRoot = toRelativePath(resolvedRoot, resolvedRoot);
2628
2629
  const displayConfigPath = toRelativePath(resolvedRoot, configPath);
2629
2630
  return {
2630
2631
  tool: "qfai",
2631
2632
  version,
2633
+ reportFormatVersion,
2632
2634
  generatedAt: (/* @__PURE__ */ new Date()).toISOString(),
2633
2635
  root: displayRoot,
2634
2636
  configPath: displayConfigPath,