@signalapp/better-sqlite3
Advanced tools
Comparing version 8.8.5 to 9.0.0
@@ -91,3 +91,2 @@ // Type definitions for better-sqlite3 7.6 | ||
aggregate(name: string, options: Database.AggregateOptions): this; | ||
loadExtension(path: string, entryPoint?: string): this; | ||
close(): this; | ||
@@ -98,3 +97,2 @@ defaultSafeIntegers(toggleState?: boolean): this; | ||
unsafeMode(unsafe?: boolean): this; | ||
serialize(options?: Database.SerializeOptions): Buffer; | ||
createFTS5Tokenizer(name: string, tokenizer: FTS5TokenizerConstructor): void; | ||
@@ -101,0 +99,0 @@ signalTokenize(value: string): Array<string>; |
@@ -83,3 +83,2 @@ 'use strict'; | ||
Database.prototype.backup = require('./methods/backup'); | ||
Database.prototype.serialize = require('./methods/serialize'); | ||
Database.prototype.function = require('./methods/function'); | ||
@@ -89,3 +88,2 @@ Database.prototype.aggregate = require('./methods/aggregate'); | ||
Database.prototype.createFTS5Tokenizer = require('./methods/createFTS5Tokenizer'); | ||
Database.prototype.loadExtension = wrappers.loadExtension; | ||
Database.prototype.exec = wrappers.exec; | ||
@@ -92,0 +90,0 @@ Database.prototype.close = wrappers.close; |
@@ -18,7 +18,2 @@ 'use strict'; | ||
exports.loadExtension = function loadExtension(...args) { | ||
this[cppdb].loadExtension(...args); | ||
return this; | ||
}; | ||
exports.defaultSafeIntegers = function defaultSafeIntegers(...args) { | ||
@@ -25,0 +20,0 @@ this[cppdb].defaultSafeIntegers(...args); |
{ | ||
"name": "@signalapp/better-sqlite3", | ||
"version": "8.8.5", | ||
"version": "9.0.0", | ||
"description": "The fastest and simplest library for SQLite3 in Node.js.", | ||
@@ -37,11 +37,9 @@ "homepage": "http://github.com/WiseLibs/better-sqlite3", | ||
"scripts": { | ||
"format": "xcrun clang-format --style=chromium -Werror --verbose -i src/*.cpp src/*.hpp", | ||
"install": "npm run download && npm run build-release", | ||
"build-release": "node-gyp rebuild --release", | ||
"build-debug": "node-gyp rebuild --debug", | ||
"rebuild-release": "npm run lzz && npm run build-release", | ||
"rebuild-debug": "npm run lzz && npm run build-debug", | ||
"test": "mocha --exit --slow=75 --timeout=5000", | ||
"benchmark": "node benchmark", | ||
"download": "node ./deps/download.js", | ||
"lzz": "lzz -hx hpp -sx cpp -k BETTER_SQLITE3 -d -hl -sl -e ./src/better_sqlite3.lzz" | ||
"download": "node ./deps/download.js" | ||
}, | ||
@@ -48,0 +46,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
185723
27
794