mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
chore: update go-ptt and remove unused patch
This commit is contained in:
@@ -18,7 +18,6 @@ COPY packages/core/package*.json ./packages/core/
|
||||
COPY packages/frontend/package*.json ./packages/frontend/
|
||||
COPY pnpm-workspace.yaml ./pnpm-workspace.yaml
|
||||
COPY pnpm-lock.yaml ./pnpm-lock.yaml
|
||||
COPY patches ./patches
|
||||
|
||||
# Install dependencies.
|
||||
RUN pnpm install --frozen-lockfile
|
||||
@@ -55,7 +54,6 @@ WORKDIR /app
|
||||
COPY --from=builder /build/package*.json /build/LICENSE ./
|
||||
COPY --from=builder /build/pnpm-workspace.yaml ./pnpm-workspace.yaml
|
||||
COPY --from=builder /build/pnpm-lock.yaml ./pnpm-lock.yaml
|
||||
COPY --from=builder /build/patches ./patches
|
||||
|
||||
COPY --from=builder /build/packages/core/package.*json ./packages/core/
|
||||
COPY --from=builder /build/packages/frontend/package.*json ./packages/frontend/
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"expr-eval": "^2.0.2",
|
||||
"fetch-socks": "^1.3.2",
|
||||
"fuzzball": "^2.2.3",
|
||||
"go-ptt": "^0.4.0",
|
||||
"go-ptt": "^0.4.1",
|
||||
"moment-timezone": "^0.5.48",
|
||||
"p-limit": "^7.1.1",
|
||||
"parse-torrent": "^11.0.18",
|
||||
|
||||
@@ -245,6 +245,7 @@ class StreamFilterer {
|
||||
requestedMetadata = await new MetadataService({
|
||||
tmdbAccessToken: this.userData.tmdbAccessToken,
|
||||
tmdbApiKey: this.userData.tmdbApiKey,
|
||||
tvdbApiKey: this.userData.tvdbApiKey,
|
||||
}).getMetadata(parsedId, type as any);
|
||||
if (
|
||||
isAnime &&
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
diff --git a/dist/index.mjs b/dist/index.mjs
|
||||
index 3c5817fa8a4eced1839031b0bc4e03381a214cd7..ff7d97e7b83e1ddde582e04744d61edfc9218de4 100644
|
||||
--- a/dist/index.mjs
|
||||
+++ b/dist/index.mjs
|
||||
@@ -4,6 +4,8 @@ import { rm } from 'node:fs/promises';
|
||||
import { resolve } from 'node:path';
|
||||
import { setTimeout } from 'node:timers/promises';
|
||||
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
||||
+import { fileURLToPath } from 'url';
|
||||
+import path from 'path';
|
||||
|
||||
function createBaseParseRequest() {
|
||||
return { torrent_titles: [], normalize: false };
|
||||
@@ -975,6 +977,8 @@ function isSet(value) {
|
||||
return value !== null && value !== void 0;
|
||||
}
|
||||
|
||||
+const __filename = fileURLToPath(import.meta.url);
|
||||
+const __dirname = path.dirname(__filename);
|
||||
const BIN_PATH = `${resolve(__dirname, "../bin/ptt")}${process.platform === "win32" ? ".exe" : ""}`;
|
||||
class PTTServer {
|
||||
network;
|
||||
Generated
+17
-22
@@ -4,11 +4,6 @@ settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
patchedDependencies:
|
||||
go-ptt@0.4.0:
|
||||
hash: c33069e8968004bf0b191c5c11cf7451b2ddaf38e2d343785493af925268d4f7
|
||||
path: patches/go-ptt@0.4.0.patch
|
||||
|
||||
importers:
|
||||
|
||||
.:
|
||||
@@ -59,8 +54,8 @@ importers:
|
||||
specifier: ^2.2.3
|
||||
version: 2.2.3
|
||||
go-ptt:
|
||||
specifier: ^0.4.0
|
||||
version: 0.4.0(patch_hash=c33069e8968004bf0b191c5c11cf7451b2ddaf38e2d343785493af925268d4f7)
|
||||
specifier: ^0.4.1
|
||||
version: 0.4.1
|
||||
moment-timezone:
|
||||
specifier: ^0.5.48
|
||||
version: 0.5.48
|
||||
@@ -324,8 +319,8 @@ packages:
|
||||
resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
|
||||
'@bufbuild/protobuf@2.7.0':
|
||||
resolution: {integrity: sha512-qn6tAIZEw5i/wiESBF4nQxZkl86aY4KoO0IkUa2Lh+rya64oTOdJQFlZuMwI1Qz9VBJQrQC4QlSA2DNek5gCOA==}
|
||||
'@bufbuild/protobuf@2.9.0':
|
||||
resolution: {integrity: sha512-rnJenoStJ8nvmt9Gzye8nkYd6V22xUAnu4086ER7h1zJ508vStko4pMvDeQ446ilDTFpV5wnoc5YS7XvMwwMqA==}
|
||||
|
||||
'@colors/colors@1.6.0':
|
||||
resolution: {integrity: sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==}
|
||||
@@ -743,12 +738,12 @@ packages:
|
||||
'@gar/promisify@1.1.3':
|
||||
resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==}
|
||||
|
||||
'@grpc/grpc-js@1.13.4':
|
||||
resolution: {integrity: sha512-GsFaMXCkMqkKIvwCQjCrwH+GHbPKBjhwo/8ZuUkWHqbI73Kky9I+pQltrlT0+MWpedCoosda53lgjYfyEPgxBg==}
|
||||
'@grpc/grpc-js@1.14.0':
|
||||
resolution: {integrity: sha512-N8Jx6PaYzcTRNzirReJCtADVoq4z7+1KQ4E70jTg/koQiMoUSN1kbNjPOqpPbhMFhfU1/l7ixspPl8dNY+FoUg==}
|
||||
engines: {node: '>=12.10.0'}
|
||||
|
||||
'@grpc/proto-loader@0.7.15':
|
||||
resolution: {integrity: sha512-tMXdRCfYVixjuFK+Hk0Q1s38gV9zDiDJfWL3h1rv4Qc39oILCu1TRTDt7+fGUI8K4G1Fj125Hx/ru3azECWTyQ==}
|
||||
'@grpc/proto-loader@0.8.0':
|
||||
resolution: {integrity: sha512-rc1hOQtjIWGxcxpb9aHAfLpIctjEnsDehj0DAiVfBlmT84uvR0uUtN2hEi/ecvWVjXUGf5qPF4qEgiLOx1YIMQ==}
|
||||
engines: {node: '>=6'}
|
||||
hasBin: true
|
||||
|
||||
@@ -3099,8 +3094,8 @@ packages:
|
||||
resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
|
||||
engines: {node: '>= 0.4'}
|
||||
|
||||
go-ptt@0.4.0:
|
||||
resolution: {integrity: sha512-W1lFnOeBxBA+jXsxogj/k9qlDd804VFy8FbFBxVRoaP5WBRRT66S93uJmq8R4UAtVbN43FsilMawWZE7Hjr3SQ==}
|
||||
go-ptt@0.4.1:
|
||||
resolution: {integrity: sha512-N2S6oI0cGUrqErovxhByrTN21fKtr5v/y3jDh8+LVZv7HM+0MmExQP7xxTvRthnLf+9UhFGoe3vsmXRJ/ENW6A==}
|
||||
hasBin: true
|
||||
|
||||
gopd@1.2.0:
|
||||
@@ -5100,7 +5095,7 @@ snapshots:
|
||||
'@jridgewell/gen-mapping': 0.3.12
|
||||
'@jridgewell/trace-mapping': 0.3.29
|
||||
|
||||
'@bufbuild/protobuf@2.7.0': {}
|
||||
'@bufbuild/protobuf@2.9.0': {}
|
||||
|
||||
'@colors/colors@1.6.0': {}
|
||||
|
||||
@@ -5389,12 +5384,12 @@ snapshots:
|
||||
'@gar/promisify@1.1.3':
|
||||
optional: true
|
||||
|
||||
'@grpc/grpc-js@1.13.4':
|
||||
'@grpc/grpc-js@1.14.0':
|
||||
dependencies:
|
||||
'@grpc/proto-loader': 0.7.15
|
||||
'@grpc/proto-loader': 0.8.0
|
||||
'@js-sdsl/ordered-map': 4.4.2
|
||||
|
||||
'@grpc/proto-loader@0.7.15':
|
||||
'@grpc/proto-loader@0.8.0':
|
||||
dependencies:
|
||||
lodash.camelcase: 4.3.0
|
||||
long: 5.3.2
|
||||
@@ -7960,10 +7955,10 @@ snapshots:
|
||||
define-properties: 1.2.1
|
||||
gopd: 1.2.0
|
||||
|
||||
go-ptt@0.4.0(patch_hash=c33069e8968004bf0b191c5c11cf7451b2ddaf38e2d343785493af925268d4f7):
|
||||
go-ptt@0.4.1:
|
||||
dependencies:
|
||||
'@bufbuild/protobuf': 2.7.0
|
||||
'@grpc/grpc-js': 1.13.4
|
||||
'@bufbuild/protobuf': 2.9.0
|
||||
'@grpc/grpc-js': 1.14.0
|
||||
node-fetch: 3.3.2
|
||||
tar: 7.4.3
|
||||
|
||||
|
||||
@@ -14,6 +14,3 @@ onlyBuiltDependencies:
|
||||
- unrs-resolver
|
||||
- utf-8-validate
|
||||
- utp-native
|
||||
|
||||
patchedDependencies:
|
||||
go-ptt@0.4.0: patches/go-ptt@0.4.0.patch
|
||||
|
||||
Reference in New Issue
Block a user