From 6168244ecee51fabef2c42ecd6877cc09cef2c9e Mon Sep 17 00:00:00 2001 From: dab246 Date: Fri, 24 Mar 2023 18:32:05 +0700 Subject: [PATCH] TF-1645 Update dependency for pubspec.lock (cherry picked from commit 2acf83897fe74233d490398eaa0cf5a81169135c) --- contact/pubspec.lock | 10 ++--- fcm/pubspec.lock | 10 ++--- forward/pubspec.lock | 10 ++--- model/pubspec.lock | 10 ++--- pubspec.lock | 14 +++--- rule_filter/pubspec.lock | 10 ++--- test/fixtures/session_fixtures.dart | 70 +++++++++++++++-------------- 7 files changed, 68 insertions(+), 66 deletions(-) diff --git a/contact/pubspec.lock b/contact/pubspec.lock index 2ee4bcef2..b0c829101 100644 --- a/contact/pubspec.lock +++ b/contact/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: d74f051467a841ce893a50ebeb420b7a5695f985d2781e22b3927fbc849aea45 + sha256: a36ec4843dc30ea6bf652bf25e3448db6c5e8bcf4aa55f063a5d1dad216d8214 url: "https://pub.dev" source: hosted - version: "57.0.0" + version: "58.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: b665679cdccab0c754e65021f01087c6fab07a0b13659dd58827f765739b40f8 + sha256: cc4242565347e98424ce9945c819c192ec0838cb9d1f6aa4a97cc96becbc5b27 url: "https://pub.dev" source: hosted - version: "5.9.0" + version: "5.10.0" args: dependency: transitive description: @@ -492,7 +492,7 @@ packages: description: path: "." ref: master - resolved-ref: fb65ebf36853b152f37c92919d7bd8701b1cb9e6 + resolved-ref: "345f21bbb41f6d42272e0ca1998a9e0dcd98c47e" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.0.1" diff --git a/fcm/pubspec.lock b/fcm/pubspec.lock index 3322f534a..636977435 100644 --- a/fcm/pubspec.lock +++ b/fcm/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: d74f051467a841ce893a50ebeb420b7a5695f985d2781e22b3927fbc849aea45 + sha256: a36ec4843dc30ea6bf652bf25e3448db6c5e8bcf4aa55f063a5d1dad216d8214 url: "https://pub.dev" source: hosted - version: "57.0.0" + version: "58.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: b665679cdccab0c754e65021f01087c6fab07a0b13659dd58827f765739b40f8 + sha256: cc4242565347e98424ce9945c819c192ec0838cb9d1f6aa4a97cc96becbc5b27 url: "https://pub.dev" source: hosted - version: "5.9.0" + version: "5.10.0" args: dependency: transitive description: @@ -296,7 +296,7 @@ packages: description: path: "." ref: master - resolved-ref: fb65ebf36853b152f37c92919d7bd8701b1cb9e6 + resolved-ref: "345f21bbb41f6d42272e0ca1998a9e0dcd98c47e" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.0.1" diff --git a/forward/pubspec.lock b/forward/pubspec.lock index 3322f534a..636977435 100644 --- a/forward/pubspec.lock +++ b/forward/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: d74f051467a841ce893a50ebeb420b7a5695f985d2781e22b3927fbc849aea45 + sha256: a36ec4843dc30ea6bf652bf25e3448db6c5e8bcf4aa55f063a5d1dad216d8214 url: "https://pub.dev" source: hosted - version: "57.0.0" + version: "58.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: b665679cdccab0c754e65021f01087c6fab07a0b13659dd58827f765739b40f8 + sha256: cc4242565347e98424ce9945c819c192ec0838cb9d1f6aa4a97cc96becbc5b27 url: "https://pub.dev" source: hosted - version: "5.9.0" + version: "5.10.0" args: dependency: transitive description: @@ -296,7 +296,7 @@ packages: description: path: "." ref: master - resolved-ref: fb65ebf36853b152f37c92919d7bd8701b1cb9e6 + resolved-ref: "345f21bbb41f6d42272e0ca1998a9e0dcd98c47e" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.0.1" diff --git a/model/pubspec.lock b/model/pubspec.lock index 6f9e11749..cce6ac49a 100644 --- a/model/pubspec.lock +++ b/model/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: d74f051467a841ce893a50ebeb420b7a5695f985d2781e22b3927fbc849aea45 + sha256: a36ec4843dc30ea6bf652bf25e3448db6c5e8bcf4aa55f063a5d1dad216d8214 url: "https://pub.dev" source: hosted - version: "57.0.0" + version: "58.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: b665679cdccab0c754e65021f01087c6fab07a0b13659dd58827f765739b40f8 + sha256: cc4242565347e98424ce9945c819c192ec0838cb9d1f6aa4a97cc96becbc5b27 url: "https://pub.dev" source: hosted - version: "5.9.0" + version: "5.10.0" args: dependency: transitive description: @@ -484,7 +484,7 @@ packages: description: path: "." ref: master - resolved-ref: fb65ebf36853b152f37c92919d7bd8701b1cb9e6 + resolved-ref: "345f21bbb41f6d42272e0ca1998a9e0dcd98c47e" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.0.1" diff --git a/pubspec.lock b/pubspec.lock index 596c6d1ff..d90dac744 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: d74f051467a841ce893a50ebeb420b7a5695f985d2781e22b3927fbc849aea45 + sha256: a36ec4843dc30ea6bf652bf25e3448db6c5e8bcf4aa55f063a5d1dad216d8214 url: "https://pub.dev" source: hosted - version: "57.0.0" + version: "58.0.0" _flutterfire_internals: dependency: transitive description: @@ -21,10 +21,10 @@ packages: dependency: transitive description: name: analyzer - sha256: b665679cdccab0c754e65021f01087c6fab07a0b13659dd58827f765739b40f8 + sha256: cc4242565347e98424ce9945c819c192ec0838cb9d1f6aa4a97cc96becbc5b27 url: "https://pub.dev" source: hosted - version: "5.9.0" + version: "5.10.0" archive: dependency: transitive description: @@ -955,7 +955,7 @@ packages: description: path: "." ref: master - resolved-ref: fb65ebf36853b152f37c92919d7bd8701b1cb9e6 + resolved-ref: "345f21bbb41f6d42272e0ca1998a9e0dcd98c47e" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.0.1" @@ -1242,10 +1242,10 @@ packages: dependency: transitive description: name: pointycastle - sha256: ae73e842cdd27a3467a71d70cefd9b198538aab4fc7dde1d0e8c78c96225abf0 + sha256: c3120a968135aead39699267f4c74bc9a08e4e909e86bc1b0af5bfd78691123c url: "https://pub.dev" source: hosted - version: "3.7.1" + version: "3.7.2" pool: dependency: transitive description: diff --git a/rule_filter/pubspec.lock b/rule_filter/pubspec.lock index 3322f534a..636977435 100644 --- a/rule_filter/pubspec.lock +++ b/rule_filter/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: d74f051467a841ce893a50ebeb420b7a5695f985d2781e22b3927fbc849aea45 + sha256: a36ec4843dc30ea6bf652bf25e3448db6c5e8bcf4aa55f063a5d1dad216d8214 url: "https://pub.dev" source: hosted - version: "57.0.0" + version: "58.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: b665679cdccab0c754e65021f01087c6fab07a0b13659dd58827f765739b40f8 + sha256: cc4242565347e98424ce9945c819c192ec0838cb9d1f6aa4a97cc96becbc5b27 url: "https://pub.dev" source: hosted - version: "5.9.0" + version: "5.10.0" args: dependency: transitive description: @@ -296,7 +296,7 @@ packages: description: path: "." ref: master - resolved-ref: fb65ebf36853b152f37c92919d7bd8701b1cb9e6 + resolved-ref: "345f21bbb41f6d42272e0ca1998a9e0dcd98c47e" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.0.1" diff --git a/test/fixtures/session_fixtures.dart b/test/fixtures/session_fixtures.dart index 5340a5ce6..fdf5b4dab 100644 --- a/test/fixtures/session_fixtures.dart +++ b/test/fixtures/session_fixtures.dart @@ -18,28 +18,29 @@ import 'package:jmap_dart_client/jmap/core/user_name.dart'; class SessionFixtures { static final aliceSession = Session( { - CapabilityIdentifier.jmapSubmission: SubmissionCapability(UnsignedInt(0), {}), + CapabilityIdentifier.jmapSubmission: SubmissionCapability( + maxDelayedSend: UnsignedInt(0), + submissionExtensions: {} + ), CapabilityIdentifier.jmapCore: CoreCapability( - UnsignedInt(20971520), - UnsignedInt(4), - UnsignedInt(10000000), - UnsignedInt(4), - UnsignedInt(16), - UnsignedInt(500), - UnsignedInt(500), - {CollationIdentifier("i;unicode-casemap")} + maxSizeUpload: UnsignedInt(20971520), + maxConcurrentUpload: UnsignedInt(4), + maxSizeRequest: UnsignedInt(10000000), + maxConcurrentRequests: UnsignedInt(4), + maxCallsInRequest: UnsignedInt(16), + maxObjectsInGet: UnsignedInt(500), + maxObjectsInSet: UnsignedInt(500), + collationAlgorithms: {CollationIdentifier("i;unicode-casemap")} ), CapabilityIdentifier.jmapMail: MailCapability( - UnsignedInt(10000000), - null, - UnsignedInt(200), - UnsignedInt(20000000), - {"receivedAt", "sentAt", "size", "from", "to", "subject"}, - true + maxMailboxesPerEmail: UnsignedInt(10000000), + maxSizeAttachmentsPerEmail: UnsignedInt(20000000), + emailQuerySortOptions: {"receivedAt", "sentAt", "size", "from", "to", "subject"}, + mayCreateTopLevelMailbox: true ), CapabilityIdentifier.jmapWebSocket: WebSocketCapability( - true, - Uri.parse('ws://domain.com/jmap/ws') + supportsPush: true, + url: Uri.parse('ws://domain.com/jmap/ws') ), CapabilityIdentifier(Uri.parse('urn:apache:james:params:jmap:mail:quota')): DefaultCapability({}), CapabilityIdentifier(Uri.parse('urn:apache:james:params:jmap:mail:shares')): DefaultCapability({}), @@ -52,28 +53,29 @@ class SessionFixtures { true, false, { - CapabilityIdentifier.jmapSubmission: SubmissionCapability(UnsignedInt(0), {}), + CapabilityIdentifier.jmapSubmission: SubmissionCapability( + maxDelayedSend: UnsignedInt(0), + submissionExtensions: {} + ), CapabilityIdentifier.jmapWebSocket: WebSocketCapability( - true, - Uri.parse('ws://domain.com/jmap/ws') + supportsPush: true, + url: Uri.parse('ws://domain.com/jmap/ws') ), CapabilityIdentifier.jmapCore: CoreCapability( - UnsignedInt(20971520), - UnsignedInt(4), - UnsignedInt(10000000), - UnsignedInt(4), - UnsignedInt(16), - UnsignedInt(500), - UnsignedInt(500), - {CollationIdentifier("i;unicode-casemap")} + maxSizeUpload: UnsignedInt(20971520), + maxConcurrentUpload: UnsignedInt(4), + maxSizeRequest: UnsignedInt(10000000), + maxConcurrentRequests: UnsignedInt(4), + maxCallsInRequest: UnsignedInt(16), + maxObjectsInGet: UnsignedInt(500), + maxObjectsInSet: UnsignedInt(500), + collationAlgorithms: {CollationIdentifier("i;unicode-casemap")} ), CapabilityIdentifier.jmapMail: MailCapability( - UnsignedInt(10000000), - null, - UnsignedInt(200), - UnsignedInt(20000000), - {"receivedAt", "sentAt", "size", "from", "to", "subject"}, - true + maxMailboxesPerEmail: UnsignedInt(10000000), + maxSizeAttachmentsPerEmail: UnsignedInt(20000000), + emailQuerySortOptions: {"receivedAt", "sentAt", "size", "from", "to", "subject"}, + mayCreateTopLevelMailbox: true ), CapabilityIdentifier(Uri.parse('urn:apache:james:params:jmap:mail:quota')): DefaultCapability({}), CapabilityIdentifier(Uri.parse('urn:apache:james:params:jmap:mail:shares')): DefaultCapability({}),