Skip to content

Commit

Permalink
[sqflite_common_ffi] v2.3.4+4 upgrade dev archive dep to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Dec 8, 2024
1 parent aeaebfb commit c6e5c2f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion sqflite_common_ffi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## 2.3.4+3
## 2.3.4+4

* Improve sqlite3.dll finder on windows
* Fix conditional import for web support
* Fix dev archive deps to 4.0.0

## 2.3.3+2

Expand Down
4 changes: 2 additions & 2 deletions sqflite_common_ffi/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: sqflite_common_ffi
homepage: https://github.com/tekartik/sqflite/tree/master/sqflite_common_ffi
description: sqflite ffi based implementation, for desktop and units tests.
version: 2.3.4+3
version: 2.3.4+4
funding:
- https://github.com/sponsors/alextekartik

Expand Down Expand Up @@ -33,5 +33,5 @@ dev_dependencies:
test: ">=1.24.0"
process_run: '>=1.2.0'
pub_semver: '>=2.0.0'
archive: '>=3.5.0'
archive: '>=4.0.0'
http:
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void main() {
test('checkDll', () async {
if (await helper.getZip()) {
final inputStream = InputFileStream(localZip);
final archive = ZipDecoder().decodeBuffer(inputStream);
final archive = ZipDecoder().decodeStream(inputStream);
await extractArchiveToDisk(archive, dirname(localZip));

var downloadedDllContent =
Expand Down
2 changes: 1 addition & 1 deletion sqflite_common_ffi/tool/windows_setup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Sqlite3DllSetupHelper {
// Extract the zip
stdout.writeln('Extracting $localZip to $localExtractedZipDir');
final inputStream = InputFileStream(localZip);
final archive = ZipDecoder().decodeBuffer(inputStream);
final archive = ZipDecoder().decodeStream(inputStream);
await extractArchiveToDisk(archive, localExtractedZipDir);
await jsonInfo.writeAsString(jsonEncode(sqlite3Info.toMap()));
}
Expand Down

0 comments on commit c6e5c2f

Please sign in to comment.