diff --git a/README.md b/README.md index 5c6b83f2..d4def7eb 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Asynchronous, non-blocking [SQLite3](https://sqlite.org/) bindings for [Node.js] # Features - - Bundles SQLite v3.53.1, or you can build using a local SQLite (or SqlCipher,...) + - Bundles SQLite v3.53.2, or you can build using a local SQLite (or SqlCipher,...) - Straightforward query and parameter binding interface - Full Buffer/Blob support - Extensive debugging support via [verbose mode](docs/API.md#verbose-mode) diff --git a/deps/common-sqlite.gypi b/deps/common-sqlite.gypi index 621abf1f..1b9ef762 100644 --- a/deps/common-sqlite.gypi +++ b/deps/common-sqlite.gypi @@ -1,6 +1,6 @@ { 'variables': { - 'sqlite_version%':'3530100', + 'sqlite_version%':'3530200', "toolset%":'', }, 'target_defaults': { diff --git a/deps/sqlite-amalgamation-3530100.zip b/deps/sqlite-amalgamation-3530100.zip deleted file mode 100644 index 1da68a20..00000000 Binary files a/deps/sqlite-amalgamation-3530100.zip and /dev/null differ diff --git a/deps/sqlite-amalgamation-3530200.zip b/deps/sqlite-amalgamation-3530200.zip new file mode 100644 index 00000000..dd7fbcc2 Binary files /dev/null and b/deps/sqlite-amalgamation-3530200.zip differ diff --git a/package.json b/package.json index ec736bb9..9d131765 100644 --- a/package.json +++ b/package.json @@ -40,17 +40,17 @@ "url": "https://github.com/gms1/node-sqlite3.git" }, "dependencies": { - "node-addon-api": "^8.7.0", + "node-addon-api": "^8.8.0", "node-gyp-build": "^4.8.4" }, "devDependencies": { "@eslint/js": "^10.0.1", - "eslint": "^10.3.0", + "eslint": "^10.4.1", "globals": "^17.6.0", - "mocha": "11.7.5", + "mocha": "11.7.6", "nyc": "^18.0.0", "prebuildify": "^6.0.1", - "tinybench": "^6.0.1" + "tinybench": "^6.0.2" }, "peerDependencies": { "node-gyp": "12.x" diff --git a/tools/benchmark-drivers/package.json b/tools/benchmark-drivers/package.json index 687c59e2..fa9ae382 100644 --- a/tools/benchmark-drivers/package.json +++ b/tools/benchmark-drivers/package.json @@ -9,10 +9,10 @@ "license": "ISC", "description": "", "dependencies": { - "@homeofthings/sqlite3": "^6.3.1", - "better-sqlite3": "^12.8.0", + "@homeofthings/sqlite3": "^7.0.2", + "better-sqlite3": "^12.10.0", "cli-color": "^2.0.4", - "fs-extra": "^11.3.4", - "tinybench": "^4.0.1" + "fs-extra": "^11.3.5", + "tinybench": "^6.0.2" } } diff --git a/tools/benchmark-drivers/yarn.lock b/tools/benchmark-drivers/yarn.lock index 5065a83f..85055027 100644 --- a/tools/benchmark-drivers/yarn.lock +++ b/tools/benchmark-drivers/yarn.lock @@ -7,15 +7,13 @@ resolved "https://registry.npmjs.org/@gar/promise-retry/-/promise-retry-1.0.3.tgz" integrity sha512-GmzA9ckNokPypTg10pgpeHNQe7ph+iIKKmhKu3Ob9ANkswreCx7R3cKmY781K8QK3AqVL3xVh9A42JvIAbkkSA== -"@homeofthings/sqlite3@^6.3.1": - version "6.3.1" - resolved "https://registry.npmjs.org/@homeofthings/sqlite3/-/sqlite3-6.3.1.tgz" - integrity sha512-d+RqnFap9bfW64EXfcT7L7wB56DZuTL6z6DtBGVAuZc+Nr7LtH0R/qcjimsFoshEuMbtpHhlV/cx8wOBSEGtNw== +"@homeofthings/sqlite3@^7.0.2": + version "7.0.2" + resolved "https://registry.yarnpkg.com/@homeofthings/sqlite3/-/sqlite3-7.0.2.tgz#5f972986482d1fa929511002d4ac2039b7532d5d" + integrity sha512-/LyHPOb6UYsH9oNXbQL1Jiy+RXevxd3PhXZjxCugjiNDWMNEWelddcB4Nw61HUx5dsSqj2wCYbQIUFFIPojd6g== dependencies: - bindings "^1.5.0" node-addon-api "^8.7.0" - prebuild-install "^7.1.3" - tar "^7.5.13" + node-gyp-build "^4.8.4" optionalDependencies: node-gyp "12.x" @@ -69,10 +67,10 @@ base64-js@^1.3.1: resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -better-sqlite3@^12.8.0: - version "12.8.0" - resolved "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-12.8.0.tgz" - integrity sha512-RxD2Vd96sQDjQr20kdP+F+dK/1OUNiVOl200vKBZY8u0vTwysfolF6Hq+3ZK2+h8My9YvZhHsF+RSGZW2VYrPQ== +better-sqlite3@^12.10.0: + version "12.10.0" + resolved "https://registry.yarnpkg.com/better-sqlite3/-/better-sqlite3-12.10.0.tgz#bde622d14a18008583a53bc53501ae98f1a12221" + integrity sha512-CyzaZRQKyHkB2ZInfTTl2nvT33EbDpjkLEbE8/Zck3Ll6O0qqvuGdrJ45HgtH+HykRg88ITY3AdreBGN70aBSQ== dependencies: bindings "^1.5.0" prebuild-install "^7.1.1" @@ -276,10 +274,10 @@ fs-constants@^1.0.0: resolved "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@^11.3.4: - version "11.3.4" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.4.tgz" - integrity sha512-CTXd6rk/M3/ULNQj8FBqBWHYBVYybQ3VPBw0xGKFe3tuH7ytT6ACnvzpIQ3UZtB8yvUKC2cXn1a+x+5EVQLovA== +fs-extra@^11.3.5: + version "11.3.5" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.5.tgz#07a44eff40bea53e719909a532f91a23bf0769ff" + integrity sha512-eKpRKAovdpZtR1WopLHxlBWvAgPny3c4gX1G5Jhwmmw4XJj0ifSD5qB5TOo8hmA0wlRKDAOAhEE1yVPgs6Fgcg== dependencies: graceful-fs "^4.2.0" jsonfile "^6.0.1" @@ -534,6 +532,11 @@ node-addon-api@^8.7.0: resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.7.0.tgz" integrity sha512-9MdFxmkKaOYVTV+XVRG8ArDwwQ77XIgIPyKASB1k3JPq3M8fGQQQE3YpMOrKm6g//Ktx8ivZr8xo1Qmtqub+GA== +node-gyp-build@^4.8.4: + version "4.8.4" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.4.tgz#8a70ee85464ae52327772a90d66c6077a900cfc8" + integrity sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ== + node-gyp@12.x: version "12.2.0" resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-12.2.0.tgz" @@ -582,7 +585,7 @@ picomatch@^4.0.4: resolved "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz" integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== -prebuild-install@^7.1.1, prebuild-install@^7.1.3: +prebuild-install@^7.1.1: version "7.1.3" resolved "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz" integrity sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug== @@ -723,7 +726,7 @@ tar-stream@^2.1.4: inherits "^2.0.3" readable-stream "^3.1.1" -tar@^7.5.13, tar@^7.5.4: +tar@^7.5.4: version "7.5.13" resolved "https://registry.npmjs.org/tar/-/tar-7.5.13.tgz" integrity sha512-tOG/7GyXpFevhXVh8jOPJrmtRpOTsYqUIkVdVooZYJS/z8WhfQUX8RJILmeuJNinGAMSu1veBr4asSHFt5/hng== @@ -742,10 +745,10 @@ timers-ext@^0.1.7: es5-ext "^0.10.64" next-tick "^1.1.0" -tinybench@^4.0.1: - version "4.1.0" - resolved "https://registry.npmjs.org/tinybench/-/tinybench-4.1.0.tgz" - integrity sha512-8JZoQRJgWWEIIeAmpiNmMHIREmUY3oGX8GRmlmNapLr/qtgMe+K76vM2qabh85hNScnE2lqTVTajVETjuD9Ixg== +tinybench@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-6.0.2.tgz#77bcb1f11df0c220ec1ce0b6ced0ce7aa2757661" + integrity sha512-FlHoQpcFvCzeXK5kVPvV7IVgW/hs/B36QWTz876iSdeJguBDfdTSRQmYmaHX+fQNt4hp+gEFB2XXw+8hT4/y8A== tinyglobby@^0.2.12: version "0.2.16" diff --git a/yarn.lock b/yarn.lock index 861a0d4e..72f558f6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -162,10 +162,10 @@ debug "^4.3.1" minimatch "^10.2.4" -"@eslint/config-helpers@^0.5.5": - version "0.5.5" - resolved "https://registry.yarnpkg.com/@eslint/config-helpers/-/config-helpers-0.5.5.tgz#ae16134e4792ac5fbdc533548a24ac1ea9f7f3ae" - integrity sha512-eIJYKTCECbP/nsKaaruF6LW967mtbQbsw4JTtSVkUQc9MneSkbrgPJAbKl9nWr0ZeowV8BfsarBmPpBzGelA2w== +"@eslint/config-helpers@^0.6.0": + version "0.6.0" + resolved "https://registry.yarnpkg.com/@eslint/config-helpers/-/config-helpers-0.6.0.tgz#ef9a36881d39dfd5dbeac22b0da997fabfb08b03" + integrity sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA== dependencies: "@eslint/core" "^1.2.1" @@ -186,10 +186,10 @@ resolved "https://registry.yarnpkg.com/@eslint/object-schema/-/object-schema-3.0.5.tgz#88e9bf4d11d2b19c082e78ebe7ce88724a5eb091" integrity sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw== -"@eslint/plugin-kit@^0.7.1": - version "0.7.1" - resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.7.1.tgz#c4125fd015eceeb09b793109fdbcd4dd0a02d346" - integrity sha512-rZAP3aVgB9ds9KOeUSL+zZ21hPmo8dh6fnIFwRQj5EAZl9gzR7wxYbYXYysAM8CTqGmUGyp2S4kUdV17MnGuWQ== +"@eslint/plugin-kit@^0.7.2": + version "0.7.2" + resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz#4b0962f3f2c7ce8bc98b3ecfe34525c09d2cb729" + integrity sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A== dependencies: "@eslint/core" "^1.2.1" levn "^0.4.1" @@ -711,17 +711,17 @@ eslint-visitor-keys@^5.0.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz#9e3c9489697824d2d4ce3a8ad12628f91e9f59be" integrity sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA== -eslint@^10.3.0: - version "10.3.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-10.3.0.tgz#ed5b810eb8e0191bf24bddcf9cdb45b974e0a16d" - integrity sha512-XbEXaRva5cF0ZQB8w6MluHA0kZZfV2DuCMJ3ozyEOHLwDpZX2Lmm/7Pp0xdJmI0GL1W05VH5VwIFHEm1Vcw2gw== +eslint@^10.4.1: + version "10.4.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-10.4.1.tgz#f6640b176e0912246d9ddbf8fcfa5e8b7f02445a" + integrity sha512-AyIKhnOBuOAdueD7RB3xB+YeAWScb9jHsJBgH2Hcde8InP5JYhqrRR6iTMHyTEwgENK54Cp44e4v8BwNhsuHuw== dependencies: "@eslint-community/eslint-utils" "^4.8.0" "@eslint-community/regexpp" "^4.12.2" "@eslint/config-array" "^0.23.5" - "@eslint/config-helpers" "^0.5.5" + "@eslint/config-helpers" "^0.6.0" "@eslint/core" "^1.2.1" - "@eslint/plugin-kit" "^0.7.1" + "@eslint/plugin-kit" "^0.7.2" "@humanfs/node" "^0.16.6" "@humanwhocodes/module-importer" "^1.0.1" "@humanwhocodes/retry" "^0.4.2" @@ -1372,10 +1372,10 @@ mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3: resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== -mocha@11.7.5: - version "11.7.5" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-11.7.5.tgz#58f5bbfa5e0211ce7e5ee6128107cefc2515a627" - integrity sha512-mTT6RgopEYABzXWFx+GcJ+ZQ32kp4fMf0xvpZIIfSq9Z8lC/++MtcCnQ9t5FP2veYEP95FIYSvW+U9fV4xrlig== +mocha@11.7.6: + version "11.7.6" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-11.7.6.tgz#ebbe22989d04cbb9424a36307320476624c41a33" + integrity sha512-nS9xOGbw2I3cjCpxwZAEJ9xK9lmJ08vEkQvLtz4du9ZrF9UrjRpeJGiIgl2Z+Qs++pmB4ecDe48Fwsh+j+j7xA== dependencies: browser-stdout "^1.3.1" chokidar "^4.0.1" @@ -1421,10 +1421,10 @@ node-abi@^3.3.0: dependencies: semver "^7.3.5" -node-addon-api@^8.7.0: - version "8.7.0" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-8.7.0.tgz#f64f8413456ecbe900221305a3f883c37666473f" - integrity sha512-9MdFxmkKaOYVTV+XVRG8ArDwwQ77XIgIPyKASB1k3JPq3M8fGQQQE3YpMOrKm6g//Ktx8ivZr8xo1Qmtqub+GA== +node-addon-api@^8.8.0: + version "8.8.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-8.8.0.tgz#b742be05007b37ebc1741bbaf370d22bf25d208a" + integrity sha512-c5Ko1fZJIJmzhFIkhRN76WTq+fC6tWnGy9CXA0fA+XygsWZmEwG8vmbkNqxMyoaa0Tin4djul49NzdVcJJcjeA== node-gyp-build@^4.8.4: version "4.8.4" @@ -1947,10 +1947,10 @@ test-exclude@^8.0.0: glob "^13.0.6" minimatch "^10.2.2" -tinybench@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-6.0.1.tgz#e15a4797a985a54b48d306497bb4aa9d20a534d6" - integrity sha512-cMdWsxmysdg8mNWf1pujiWl3TW0cU6m8QuNw55QlnP3I6N96Grb0wnu5N0syHIu3LbiVZCNqlfWzWDq84HZphA== +tinybench@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-6.0.2.tgz#77bcb1f11df0c220ec1ce0b6ced0ce7aa2757661" + integrity sha512-FlHoQpcFvCzeXK5kVPvV7IVgW/hs/B36QWTz876iSdeJguBDfdTSRQmYmaHX+fQNt4hp+gEFB2XXw+8hT4/y8A== tinyglobby@^0.2.12: version "0.2.15"