Files
backend/.pnpm-store/v10/files/02/11603186e414f8d48b6836959027c497c6bae3688e6e92e9cef31e0e6d3ab211d07ac87fa7c36a8545d92d19d3b255050f0f18101363604396ae7c907666da
T
2026-03-22 13:31:39 +00:00

12 lines
343 B
Plaintext

export const identity = value => value;
export const noop = () => undefined;
export const getContentsProperty = ({contents}) => contents;
export const throwObjectStream = chunk => {
throw new Error(`Streams in object mode are not supported: ${String(chunk)}`);
};
export const getLengthProperty = convertedChunk => convertedChunk.length;