fix(sio-client): do not mangle the "_placeholder" attribute (bis)

The "_placeholder" attribute is used when sending binary data, and was
incorrectly mangled (converted to a random short property, like "it",
to reduce the bundle size).

Related:

- ca9e994815
- https://github.com/socketio/socket.io/issues/5215

[skip ci]
This commit is contained in:
Damien Arrachequesne
2025-12-19 15:48:28 +01:00
parent 39bb72039d
commit cdae01983a

View File

@@ -20,6 +20,7 @@ module.exports = {
mangle: {
properties: {
regex: /^_/,
reserved: ["_placeholder"],
},
},
}),