52 Commits
Author SHA1 Message Date
Joshua WiseandGitHub 8f20ead317 Refactored codebase to use node-addon-api (#1498)
* refactored codebase to use node-addon-api and publish with prebuilt binaries

* upgraded to sqlite 3.53.3

* fixed typo

* fixed test for windows

* mitigated performace regression from NAPI refactor

* mitigated performace regression from NAPI refactor

* mitigated performace regression from NAPI refactor

* mitigated performace regression from NAPI refactor

* fixed performance regression to surpass node:sqlite

* improved array optimization for large arrays

* further improved performance

* removed dead code
2026-07-20 23:15:34 -05:00
Alexander PrinzhornandGitHub 3818e5966b Increase timeout test because of GitHub Action (#1351) 2025-04-18 20:56:45 -05:00
Matthew McEachenandGitHub 52572ca1f9 Relax allowed timeout (GHA on macOS is slow) (#1193)
relax allowed timeout (GHA is slow)
2024-05-30 15:06:09 -05:00
Joshua Wise a60ff19b2c updated test 2023-09-02 14:17:48 -05:00
Joshua Wise 57d99ad71d updated test 2023-09-02 14:15:33 -05:00
Joshua Wise 45f80aea0c updated test 2023-09-02 14:13:17 -05:00
Joshua Wise 9caac91897 updated test 2023-09-02 14:09:14 -05:00
Joshua Wise 31d1341b3d updated test 2023-09-02 14:07:05 -05:00
Joshua Wise 53ad8a1031 updated test 2023-09-02 14:04:53 -05:00
Joshua Wise 34a95b074b fixed test 2022-01-18 20:15:14 -06:00
Joshua Wise fa5bed9564 implemented "nativeBinding" database option 2022-01-18 17:45:57 -06:00
Joshua Wise 4aca8d4dae removed HAVE_USLEEP 2021-05-04 18:56:46 -05:00
Joshua Wise f612f484af made timing test even more lenient 2021-05-04 02:36:42 -05:00
Joshua Wise be46b38584 made timing test more lenient 2021-05-04 02:33:39 -05:00
Joshua Wise acfda67fd7 fixed database subclassing 2021-04-14 17:53:42 -05:00
Joshua Wise 99d5561906 made timing test more lenient 2021-03-30 16:48:40 -05:00
Joshua Wise a353d74f23 removed "memory" option when opening new databases 2020-04-22 18:56:14 -05:00
Joshua Thomas Wise 11a0c9d3aa ignore timeout test in windows CI 2019-08-05 11:48:59 -04:00
Joshua Thomas Wise 37283b8a18 fixed fd leaks during tests 2019-08-05 11:30:11 -04:00
Matthew McEachenandJoshua Wise aff0936044 Add windows continuous integration tests (#193)
* Add windows CI support:
* appveyor config
* fix afterEach failures by closing some DB leaks
* skip load-extension tests (at least for now)
* removed bash-specific `$(npm bin)` construct

* windows ci is slow, and fixed another db leak

* appveyor machines are slow

* fix db leak

* add node 12 to windows build matrix

* get tests passing on windows again

* prevent fd leak
2019-08-05 10:58:16 -04:00
Joshua Wise dd53ee0f98 Merge branch 'verbose' 2019-01-22 00:31:39 -05:00
Joshua Wise 13a13c59db Merge branch 'backups' 2019-01-22 00:16:03 -05:00
Joshua Wise e2d07120cb added tests for db.backup() 2019-01-22 00:14:00 -05:00
Joshua Wise b07a745826 added tests 2019-01-13 18:08:08 -05:00
Joshua Thomas Wise 239ef23be7 allow temporary databases and treat them like in-memory databases 2019-01-11 12:04:17 -05:00
Joshua Wise ceacf217b4 changed test order 2018-12-15 08:08:43 -05:00
Joshua Wise 96587f374a tweaked test slow setting 2018-10-09 10:52:56 -04:00
Joshua Wise dcec324e25 solidified AtExit expectations 2018-10-09 00:19:54 -04:00
Joshua Wise 515aac6f12 added test for "timeout" option 2018-10-08 23:29:38 -04:00
Joshua Wise b48dd00a3e improved tests 2018-09-30 18:45:12 -04:00
Joshua Wise 1cfc2c6037 fixed many tests 2018-09-26 18:56:53 -04:00
Joshua Wise 3957b0deba modernized testing cradle 2018-09-26 17:36:11 -04:00
Joshua Wise ff08beef1e added missing "use strict" declarations 2018-06-13 01:04:24 -04:00
Joshua Wise d683ea618b removed code duplication in tests 2018-01-20 05:20:44 -05:00
Joshua Wise bfff6e895b converted more files to es6 2018-01-20 04:26:06 -05:00
Joshua Wise 987fdd0e5a rewrote some code as es6 2018-01-20 02:08:19 -05:00
Joshua Wise ed69af45bc added fileMustExist option to database constructor 2017-08-24 18:08:01 -04:00
Joshua Thomas Wise e58a7cfbe3 added forwards compatibility for new error codes 2017-08-24 12:54:41 -04:00
Joshua Wise c23e359490 added Database#inTransaction 2017-06-11 23:53:27 -04:00
Joshua Wise c539043564 improved tests for .checkpoint() 2017-06-05 21:10:29 -04:00
Joshua Wise e8790bedcf reworked error throwing 2017-06-05 18:42:22 -04:00
Joshua Wise 3151683cb6 added tests for error codes 2017-05-26 21:45:25 -04:00
Joshua Wise c950ec2f0d changed readonly mode implementation 2017-05-26 18:04:27 -04:00
Joshua Wise 550fd8daf1 added readonly mode 2017-04-07 23:01:58 -04:00
Joshua Wise 0ee85eab75 updated tests and benchmarks for version 2 2016-10-26 21:11:28 -04:00
Joshua Wise edc3160a33 simplified .all and added tests for it 2016-09-17 20:02:18 -04:00
Joshua Wise 65008c3f4a improved tests 2016-09-17 13:13:39 -04:00
Joshua Wise 81931f55ae fixed tests 2016-09-09 16:15:36 -04:00
Joshua Wise 1ad0d1af1a fixed typo 2016-09-09 10:42:46 -04:00
Joshua Wise 80071bfbee added more tests 2016-09-08 17:33:11 -04:00