Skip to content

Commit 7f4d920

Browse files
committed
forked TryGhost/node-sqlite3 branch master to gms1/node-sqlite3 branch main
1 parent 4cd320b commit 7f4d920

7 files changed

Lines changed: 20 additions & 26 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ General guidelines for contributing to node-sqlite3
44

55
## Install Help
66

7-
If you've landed here due to a failed install of `node-sqlite3` then feel free to create a [new issue](https://github.com/tryghost/node-sqlite3/issues/new) to ask for help. The most likely problem is that we do not yet provide pre-built binaries for your particular platform and so the `node-sqlite3` install attempted a source compile but failed because you are missing the [dependencies for node-gyp](https://github.com/nodejs/node-gyp#installation). Provide as much detail on your problem as possible and we'll try to help. Include:
7+
If you've landed here due to a failed install of `node-sqlite3` then feel free to create a [new issue](https://github.com/gms1/node-sqlite3/issues/new) to ask for help. The most likely problem is that we do not yet provide pre-built binaries for your particular platform and so the `node-sqlite3` install attempted a source compile but failed because you are missing the [dependencies for node-gyp](https://github.com/nodejs/node-gyp#installation). Provide as much detail on your problem as possible and we'll try to help. Include:
88

99
- Logs of failed install (preferably from running `npm install sqlite3 --loglevel=info`)
1010
- Version of `node-sqlite3` you tried to install
1111
- Node version you are running
1212
- Operating system and architecture you are running, e.g. `Windows 7 64 bit`.
1313

14-
The release process is documented in the wiki: https://github.com/TryGhost/node-sqlite3/wiki/Release-process

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: 📖 API documentation
4-
url: https://github.com/TryGhost/node-sqlite3/wiki/API
4+
url: https://github.com/gms1/node-sqlite3/wiki/API
55
about: Documentation for the `node-sqlite3` API

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- master
7+
- main
88
tags:
99
- '*'
1010
env:

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# :no_entry: [DEPRECATED] node-sqlite3
1+
# :no_entry: node-sqlite3
22

3-
**Note:** This repository is currently unmaintained. We will not update any of its issues or pull requests.
3+
**Note:** This repository is forked from [TryGhost/node-sqlite3](https://github.com/TryGhost/node-sqlite3) which was marked as deprecated/unmaintained.
44

55
---
66
Asynchronous, non-blocking [SQLite3](https://sqlite.org/) bindings for [Node.js](http://nodejs.org/).
77

8-
[![Latest release](https://img.shields.io/github/release/TryGhost/node-sqlite3.svg)](https://www.npmjs.com/package/sqlite3)
9-
![Build Status](https://github.com/TryGhost/node-sqlite3/workflows/CI/badge.svg?branch=master)
8+
[![Latest release](https://img.shields.io/github/release/gms1/node-sqlite3.svg)](https://www.npmjs.com/package/sqlite3)
9+
![Build Status](https://github.com/gms1/node-sqlite3/workflows/CI/badge.svg?branch=ma)
1010
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Fnode-sqlite3.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Fnode-sqlite3?ref=badge_shield)
1111
[![N-API v3 Badge](https://img.shields.io/badge/N--API-v3-green.svg)](https://nodejs.org/dist/latest/docs/api/n-api.html#n_api_n_api)
1212
[![N-API v6 Badge](https://img.shields.io/badge/N--API-v6-green.svg)](https://nodejs.org/dist/latest/docs/api/n-api.html#n_api_n_api)
@@ -15,9 +15,9 @@ Asynchronous, non-blocking [SQLite3](https://sqlite.org/) bindings for [Node.js]
1515

1616
- Straightforward query and parameter binding interface
1717
- Full Buffer/Blob support
18-
- Extensive [debugging support](https://github.com/tryghost/node-sqlite3/wiki/Debugging)
19-
- [Query serialization](https://github.com/tryghost/node-sqlite3/wiki/Control-Flow) API
20-
- [Extension support](https://github.com/TryGhost/node-sqlite3/wiki/API#databaseloadextensionpath-callback), including bundled support for the [json1 extension](https://www.sqlite.org/json1.html)
18+
- Extensive [debugging support](https://github.com/gms1/node-sqlite3/wiki/Debugging)
19+
- [Query serialization](https://github.com/gms1/node-sqlite3/wiki/Control-Flow) API
20+
- [Extension support](https://github.com/gms1/node-sqlite3/wiki/API#databaseloadextensionpath-callback), including bundled support for the [json1 extension](https://www.sqlite.org/json1.html)
2121
- Big test suite
2222
- Written in modern C++ and tested for memory leaks
2323
- Bundles SQLite v3.52.0, or you can build using a local SQLite
@@ -32,7 +32,7 @@ npm install sqlite3
3232
# or
3333
yarn add sqlite3
3434
```
35-
* GitHub's `master` branch: `npm install https://github.com/tryghost/node-sqlite3/tarball/master`
35+
* GitHub's `main` branch: `npm install https://github.com/gms1/node-sqlite3/tarball/main`
3636

3737
### Prebuilt binaries
3838

@@ -64,7 +64,7 @@ SQLite's [SQLCipher extension](https://github.com/sqlcipher/sqlcipher) is also
6464

6565
# API
6666

67-
See the [API documentation](https://github.com/TryGhost/node-sqlite3/wiki/API) in the wiki.
67+
See the [API documentation](https://github.com/gms1/node-sqlite3/wiki/API) in the wiki.
6868

6969
# Usage
7070

@@ -242,12 +242,12 @@ This module was originally created by [Mapbox](https://mapbox.com/) & is now mai
242242

243243
# Changelog
244244

245-
We use [GitHub releases](https://github.com/TryGhost/node-sqlite3/releases) for notes on the latest versions. See [CHANGELOG.md](https://github.com/TryGhost/node-sqlite3/blob/b05f4594cf8b0de64743561fcd2cfe6f4571754d/CHANGELOG.md) in git history for details on older versions.
245+
We use [GitHub releases](https://github.com/gms1/node-sqlite3/releases) for notes on the latest versions. See [CHANGELOG.md](https://github.com/gms1/node-sqlite3/blob/b05f4594cf8b0de64743561fcd2cfe6f4571754d/CHANGELOG.md) in git history for details on older versions.
246246

247247
# Copyright & license
248248

249249
Copyright (c) 2013-2026 Mapbox & Ghost Foundation
250250

251-
`node-sqlite3` is [BSD licensed](https://github.com/tryghost/node-sqlite3/raw/master/LICENSE).
251+
`node-sqlite3` is [BSD licensed](https://github.com/gms1/node-sqlite3/raw/main/LICENSE).
252252

253253
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Fnode-sqlite3.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Fnode-sqlite3?ref=badge_large)

lib/sqlite3.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Type definitions for sqlite3
2-
// Project: http://github.com/tryghost/node-sqlite3
2+
// Project: http://github.com/gms1/node-sqlite3
33

44
/// <reference types="node" />
55

@@ -202,4 +202,4 @@ export interface sqlite3 {
202202
Statement: typeof Statement;
203203
Database: typeof Database;
204204
verbose(): this;
205-
}
205+
}

package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "sqlite3",
33
"description": "Asynchronous, non-blocking SQLite3 bindings",
44
"version": "6.0.1",
5-
"homepage": "https://github.com/TryGhost/node-sqlite3",
5+
"homepage": "https://github.com/gms1/node-sqlite3",
66
"author": {
77
"name": "Mapbox",
88
"url": "https://mapbox.com/"
@@ -41,7 +41,7 @@
4141
],
4242
"repository": {
4343
"type": "git",
44-
"url": "https://github.com/TryGhost/node-sqlite3.git"
44+
"url": "https://github.com/gms1/node-sqlite3.git"
4545
},
4646
"dependencies": {
4747
"bindings": "^1.5.0",
@@ -83,10 +83,5 @@
8383
"database"
8484
],
8585
"main": "./lib/sqlite3",
86-
"types": "./lib/sqlite3.d.ts",
87-
"renovate": {
88-
"extends": [
89-
"@tryghost:base"
90-
]
91-
}
86+
"types": "./lib/sqlite3.d.ts"
9287
}

test/nw/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ NODE_WEBKIT_VERSION=0.8.4
33
all: app.nw
44

55
node_modules/sqlite3:
6-
npm install https://github.com/mapbox/node-sqlite3/tarball/master --build-from-source --runtime=node-webkit --target_arch=ia32 --target=$(NODE_WEBKIT_VERSION)
6+
npm install https://github.com/mapbox/node-sqlite3/tarball/main --build-from-source --runtime=node-webkit --target_arch=ia32 --target=$(NODE_WEBKIT_VERSION)
77

88
rebuild:
99
cd node_modules/sqlite3 && ./node_modules/.bin/node-pre-gyp rebuild --runtime=node-webkit --target_arch=ia32 --target=$(NODE_WEBKIT_VERSION)

0 commit comments

Comments
 (0)