verimu 0.0.20 → 0.0.21

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/cli.mjs CHANGED
@@ -16979,6 +16979,8 @@ function buildSnippet(params) {
16979
16979
  const startLine = Math.max(1, centerLine - numContextLines);
16980
16980
  const endLine = Math.min(lines.length || 1, centerLine + numContextLines);
16981
16981
  const code = lines.slice(startLine - 1, endLine).join("\n");
16982
+ const highlightOffset = centerLine - startLine;
16983
+ const highlight = [highlightOffset, highlightOffset];
16982
16984
  return {
16983
16985
  filePath: relative(projectPath, filePath).split(sep).join("/"),
16984
16986
  startLine,
@@ -16986,7 +16988,8 @@ function buildSnippet(params) {
16986
16988
  code,
16987
16989
  matchKind,
16988
16990
  calledSymbol,
16989
- confidence
16991
+ confidence,
16992
+ highlight
16990
16993
  };
16991
16994
  }
16992
16995
  function dedupeSnippets(snippets) {