Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

libsql

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libsql - npm Package Compare versions

Comparing version 0.4.0-pre.10 to 0.4.0

5

index.js

@@ -76,3 +76,4 @@ "use strict";

const syncPeriod = opts?.syncPeriod ?? 0.0;
this.db = databaseOpenWithRpcSync(path, opts.syncUrl, authToken, encryptionCipher, encryptionKey, syncPeriod);
const readYourWrites = opts?.readYourWrites ?? true;
this.db = databaseOpenWithRpcSync(path, opts.syncUrl, authToken, encryptionCipher, encryptionKey, syncPeriod, readYourWrites);
} else {

@@ -100,3 +101,3 @@ const authToken = opts?.authToken ?? "";

sync() {
databaseSyncSync.call(this.db);
return databaseSyncSync.call(this.db);
}

@@ -103,0 +104,0 @@

18

package.json
{
"name": "libsql",
"version": "0.4.0-pre.10",
"version": "0.4.0",
"description": "A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node",

@@ -73,13 +73,13 @@ "os": [

"detect-libc": "2.0.2",
"libsql": "^0.3.15"
"libsql": "^0.3.19"
},
"optionalDependencies": {
"@libsql/darwin-arm64": "0.4.0-pre.10",
"@libsql/darwin-x64": "0.4.0-pre.10",
"@libsql/linux-arm64-gnu": "0.4.0-pre.10",
"@libsql/linux-arm64-musl": "0.4.0-pre.10",
"@libsql/linux-x64-gnu": "0.4.0-pre.10",
"@libsql/linux-x64-musl": "0.4.0-pre.10",
"@libsql/win32-x64-msvc": "0.4.0-pre.10"
"@libsql/darwin-arm64": "0.4.0",
"@libsql/darwin-x64": "0.4.0",
"@libsql/linux-arm64-gnu": "0.4.0",
"@libsql/linux-arm64-musl": "0.4.0",
"@libsql/linux-x64-gnu": "0.4.0",
"@libsql/linux-x64-musl": "0.4.0",
"@libsql/win32-x64-msvc": "0.4.0"
}
}

@@ -103,3 +103,3 @@ "use strict";

sync() {
databaseSyncAsync.call(this.db);
return databaseSyncAsync.call(this.db);
}

@@ -106,0 +106,0 @@

@@ -18,3 +18,3 @@ export = Database;

open: boolean;
sync(): void;
sync(): any;
/**

@@ -21,0 +21,0 @@ * Prepares a SQL statement for execution.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc