4607e32b46
Updated the following dependencies without breaking changes to proto or core functionality: Dependencies: - @cacheable/node-cache: ^1.4.0 → ^2.0.1 (improved caching) Dev Dependencies: - @types/node: ^20.9.0 → ^20.19.33 (latest v20 types) - open: ^8.4.2 → ^11.0.0 (CLI utility for opening URLs) - release-it: ^15.10.3 → ^19.2.4 (release automation) - typedoc: ^0.27.9 → ^0.28.17 (documentation generator) - typedoc-plugin-markdown: 4.4.2 → ^4.10.0 (markdown docs) ⚠️ NOT updated (too risky after recent proto3 fixes): - protobufjs (kept at ^7.2.4, v8 would break proto3 compatibility) - protobufjs-cli (kept at ^1.1.3, v2 could break proto generation) - eslint packages (kept at v9, v10 might introduce new lint errors) All workflows (build, lint, test) verified to pass with these updates. https://claude.ai/code/session_015R3U3kiprQiNTTNNt31Sg6
113 lines
3.4 KiB
JSON
113 lines
3.4 KiB
JSON
{
|
|
"name": "baileys",
|
|
"type": "module",
|
|
"version": "7.0.0-rc.9",
|
|
"description": "A WebSockets library for interacting with WhatsApp Web",
|
|
"keywords": [
|
|
"whatsapp",
|
|
"automation"
|
|
],
|
|
"homepage": "https://github.com/WhiskeySockets/Baileys/",
|
|
"repository": {
|
|
"url": "git@github.com:WhiskeySockets/Baileys.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Rajeh Taher",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"files": [
|
|
"lib/**/*",
|
|
"WAProto/**/*",
|
|
"engine-requirements.js"
|
|
],
|
|
"scripts": {
|
|
"build:all": "npm run build && npm run build:docs",
|
|
"build:docs": "typedoc",
|
|
"build": "tsc -P tsconfig.build.json && tsc-esm-fix --tsconfig=tsconfig.build.json --ext=.js",
|
|
"changelog:last": "conventional-changelog -p angular -r 2",
|
|
"changelog:preview": "conventional-changelog -p angular -u",
|
|
"changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
|
"example": "tsx ./Example/example.ts",
|
|
"gen:protobuf": "cd WAProto && sh GenerateStatics.sh",
|
|
"format": "prettier --write \"src/**/*.{ts,js,json,md}\"",
|
|
"lint": "tsc && eslint src --ext .js,.ts",
|
|
"lint:fix": "npm run format && npm run lint -- --fix",
|
|
"prepack": "npm run build",
|
|
"prepare": "npm run build",
|
|
"preinstall": "node ./engine-requirements.js",
|
|
"release": "release-it",
|
|
"test": "node --experimental-vm-modules ./node_modules/.bin/jest --testMatch '**/*.test.ts'",
|
|
"test:e2e": "node --experimental-vm-modules ./node_modules/.bin/jest --testMatch '**/*.test-e2e.ts'",
|
|
"update:version": "tsx ./scripts/update-version.ts"
|
|
},
|
|
"dependencies": {
|
|
"@cacheable/node-cache": "^2.0.1",
|
|
"@hapi/boom": "^10.0.1",
|
|
"async-mutex": "^0.5.0",
|
|
"fflate": "^0.8.2",
|
|
"libsignal": "https://github.com/whiskeysockets/libsignal-node.git",
|
|
"lru-cache": "^11.1.0",
|
|
"music-metadata": "^11.7.0",
|
|
"p-queue": "^9.0.0",
|
|
"pino": "^10.3.1",
|
|
"prom-client": "^15.1.3",
|
|
"protobufjs": "^7.2.4",
|
|
"whatsapp-rust-bridge": "0.5.2",
|
|
"ws": "^8.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@eslint/js": "^9.31.0",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^20.19.33",
|
|
"@types/ws": "^8.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
"@typescript-eslint/parser": "^8",
|
|
"@whiskeysockets/eslint-config": "^1.0.0",
|
|
"conventional-changelog": "^7.1.1",
|
|
"conventional-changelog-angular": "^8.0.0",
|
|
"esbuild-register": "^3.6.0",
|
|
"eslint": "^9",
|
|
"eslint-config-prettier": "^10.1.2",
|
|
"eslint-plugin-prettier": "^5.4.0",
|
|
"jest": "^30.0.5",
|
|
"jimp": "^1.6.0",
|
|
"jiti": "^2.4.2",
|
|
"json": "^11.0.0",
|
|
"link-preview-js": "^4.0.0",
|
|
"lru-cache": "^11.1.0",
|
|
"open": "^11.0.0",
|
|
"pino-pretty": "^13.1.1",
|
|
"prettier": "^3.5.3",
|
|
"protobufjs-cli": "^1.1.3",
|
|
"release-it": "^19.2.4",
|
|
"ts-jest": "^29.4.0",
|
|
"tsc-esm-fix": "^3.1.2",
|
|
"tsx": "^4.20.3",
|
|
"typedoc": "^0.28.17",
|
|
"typedoc-plugin-markdown": "^4.10.0",
|
|
"typescript": "^5.8.2"
|
|
},
|
|
"peerDependencies": {
|
|
"audio-decode": "^2.2.3",
|
|
"jimp": "^1.6.0",
|
|
"link-preview-js": "^4.0.0",
|
|
"sharp": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"audio-decode": {
|
|
"optional": true
|
|
},
|
|
"jimp": {
|
|
"optional": true
|
|
},
|
|
"link-preview-js": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"packageManager": "yarn@4.9.2",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|