forked from TryGhost/node-sqlite3
-
Notifications
You must be signed in to change notification settings - Fork 2
Bump to 5.1.7 #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
hexaltation
wants to merge
50
commits into
gristlabs:grist-main
Choose a base branch
from
hexaltation:bump-to-5.1.7
base: grist-main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Bump to 5.1.7 #15
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
93affa4
Update microsoft/setup-msbuild action to v1.3
renovate[bot] c1440bd
Fixed rpath linker option when using a custom sqlite (#1654)
jeromew 3a48888
Updated bundled SQLite to v3.41.1
daniellockyer edb1934
Fixed code execution vulnerability due to Object coercion
daniellockyer 6a806f8
v5.1.5
daniellockyer 46da1ab
Added generic type annotations for Statement and Database get/all/eac…
stevescruz 776fc55
Updated README.md
daniellockyer 1a206df
Fixed glibc compatibility by hardcoding lower version for `log2`
daniellockyer d915c0c
Fixed using Bash in shell command
daniellockyer 8598a9d
v5.1.6
daniellockyer 22ac6cc
Updated bundled SQLite to v3.42.0
daniellockyer cdf78bf
- Extensively utilized automatic type deduction for improved code rea…
zenon8adams dfbe3ba
Removed unused variable
daniellockyer 44e570a
Update actions/checkout action to v4
renovate[bot] 7552aa0
Update actions/setup-node action to v4
renovate[bot] 3aeb548
Revert "Update actions/setup-node action to v4"
daniellockyer 8d78ce7
Updated bundled SQLite to v3.44.2
daniellockyer 56ad63c
Added myself to contributors list
daniellockyer 10f38fe
Removed useless try-catch
daniellockyer 080c0d1
Installed setuptools in CI workflow
daniellockyer 93ed997
Condensed npm scripts
daniellockyer cff38a3
Added CI step to check semver compatibility
daniellockyer 9e8b2ee
Reworked CI versions
daniellockyer c74f267
Update docker/setup-qemu-action action to v3
renovate[bot] 8482aaf
Update docker/setup-buildx-action action to v3
renovate[bot] 83e282d
Update actions/checkout digest to b4ffde6
renovate[bot] 7674271
Update dependency eslint to v8
renovate[bot] a2cee71
Update dependency mocha to v10
renovate[bot] 605c7f9
Replaced `@mapbox/node-pre-gyp` in favor of `prebuild` + `prebuild-in…
daniellockyer 2595304
Updated list of supported targets
daniellockyer c775b81
Extracted common Node-API queuing code into macro
daniellockyer aabd297
Update actions/setup-node action to v4
renovate[bot] 5809f62
Fixed uploading prebuilt binaries from Docker
daniellockyer 8bda876
Refactored Database to use macros for method definitions
daniellockyer 603e468
Fixed minor linting warning
daniellockyer 77b327c
Increased number of rows inserted into benchmark database
daniellockyer 3372130
Improved `RowToJS` performance by removing `Napi::String::New` instan…
daniellockyer e99160a
Inlined `init()` functions into class header files
daniellockyer 4ef11bf
Removed extraneous parameter to event emit function
daniellockyer f792f69
Update dependency node-addon-api to v7
renovate[bot] 83c8c0a
Configured releases to be created as prereleases
daniellockyer 8b86e41
Fixed uploading release assets on Windows
daniellockyer 8398daa
Fixed uploading assets from Docker
daniellockyer 03d6e75
v5.1.7-rc.0
daniellockyer d04c1fb
Removed Node version from matrix title
daniellockyer ba4ba07
v5.1.7
daniellockyer 1609684
Updated bundled SQLite to v3.45.0
daniellockyer 2f0c799
Updated `actions/upload-artifact` to v4
daniellockyer 528e15a
2025
JohnONolan 2a0c05a
Upgrade: Bump node-sqlite3 to 5.1.7
hexaltation File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,3 +29,4 @@ setup.sh | |
| *.tgz | ||
| package-lock.json | ||
| yarn.lock | ||
| prebuilds | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1 @@ | ||
| const binary = require('@mapbox/node-pre-gyp'); | ||
| const path = require('path'); | ||
| const binding_path = binary.find(path.resolve(path.join(__dirname,'../package.json'))); | ||
| const binding = require(binding_path); | ||
| module.exports = exports = binding; | ||
| module.exports = require('bindings')('node_sqlite3.node'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "name": "@gristlabs/sqlite3", | ||
| "description": "Asynchronous, non-blocking SQLite3 bindings", | ||
| "version": "5.1.4-grist.8", | ||
| "version": "5.1.7-grist.1", | ||
| "homepage": "https://github.com/gristlabs/node-sqlite3", | ||
| "author": { | ||
| "name": "Mapbox", | ||
|
|
@@ -19,6 +19,7 @@ | |
| ] | ||
| }, | ||
| "contributors": [ | ||
| "Daniel Lockyer <hi@daniellockyer.com>", | ||
| "Konstantin Käfer <mail@kkaefer.com>", | ||
| "Dane Springmeyer <dane@mapbox.com>", | ||
| "Will White <will@mapbox.com>", | ||
|
|
@@ -48,14 +49,15 @@ | |
| "url": "https://github.com/gristlabs/node-sqlite3.git" | ||
| }, | ||
| "dependencies": { | ||
| "@mapbox/node-pre-gyp": "^1.0.0", | ||
| "node-addon-api": "^4.2.0", | ||
| "bindings": "^1.5.0", | ||
| "node-addon-api": "^7.0.0", | ||
| "prebuild-install": "^7.1.1", | ||
| "tar": "^6.1.11" | ||
| }, | ||
| "devDependencies": { | ||
| "eslint": "6.8.0", | ||
| "mocha": "7.2.0", | ||
| "node-pre-gyp-github": "1.4.4" | ||
| "eslint": "8.56.0", | ||
| "mocha": "10.2.0", | ||
| "prebuild": "12.1.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "node-gyp": "11.x" | ||
|
|
@@ -69,13 +71,11 @@ | |
| "node-gyp": "11.x" | ||
| }, | ||
| "scripts": { | ||
| "build": "node-pre-gyp build", | ||
| "build:debug": "node-pre-gyp build --debug", | ||
| "install": "node-pre-gyp install --fallback-to-build", | ||
| "pretest": "node test/support/createdb.js", | ||
| "test": "mocha -R spec --timeout 480000", | ||
| "test:memory": "node test/support/memory_check.js", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why removing this? |
||
| "pack": "node-pre-gyp package" | ||
| "install": "prebuild-install -r napi || node-gyp rebuild", | ||
| "prebuild": "prebuild --runtime napi --all --verbose", | ||
| "rebuild": "node-gyp rebuild", | ||
| "upload": "prebuild --verbose --prerelease", | ||
| "test": "node test/support/createdb.js && mocha -R spec --timeout 480000" | ||
| }, | ||
| "license": "BSD-3-Clause", | ||
| "keywords": [ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removal from this file does not seem to appear in your diff, any reason for that?
TryGhost@605c7f9#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL85-L87
- name: Run tests run: yarn test - - name: Package prebuilt binaries - run: yarn node-pre-gyp package --target_arch=${{ env.TARGET }} - - name: Upload binaries to commit artifacts uses: actions/upload-artifact@v3 if: matrix.node == 18 with: