From ba6474f97e84bcfb887c31293a55ee30e934abe2 Mon Sep 17 00:00:00 2001 From: devlikepro Date: Sun, 27 Oct 2024 16:52:03 +0700 Subject: [PATCH] [core] bufferutil is optional (no arm) --- package.json | 5 ++++- yarn.lock | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c14bf0b6..3525a6bc 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,6 @@ "axios": "^1.7.7", "axios-retry": "^4.5.0", "better-sqlite3": "11.3.0", - "bufferutil": "^4.0.8", "check-disk-space": "^3.4.0", "chokidar": "^3.6.0", "class-transformer": "^0.5.1", @@ -81,7 +80,11 @@ "swagger-ui-express": "^4.1.4", "whatsapp-web.js": "github:devlikeapro/whatsapp-web.js#fork-main-channels" }, + "optionalDependencies": { + "bufferutil": "^4.0.8" + }, "resolutions": { + "bufferutil": "^4.0.8", "ws": "^8.18.0", "puppeteer": "^21.0.0", "whatwg-url": "13.0.0" diff --git a/yarn.lock b/yarn.lock index aed3e4ae..23c806ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12192,6 +12192,9 @@ __metadata: tsconfig-paths: ^4.1.0 typescript: ^4.8.4 whatsapp-web.js: "github:devlikeapro/whatsapp-web.js#fork-main-channels" + dependenciesMeta: + bufferutil: + optional: true languageName: unknown linkType: soft