Replace typescript compiler with native tsgo compiler

This commit is contained in:
Jamie
2026-03-18 11:26:18 -07:00
committed by GitHub
parent 5e6af4708b
commit c90ca2b4e0
207 changed files with 1819 additions and 1270 deletions

View File

@@ -7,6 +7,7 @@ import { createLogger } from '../logging/log.std.js';
import { isIterable } from '../util/iterables.std.js';
import { toNumber } from '../util/toNumber.std.js';
import { isNonSharedUint8Array } from '../Bytes.std.js';
const { isPlainObject } = lodash;
@@ -42,7 +43,7 @@ type CleanedDataValue =
| boolean
| null
| undefined
| Uint8Array
| Uint8Array<ArrayBuffer>
| CleanedObject
| CleanedArray;
/* eslint-disable no-restricted-syntax */
@@ -129,7 +130,7 @@ function cleanDataInner(
return undefined;
}
if (data instanceof Uint8Array) {
if (isNonSharedUint8Array(data)) {
return data;
}