gitlab-ai-review 4.2.2 → 4.2.3

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.
@@ -64,7 +64,7 @@ export function extractImportsExports(content, fileName) {
64
64
  * @returns {Object} 变更的符号列表 { added: [], deleted: [], modified: [], commented: [] }
65
65
  */
66
66
  export function extractChangedSymbols(diff, fileName) {
67
- if (!diff) return { added: [], deleted: [], modified: [], commented: [] };
67
+ if (!diff) return { added: [], deleted: [], modified: [], commented: [], all: [] };
68
68
 
69
69
  const addedSymbols = [];
70
70
  const deletedSymbols = [];
@@ -519,7 +519,7 @@ export async function analyzeImpact(options) {
519
519
  if (totalSymbols === 0) {
520
520
  return {
521
521
  fileName,
522
- changedSymbols,
522
+ changedSymbols: { added: [], deleted: [], modified: [], commented: [], all: [] },
523
523
  fileContent: null,
524
524
  internalUsage: [],
525
525
  affectedFiles: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitlab-ai-review",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "GitLab AI Review SDK with TypeScript Call Chain Analysis - 支持 TypeScript 增量调用链分析、影响分析、删除符号检测、注释代码识别、文件内部冲突检查、智能文件过滤的智能代码审查工具",
5
5
  "main": "index.js",
6
6
  "type": "module",