@aiready/pattern-detect 0.16.3 → 0.16.5

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.js CHANGED
@@ -923,7 +923,7 @@ function getPatternIcon(type) {
923
923
  }
924
924
  function generateHTMLReport(results, summary) {
925
925
  const data = summary ? { results, summary, metadata: { version: "0.11.22" } } : results;
926
- const { results: duplicates, summary: reportSummary, metadata } = data;
926
+ const { metadata } = data;
927
927
  return `<!DOCTYPE html>
928
928
  <html lang="en">
929
929
  <head>
package/dist/cli.mjs CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  loadConfig,
15
15
  mergeConfigWithDefaults,
16
16
  resolveOutputPath,
17
- Severity as Severity2,
17
+ Severity,
18
18
  getSeverityBadge as getSeverityBadge2,
19
19
  getSeverityValue as getSeverityValue2
20
20
  } from "@aiready/core";
@@ -35,7 +35,7 @@ function getPatternIcon(type) {
35
35
  }
36
36
  function generateHTMLReport(results, summary) {
37
37
  const data = summary ? { results, summary, metadata: { version: "0.11.22" } } : results;
38
- const { results: duplicates, summary: reportSummary, metadata } = data;
38
+ const { metadata } = data;
39
39
  return `<!DOCTYPE html>
40
40
  <html lang="en">
41
41
  <head>
@@ -183,7 +183,7 @@ program.name("aiready-patterns").description("Detect duplicate patterns in your
183
183
  streamResults: true,
184
184
  include: void 0,
185
185
  exclude: void 0,
186
- minSeverity: Severity2.Minor,
186
+ minSeverity: Severity.Minor,
187
187
  excludeTestFixtures: false,
188
188
  excludeTemplates: false,
189
189
  includeTests: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/pattern-detect",
3
- "version": "0.16.3",
3
+ "version": "0.16.5",
4
4
  "description": "Semantic duplicate pattern detection for AI-generated code - finds similar implementations that waste AI context tokens",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "commander": "^14.0.0",
47
47
  "chalk": "^5.3.0",
48
- "@aiready/core": "0.23.3"
48
+ "@aiready/core": "0.23.6"
49
49
  },
50
50
  "devDependencies": {
51
51
  "tsup": "^8.3.5",