Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit b70fef2

Browse files
authored
Update and fix lints, bump min SDK to Dart 3.1 (#204)
1 parent 23c314b commit b70fef2

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.github/workflows/test-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
matrix:
4848
# Add macos-latest and/or windows-latest if relevant for this package.
4949
os: [ubuntu-latest, windows-latest]
50-
sdk: [3.0, dev]
50+
sdk: [3.1, dev]
5151
steps:
5252
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
5353
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.2-wip
2+
3+
- Require Dart 3.1
4+
15
## 1.0.1
26

37
- Update `ExpressionsProcessor.processFont` to handle null expressions.

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: csslib
2-
version: 1.0.1
2+
version: 1.0.2-wip
33
description: A library for parsing and analyzing CSS (Cascading Style Sheets).
44
repository: https://github.com/dart-lang/csslib
55

66
topics:
77
- css
88

99
environment:
10-
sdk: ^3.0.0
10+
sdk: ^3.1.0
1111

1212
dependencies:
1313
source_span: ^1.8.0
1414

1515
dev_dependencies:
16-
dart_flutter_team_lints: ^2.0.0
16+
dart_flutter_team_lints: ^3.0.0
1717
path: ^1.8.0
1818
term_glyph: ^1.2.0
1919
test: ^1.16.0

test/testing.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
/// Common definitions used for setting up the test environment.
6-
library testing;
6+
library;
77

88
import 'package:csslib/parser.dart';
99
import 'package:csslib/visitor.dart';

test/third_party_samples_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6-
library samples_test;
6+
library;
77

88
import 'dart:io';
99

0 commit comments

Comments
 (0)