anchor.diff:  Future<int> _readLatestMinorVersion() async {
     var contents = await File('pubspec.yaml').readAsString();
     var pubspec = loadYamlNode(contents) as YamlMap;
  -  // 0.1.79 or 0.1.79-dev or 0.1.97+1
  -  return int.parse((pubspec['version'] as String)
  -      .split('.')
  -      .last
  -      .split('-')
  -      .first
  -      .split('+')
  -      .first);
  +  var version = pubspec['version'] as String;
  +  // 1.15.0
  +  return int.parse(version.split('.')[1]);
   }
  
positive.code: int? _latestMinor;
  Iterable<LintRule>? _registeredLints;
  final _repoPathPrefix =
      Uri.https('raw.githubusercontent.com', '/dart-lang/linter/');
  final _rulePathPrefix =
      Uri.https('raw.githubusercontent.com', '/dart-lang/linter/');
  
  List<String>? _sdkTags;
  
negative.code:     _dartSdkToLinterMap[sdk] ??= await _fetchLinterForVersion(sdk);
  
  Future<List<String?>?> rulesForVersion(int minor) async {
    var version = '1.$minor.0';
    var rules = await fetchRulesForVersion(version);
    return _sinceMap[version] ??= rules;
  }
  
  Future<String> _fetchDEPSforVersion(String version) async {
  