Skip to content

Commit

Permalink
dart pub upgrade && dart pub upgrade --major-versions & follow dart…
Browse files Browse the repository at this point in the history
…-ffi breaking changes (#508)

* `dart pub upgrade && dart pub upgrade --major-versions`

* follow https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#dartffi-11

---------

Co-authored-by: sensuikan1973 <sensuikan1973@users.noreply.github.com>
  • Loading branch information
sensuikan1973 and sensuikan1973 authored Feb 18, 2024
1 parent 10d05ce commit 3731ee7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ packages:
dependency: "direct main"
description:
name: ffi
sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21"
url: "https://pub.dev"
source: hosted
version: "2.1.0"
version: "2.1.2"
file:
dependency: transitive
description:
Expand Down Expand Up @@ -185,4 +185,4 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.2.2 <4.0.0"
dart: ">=3.3.0-279.1.beta <4.0.0"
4 changes: 2 additions & 2 deletions lib/src/position.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class Position {
for (var k = 0; k < cPosition.n_link; k++) {
links.add(
Link(
cPosition.link.elementAt(k).ref.score,
cPosition.link.elementAt(k).ref.move,
(cPosition.link + k).ref.score,
(cPosition.link + k).ref.move,
),
);
}
Expand Down
26 changes: 13 additions & 13 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ packages:
dependency: "direct main"
description:
name: ffi
sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21"
url: "https://pub.dev"
source: hosted
version: "2.1.0"
version: "2.1.2"
ffigen:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -181,10 +181,10 @@ packages:
dependency: transitive
description:
name: http
sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba
sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.2.1"
http_multi_server:
dependency: transitive
description:
Expand Down Expand Up @@ -221,10 +221,10 @@ packages:
dependency: transitive
description:
name: js
sha256: "4186c61b32f99e60f011f7160e32c89a758ae9b1d0c6d28e2c02ef0382300e2b"
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.7.0"
version: "0.7.1"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -469,10 +469,10 @@ packages:
dependency: transitive
description:
name: tar
sha256: "1680219f82dfa81c8d0e76e849b7b34ea969c721f55a8ebd294a9a95e740dd42"
sha256: aca91e93ff9ff2dba4462c6eea6bc260b72f0d7010e748e3397c32190529bd6e
url: "https://pub.dev"
source: hosted
version: "1.0.3"
version: "1.0.4"
term_glyph:
dependency: transitive
description:
Expand Down Expand Up @@ -541,18 +541,18 @@ packages:
dependency: transitive
description:
name: web
sha256: "4188706108906f002b3a293509234588823c8c979dc83304e229ff400c996b05"
sha256: "1d9158c616048c38f712a6646e317a3426da10e884447626167240d45209cbad"
url: "https://pub.dev"
source: hosted
version: "0.4.2"
version: "0.5.0"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
sha256: "939ab60734a4f8fa95feacb55804fa278de28bdeef38e616dc08e44a84adea23"
sha256: "1d8e795e2a8b3730c41b8a98a2dff2e0fb57ae6f0764a1c46ec5915387d257b2"
url: "https://pub.dev"
source: hosted
version: "2.4.3"
version: "2.4.4"
webkit_inspection_protocol:
dependency: transitive
description:
Expand All @@ -578,4 +578,4 @@ packages:
source: hosted
version: "2.1.1"
sdks:
dart: ">=3.2.2 <4.0.0"
dart: ">=3.3.0 <4.0.0"

0 comments on commit 3731ee7

Please # to comment.