message: chore: fix the iterate deps on undefined
diff: @@ -206,11 +206,13 @@ function writeAllNewVersionsToPackageJson(packages, dependencies) {
  version: pkg.newVersion,
  });
  const deps = dependencies[pkg.content.name];
  + if (deps) {
  for (const dep of deps) {
  if (dep.newVersion) {
  newContent.dependencies[dep.content.name] = `^${dep.newVersion}`
  }
  }
  + }
  fs.writeFileSync(`packages/${pkg.name}/package.json`, JSON.stringify(newContent, null, 2) + '\n');
  } else {
  console.log(`Mock write file packages/${pkg.name}/package.json ${pkg.newVersion}`);
  