Skip to content

Commit cfafdc2

Browse files
committed
fix: leaks or living references
1 parent 461c450 commit cfafdc2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+6857
-6844
lines changed

package.json

Lines changed: 111 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,110 +1,111 @@
1-
{
2-
"name": "whatsapp-api",
3-
"version": "1.3.6",
4-
"description": "Rest api for communication with WhatsApp",
5-
"main": "./dist/src/main.js",
6-
"scripts": {
7-
"build": "tsc",
8-
"start": "cross-env NODE_ENV=dev ts-node --files --transpile-only ./src/main.ts",
9-
"start:prod": "cross-env NODE_ENV=prod bash start.sh",
10-
"start:dev": "cross-env NODE_ENV=dev tsnd --files --transpile-only --respawn --ignore-watch node_modules ./src/main.ts",
11-
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
12-
"test": "cls && tsnd --files --transpile-only --respawn --ignore-watch node_modules ./test/all.test.ts"
13-
},
14-
"repository": {
15-
"type": "git",
16-
"url": "git+https://github.com/code-chat-br/whatsapp-api.git"
17-
},
18-
"keywords": [
19-
"chat",
20-
"communication",
21-
"message",
22-
"send message",
23-
"whatsapp",
24-
"js-whatsapp",
25-
"whatsapp-api",
26-
"whatsapp-web",
27-
"whatsapp",
28-
"whatsapp-chat",
29-
"whatsapp-group",
30-
"automation",
31-
"multi-device",
32-
"bot",
33-
"apache-2.0"
34-
],
35-
"author": {
36-
"name": "jrcleber",
37-
"email": "[email protected]"
38-
},
39-
"license": "https://github.com/code-chat-br/whatsapp-api?tab=Apache-2.0-1-ov-file",
40-
"bugs": {
41-
"url": "https://github.com/code-chat-br/whatsapp-api/issues"
42-
},
43-
"homepage": "https://github.com/code-chat-br/whatsapp-api#readme",
44-
"dependencies": {
45-
"@adiwajshing/keyed-db": "^0.2.4",
46-
"@hapi/boom": "^10.0.1",
47-
"@prisma/client": "^6.14.0",
48-
"@whiskeysockets/baileys": "^7.0.0-rc.5",
49-
"axios": "^1.11.0",
50-
"class-validator": "^0.14.0",
51-
"cross-env": "^10.0.0",
52-
"dayjs": "^1.11.13",
53-
"dotenv": "^17.2.1",
54-
"eventemitter2": "^6.4.9",
55-
"express": "^5.1.0",
56-
"express-session": "^1.18.2",
57-
"fluent-ffmpeg": "^2.1.3",
58-
"form-data": "^4.0.4",
59-
"hbs": "^4.2.0",
60-
"https-proxy-agent": "^7.0.6",
61-
"js-yaml": "^4.1.0",
62-
"jsonschema": "^1.4.1",
63-
"jsonwebtoken": "^9.0.2",
64-
"mime-types": "^3.0.1",
65-
"mine": "^0.1.0",
66-
"minio": "^8.0.0",
67-
"multer": "^2.0.1",
68-
"node-cache": "^5.1.2",
69-
"npm": "^11.4.2",
70-
"pino": "^10.0.0",
71-
"pino-pretty": "^13.0.0",
72-
"qrcode": "^1.5.1",
73-
"qrcode-terminal": "^0.12.0",
74-
"sharp": "^0.34.2",
75-
"socks-proxy-agent": "^8.0.5",
76-
"swagger-ui-express": "^5.0.1",
77-
"ulid": "^3.0.1",
78-
"undici": "^7.16.0",
79-
"ws": "^8.18.3",
80-
"yamljs": "^0.3.0"
81-
},
82-
"devDependencies": {
83-
"@types/compression": "^1.7.5",
84-
"@types/cors": "^2.8.17",
85-
"@types/express": "^5.0.0",
86-
"@types/express-session": "^1.17.10",
87-
"@types/fluent-ffmpeg": "^2.1.26",
88-
"@types/js-yaml": "^4.0.9",
89-
"@types/jsonwebtoken": "^9.0.5",
90-
"@types/mime-types": "^3.0.1",
91-
"@types/multer": "^2.0.0",
92-
"@types/node": "^24.0.3",
93-
"@types/qrcode": "^1.5.5",
94-
"@types/qrcode-terminal": "^0.12.2",
95-
"@types/swagger-ui-express": "^4.1.6",
96-
"@types/ws": "^8.5.10",
97-
"@types/yamljs": "^0.2.34",
98-
"@typescript-eslint/eslint-plugin": "8.45.0",
99-
"@typescript-eslint/parser": "8.45.0",
100-
"copy-webpack-plugin": "^13.0.1",
101-
"eslint": "9.37.0",
102-
"eslint-config-prettier": "^10.1.5",
103-
"eslint-plugin-prettier": "^5.5.4",
104-
"prettier": "^3.6.2",
105-
"prisma": "^6.14.0",
106-
"ts-node-dev": "^2.0.0",
107-
"typescript": "^5.9.2",
108-
"typescript-eslint": "^8.45.0"
109-
}
110-
}
1+
{
2+
"name": "whatsapp-api",
3+
"version": "1.3.6",
4+
"description": "Rest api for communication with WhatsApp",
5+
"main": "./dist/src/main.js",
6+
"scripts": {
7+
"build": "tsc",
8+
"start": "cross-env NODE_ENV=dev ts-node --files --transpile-only ./src/main.ts",
9+
"start:pm2": "pm2 start ecosystem.config.mjs",
10+
"start:prod": "cross-env NODE_ENV=prod bash start.sh",
11+
"start:dev": "cross-env NODE_ENV=dev tsnd --files --transpile-only --respawn --ignore-watch node_modules ./src/main.ts",
12+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
13+
"test": "cls && tsnd --files --transpile-only --respawn --ignore-watch node_modules ./test/all.test.ts"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "git+https://github.com/code-chat-br/whatsapp-api.git"
18+
},
19+
"keywords": [
20+
"chat",
21+
"communication",
22+
"message",
23+
"send message",
24+
"whatsapp",
25+
"js-whatsapp",
26+
"whatsapp-api",
27+
"whatsapp-web",
28+
"whatsapp",
29+
"whatsapp-chat",
30+
"whatsapp-group",
31+
"automation",
32+
"multi-device",
33+
"bot",
34+
"apache-2.0"
35+
],
36+
"author": {
37+
"name": "jrcleber",
38+
"email": "[email protected]"
39+
},
40+
"license": "https://github.com/code-chat-br/whatsapp-api?tab=Apache-2.0-1-ov-file",
41+
"bugs": {
42+
"url": "https://github.com/code-chat-br/whatsapp-api/issues"
43+
},
44+
"homepage": "https://github.com/code-chat-br/whatsapp-api#readme",
45+
"dependencies": {
46+
"@adiwajshing/keyed-db": "^0.2.4",
47+
"@hapi/boom": "^10.0.1",
48+
"@prisma/client": "^6.14.0",
49+
"@whiskeysockets/baileys": "^7.0.0-rc.6",
50+
"axios": "^1.11.0",
51+
"class-validator": "^0.14.0",
52+
"cross-env": "^10.0.0",
53+
"dayjs": "^1.11.13",
54+
"dotenv": "^17.2.1",
55+
"eventemitter2": "^6.4.9",
56+
"express": "^5.1.0",
57+
"express-session": "^1.18.2",
58+
"fluent-ffmpeg": "^2.1.3",
59+
"form-data": "^4.0.4",
60+
"hbs": "^4.2.0",
61+
"https-proxy-agent": "^7.0.6",
62+
"js-yaml": "^4.1.0",
63+
"jsonschema": "^1.4.1",
64+
"jsonwebtoken": "^9.0.2",
65+
"mime-types": "^3.0.1",
66+
"mine": "^0.1.0",
67+
"minio": "^8.0.0",
68+
"multer": "^2.0.1",
69+
"node-cache": "^5.1.2",
70+
"npm": "^11.4.2",
71+
"pino": "^10.0.0",
72+
"pino-pretty": "^13.0.0",
73+
"qrcode": "^1.5.1",
74+
"qrcode-terminal": "^0.12.0",
75+
"sharp": "^0.34.4",
76+
"socks-proxy-agent": "^8.0.5",
77+
"swagger-ui-express": "^5.0.1",
78+
"ulid": "^3.0.1",
79+
"undici": "^7.16.0",
80+
"ws": "^8.18.3",
81+
"yamljs": "^0.3.0"
82+
},
83+
"devDependencies": {
84+
"@types/compression": "^1.7.5",
85+
"@types/cors": "^2.8.17",
86+
"@types/express": "^5.0.0",
87+
"@types/express-session": "^1.17.10",
88+
"@types/fluent-ffmpeg": "^2.1.26",
89+
"@types/js-yaml": "^4.0.9",
90+
"@types/jsonwebtoken": "^9.0.5",
91+
"@types/mime-types": "^3.0.1",
92+
"@types/multer": "^2.0.0",
93+
"@types/node": "^24.0.3",
94+
"@types/qrcode": "^1.5.5",
95+
"@types/qrcode-terminal": "^0.12.2",
96+
"@types/swagger-ui-express": "^4.1.6",
97+
"@types/ws": "^8.5.10",
98+
"@types/yamljs": "^0.2.34",
99+
"@typescript-eslint/eslint-plugin": "8.45.0",
100+
"@typescript-eslint/parser": "8.45.0",
101+
"copy-webpack-plugin": "^13.0.1",
102+
"eslint": "9.37.0",
103+
"eslint-config-prettier": "^10.1.5",
104+
"eslint-plugin-prettier": "^5.5.4",
105+
"prettier": "^3.6.2",
106+
"prisma": "^6.14.0",
107+
"ts-node-dev": "^2.0.0",
108+
"typescript": "^5.9.2",
109+
"typescript-eslint": "^8.45.0"
110+
}
111+
}

0 commit comments

Comments
 (0)