Compare commits

..

No commits in common. "main" and "v3.3.0" have entirely different histories.
main ... v3.3.0

5 changed files with 14 additions and 19 deletions

View File

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

View File

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

View File

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

View File

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

View File

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