Closed AlCalzone closed 2 years ago
confirmed
nodejs v18.7.0 made another internal change.
The bigint stats now uses BigInt64Array, previously it was BigUint64Array (we are using this type to create bigint stats).
I will do some more tests and find a clear patch to work against all supported nodejs versions.
https://github.com/nodejs/node/commit/100f6deb09bd5b74dd977f476d5bd6fc626c3190
Great, thanks for the quick fix!
My tests using mock-fs are failing with an unhandled error since upgrading from Node.js 18.6 to 18.7:
I've narrowed it down to (probably) being a
restore()
call. To reproduce:git checkout 8407b733092e32bf5fb56337c59208665eab32e1
npm run test:ts