Use protopiler for protocol buffers

Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
Fedor Indutny
2026-03-10 15:31:29 -07:00
committed by GitHub
parent b0e19f334e
commit c4ee32e9ee
97 changed files with 6197 additions and 6362 deletions

View File

@@ -182,27 +182,6 @@ describe('cleanDataForIpc', () => {
]);
});
it('calls `toNumber` when available', () => {
assert.deepEqual(
cleanDataForIpc([
{
toNumber() {
return 5;
},
},
{
toNumber() {
return Symbol('bogus');
},
},
]),
{
cleaned: [5, undefined],
pathsChanged: ['root.1'],
}
);
});
it('deeply cleans objects with a `null` prototype', () => {
const value = Object.assign(Object.create(null), {
'key 1': 'value',