@wppconnect/server 2.10.77 → 2.10.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +21 -21
- package/test/glob-security.test.cjs +24 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [2.10.79](https://github.com/wppconnect-team/wppconnect-server/compare/v2.10.78...v2.10.79) (2026-11-09)
|
|
2
|
+
|
|
3
|
+
## [2.10.78](https://github.com/wppconnect-team/wppconnect-server/compare/v2.10.77...v2.10.78) (2026-11-07)
|
|
4
|
+
|
|
1
5
|
## [2.10.77](https://github.com/wppconnect-team/wppconnect-server/compare/v2.10.76...v2.10.77) (2026-11-06)
|
|
2
6
|
|
|
3
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wppconnect/server",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.79",
|
|
4
4
|
"description": "Projeto feito para autenticar a automomacao do WhatsappWeb com multi-clientes de forma dinamica. Backend feito em Nodejs(express, socketio), FrontEnd (ReactJS)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "kingaspx",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
},
|
|
39
39
|
"packageManager": "yarn@4.14.1",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@aws-sdk/client-s3": "
|
|
41
|
+
"@aws-sdk/client-s3": "3.1164.0",
|
|
42
42
|
"@babel/runtime": "^7.29.13",
|
|
43
43
|
"@wppconnect-team/wppconnect": "^2.3.6",
|
|
44
44
|
"archiver": "^7.0.1",
|
|
45
|
-
"axios": "
|
|
45
|
+
"axios": "1.21.0",
|
|
46
46
|
"bcrypt": "^6.0.0",
|
|
47
47
|
"buffer-to-stream": "1.0.0",
|
|
48
48
|
"cors": "^2.8.6",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@types/merge-deep": "^3.0.3",
|
|
86
86
|
"@types/mime-types": "^3.0.1",
|
|
87
87
|
"@types/multer": "^2.3.0",
|
|
88
|
-
"@types/node": "
|
|
88
|
+
"@types/node": "22.20.5",
|
|
89
89
|
"@types/qrcode": "^1.5.6",
|
|
90
90
|
"@types/swagger-ui-express": "^4.1.8",
|
|
91
91
|
"@types/unzipper": "^0.10.11",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"husky": "^9.1.7",
|
|
106
106
|
"jest": "^30.5.2",
|
|
107
107
|
"license-check-and-add": "^4.0.5",
|
|
108
|
-
"mongoose": "
|
|
108
|
+
"mongoose": "8.24.8",
|
|
109
109
|
"nodemon": "^3.1.14",
|
|
110
110
|
"prettier": "^2.8.8",
|
|
111
111
|
"pretty-quick": "^4.2.2",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"rimraf": "^6.1.4",
|
|
115
115
|
"shx": "^0.4.0",
|
|
116
116
|
"socket.io-client": "4.8.4",
|
|
117
|
-
"swagger-ui-dist": "^5.34.
|
|
117
|
+
"swagger-ui-dist": "^5.34.1",
|
|
118
118
|
"ts-jest": "^29.4.15",
|
|
119
119
|
"ts-loader": "^9.6.2",
|
|
120
120
|
"tsx": "^4.23.15",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"@ungap/structured-clone": "1.4.0",
|
|
129
129
|
"ajv@npm:^6.12.4": "6.15.0",
|
|
130
130
|
"ajv@npm:^8.11.0": "8.18.0",
|
|
131
|
-
"basic-ftp": "6.2.
|
|
131
|
+
"basic-ftp": "6.2.6",
|
|
132
132
|
"brace-expansion@npm:^2.0.1": "2.1.7",
|
|
133
133
|
"brace-expansion@npm:^5.0.2": "5.0.12",
|
|
134
134
|
"defu": "6.1.7",
|
|
@@ -143,12 +143,12 @@
|
|
|
143
143
|
"minimatch@npm:^3.0.5": "file:vendor/wppconnect-minimatch-legacy-compat-1.0.3.tgz",
|
|
144
144
|
"minimatch@npm:^3.1.1": "file:vendor/wppconnect-minimatch-legacy-compat-1.0.3.tgz",
|
|
145
145
|
"minimatch@npm:^3.1.2": "file:vendor/wppconnect-minimatch-legacy-compat-1.0.3.tgz",
|
|
146
|
-
"minimatch@npm:^5.1.0": "11.0.
|
|
147
|
-
"minimatch@npm:^9.0.4": "11.0.
|
|
148
|
-
"minimatch@npm:*": "11.0.
|
|
149
|
-
"minimatch@npm:^10.1.1": "11.0.
|
|
150
|
-
"minimatch@npm:^10.2.1": "11.0.
|
|
151
|
-
"minimatch@npm:^10.2.2": "11.0.
|
|
146
|
+
"minimatch@npm:^5.1.0": "11.0.5",
|
|
147
|
+
"minimatch@npm:^9.0.4": "11.0.5",
|
|
148
|
+
"minimatch@npm:*": "11.0.5",
|
|
149
|
+
"minimatch@npm:^10.1.1": "11.0.5",
|
|
150
|
+
"minimatch@npm:^10.2.1": "11.0.5",
|
|
151
|
+
"minimatch@npm:^10.2.2": "11.0.5",
|
|
152
152
|
"path-to-regexp@npm:~0.1.12": "0.1.13",
|
|
153
153
|
"picomatch@npm:^2.0.4": "2.3.2",
|
|
154
154
|
"picomatch@npm:^2.2.1": "2.3.2",
|
|
@@ -167,22 +167,22 @@
|
|
|
167
167
|
"brace-expansion@npm:^2.0.2": "2.1.7",
|
|
168
168
|
"brace-expansion@npm:^5.0.8": "5.0.12",
|
|
169
169
|
"browserslist": "4.28.9",
|
|
170
|
-
"baseline-browser-mapping": "2.11.
|
|
170
|
+
"baseline-browser-mapping": "2.11.35",
|
|
171
171
|
"engine.io": "6.6.11",
|
|
172
172
|
"http-cache-semantics": "4.3.0",
|
|
173
173
|
"ip-address": "10.7.6",
|
|
174
174
|
"puppeteer": "25.13.0",
|
|
175
175
|
"deepmerge": "file:vendor/deepmerge-4.3.2+wppconnect.1.tgz",
|
|
176
|
-
"glob@npm:^10.0.0": "14.0.
|
|
177
|
-
"glob@npm:^10.4.1": "14.0.
|
|
178
|
-
"glob@npm:^13.0.0": "14.0.
|
|
179
|
-
"glob@npm:^13.0.3": "14.0.
|
|
180
|
-
"glob@npm:^13.0.6": "14.0.
|
|
181
|
-
"minimatch@npm:^11.0.0": "11.0.
|
|
176
|
+
"glob@npm:^10.0.0": "14.0.4",
|
|
177
|
+
"glob@npm:^10.4.1": "14.0.4",
|
|
178
|
+
"glob@npm:^13.0.0": "14.0.4",
|
|
179
|
+
"glob@npm:^13.0.3": "14.0.4",
|
|
180
|
+
"glob@npm:^13.0.6": "14.0.4",
|
|
181
|
+
"minimatch@npm:^11.0.0": "11.0.5"
|
|
182
182
|
},
|
|
183
183
|
"peerDependencies": {
|
|
184
184
|
"crypto-js": "^4.2.0",
|
|
185
|
-
"mongoose": "^8.24.
|
|
185
|
+
"mongoose": "^8.24.8",
|
|
186
186
|
"redis": "^4.7.1"
|
|
187
187
|
}
|
|
188
188
|
}
|
|
@@ -47,7 +47,7 @@ test('the installed facade is the reviewed source and delegates to a patched reg
|
|
|
47
47
|
legacyRequire('minimatch-engine/package.json').version,
|
|
48
48
|
'11.0.3'
|
|
49
49
|
);
|
|
50
|
-
assert.equal(modern('minimatch/package.json').version, '11.0.
|
|
50
|
+
assert.equal(modern('minimatch/package.json').version, '11.0.5');
|
|
51
51
|
assert.equal(
|
|
52
52
|
fs.readFileSync(owner.resolve('minimatch'), 'utf8').replace(/\r\n/g, '\n'),
|
|
53
53
|
fs
|
|
@@ -60,13 +60,17 @@ test('the installed facade is the reviewed source and delegates to a patched reg
|
|
|
60
60
|
});
|
|
61
61
|
|
|
62
62
|
test('both registry engines bound first-phase glob amplification', () => {
|
|
63
|
-
for (const modulePath of [
|
|
64
|
-
modern.resolve('minimatch'),
|
|
65
|
-
legacyRequire.resolve('minimatch-engine'),
|
|
63
|
+
for (const [modulePath, rejectsAmplification] of [
|
|
64
|
+
[modern.resolve('minimatch'), true],
|
|
65
|
+
[legacyRequire.resolve('minimatch-engine'), false],
|
|
66
66
|
]) {
|
|
67
67
|
const code = `
|
|
68
68
|
const assert = require('node:assert/strict');
|
|
69
69
|
const { Minimatch } = require(${JSON.stringify(modulePath)});
|
|
70
|
+
const options = { optimizationLevel: 2, braceExpandMax: 64 };
|
|
71
|
+
const normal = new Minimatch('**/*.{txt,bin}', options);
|
|
72
|
+
assert.equal(normal.match('nested/a.txt'), true);
|
|
73
|
+
assert.equal(normal.match('nested/a.js'), false);
|
|
70
74
|
let peak = 0;
|
|
71
75
|
class Probe extends Minimatch {
|
|
72
76
|
firstPhasePreProcess(parts) {
|
|
@@ -75,9 +79,16 @@ test('both registry engines bound first-phase glob amplification', () => {
|
|
|
75
79
|
return result;
|
|
76
80
|
}
|
|
77
81
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
82
|
+
const pattern = Array.from({length:12}, (_, i) => 'p'+i+'/**/../q'+i).join('/');
|
|
83
|
+
if (${rejectsAmplification}) {
|
|
84
|
+
assert.throws(() => new Probe(pattern, options), {
|
|
85
|
+
name: 'RangeError',
|
|
86
|
+
message: "optimizationLevel 2: too many patterns from '**/..'",
|
|
87
|
+
});
|
|
88
|
+
} else {
|
|
89
|
+
new Probe(pattern, options);
|
|
90
|
+
assert(peak > 1 && peak <= 64, 'first-phase pattern budget exceeded: '+peak);
|
|
91
|
+
}
|
|
81
92
|
`;
|
|
82
93
|
const result = spawnSync(
|
|
83
94
|
process.execPath,
|
|
@@ -220,13 +231,13 @@ test('modern owners use patched glob and retain synchronous and asynchronous API
|
|
|
220
231
|
const dir = fixture();
|
|
221
232
|
try {
|
|
222
233
|
for (const [name, version] of Object.entries({
|
|
223
|
-
'archiver-utils': '14.0.
|
|
224
|
-
'test-exclude': '14.0.
|
|
234
|
+
'archiver-utils': '14.0.4',
|
|
235
|
+
'test-exclude': '14.0.4',
|
|
225
236
|
rimraf: '14.0.3',
|
|
226
|
-
'@jest/reporters': '14.0.
|
|
227
|
-
'jest-config': '14.0.
|
|
228
|
-
'jest-runtime': '14.0.
|
|
229
|
-
cacache: '14.0.
|
|
237
|
+
'@jest/reporters': '14.0.4',
|
|
238
|
+
'jest-config': '14.0.4',
|
|
239
|
+
'jest-runtime': '14.0.4',
|
|
240
|
+
cacache: '14.0.4',
|
|
230
241
|
})) {
|
|
231
242
|
const caller = createRequire(require.resolve(name));
|
|
232
243
|
const glob = caller('glob');
|