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

@louislam/sqlite3

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@louislam/sqlite3 - npm Package Compare versions

Comparing version 15.1.2 to 15.1.6

deps/sqlite-autoconf-3410100.tar.gz

24

lib/sqlite3.d.ts

@@ -83,12 +83,12 @@ // Type definitions for sqlite3

get(callback?: (err: Error | null, row?: any) => void): this;
get(params: any, callback?: (this: RunResult, err: Error | null, row?: any) => void): this;
get<T>(callback?: (err: Error | null, row?: T) => void): this;
get<T>(params: any, callback?: (this: RunResult, err: Error | null, row?: T) => void): this;
get(...params: any[]): this;
all(callback?: (err: Error | null, rows: any[]) => void): this;
all(params: any, callback?: (this: RunResult, err: Error | null, rows: any[]) => void): this;
all<T>(callback?: (err: Error | null, rows: T[]) => void): this;
all<T>(params: any, callback?: (this: RunResult, err: Error | null, rows: T[]) => void): this;
all(...params: any[]): this;
each(callback?: (err: Error | null, row: any) => void, complete?: (err: Error | null, count: number) => void): this;
each(params: any, callback?: (this: RunResult, err: Error | null, row: any) => void, complete?: (err: Error | null, count: number) => void): this;
each<T>(callback?: (err: Error | null, row: T) => void, complete?: (err: Error | null, count: number) => void): this;
each<T>(params: any, callback?: (this: RunResult, err: Error | null, row: T) => void, complete?: (err: Error | null, count: number) => void): this;
each(...params: any[]): this;

@@ -107,12 +107,12 @@ }

get(sql: string, callback?: (this: Statement, err: Error | null, row: any) => void): this;
get(sql: string, params: any, callback?: (this: Statement, err: Error | null, row: any) => void): this;
get<T>(sql: string, callback?: (this: Statement, err: Error | null, row: T) => void): this;
get<T>(sql: string, params: any, callback?: (this: Statement, err: Error | null, row: T) => void): this;
get(sql: string, ...params: any[]): this;
all(sql: string, callback?: (this: Statement, err: Error | null, rows: any[]) => void): this;
all(sql: string, params: any, callback?: (this: Statement, err: Error | null, rows: any[]) => void): this;
all<T>(sql: string, callback?: (this: Statement, err: Error | null, rows: T[]) => void): this;
all<T>(sql: string, params: any, callback?: (this: Statement, err: Error | null, rows: T[]) => void): this;
all(sql: string, ...params: any[]): this;
each(sql: string, callback?: (this: Statement, err: Error | null, row: any) => void, complete?: (err: Error | null, count: number) => void): this;
each(sql: string, params: any, callback?: (this: Statement, err: Error | null, row: any) => void, complete?: (err: Error | null, count: number) => void): this;
each<T>(sql: string, callback?: (this: Statement, err: Error | null, row: T) => void, complete?: (err: Error | null, count: number) => void): this;
each<T>(sql: string, params: any, callback?: (this: Statement, err: Error | null, row: T) => void, complete?: (err: Error | null, count: number) => void): this;
each(sql: string, ...params: any[]): this;

@@ -119,0 +119,0 @@

{
"name": "@louislam/sqlite3",
"description": "Asynchronous, non-blocking SQLite3 bindings",
"version": "15.1.2",
"homepage": "https://github.com/louislam/node-sqlite3",
"version": "15.1.6",
"homepage": "https://github.com/TryGhost/node-sqlite3",
"author": {

@@ -60,3 +60,3 @@ "name": "Mapbox",

"peerDependencies": {
"node-gyp": "7.x"
"node-gyp": "8.x"
},

@@ -69,3 +69,3 @@ "peerDependenciesMeta": {

"optionalDependencies": {
"node-gyp": "^7.1.2"
"node-gyp": "8.x"
},

@@ -72,0 +72,0 @@ "scripts": {

@@ -1,12 +0,14 @@

# Fork of node-sqlite3 with many pre-built supports
# node-sqlite3 with CentOS 7 support
Mainly used for my another project - [Uptime Kuma](https://github.com/louislam/uptime-kuma)
## (2022-10-15) Update
## What is the different between TryGhost/node-sqlite3?
The official build supports arm pre-built now, but it is not supported CentOS 7, so I keep using my own build.
The official one is dropped the support for CentOS 7, but my fork supports CentOS 7.
- Support CentOS 7 (As of 5.1.2, official one do not support it)
If you want to build a Node.js application which can be installed on many Linux distributions like Uptime Kuma, this library should be useful.
If your application will be just designed for new Linux distributions, you probably do not need it, just use the official one.
PS: No electron supports

@@ -23,6 +25,12 @@

## Prepare Prebuilt
## Documentation
### glibc & musl
https://github.com/TryGhost/node-sqlite3
## (For Maintainers/Developers Only)
###Prepare Prebuilt
#### glibc & musl
```bash

@@ -32,3 +40,3 @@ npm run build-binaries

All files in ./build after built.
All files in ./build after built. Total 9 files.

@@ -42,10 +50,8 @@ glibc

### Windows / MacOS
#### Windows / MacOS
- Get from Github Action
### Mac ARM64 (M1/M2)
#### Mac ARM64 (M1/M2)
- Get from TryGhost/node-sqlite3
- Rename to `napi-v6-darwin-arm64-unknown.tar.gz`
- Use 7zip to rename the folder inside to `napi-v6-darwin-arm64`
Total: 9 files

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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