Compare commits

...

11 Commits
v3.3.0 ... main

Author SHA1 Message Date
Fedor Indutny
f90dd065e9 3.3.5
Some checks failed
Test / test (clang, clang++, macos-latest) (push) Has been cancelled
Test / test (gcc, g++, ubuntu-latest) (push) Has been cancelled
Test / test (windows-latest) (push) Has been cancelled
2026-05-26 12:32:59 -07:00
Fedor Indutny
9e947e02ae fix: pnpm build with prebuilds 2026-05-26 12:32:50 -07:00
Fedor Indutny
ef6443f848 fix: linux ci 2026-05-26 12:24:23 -07:00
Fedor Indutny
84a54d03d5 3.3.4 2026-05-26 12:08:35 -07:00
Fedor Indutny
d27e1d9a27 fix: install pnpm in Dockerfile 2026-05-26 12:08:25 -07:00
Fedor Indutny
19eb15285d 3.3.3 2026-05-26 11:58:19 -07:00
Fedor Indutny
c5c58ee0c4 fix: specify pnpm version in package.json 2026-05-26 11:58:08 -07:00
Fedor Indutny
d755f4997e 3.3.2 2026-05-26 11:31:32 -07:00
Fedor Indutny
3df7bb3fda chore: update pnpm to 10.18.1 2026-05-26 11:31:18 -07:00
Fedor Indutny
14ea17da26 3.3.1 2026-05-26 11:02:26 -07:00
Fedor Indutny
c2ba9fcc16
chore: update docker image to fix linux builds 2026-05-26 11:02:06 -07:00
5 changed files with 19 additions and 14 deletions

View File

@ -40,7 +40,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
version: 10.3.0
version: 10.18.1
- name: Get Node version from .nvmrc
id: get-nvm-version
@ -90,7 +90,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
version: 10.3.0
version: 10.18.1
- name: Get Node version from .nvmrc
id: get-nvm-version
@ -137,7 +137,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
version: 10.3.0
version: 10.18.1
- name: Setup node.js
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:

View File

@ -30,7 +30,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
version: 10.3.0
version: 10.18.1
- name: Setup node.js
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
FROM ubuntu:focal-20240530@sha256:fa17826afb526a9fc7250e0fbcbfd18d03fe7a54849472f86879d8bf562c629e
FROM ubuntu:jammy-20250714@sha256:1ec65b2719518e27d4d25f104d93f9fac60dc437f81452302406825c46fcc9cb
# Avoid getting prompted to configure things during installation.
ENV DEBIAN_FRONTEND=noninteractive
@ -15,13 +15,15 @@ COPY docker/apt.conf docker/sources.list /etc/apt/
# But we can't install it because it doesn't trust our mirror!
# Temporarily disables APT's certificate signature checking
# to download the certificates.
RUN apt-get update -oAcquire::https::Verify-Peer=false \
&& apt-get install -oAcquire::https::Verify-Peer=false -y ca-certificates
RUN apt update -oAcquire::https::Verify-Peer=false
RUN apt install -oAcquire::https::Verify-Peer=false -y ca-certificates
# Back to normal, verification back on
# Install only what's needed to set up Rust and Node.
# We'll install additional tools at the end to take advantage of Docker's caching of earlier steps.
RUN apt-get update && apt-get install -y apt-transport-https xz-utils unzip
RUN apt update
RUN apt install -y apt-transport-https xz-utils unzip
# User-specific setup!
@ -65,6 +67,9 @@ RUN tar -xf node.tar.xz \
ENV PATH="/home/sqlcipher/node/bin:${PATH}"
# Install pnpm
RUN npm install -g pnpm@10.18.1
# And finally any bonus packages we're going to need
# Note that we jump back to root for this.
USER root

View File

@ -1,3 +1,3 @@
deb [snapshot=20240829T060900Z] http://archive.ubuntu.com/ubuntu/ focal main universe
deb [snapshot=20240829T060900Z] http://archive.ubuntu.com/ubuntu/ focal-updates main universe
deb [snapshot=20240829T060900Z] http://security.ubuntu.com/ubuntu focal-security main universe
deb [snapshot=20250811T060900Z] http://archive.ubuntu.com/ubuntu/ jammy main universe
deb [snapshot=20250811T060900Z] http://archive.ubuntu.com/ubuntu/ jammy-updates main universe
deb [snapshot=20250811T060900Z] http://security.ubuntu.com/ubuntu jammy-security main universe

View File

@ -1,6 +1,7 @@
{
"packageManager": "pnpm@10.18.1",
"name": "@signalapp/sqlcipher",
"version": "3.3.0",
"version": "3.3.5",
"description": "A fast N-API-based Node.js addon wrapping sqlcipher and FTS5 segmenting APIs",
"homepage": "http://github.com/signalapp/node-sqlcipher.git",
"license": "AGPL-3.0-only",
@ -35,12 +36,11 @@
},
"scripts": {
"watch": "tsc --watch",
"build": "run-p --print-label build:ts build:esm build:cjs build:addon",
"build": "run-p --print-label build:ts build:esm build:cjs",
"build:ts": "tsc",
"build:esm": "esbuild --target=node20 --define:__dirname=undefined lib/index.ts --outfile=dist/index.mjs",
"build:cjs": "esbuild --target=node20 --define:import.meta.url=undefined lib/index.ts --format=cjs --outfile=dist/index.cjs",
"build:docs": "typedoc lib/index.ts --includeVersion",
"build:addon": "node-gyp build",
"install": "node-gyp-build",
"prebuildify": "prebuildify --strip --napi",
"test": "vitest --coverage --pool threads",