File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1+ ## 2.4.6
2+
3+ - Fix selecting large integers (being represented as a ` BigInt ` in Dart)
4+ not working when compiled with dartdevc.
5+
16## 2.4.5
27
38- Fix a bug in the OPFS-locks implementation causing a deadlock when the ` xSleep `
Original file line number Diff line number Diff line change @@ -8,16 +8,18 @@ external JSBigInt _bigInt(JSAny? s);
88@JS ('Number' )
99external JSNumber _number (JSAny ? obj);
1010
11- @JS ('Object' )
12- extension type WrappedJSObject ._(JSObject _) implements JSObject {
13- external WrappedJSObject (JSBigInt _);
14-
11+ extension type WrappedJSAny ._(JSAny _) implements JSAny {
1512 external static JSArray <JSAny ?> keys (JSObject o);
1613
1714 @JS ('toString' )
1815 external JSString _toString ();
1916}
2017
18+ @JS ('Object' )
19+ extension type WrappedJSObject ._(JSObject _) implements JSObject {
20+ external static JSArray <JSAny ?> keys (JSObject o);
21+ }
22+
2123extension type JsBigInt (JSBigInt _jsBigInt) implements JSBigInt {
2224 factory JsBigInt .parse (String s) => JsBigInt (_bigInt (s.toJS));
2325 factory JsBigInt .fromInt (int i) => JsBigInt (_bigInt (i.toJS));
@@ -42,7 +44,7 @@ extension type JsBigInt(JSBigInt _jsBigInt) implements JSBigInt {
4244 }
4345
4446 String jsToString () {
45- return (WrappedJSObject ( _jsBigInt) )._toString ().toDart;
47+ return (_jsBigInt as WrappedJSAny )._toString ().toDart;
4648 }
4749}
4850
Original file line number Diff line number Diff line change 11name : sqlite3
22description : Provides lightweight yet convenient bindings to SQLite by using dart:ffi
3- version : 2.4.5
3+ version : 2.4.6
44homepage : https://github.com/simolus3/sqlite3.dart/tree/main/sqlite3
55issue_tracker : https://github.com/simolus3/sqlite3.dart/issues
66
You can’t perform that action at this time.
0 commit comments