diff --git a/demos/benchmarks/pubspec.lock b/demos/benchmarks/pubspec.lock index eb68f19e..99da7bac 100644 --- a/demos/benchmarks/pubspec.lock +++ b/demos/benchmarks/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -139,14 +139,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" json_annotation: dependency: transitive description: @@ -305,14 +297,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -361,10 +353,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -377,18 +369,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: "direct main" description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" stack_trace: dependency: transitive description: @@ -494,5 +486,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0" diff --git a/demos/django-todolist/pubspec.lock b/demos/django-todolist/pubspec.lock index d6eaaaee..500b6163 100644 --- a/demos/django-todolist/pubspec.lock +++ b/demos/django-todolist/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -152,14 +152,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" json_annotation: dependency: transitive description: @@ -318,14 +310,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -430,10 +422,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -446,18 +438,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: "direct main" description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" stack_trace: dependency: transitive description: @@ -563,5 +555,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0" diff --git a/demos/firebase-nodejs-todolist/pubspec.lock b/demos/firebase-nodejs-todolist/pubspec.lock index b261c5f5..6e6790af 100644 --- a/demos/firebase-nodejs-todolist/pubspec.lock +++ b/demos/firebase-nodejs-todolist/pubspec.lock @@ -264,14 +264,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" json_annotation: dependency: transitive description: @@ -454,14 +446,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -590,10 +582,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -606,18 +598,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: transitive description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" stack_trace: dependency: transitive description: @@ -835,5 +827,5 @@ packages: source: hosted version: "2.0.3" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0" diff --git a/demos/supabase-anonymous-auth/pubspec.lock b/demos/supabase-anonymous-auth/pubspec.lock index 57773b47..154a226c 100644 --- a/demos/supabase-anonymous-auth/pubspec.lock +++ b/demos/supabase-anonymous-auth/pubspec.lock @@ -13,10 +13,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -184,14 +184,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" json_annotation: dependency: transitive description: @@ -374,14 +366,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -510,10 +502,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -526,18 +518,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: "direct main" description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" stack_trace: dependency: transitive description: @@ -755,5 +747,5 @@ packages: source: hosted version: "2.0.0" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.19.0" diff --git a/demos/supabase-edge-function-auth/pubspec.lock b/demos/supabase-edge-function-auth/pubspec.lock index 5867b17c..e1168e3b 100644 --- a/demos/supabase-edge-function-auth/pubspec.lock +++ b/demos/supabase-edge-function-auth/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -208,14 +208,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" json_annotation: dependency: transitive description: @@ -398,14 +390,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -534,10 +526,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -550,18 +542,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: "direct main" description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" stack_trace: dependency: transitive description: @@ -779,5 +771,5 @@ packages: source: hosted version: "2.0.2" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0" diff --git a/demos/supabase-simple-chat/pubspec.lock b/demos/supabase-simple-chat/pubspec.lock index e686ad46..de5c99e4 100644 --- a/demos/supabase-simple-chat/pubspec.lock +++ b/demos/supabase-simple-chat/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -224,14 +224,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.19.0" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" json_annotation: dependency: transitive description: @@ -414,14 +406,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -550,10 +542,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -566,18 +558,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: transitive description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" stack_trace: dependency: transitive description: @@ -803,5 +795,5 @@ packages: source: hosted version: "2.0.2" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0" diff --git a/demos/supabase-todolist-drift/pubspec.lock b/demos/supabase-todolist-drift/pubspec.lock index dcc9e73c..6b1c7f66 100644 --- a/demos/supabase-todolist-drift/pubspec.lock +++ b/demos/supabase-todolist-drift/pubspec.lock @@ -69,10 +69,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -686,21 +686,21 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_attachments_helper: dependency: "direct main" description: path: "../../packages/powersync_attachments_helper" relative: true source: path - version: "0.6.17" + version: "0.6.18" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -861,10 +861,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -877,18 +877,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: "direct main" description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" sqlparser: dependency: transitive description: @@ -1138,5 +1138,5 @@ packages: source: hosted version: "2.0.1" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0" diff --git a/demos/supabase-todolist-optional-sync/pubspec.lock b/demos/supabase-todolist-optional-sync/pubspec.lock index 99c005d8..6dc90c3a 100644 --- a/demos/supabase-todolist-optional-sync/pubspec.lock +++ b/demos/supabase-todolist-optional-sync/pubspec.lock @@ -45,10 +45,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -280,14 +280,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.2.0" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" json_annotation: dependency: transitive description: @@ -478,14 +470,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -614,10 +606,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -630,18 +622,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: "direct main" description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" stack_trace: dependency: transitive description: @@ -875,5 +867,5 @@ packages: source: hosted version: "2.0.0" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0" diff --git a/demos/supabase-todolist/pubspec.lock b/demos/supabase-todolist/pubspec.lock index 28d725da..b5ff4e9b 100644 --- a/demos/supabase-todolist/pubspec.lock +++ b/demos/supabase-todolist/pubspec.lock @@ -45,10 +45,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -280,14 +280,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.2.0" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" json_annotation: dependency: transitive description: @@ -478,21 +470,21 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_attachments_helper: dependency: "direct main" description: path: "../../packages/powersync_attachments_helper" relative: true source: path - version: "0.6.17" + version: "0.6.18" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -621,10 +613,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -637,18 +629,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: "direct main" description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" stack_trace: dependency: transitive description: @@ -882,5 +874,5 @@ packages: source: hosted version: "2.0.2" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0" diff --git a/demos/supabase-trello/pubspec.lock b/demos/supabase-trello/pubspec.lock index 28987d55..cc4d67be 100644 --- a/demos/supabase-trello/pubspec.lock +++ b/demos/supabase-trello/pubspec.lock @@ -98,7 +98,7 @@ packages: source: hosted version: "0.3.4+2" crypto: - dependency: "direct main" + dependency: transitive description: name: crypto sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" @@ -360,14 +360,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.2.1+1" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" json_annotation: dependency: transitive description: @@ -566,14 +558,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.11.0" + version: "1.11.2" powersync_core: dependency: "direct overridden" description: path: "../../packages/powersync_core" relative: true source: path - version: "1.1.0" + version: "1.1.2" powersync_flutter_libs: dependency: "direct overridden" description: @@ -718,10 +710,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: bb174b3ec2527f9c5f680f73a89af8149dd99782fbb56ea88ad0807c5638f2ed + sha256: "35d3726fe18ab1463403a5cc8d97dbc81f2a0b08082e8173851363fcc97b6627" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.7.2" sqlite3_flutter_libs: dependency: transitive description: @@ -734,18 +726,18 @@ packages: dependency: transitive description: name: sqlite3_web - sha256: f22d1dda7a40be0867984f55cdf5c2d599e5f05d3be4a642d78f38b38983f554 + sha256: "870f287c2375117af1f769893c5ea0941882ee820444af5c3dcceec3b217aab1" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.3.0" sqlite_async: dependency: "direct main" description: name: sqlite_async - sha256: d66fb6e6d07c1a834743326c033029f75becbb1fad6823d709f921872abc3d5b + sha256: a60e8d5c8df8e694933bd5a312c38393e79ad77d784bb91c6f38ba627bfb7aec url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.11.4" stack_trace: dependency: transitive description: @@ -971,5 +963,5 @@ packages: source: hosted version: "2.0.3" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0" diff --git a/packages/powersync/analysis_options.yaml b/packages/powersync/analysis_options.yaml index dee8927a..4be9ff7b 100644 --- a/packages/powersync/analysis_options.yaml +++ b/packages/powersync/analysis_options.yaml @@ -13,6 +13,12 @@ include: package:lints/recommended.yaml +analyzer: + language: + strict-casts: true + strict-inference: true + strict-raw-types: true + # Uncomment the following section to specify additional rules. # linter: diff --git a/packages/powersync/example/batch_writes.dart b/packages/powersync/example/batch_writes.dart index 7691ec50..4a1dc2fe 100644 --- a/packages/powersync/example/batch_writes.dart +++ b/packages/powersync/example/batch_writes.dart @@ -9,12 +9,12 @@ const schema = Schema([ final parameterSets = List.generate(1000, (i) => [uuid.v4(), 'Row $i']); -openDatabase() async { +Future openDatabase() async { db = PowerSyncDatabase(schema: schema, path: 'test.db'); await db.initialize(); } -singleWrites() async { +Future singleWrites() async { // Execute each write as a separate statement. // Each write flushes the changes to persistent storage, so this is slow. for (var params in parameterSets) { @@ -22,7 +22,7 @@ singleWrites() async { } } -transactionalWrites() async { +Future transactionalWrites() async { // Combine all the writes into a single transaction, only flushing to // persistent storage once. await db.writeTransaction((tx) async { @@ -32,7 +32,7 @@ transactionalWrites() async { }); } -batchWrites() async { +Future batchWrites() async { // Combine all the writes into a single batch, automatically wrapped in a transaction. // This avoids the overhead of asynchronously waiting for each call to complete, // and also only parses the SQL statement once. @@ -40,7 +40,7 @@ batchWrites() async { 'INSERT INTO data(id, contents) VALUES(?, ?)', parameterSets); } -inIsolateWrites() async { +Future inIsolateWrites() async { // This is the same as executeBatch, but using the low-level sqlite APIs. // The call is executed in a transaction in the database isolate, with // synchronous access to the database. @@ -60,7 +60,7 @@ inIsolateWrites() async { }); } -main() async { +Future main() async { await openDatabase(); for (var call in [ singleWrites, diff --git a/packages/powersync/example/getting_started.dart b/packages/powersync/example/getting_started.dart index 348b3021..314860b8 100644 --- a/packages/powersync/example/getting_started.dart +++ b/packages/powersync/example/getting_started.dart @@ -25,7 +25,7 @@ class BackendConnector extends PowerSyncBackendConnector { } } -openDatabase() async { +Future openDatabase() async { var path = 'powersync-demo.db'; // getApplicationSupportDirectory is not supported on Web if (!kIsWeb) { diff --git a/packages/powersync/example/watching_changes.dart b/packages/powersync/example/watching_changes.dart index c36e41f2..74a9f34b 100644 --- a/packages/powersync/example/watching_changes.dart +++ b/packages/powersync/example/watching_changes.dart @@ -10,12 +10,12 @@ const schema = Schema([ final parameterSets = List.generate(1000, (i) => [uuid.v4(), 'Row $i']); -openDatabase() async { +Future openDatabase() async { db = PowerSyncDatabase(schema: schema, path: 'test.db'); await db.initialize(); } -main() async { +Future main() async { await openDatabase(); // Watch a single query. @@ -23,7 +23,7 @@ main() async { var subscription1 = db.watch('SELECT count() AS count FROM data').listen((results) { print('Results: $results'); - }, onError: (e) { + }, onError: (Object e) { print('Query failed: $e'); }); @@ -37,14 +37,14 @@ main() async { await db.get('SELECT sum(length(contents)) AS length FROM data'); print( 'Results after change to ${update.tables}: ${count['count']} entries, ${length['length']} characters'); - }).listen((_) {}, onError: (e) { + }).listen((_) {}, onError: (Object e) { print('Query failed: $e'); }); for (var i = 0; i < 10; i++) { await db.execute( 'INSERT INTO data(id, contents) VALUES(uuid(), ?)', ['Row $i']); - await Future.delayed(Duration(milliseconds: 500)); + await Future.delayed(Duration(milliseconds: 500)); } subscription1.cancel(); diff --git a/packages/powersync_attachments_helper/analysis_options.yaml b/packages/powersync_attachments_helper/analysis_options.yaml index 46c13e83..915b40b5 100644 --- a/packages/powersync_attachments_helper/analysis_options.yaml +++ b/packages/powersync_attachments_helper/analysis_options.yaml @@ -13,6 +13,12 @@ include: package:flutter_lints/flutter.yaml +analyzer: + language: + strict-casts: true + strict-inference: true + strict-raw-types: true + # Uncomment the following section to specify additional rules. # linter: diff --git a/packages/powersync_attachments_helper/example/getting_started.dart b/packages/powersync_attachments_helper/example/getting_started.dart index 5ed2000b..037046f0 100644 --- a/packages/powersync_attachments_helper/example/getting_started.dart +++ b/packages/powersync_attachments_helper/example/getting_started.dart @@ -14,12 +14,13 @@ late AbstractRemoteStorageAdapter remoteStorage; late PhotoAttachmentQueue attachmentQueue; class PhotoAttachmentQueue extends AbstractAttachmentQueue { - PhotoAttachmentQueue(db, remoteStorage) + PhotoAttachmentQueue( + PowerSyncDatabase db, AbstractRemoteStorageAdapter remoteStorage) : super(db: db, remoteStorage: remoteStorage); @override Future saveFile(String fileId, int size, - {mediaType = 'image/jpeg'}) async { + {String mediaType = 'image/jpeg'}) async { String filename = '$fileId.jpg'; Attachment photoAttachment = Attachment( id: fileId, @@ -60,7 +61,7 @@ class PhotoAttachmentQueue extends AbstractAttachmentQueue { } } -initializeAttachmentQueue(PowerSyncDatabase db) async { +Future initializeAttachmentQueue(PowerSyncDatabase db) async { attachmentQueue = PhotoAttachmentQueue(db, remoteStorage); await attachmentQueue.init(); } diff --git a/packages/powersync_attachments_helper/lib/src/attachments_queue.dart b/packages/powersync_attachments_helper/lib/src/attachments_queue.dart index 1f2a1b35..08dd48ce 100644 --- a/packages/powersync_attachments_helper/lib/src/attachments_queue.dart +++ b/packages/powersync_attachments_helper/lib/src/attachments_queue.dart @@ -71,7 +71,7 @@ abstract class AbstractAttachmentQueue { /// 1. Creating attachments directory /// 2. Adding watches for uploads, downloads, and deletes /// 3. Adding trigger to run uploads, downloads, and deletes when device is online after being offline - init() async { + Future init() async { // Ensure the directory where attachments are downloaded, exists await localStorage.makeDir(await getStorageDirectory()); @@ -93,7 +93,7 @@ abstract class AbstractAttachmentQueue { }); } - _trigger() async { + Future _trigger() async { await syncingService.runSync(); } diff --git a/packages/powersync_attachments_helper/lib/src/attachments_queue_table.dart b/packages/powersync_attachments_helper/lib/src/attachments_queue_table.dart index ffa3fb20..938ad4b1 100644 --- a/packages/powersync_attachments_helper/lib/src/attachments_queue_table.dart +++ b/packages/powersync_attachments_helper/lib/src/attachments_queue_table.dart @@ -50,13 +50,14 @@ class Attachment { factory Attachment.fromRow(sqlite.Row row) { return Attachment( - id: row['id'], - filename: row['filename'], - localUri: row['local_uri'], - size: row['size'], - mediaType: row['media_type'], - timestamp: row['timestamp'], - state: row['state']); + id: row['id'] as String, + filename: row['filename'] as String, + localUri: row['local_uri'] as String?, + size: row['size'] as int?, + mediaType: row['media_type'] as String?, + timestamp: row['timestamp'] as int?, + state: row['state'] as int, + ); } } diff --git a/packages/powersync_attachments_helper/lib/src/attachments_service.dart b/packages/powersync_attachments_helper/lib/src/attachments_service.dart index 689fef22..e464e626 100644 --- a/packages/powersync_attachments_helper/lib/src/attachments_service.dart +++ b/packages/powersync_attachments_helper/lib/src/attachments_service.dart @@ -15,7 +15,7 @@ class AttachmentsService { this.attachmentsQueueTableName); /// Table used for storing attachments in the attachment queue. - get table { + String get table { return attachmentsQueueTableName; } diff --git a/packages/powersync_attachments_helper/lib/src/syncing_service.dart b/packages/powersync_attachments_helper/lib/src/syncing_service.dart index 664f068b..04897329 100644 --- a/packages/powersync_attachments_helper/lib/src/syncing_service.dart +++ b/packages/powersync_attachments_helper/lib/src/syncing_service.dart @@ -14,7 +14,7 @@ class SyncingService { final AbstractRemoteStorageAdapter remoteStorage; final LocalStorageAdapter localStorage; final AttachmentsService attachmentsService; - final Function getLocalUri; + final Future Function(String name) getLocalUri; final Future Function(Attachment attachment, Object exception)? onDownloadError; final Future Function(Attachment attachment, Object exception)? @@ -165,7 +165,7 @@ class SyncingService { } /// Process ID's to be included in the attachment queue. - processIds(List ids, String fileExtension) async { + Future processIds(List ids, String fileExtension) async { List attachments = List.empty(growable: true); for (String id in ids) { @@ -188,7 +188,7 @@ class SyncingService { } /// Delete attachments which have been archived - deleteArchivedAttachments() async { + Future deleteArchivedAttachments() async { await db.execute(''' DELETE FROM ${attachmentsService.table} WHERE state = ${AttachmentState.archived.index} diff --git a/packages/powersync_flutter_libs/analysis_options.yaml b/packages/powersync_flutter_libs/analysis_options.yaml index a5744c1c..b49c352c 100644 --- a/packages/powersync_flutter_libs/analysis_options.yaml +++ b/packages/powersync_flutter_libs/analysis_options.yaml @@ -1,4 +1,7 @@ include: package:flutter_lints/flutter.yaml -# Additional information about this file can be found at -# https://dart.dev/guides/language/analysis-options +analyzer: + language: + strict-casts: true + strict-inference: true + strict-raw-types: true diff --git a/packages/powersync_sqlcipher/analysis_options.yaml b/packages/powersync_sqlcipher/analysis_options.yaml index a5744c1c..b49c352c 100644 --- a/packages/powersync_sqlcipher/analysis_options.yaml +++ b/packages/powersync_sqlcipher/analysis_options.yaml @@ -1,4 +1,7 @@ include: package:flutter_lints/flutter.yaml -# Additional information about this file can be found at -# https://dart.dev/guides/language/analysis-options +analyzer: + language: + strict-casts: true + strict-inference: true + strict-raw-types: true diff --git a/packages/powersync_sqlcipher/example/main.dart b/packages/powersync_sqlcipher/example/main.dart index f6ba21d2..47a59f86 100644 --- a/packages/powersync_sqlcipher/example/main.dart +++ b/packages/powersync_sqlcipher/example/main.dart @@ -25,7 +25,7 @@ class BackendConnector extends PowerSyncBackendConnector { } } -openDatabase() async { +Future openDatabase() async { var path = 'powersync-demo.db'; // getApplicationSupportDirectory is not supported on Web if (!kIsWeb) {