File tree Expand file tree Collapse file tree 5 files changed +166
-182
lines changed Expand file tree Collapse file tree 5 files changed +166
-182
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,9 @@ Neither method requires any arguments.
143
143
144
144
## Run Tests
145
145
146
- - install [ Docker] ( https://www.docker.com/community-edition#download )
147
- - run ` docker-compose up ` and then ` ./docker-test.sh `
146
+ - Install [ Docker] ( https://www.docker.com/community-edition#download )
147
+ - Run ` docker-compose up ` and then ` ./docker-test.sh `
148
+ - Some tests can be run directly, but some of the types.js tests pertaining to dates are affected by the host's timezone and are consequently brittle.
148
149
149
150
## References
150
151
@@ -157,7 +158,7 @@ The following resources provided valuable information that greatly assisted in c
157
158
- https://kkaefer.com/node-cpp-modules/
158
159
- https://dev.mysql.com/doc/internals/en/replication-protocol.html
159
160
- https://web.archive.org/web/20200201195450/https://www.cs.wichita.edu/~chang/lecture/cs742/program/how-mysql-c-api.html
160
- - https://github.com/jeremycole/mysql_binlog (Ruby implemenation of MySQL binlog parser)
161
+ - https://github.com/jeremycole/mysql_binlog (Ruby implementation of MySQL binlog parser)
161
162
- https://dev.mysql.com/doc/internals/en/date-and-time-data-type-representation.html
162
163
163
164
## License
Original file line number Diff line number Diff line change 2
2
MYSQL_HOSTS=" mysql80 mysql84"
3
3
4
4
for hostname in ${MYSQL_HOSTS} ; do
5
- echo $hostname + node 20
5
+ echo $hostname + node 22
6
6
docker run -it --network=powersync-mysql-zongji_default -e MYSQL_HOST=$hostname -w /build -v $PWD :/build node:20 npm test
7
7
done
Original file line number Diff line number Diff line change 36
36
],
37
37
"license" : " MIT" ,
38
38
"engines" : {
39
- "node" : " >=20 .0.0"
39
+ "node" : " >=22 .0.0"
40
40
},
41
41
"devDependencies" : {
42
- "@changesets/cli" : " ^2.27.3 " ,
43
- "prettier" : " ^2.8.8 " ,
42
+ "@changesets/cli" : " ^2.29.4 " ,
43
+ "prettier" : " ^3.5.3 " ,
44
44
"tap" : " ^21.0.1"
45
45
},
46
46
"dependencies" : {
47
- "big-integer" : " 1.6.51 " ,
47
+ "big-integer" : " 1.6.52 " ,
48
48
"iconv-lite" : " 0.6.3" ,
49
49
"@vlasky/mysql" : " ^2.18.6"
50
50
}
You can’t perform that action at this time.
0 commit comments