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.3.4 to 0.3.5

5

index.js

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

rowsNext,
} = load(__dirname) || require(`@libsql/${target}`);
} = require(`@libsql/${target}`);

@@ -68,3 +68,4 @@ const SqliteError = require("./sqlite-error");

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

@@ -71,0 +72,0 @@ const authToken = opts?.authToken ?? "";

18

package.json
{
"name": "libsql",
"version": "0.3.4",
"description": "",
"version": "0.3.5",
"description": "A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node",
"os": [

@@ -69,10 +69,10 @@ "darwin",

"optionalDependencies": {
"@libsql/darwin-arm64": "0.3.4",
"@libsql/linux-arm64-gnu": "0.3.4",
"@libsql/linux-arm64-musl": "0.3.4",
"@libsql/darwin-x64": "0.3.4",
"@libsql/win32-x64-msvc": "0.3.4",
"@libsql/linux-x64-gnu": "0.3.4",
"@libsql/linux-x64-musl": "0.3.4"
"@libsql/darwin-arm64": "0.3.5",
"@libsql/linux-arm64-gnu": "0.3.5",
"@libsql/linux-arm64-musl": "0.3.5",
"@libsql/darwin-x64": "0.3.5",
"@libsql/win32-x64-msvc": "0.3.5",
"@libsql/linux-x64-gnu": "0.3.5",
"@libsql/linux-x64-musl": "0.3.5"
}
}

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

rowsNext,
} = load(__dirname) || require(`@libsql/${currentTarget()}`);
} = require(`@libsql/${currentTarget()}`);

@@ -32,0 +32,0 @@ /**

@@ -8,3 +8,3 @@ # libSQL API for JavaScript/TypeScript

**Please note you are currently encouraged to use the [libSQL SDK](https://github.com/libsql/libsql-client-ts) as it is more mature at this point and also supports serverless applications that only can use `fetch()`.**
*Please note that if there is also the [libSQL SDK](https://github.com/libsql/libsql-client-ts), which is useful if you don't need `better-sqlite3` compatibility or use libSQL in environments like serverless functions that require `fetch()`-based database access protocol.*

@@ -11,0 +11,0 @@ ## Features

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