@aiready/deps 0.14.4 → 0.14.6

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @aiready/deps@0.14.4 build /Users/pengcao/projects/aiready/packages/deps
2
+ > @aiready/deps@0.14.6 build /Users/pengcao/projects/aiready/packages/deps
3
3
  > tsup src/index.ts src/cli.ts --format cjs,esm --dts
4
4
 
5
5
  CLI Building entry: src/cli.ts, src/index.ts
@@ -8,15 +8,15 @@ CLI tsup v8.5.1
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/cli.js 7.82 KB
12
- CJS dist/index.js 8.21 KB
13
- CJS ⚡️ Build success in 57ms
14
- ESM dist/cli.mjs 894.00 B
15
11
  ESM dist/index.mjs 1.82 KB
16
12
  ESM dist/chunk-QTMAUA24.mjs 5.70 KB
17
- ESM ⚡️ Build success in 57ms
13
+ ESM dist/cli.mjs 894.00 B
14
+ ESM ⚡️ Build success in 194ms
15
+ CJS dist/cli.js 7.82 KB
16
+ CJS dist/index.js 8.21 KB
17
+ CJS ⚡️ Build success in 197ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 2833ms
19
+ DTS ⚡️ Build success in 10182ms
20
20
  DTS dist/cli.d.ts 108.00 B
21
21
  DTS dist/index.d.ts 1.18 KB
22
22
  DTS dist/cli.d.mts 108.00 B
@@ -1,16 +1,16 @@
1
1
 
2
- > @aiready/deps@0.14.3 test /Users/pengcao/projects/aiready/packages/deps
2
+ > @aiready/deps@0.14.5 test /Users/pengcao/projects/aiready/packages/deps
3
3
  > vitest run
4
4
 
5
5
 
6
6
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/deps
7
7
 
8
+ ✓ src/__tests__/analyzer.test.ts (2 tests) 5ms
8
9
  ✓ src/__tests__/scoring.test.ts (2 tests) 2ms
9
- ✓ src/__tests__/analyzer.test.ts (2 tests) 9ms
10
- ✓ src/__tests__/provider.test.ts (2 tests) 4ms
10
+ ✓ src/__tests__/provider.test.ts (2 tests) 2ms
11
11
 
12
12
   Test Files  3 passed (3)
13
13
   Tests  6 passed (6)
14
-  Start at  18:34:10
15
-  Duration  3.20s (transform 2.40s, setup 0ms, import 7.71s, tests 15ms, environment 0ms)
14
+  Start at  20:27:31
15
+  Duration  1.26s (transform 535ms, setup 0ms, import 2.20s, tests 9ms, environment 0ms)
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/deps",
3
- "version": "0.14.4",
3
+ "version": "0.14.6",
4
4
  "description": "AI-Readiness: Dependency Health & Cutoff Skew",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9,7 +9,7 @@
9
9
  "commander": "^14.0.0",
10
10
  "picocolors": "^1.0.0",
11
11
  "semver": "^7.6.0",
12
- "@aiready/core": "0.24.4"
12
+ "@aiready/core": "0.24.6"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/node": "^24.0.0",
package/src/provider.ts CHANGED
@@ -29,8 +29,8 @@ export const DepsProvider = createProvider({
29
29
  return { rawData: report.rawData };
30
30
  },
31
31
  score(output) {
32
- const summary = output.summary as any;
33
- const rawData = (output.metadata as any)?.rawData || {};
32
+ const summary = output.summary;
33
+ const rawData = output.metadata?.rawData || {};
34
34
  return buildSimpleProviderScore(
35
35
  ToolName.DependencyHealth,
36
36
  summary,