New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

libsql

Package Overview
Dependencies
Maintainers
1
Versions
84
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.12 to 0.3.13

7

index.js

@@ -139,3 +139,8 @@ "use strict";

pragma(source, options) {
throw new Error("not implemented");
if (options == null) options = {};
if (typeof source !== 'string') throw new TypeError('Expected first argument to be a string');
if (typeof options !== 'object') throw new TypeError('Expected second argument to be an options object');
const simple = options['simple'];
const stmt = this.prepare(`PRAGMA ${source}`, this, true);
return simple ? stmt.pluck().get() : stmt.all();
}

@@ -142,0 +147,0 @@

16

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

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

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

@@ -142,3 +142,9 @@ "use strict";

pragma(source, options) {
throw new Error("not implemented");
if (options == null) options = {};
if (typeof source !== 'string') throw new TypeError('Expected first argument to be a string');
if (typeof options !== 'object') throw new TypeError('Expected second argument to be an options object');
const simple = options['simple'];
return this.prepare(`PRAGMA ${source}`, this, true).then(async (stmt) => {
return simple ? await stmt.pluck().get() : await stmt.all();
});
}

@@ -145,0 +151,0 @@

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