Update quiver hashcode dependency (#88)

Development on the quiver_* subpackages has been discontinued in favour
of the main quiver package at https://github.com/google/quiver-dart. The
code itself is identical, but is more actively maintained.

Updated the dependency on the tuple package to 2.0.0, since it also
depends on quiver 3.0.0. Both packages has been migrated to null-safety
at those versions.
pull/101/head
Chris Bracken 4 years ago committed by GitHub
parent a5277ffd3c
commit 701c56c312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/models/documents/attribute.dart
  2. 2
      lib/models/documents/style.dart
  3. 2
      lib/models/quill_delta.dart
  4. 15
      pubspec.lock
  5. 4
      pubspec.yaml

@ -1,4 +1,4 @@
import 'package:quiver_hashcode/hashcode.dart'; import 'package:quiver/core.dart';
enum AttributeScope { enum AttributeScope {
INLINE, // refer to https://quilljs.com/docs/formats/#inline INLINE, // refer to https://quilljs.com/docs/formats/#inline

@ -1,6 +1,6 @@
import 'package:collection/collection.dart'; import 'package:collection/collection.dart';
import 'package:flutter_quill/models/documents/attribute.dart'; import 'package:flutter_quill/models/documents/attribute.dart';
import 'package:quiver_hashcode/hashcode.dart'; import 'package:quiver/core.dart';
/* Collection of style attributes */ /* Collection of style attributes */
class Style { class Style {

@ -7,7 +7,7 @@ library quill_delta;
import 'dart:math' as math; import 'dart:math' as math;
import 'package:collection/collection.dart'; import 'package:collection/collection.dart';
import 'package:quiver_hashcode/hashcode.dart'; import 'package:quiver/core.dart';
const _attributeEquality = DeepCollectionEquality(); const _attributeEquality = DeepCollectionEquality();
const _valueEquality = DeepCollectionEquality(); const _valueEquality = DeepCollectionEquality();

@ -276,19 +276,12 @@ packages:
source: hosted source: hosted
version: "4.1.0" version: "4.1.0"
quiver: quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.5"
quiver_hashcode:
dependency: "direct main" dependency: "direct main"
description: description:
name: quiver_hashcode name: quiver
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "3.0.0"
sky_engine: sky_engine:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -300,7 +293,7 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.0" version: "1.8.1"
stack_trace: stack_trace:
dependency: transitive dependency: transitive
description: description:
@ -349,7 +342,7 @@ packages:
name: tuple name: tuple
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.3" version: "2.0.0"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:

@ -12,9 +12,9 @@ environment:
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
quiver_hashcode: ^2.0.0 quiver: ^3.0.0
collection: ^1.15.0 collection: ^1.15.0
tuple: ^1.0.3 tuple: ^2.0.0
url_launcher: ^6.0.0 url_launcher: ^6.0.0
flutter_colorpicker: ^0.3.5 flutter_colorpicker: ^0.3.5
image_picker: ^0.7.2 image_picker: ^0.7.2

Loading…
Cancel
Save