codecritique 2.3.4 → 2.3.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/package.json +7 -7
- package/src/index.test.js +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codecritique",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.5",
|
|
4
4
|
"description": "AI-powered code review tool for any programming language",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"license": "MIT",
|
|
52
52
|
"author": "cosmocoder",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@anthropic-ai/sdk": "0.
|
|
54
|
+
"@anthropic-ai/sdk": "0.128.0",
|
|
55
55
|
"@huggingface/transformers": "3.8.0",
|
|
56
56
|
"@lancedb/lancedb": "0.39.0",
|
|
57
57
|
"@octokit/rest": "22.0.1",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"fastembed": "2.1.0",
|
|
64
64
|
"glob": "13.0.6",
|
|
65
65
|
"linguist-languages": "9.5.0",
|
|
66
|
-
"lru-cache": "11.5.
|
|
66
|
+
"lru-cache": "11.5.3",
|
|
67
67
|
"minimatch": "10.2.6",
|
|
68
68
|
"stopwords-iso": "1.1.0"
|
|
69
69
|
},
|
|
@@ -71,19 +71,19 @@
|
|
|
71
71
|
"@eslint/js": "9.39.1",
|
|
72
72
|
"@semantic-release/commit-analyzer": "13.0.1",
|
|
73
73
|
"@semantic-release/github": "12.0.9",
|
|
74
|
-
"@semantic-release/npm": "13.
|
|
74
|
+
"@semantic-release/npm": "13.2.0",
|
|
75
75
|
"@semantic-release/release-notes-generator": "14.1.1",
|
|
76
76
|
"@types/node": "24.12.4",
|
|
77
|
-
"@vitest/coverage-v8": "
|
|
77
|
+
"@vitest/coverage-v8": "5.0.1",
|
|
78
78
|
"@vitest/eslint-plugin": "1.6.27",
|
|
79
79
|
"eslint": "9.39.1",
|
|
80
80
|
"eslint-plugin-import": "2.32.0",
|
|
81
81
|
"globals": "17.12.0",
|
|
82
|
-
"knip": "6.
|
|
82
|
+
"knip": "6.38.0",
|
|
83
83
|
"prettier": "3.9.8",
|
|
84
84
|
"prettier-plugin-brace-style": "0.10.3",
|
|
85
85
|
"typescript": "5.9.3",
|
|
86
|
-
"vitest": "
|
|
86
|
+
"vitest": "5.0.1"
|
|
87
87
|
},
|
|
88
88
|
"overrides": {
|
|
89
89
|
"@lancedb/lancedb": {
|
package/src/index.test.js
CHANGED
|
@@ -48,6 +48,8 @@ it('parses integer options and renders incomplete results in every output format
|
|
|
48
48
|
}
|
|
49
49
|
await rm(directory, { recursive: true, force: true });
|
|
50
50
|
});
|
|
51
|
+
// Mock history is cleared before the test, so the import-time run is not observable here.
|
|
52
|
+
await program.parseAsync(process.argv);
|
|
51
53
|
await vi.waitFor(() => expect(reviewFile).toHaveBeenCalled());
|
|
52
54
|
expect(reviewFile.mock.calls[0][1].maxExamples).toBe(12);
|
|
53
55
|
await vi.waitFor(() => expect(console.log).toHaveBeenCalledWith(' Visible partial finding'));
|