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

Commit

Permalink
Update and fix lints, bump min SDK to Dart 3.1 (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Jun 20, 2024
1 parent 23c314b commit b70fef2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
matrix:
# Add macos-latest and/or windows-latest if relevant for this package.
os: [ubuntu-latest, windows-latest]
sdk: [3.0, dev]
sdk: [3.1, dev]
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.2-wip

- Require Dart 3.1

## 1.0.1

- Update `ExpressionsProcessor.processFont` to handle null expressions.
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: csslib
version: 1.0.1
version: 1.0.2-wip
description: A library for parsing and analyzing CSS (Cascading Style Sheets).
repository: https://github.com/dart-lang/csslib

topics:
- css

environment:
sdk: ^3.0.0
sdk: ^3.1.0

dependencies:
source_span: ^1.8.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
path: ^1.8.0
term_glyph: ^1.2.0
test: ^1.16.0
2 changes: 1 addition & 1 deletion test/testing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

/// Common definitions used for setting up the test environment.
library testing;
library;

import 'package:csslib/parser.dart';
import 'package:csslib/visitor.dart';
Expand Down
2 changes: 1 addition & 1 deletion test/third_party_samples_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

@TestOn('vm')
library samples_test;
library;

import 'dart:io';

Expand Down

0 comments on commit b70fef2

Please sign in to comment.