Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@clack/prompts": "^1.6.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@supabase/supabase-js": "^2.108.2",
"bplist-parser": "^0.3.2",
"bplist-parser": "^0.5.0",
"chalk": "^6.0.0",
"citty": "^0.2.2",
"js-yaml": "^5.2.2",
Expand Down
20 changes: 6 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions src/services/metadata-extractor.service.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import bplistParser from 'bplist-parser';
import { parseBuffer } from 'bplist-parser';
import nodeApk from 'node-apk';
import { readFile, rm } from 'node:fs/promises';
import * as path from 'node:path';
import StreamZip from 'node-stream-zip';
import { parse } from 'plist';

// node-apk and bplist-parser are CJS with no `exports` map; Node's named-export
// detection for CJS (cjs-module-lexer) is version-dependent, so destructure off
// the default import instead — that interop is guaranteed on every Node version.
// node-apk is CJS with no `exports` map; Node's named-export detection for CJS
// (cjs-module-lexer) is version-dependent, so destructure off the default import
// instead — that interop is guaranteed on every Node version. bplist-parser 0.5
// is a real ESM/CJS dual package with named exports, so it imports directly.
const { Apk } = nodeApk;
const { parseBuffer } = bplistParser;

export interface TAppMetadata {
appId: string;
Expand Down
Loading