From 6d2e533e6e9bcb51bc105987c203abbfe9b2c0cc Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 23 Aug 2025 15:02:48 -0600 Subject: [PATCH] force sqlite install with github pulled package hopefully --- Dockerfile | 1 - package.json | 2 +- pnpm-lock.yaml | 148 +++++++++++++++++-------------------------------- 3 files changed, 52 insertions(+), 99 deletions(-) diff --git a/Dockerfile b/Dockerfile index 14e9597..f1fb9a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,6 @@ RUN apk add ffmpeg FROM base AS deps RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install -g typescript RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile -RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --build-from-source sqlite3 FROM base COPY --from=deps /app/node_modules /app/node_modules diff --git a/package.json b/package.json index 2f2cce9..3070d90 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "proxy-agent": "^6.5.0", "sh": "github:Cynosphere/sh", "sharp": "^0.32.0", - "sqlite3": "^5.1.6", + "sqlite3": "github:TryGhost/node-sqlite3#v5.1.7", "undici": "^7.10.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 77cefd3..b312856 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: specifier: ^0.32.0 version: 0.32.0 sqlite3: - specifier: ^5.1.6 - version: 5.1.6(encoding@0.1.13) + specifier: github:TryGhost/node-sqlite3#v5.1.7 + version: https://codeload.github.com/TryGhost/node-sqlite3/tar.gz/148742954ddf2738345c4396c3778246432f501a undici: specifier: ^7.10.0 version: 7.10.0 @@ -436,10 +436,6 @@ packages: '@jimp/utils@0.22.7': resolution: {integrity: sha512-4ax4IOWLIERx4yz9y3fNXKvQaPOY23yJF5h4sizxVkQUObkZHWE0kL0TVHodBt3rS8ksdbCL8Jkz4GeNP/Katg==} - '@mapbox/node-pre-gyp@1.0.10': - resolution: {integrity: sha512-4ySo4CjzStuprMwk35H5pPbkymjv1SF3jGLj6rAHp/xT/RF7TL7bd9CTm1xDY49K2qF7jmR/g7k+SkLETP6opA==} - hasBin: true - '@marshift/strawberry@1.7.2': resolution: {integrity: sha512-s5dpuaO2G9MXrX3NZo1dduJ3Pmdcj5m0XHlHs7X7B86a0zKHN8WTC3XRSTv9BGWV6IWzjIFxImOi4yofyy5OaA==} @@ -594,10 +590,6 @@ packages: aproba@2.0.0: resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==} - are-we-there-yet@2.0.0: - resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==} - engines: {node: '>=10'} - are-we-there-yet@3.0.1: resolution: {integrity: sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -629,6 +621,9 @@ packages: bcrypt-pbkdf@1.0.2: resolution: {integrity: sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==} + bindings@1.5.0: + resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} + bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} @@ -874,6 +869,9 @@ packages: resolution: {integrity: sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==} engines: {node: '>=10'} + file-uri-to-path@1.0.0: + resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} + find-up@5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} @@ -895,10 +893,6 @@ packages: fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - gauge@3.0.2: - resolution: {integrity: sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==} - engines: {node: '>=10'} - gauge@4.0.4: resolution: {integrity: sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -1128,10 +1122,6 @@ packages: resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} engines: {node: '>=12'} - make-dir@3.1.0: - resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} - engines: {node: '>=8'} - make-fetch-happen@9.1.0: resolution: {integrity: sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==} engines: {node: '>= 10'} @@ -1230,12 +1220,12 @@ packages: resolution: {integrity: sha512-zNy02qivjjRosswoYmPi8hIKJRr8MpQyeKT6qlcq/OnOgA3Rhoae+IYOqsM9V5+JnHWmxKnWOT2GxvtqdtOCXA==} engines: {node: '>=10'} - node-addon-api@4.3.0: - resolution: {integrity: sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==} - node-addon-api@6.1.0: resolution: {integrity: sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==} + node-addon-api@7.1.1: + resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==} + node-fetch@2.6.9: resolution: {integrity: sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==} engines: {node: 4.x || >=6.0.0} @@ -1259,17 +1249,10 @@ packages: engines: {node: '>=6'} hasBin: true - npmlog@5.0.1: - resolution: {integrity: sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==} - npmlog@6.0.2: resolution: {integrity: sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} - omggif@1.0.10: resolution: {integrity: sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw==} @@ -1447,10 +1430,6 @@ packages: sax@1.2.4: resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==} - semver@6.3.0: - resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} - hasBin: true - semver@7.5.0: resolution: {integrity: sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==} engines: {node: '>=10'} @@ -1511,8 +1490,9 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} - sqlite3@5.1.6: - resolution: {integrity: sha512-olYkWoKFVNSSSQNvxVUfjiVbz3YtBwTJj+mfV5zpHmqW3sELx2Cf4QCdirMelhM5Zh+KDVaKgQHqCxrqiWHybw==} + sqlite3@https://codeload.github.com/TryGhost/node-sqlite3/tar.gz/148742954ddf2738345c4396c3778246432f501a: + resolution: {tarball: https://codeload.github.com/TryGhost/node-sqlite3/tar.gz/148742954ddf2738345c4396c3778246432f501a} + version: 5.1.7 sshpk@1.17.0: resolution: {integrity: sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==} @@ -2196,21 +2176,6 @@ snapshots: dependencies: regenerator-runtime: 0.13.11 - '@mapbox/node-pre-gyp@1.0.10(encoding@0.1.13)': - dependencies: - detect-libc: 2.0.1 - https-proxy-agent: 5.0.1 - make-dir: 3.1.0 - node-fetch: 2.6.9(encoding@0.1.13) - nopt: 5.0.0 - npmlog: 5.0.1 - rimraf: 3.0.2 - semver: 7.5.0 - tar: 6.1.13 - transitivePeerDependencies: - - encoding - - supports-color - '@marshift/strawberry@1.7.2': {} '@msgpack/msgpack@2.8.0': {} @@ -2329,7 +2294,8 @@ snapshots: dependencies: '@types/node': 18.16.0 - abbrev@1.1.1: {} + abbrev@1.1.1: + optional: true acorn-jsx@5.3.2(acorn@8.8.2): dependencies: @@ -2342,6 +2308,7 @@ snapshots: debug: 4.3.4 transitivePeerDependencies: - supports-color + optional: true agent-base@7.1.4: {} @@ -2375,12 +2342,8 @@ snapshots: any-base@1.1.0: {} - aproba@2.0.0: {} - - are-we-there-yet@2.0.0: - dependencies: - delegates: 1.0.0 - readable-stream: 3.6.2 + aproba@2.0.0: + optional: true are-we-there-yet@3.0.1: dependencies: @@ -2410,6 +2373,10 @@ snapshots: dependencies: tweetnacl: 0.14.5 + bindings@1.5.0: + dependencies: + file-uri-to-path: 1.0.0 + bl@4.1.0: dependencies: buffer: 5.7.1 @@ -2487,7 +2454,8 @@ snapshots: color-name: 1.1.4 simple-swizzle: 0.2.2 - color-support@1.1.3: {} + color-support@1.1.3: + optional: true color@3.2.1: dependencies: @@ -2501,7 +2469,8 @@ snapshots: concat-map@0.0.1: {} - console-control-strings@1.1.0: {} + console-control-strings@1.1.0: + optional: true core-util-is@1.0.2: {} @@ -2539,7 +2508,8 @@ snapshots: escodegen: 2.1.0 esprima: 4.0.1 - delegates@1.0.0: {} + delegates@1.0.0: + optional: true depd@2.0.0: optional: true @@ -2568,7 +2538,8 @@ snapshots: jsbn: 0.1.1 safer-buffer: 2.1.2 - emoji-regex@8.0.0: {} + emoji-regex@8.0.0: + optional: true encoding@0.1.13: dependencies: @@ -2697,6 +2668,8 @@ snapshots: strtok3: 6.3.0 token-types: 4.2.1 + file-uri-to-path@1.0.0: {} + find-up@5.0.0: dependencies: locate-path: 6.0.0 @@ -2717,18 +2690,6 @@ snapshots: fs.realpath@1.0.0: {} - gauge@3.0.2: - dependencies: - aproba: 2.0.0 - color-support: 1.1.3 - console-control-strings: 1.1.0 - has-unicode: 2.0.1 - object-assign: 4.1.1 - signal-exit: 3.0.7 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wide-align: 1.1.5 - gauge@4.0.4: dependencies: aproba: 2.0.0 @@ -2811,7 +2772,8 @@ snapshots: has-flag@4.0.0: {} - has-unicode@2.0.1: {} + has-unicode@2.0.1: + optional: true http-cache-semantics@4.1.1: optional: true @@ -2838,6 +2800,7 @@ snapshots: debug: 4.3.4 transitivePeerDependencies: - supports-color + optional: true https-proxy-agent@7.0.6: dependencies: @@ -2897,7 +2860,8 @@ snapshots: is-extglob@2.1.1: {} - is-fullwidth-code-point@3.0.0: {} + is-fullwidth-code-point@3.0.0: + optional: true is-function@1.0.2: {} @@ -2995,10 +2959,6 @@ snapshots: lru-cache@7.18.3: {} - make-dir@3.1.0: - dependencies: - semver: 6.3.0 - make-fetch-happen@9.1.0: dependencies: agentkeepalive: 4.3.0 @@ -3106,10 +3066,10 @@ snapshots: dependencies: semver: 7.5.0 - node-addon-api@4.3.0: {} - node-addon-api@6.1.0: {} + node-addon-api@7.1.1: {} + node-fetch@2.6.9(encoding@0.1.13): dependencies: whatwg-url: 5.0.0 @@ -3138,13 +3098,7 @@ snapshots: nopt@5.0.0: dependencies: abbrev: 1.1.1 - - npmlog@5.0.1: - dependencies: - are-we-there-yet: 2.0.0 - console-control-strings: 1.1.0 - gauge: 3.0.2 - set-blocking: 2.0.0 + optional: true npmlog@6.0.2: dependencies: @@ -3154,8 +3108,6 @@ snapshots: set-blocking: 2.0.0 optional: true - object-assign@4.1.1: {} - omggif@1.0.10: {} once@1.4.0: @@ -3336,13 +3288,12 @@ snapshots: sax@1.2.4: {} - semver@6.3.0: {} - semver@7.5.0: dependencies: lru-cache: 6.0.0 - set-blocking@2.0.0: {} + set-blocking@2.0.0: + optional: true sh@https://codeload.github.com/Cynosphere/sh/tar.gz/ea34c6dbaee8d4e8fb516230b164c97a18d5db81: dependencies: @@ -3365,7 +3316,8 @@ snapshots: shebang-regex@3.0.0: {} - signal-exit@3.0.7: {} + signal-exit@3.0.7: + optional: true simple-concat@1.0.1: {} @@ -3412,16 +3364,16 @@ snapshots: source-map@0.6.1: optional: true - sqlite3@5.1.6(encoding@0.1.13): + sqlite3@https://codeload.github.com/TryGhost/node-sqlite3/tar.gz/148742954ddf2738345c4396c3778246432f501a: dependencies: - '@mapbox/node-pre-gyp': 1.0.10(encoding@0.1.13) - node-addon-api: 4.3.0 + bindings: 1.5.0 + node-addon-api: 7.1.1 + prebuild-install: 7.1.1 tar: 6.1.13 optionalDependencies: node-gyp: 8.4.1 transitivePeerDependencies: - bluebird - - encoding - supports-color sshpk@1.17.0: @@ -3446,6 +3398,7 @@ snapshots: emoji-regex: 8.0.0 is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 + optional: true string_decoder@1.3.0: dependencies: @@ -3577,6 +3530,7 @@ snapshots: wide-align@1.1.5: dependencies: string-width: 4.2.3 + optional: true word-wrap@1.2.3: {}