Skip to content

Commit

Permalink
Merge pull request #240 from powersync-ja/chore/strict-analysis-rules
Browse files Browse the repository at this point in the history
Enable Strict inference rules for published packages
  • Loading branch information
simolus3 authored Feb 6, 2025
2 parents 9acb7aa + 2062aa1 commit 15d1682
Show file tree
Hide file tree
Showing 23 changed files with 162 additions and 214 deletions.
30 changes: 11 additions & 19 deletions demos/benchmarks/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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"
30 changes: 11 additions & 19 deletions demos/django-todolist/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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"
26 changes: 9 additions & 17 deletions demos/firebase-nodejs-todolist/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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"
30 changes: 11 additions & 19 deletions demos/supabase-anonymous-auth/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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"
Loading

0 comments on commit 15d1682

Please sign in to comment.