Commit Graph

11 Commits

Author SHA1 Message Date
Brandon Liu
3b61cc8b49 apply automated linting fixes (#331) 2024-01-29 16:04:41 +08:00
Brandon Liu
802f6aea4e run prettier on js/test; add prettier check to CI 2023-03-12 13:30:57 +08:00
Brandon Liu
61a5076dc5 add edge case find_tile test [#117] 2023-01-30 03:41:13 +08:00
Brandon Liu
b23c98dd39 javascript: fix tile id overflow for z > 15 and error assertions in tests. 2022-12-22 21:56:03 +08:00
Brandon Liu
b8a78a7f6a js: avoid use of BigInt operations for older safari browsers [#103] 2022-12-10 18:36:04 +08:00
Brandon Liu
47d35484fc port tests to node 18 test module; remove zora dep 2022-11-22 20:38:14 +08:00
Brandon Liu
6a1af0f4ca simplify cache LRU logic; use count and not size 2022-11-21 19:29:34 +08:00
Brandon Liu
302eeab47e js client: show error when future spec version is read 2022-11-01 17:02:49 +08:00
Brandon Liu
afcd31b511 Fail gracefully when ETag mismatch happens more than once.
* Some HTTP servers will return 206 Partial Content with an ETag for the contents, not the entire resource.
* This change allows the client to continue with mismatched ETags if this case is detected.
2022-10-27 15:32:59 +08:00
Brandon Liu
7526a4b8b6 fix tests for spec magic number/compression changes 2022-10-05 10:46:19 +08:00
Brandon Liu
41b53c2c12 js library has better organization 2022-10-04 23:40:38 +08:00