File tree 3 files changed +13
-6
lines changed
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
+
1
6
## 2.4.5
2
7
3
8
- 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);
8
8
@JS ('Number' )
9
9
external JSNumber _number (JSAny ? obj);
10
10
11
- @JS ('Object' )
12
- extension type WrappedJSObject ._(JSObject _) implements JSObject {
13
- external WrappedJSObject (JSBigInt _);
14
-
11
+ extension type WrappedJSAny ._(JSAny _) implements JSAny {
15
12
external static JSArray <JSAny ?> keys (JSObject o);
16
13
17
14
@JS ('toString' )
18
15
external JSString _toString ();
19
16
}
20
17
18
+ @JS ('Object' )
19
+ extension type WrappedJSObject ._(JSObject _) implements JSObject {
20
+ external static JSArray <JSAny ?> keys (JSObject o);
21
+ }
22
+
21
23
extension type JsBigInt (JSBigInt _jsBigInt) implements JSBigInt {
22
24
factory JsBigInt .parse (String s) => JsBigInt (_bigInt (s.toJS));
23
25
factory JsBigInt .fromInt (int i) => JsBigInt (_bigInt (i.toJS));
@@ -42,7 +44,7 @@ extension type JsBigInt(JSBigInt _jsBigInt) implements JSBigInt {
42
44
}
43
45
44
46
String jsToString () {
45
- return (WrappedJSObject ( _jsBigInt) )._toString ().toDart;
47
+ return (_jsBigInt as WrappedJSAny )._toString ().toDart;
46
48
}
47
49
}
48
50
Original file line number Diff line number Diff line change 1
1
name : sqlite3
2
2
description : Provides lightweight yet convenient bindings to SQLite by using dart:ffi
3
- version : 2.4.5
3
+ version : 2.4.6
4
4
homepage : https://github.com/simolus3/sqlite3.dart/tree/main/sqlite3
5
5
issue_tracker : https://github.com/simolus3/sqlite3.dart/issues
6
6
You can’t perform that action at this time.
0 commit comments