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.17 to 0.3.18

10

index.js

@@ -319,7 +319,15 @@ "use strict";

const iter = {
nextRows: Array(100),
nextRowIndex: 100,
next() {
const row = rowsNext.call(rows);
if (this.nextRowIndex === 100) {
rowsNext.call(rows, this.nextRows);
this.nextRowIndex = 0;
}
const row = this.nextRows[this.nextRowIndex];
this.nextRows[this.nextRowIndex] = undefined;
if (!row) {
return { done: true };
}
this.nextRowIndex++;
return { value: row, done: false };

@@ -326,0 +334,0 @@ },

16

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

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

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

@@ -321,7 +321,16 @@ "use strict";

const iter = {
nextRows: Array(100),
nextRowIndex: 100,
next() {
const row = rowsNext.call(rows);
if (this.nextRowIndex === 100) {
this.nextRows.fill(null);
rowsNext.call(rows, this.nextRows);
this.nextRowIndex = 0;
}
const row = this.nextRows[this.nextRowIndex];
this.nextRows[this.nextRowIndex] = null;
if (!row) {
return { done: true };
}
this.nextRowIndex++;
return { value: row, done: false };

@@ -328,0 +337,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