🔼 Trying out p7zip-threetwo

This commit is contained in:
2022-03-31 22:43:00 -07:00
parent b9abaa280d
commit 86aee7b25d
5 changed files with 17 additions and 17 deletions

View File

@@ -8,13 +8,13 @@ WORKDIR /core-services
RUN apk add --update \ RUN apk add --update \
--repository http://dl-3.alpinelinux.org/alpine/edge/testing \ --repository http://nl.alpinelinux.org/alpine/v3.14/main \
vips-tools \ vips-tools \
wget \ wget \
imagemagick \ imagemagick \
python3 \ python3 \
unrar \ unrar \
make \ p7zip \
nodejs \ nodejs \
npm \ npm \
xvfb \ xvfb \

18
package-lock.json generated
View File

@@ -43,7 +43,7 @@
"nats": "^1.3.2", "nats": "^1.3.2",
"node-calibre": "^2.1.1", "node-calibre": "^2.1.1",
"node-unrar-js": "^1.0.5", "node-unrar-js": "^1.0.5",
"p7zip": "^5.0.2", "p7zip-threetwo": "^1.0.4",
"sharp": "^0.30.3", "sharp": "^0.30.3",
"socket.io": "^4.4.0", "socket.io": "^4.4.0",
"threetwo-ui-typings": "^1.0.14", "threetwo-ui-typings": "^1.0.14",
@@ -12664,10 +12664,10 @@
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
} }
}, },
"node_modules/p7zip": { "node_modules/p7zip-threetwo": {
"version": "5.0.2", "version": "1.0.4",
"resolved": "https://registry.npmjs.org/p7zip/-/p7zip-5.0.2.tgz", "resolved": "https://registry.npmjs.org/p7zip-threetwo/-/p7zip-threetwo-1.0.4.tgz",
"integrity": "sha512-rIjUMpJuCfz25k7E8r5CHlR9zfm1RKScQp3p//bXWDkWJKrpCsN18wHkNESBim1iumtqDGKfadFIaRG2tRaIUg==", "integrity": "sha512-eFzv9Cr8+gQN9IhJa0oujGElVnFAlZ6Pqpe+VWzddYz1GW9AAFY5qjdOf1KxRCCyskInOIWNUE35ambfwB4ZPg==",
"hasInstallScript": true, "hasInstallScript": true,
"os": [ "os": [
"darwin", "darwin",
@@ -24767,10 +24767,10 @@
"p-timeout": "^3.0.0" "p-timeout": "^3.0.0"
} }
}, },
"p7zip": { "p7zip-threetwo": {
"version": "5.0.2", "version": "1.0.4",
"resolved": "https://registry.npmjs.org/p7zip/-/p7zip-5.0.2.tgz", "resolved": "https://registry.npmjs.org/p7zip-threetwo/-/p7zip-threetwo-1.0.4.tgz",
"integrity": "sha512-rIjUMpJuCfz25k7E8r5CHlR9zfm1RKScQp3p//bXWDkWJKrpCsN18wHkNESBim1iumtqDGKfadFIaRG2tRaIUg==", "integrity": "sha512-eFzv9Cr8+gQN9IhJa0oujGElVnFAlZ6Pqpe+VWzddYz1GW9AAFY5qjdOf1KxRCCyskInOIWNUE35ambfwB4ZPg==",
"requires": { "requires": {
"decompress": "^4.2.1" "decompress": "^4.2.1"
} }

View File

@@ -71,7 +71,7 @@
"nats": "^1.3.2", "nats": "^1.3.2",
"node-calibre": "^2.1.1", "node-calibre": "^2.1.1",
"node-unrar-js": "^1.0.5", "node-unrar-js": "^1.0.5",
"p7zip": "^5.0.2", "p7zip-threetwo": "^1.0.4",
"sharp": "^0.30.3", "sharp": "^0.30.3",
"socket.io": "^4.4.0", "socket.io": "^4.4.0",
"threetwo-ui-typings": "^1.0.14", "threetwo-ui-typings": "^1.0.14",

View File

@@ -41,7 +41,7 @@ import {
const fse = require("fs-extra"); const fse = require("fs-extra");
const Unrar = require("unrar"); const Unrar = require("unrar");
import path, { parse } from "path"; import path, { parse } from "path";
import * as p7zip from "p7zip"; import * as p7zip from "p7zip-threetwo";
import { IExtractedComicBookCoverFile } from "threetwo-ui-typings"; import { IExtractedComicBookCoverFile } from "threetwo-ui-typings";
import sharp from "sharp"; import sharp from "sharp";
import { getFileConstituents } from "../utils/file.utils"; import { getFileConstituents } from "../utils/file.utils";

View File

@@ -5674,10 +5674,10 @@
dependencies: dependencies:
"p-timeout" "^3.0.0" "p-timeout" "^3.0.0"
"p7zip@^5.0.2": "p7zip-threetwo@^1.0.4":
"integrity" "sha512-rIjUMpJuCfz25k7E8r5CHlR9zfm1RKScQp3p//bXWDkWJKrpCsN18wHkNESBim1iumtqDGKfadFIaRG2tRaIUg==" "integrity" "sha512-eFzv9Cr8+gQN9IhJa0oujGElVnFAlZ6Pqpe+VWzddYz1GW9AAFY5qjdOf1KxRCCyskInOIWNUE35ambfwB4ZPg=="
"resolved" "https://registry.npmjs.org/p7zip/-/p7zip-5.0.2.tgz" "resolved" "https://registry.npmjs.org/p7zip-threetwo/-/p7zip-threetwo-1.0.4.tgz"
"version" "5.0.2" "version" "1.0.4"
dependencies: dependencies:
"decompress" "^4.2.1" "decompress" "^4.2.1"