Uint8Array migration
This commit is contained in:
parent
daf75190b8
commit
4ef0bf96cc
137 changed files with 2202 additions and 3170 deletions
|
@ -37,7 +37,7 @@ type CleanedDataValue =
|
|||
| boolean
|
||||
| null
|
||||
| undefined
|
||||
| Buffer
|
||||
| Uint8Array
|
||||
| CleanedObject
|
||||
| CleanedArray;
|
||||
/* eslint-disable no-restricted-syntax */
|
||||
|
@ -111,7 +111,7 @@ function cleanDataInner(
|
|||
return undefined;
|
||||
}
|
||||
|
||||
if (data instanceof Buffer) {
|
||||
if (data instanceof Uint8Array) {
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue