fix: use uint8arrays alloc for new buffers #123
53.10% of diff hit (target 76.51%)
View this Pull Request on Codecov
53.10% of diff hit (target 76.51%)
Annotations
Check warning on line 326 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L323-L326
Added lines #L323 - L326 were not covered by tests
Check warning on line 552 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L552
Added line #L552 was not covered by tests
Check warning on line 555 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L555
Added line #L555 was not covered by tests
Check warning on line 677 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L677
Added line #L677 was not covered by tests
Check warning on line 680 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L680
Added line #L680 was not covered by tests
Check warning on line 697 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L697
Added line #L697 was not covered by tests
Check warning on line 715 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L715
Added line #L715 was not covered by tests
Check warning on line 826 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L816-L826
Added lines #L816 - L826 were not covered by tests
Check warning on line 853 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L836-L853
Added lines #L836 - L853 were not covered by tests
Check warning on line 1033 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L1033
Added line #L1033 was not covered by tests
Check warning on line 1038 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L1036-L1038
Added lines #L1036 - L1038 were not covered by tests
Check warning on line 1042 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L1040-L1042
Added lines #L1040 - L1042 were not covered by tests
Check warning on line 1050 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L1044-L1050
Added lines #L1044 - L1050 were not covered by tests
Check warning on line 1052 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L1052
Added line #L1052 was not covered by tests
Check warning on line 1066 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L1056-L1066
Added lines #L1056 - L1066 were not covered by tests
Check warning on line 1072 in packages/protons/src/index.ts
codecov / codecov/patch
packages/protons/src/index.ts#L1072
Added line #L1072 was not covered by tests
Check warning on line 115 in packages/protons/test/fixtures/circuit.ts
codecov / codecov/patch
packages/protons/test/fixtures/circuit.ts#L115
Added line #L115 was not covered by tests
Check warning on line 220 in packages/protons/test/fixtures/peer.ts
codecov / codecov/patch
packages/protons/test/fixtures/peer.ts#L220
Added line #L220 was not covered by tests