Socket
Socket
Sign inDemoInstall

better-sqlite3

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-sqlite3 - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

test/23.statement.each.js

3

index.js

@@ -12,2 +12,5 @@ 'use strict';

Int64.prototype.equals = function equals(other) {
if (typeof other === 'string') {
return this.toString() === other;
}
if (!(other instanceof Int64)) {

@@ -14,0 +17,0 @@ return +this == other;

2

package.json
{
"name": "better-sqlite3",
"version": "1.1.3",
"version": "1.2.0",
"description": "The fastest and simplest library for SQLite3 in Node.js.",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/JoshuaWise/better-sqlite3",

@@ -18,3 +18,3 @@ 'use strict';

});
it('should return the first matching row', function () {
it('should return an array of every matching row', function () {
db.prepare("INSERT INTO entries WITH RECURSIVE temp(a, b, c, d, e) AS (SELECT 'foo', 1, 3.14, x'dddddddd', NULL UNION ALL SELECT a, b + 1, c, d, e FROM temp LIMIT 10) SELECT * FROM temp").run();

@@ -21,0 +21,0 @@ var row = {a: 'foo', b: 1, c: 3.14, d: Buffer.alloc(4).fill(0xdd), e: null};

Sorry, the diff of this file is not supported yet

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