Skip to content

Commit ec6bfa4

Browse files
committed
Cleaned up defined types, and added descriptions
Bumped dependencies
1 parent 6feffcd commit ec6bfa4

File tree

5 files changed

+166
-182
lines changed

5 files changed

+166
-182
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ Neither method requires any arguments.
143143

144144
## Run Tests
145145

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.
148149

149150
## References
150151

@@ -157,7 +158,7 @@ The following resources provided valuable information that greatly assisted in c
157158
- https://kkaefer.com/node-cpp-modules/
158159
- https://dev.mysql.com/doc/internals/en/replication-protocol.html
159160
- 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)
161162
- https://dev.mysql.com/doc/internals/en/date-and-time-data-type-representation.html
162163

163164
## License

docker-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
MYSQL_HOSTS="mysql80 mysql84"
33

44
for hostname in ${MYSQL_HOSTS}; do
5-
echo $hostname + node 20
5+
echo $hostname + node 22
66
docker run -it --network=powersync-mysql-zongji_default -e MYSQL_HOST=$hostname -w /build -v $PWD:/build node:20 npm test
77
done

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@
3636
],
3737
"license": "MIT",
3838
"engines": {
39-
"node": ">=20.0.0"
39+
"node": ">=22.0.0"
4040
},
4141
"devDependencies": {
42-
"@changesets/cli": "^2.27.3",
43-
"prettier": "^2.8.8",
42+
"@changesets/cli": "^2.29.4",
43+
"prettier": "^3.5.3",
4444
"tap": "^21.0.1"
4545
},
4646
"dependencies": {
47-
"big-integer": "1.6.51",
47+
"big-integer": "1.6.52",
4848
"iconv-lite": "0.6.3",
4949
"@vlasky/mysql": "^2.18.6"
5050
}

0 commit comments

Comments
 (0)