Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TryGhost/node-sqlite3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.1.2
Choose a base ref
...
head repository: TryGhost/node-sqlite3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.1.6
Choose a head ref
  • 17 commits
  • 14 files changed
  • 4 contributors

Commits on Dec 12, 2022

  1. Updated bundled SQLite to v3.40.0

    refs https://www.sqlite.org/releaselog/3_40_0.html
    
    - sha3-256sum: `7ee8f02b21edb4489df5082b5cf5b7ef47bcebcdb0e209bf14240db69633c878`
    daniellockyer committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    aec0d31 View commit details
    Browse the repository at this point in the history
  2. v5.1.3

    daniellockyer committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    5c94f75 View commit details
    Browse the repository at this point in the history
  3. Extracted function checking code into macro

    - done for DRY purposes when reading the code
    daniellockyer committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    8fd18a3 View commit details
    Browse the repository at this point in the history
  4. Renamed master references to main

    - the default repo branch has been renamed to `main`
    daniellockyer committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    af8e567 View commit details
    Browse the repository at this point in the history
  5. Fixed glib compatibility by downgrading to Ubuntu 20

    fixes #1663
    
    - Ubuntu 22.04 ships with a newer glibc so the prebuilt binaries end up
      being linked to a more recent version, removing compatibility with
      systems that ship with older variants
    - this commit fixes that by downgrading the Ubuntu version
    daniellockyer committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    57ce2d4 View commit details
    Browse the repository at this point in the history
  6. Revert "Renamed master references to main"

    This reverts commit af8e567.
    daniellockyer committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    aeafe25 View commit details
    Browse the repository at this point in the history
  7. v5.1.4

    daniellockyer committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    6f6318e View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. Configuration menu
    Copy the full SHA
    93affa4 View commit details
    Browse the repository at this point in the history
  2. Fixed rpath linker option when using a custom sqlite (#1654)

    It seems that an old refactoring (~8 years) made a mistake on the way conditions are expressed in gyp.
    the "conditions" key cannot be set 2 times and the conditions should be all set in the "conditions" array.
    
    The impact of this bug is that when sqlite3 is compiled against a custom sqlite3 source tree, the sqlite3 runtime keeps linking with the system sqlite3 instead of linking to the custom compiled sqlite3 library. In my case that lead to a SIGSEGV upon loading an extension.
    jeromew authored Feb 4, 2023
    Configuration menu
    Copy the full SHA
    c1440bd View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. Updated bundled SQLite to v3.41.1

    refs https://www.sqlite.org/releaselog/3_41_1.html
    
    - sha3-256sum: `38ecb6b086c5c1ee1e52b57556745055328ac912929ccade9deaefdd71033ddb`
    daniellockyer committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    3a48888 View commit details
    Browse the repository at this point in the history
  2. Fixed code execution vulnerability due to Object coercion

    refs GHSA-jqv5-7xpx-qj74
    fixes https://github.com/TryGhost/Toolbox/issues/491
    
    - when you call `ToString()` on `Napi::Value`, it calls
      `napi_coerce_to_string` underneath, which has the ability to run
      arbitrary JS code if the passed in value is a crafted object
    - both remote code execution or denial-of-service are possible via
      this vulnerability
    - `toString()` on an Object returns `[object Object]` so instead of
      calling the function, we're going to hardcode it to prevent this
      issue
    
    Credits: Dave McDaniel of Cisco Talos
    daniellockyer committed Mar 13, 2023
    5 Configuration menu
    Copy the full SHA
    edb1934 View commit details
    Browse the repository at this point in the history
  3. v5.1.5

    daniellockyer committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    6a806f8 View commit details
    Browse the repository at this point in the history
  4. Added generic type annotations for Statement and Database get/all/eac…

    …h methods callback rows (#1686)
    
    * Change sqlite3.d.ts to add generic type definition support for Statement methods
    -For get method callback's row
    -For all method callback's rows
    -For each method callback's row
    
    * Change sqlite3.d.ts to add generic type definition support for Database methods
    -For get method callback's row
    -For all method callback's rows
    -For each method callback's row
    stevescruz authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    46da1ab View commit details
    Browse the repository at this point in the history
  5. Updated README.md

    - added myself as a contributor 😀
    daniellockyer authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    776fc55 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Fixed glibc compatibility by hardcoding lower version for log2

    fixes #1690
    
    - the minimum glibc version was inadvertently bumped in the latest
      release because `log2` was linked to a higher version
    - this adds the downgrade to the gcc preinclude file to resolve this
    - in an upcoming commit, we will add a test to prevent these issues from
      occurring again
    daniellockyer committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    1a206df View commit details
    Browse the repository at this point in the history
  2. Fixed using Bash in shell command

    - without this, the syntax is not recognised because we use `sh`
    daniellockyer committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    d915c0c View commit details
    Browse the repository at this point in the history
  3. v5.1.6

    daniellockyer committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    8598a9d View commit details
    Browse the repository at this point in the history
Loading