From 0d7fc03ea9b54c3962938278cd2a96e6b6f2e356 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Tue, 25 Jul 2023 18:52:46 +0200 Subject: [PATCH] Bring tar to 1.0.1 --- lib/src/third_party/tar/CHANGELOG.md | 4 ++++ lib/src/third_party/tar/lib/src/writer.dart | 4 ++-- lib/src/third_party/tar/vendored-pubspec.yaml | 2 +- lib/src/third_party/vendor-state.yaml | 2 +- vendor.yaml | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/src/third_party/tar/CHANGELOG.md b/lib/src/third_party/tar/CHANGELOG.md index 50b4c7ee9..590a70db0 100644 --- a/lib/src/third_party/tar/CHANGELOG.md +++ b/lib/src/third_party/tar/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +- Fix an incompatibility with Dart 3.1. + ## 1.0.0 - __Breaking__ Add class modifiers where applicable. diff --git a/lib/src/third_party/tar/lib/src/writer.dart b/lib/src/third_party/tar/lib/src/writer.dart index 17cab90d6..24f919083 100644 --- a/lib/src/third_party/tar/lib/src/writer.dart +++ b/lib/src/third_party/tar/lib/src/writer.dart @@ -156,7 +156,7 @@ enum OutputFormat { gnuLongName, } -final class _WritingSink extends StreamSink { +final class _WritingSink implements StreamSink { final StreamSink> _output; final _SynchronousTarSink _synchronousWriter; bool _closed = false; @@ -273,7 +273,7 @@ final class _SynchronousTarConverter } } -final class _SynchronousTarSink extends Sink { +final class _SynchronousTarSink implements Sink { final OutputFormat _format; final Sink> _output; diff --git a/lib/src/third_party/tar/vendored-pubspec.yaml b/lib/src/third_party/tar/vendored-pubspec.yaml index 3164d3951..5d641aa14 100644 --- a/lib/src/third_party/tar/vendored-pubspec.yaml +++ b/lib/src/third_party/tar/vendored-pubspec.yaml @@ -1,6 +1,6 @@ name: tar description: Memory-efficient, streaming implementation of the tar file format -version: 1.0.0 +version: 1.0.1 repository: https://github.com/simolus3/tar/ environment: diff --git a/lib/src/third_party/vendor-state.yaml b/lib/src/third_party/vendor-state.yaml index 4c76e4c8c..62b5a3242 100644 --- a/lib/src/third_party/vendor-state.yaml +++ b/lib/src/third_party/vendor-state.yaml @@ -18,7 +18,7 @@ config: - analysis_options.yaml tar: package: tar - version: 1.0.0 + version: 1.0.1 import_rewrites: {} include: - pubspec.yaml diff --git a/vendor.yaml b/vendor.yaml index 88f407b98..068dae661 100644 --- a/vendor.yaml +++ b/vendor.yaml @@ -7,4 +7,4 @@ vendored_dependencies: version: 2.0.1 tar: package: tar - version: 1.0.0 + version: 1.0.1