process: add lineLength to source-map-cache #29863
I realized when integrating source-map functionality with coverage that we're missing a piece of information necessary to support tools like ts-node:
we end up with a bad reports that look like this, due to missing information:
If we track the line lengths of the source file that source maps were extracted from, this provides enough information to remap from byte offset to line/column offset.
I've introduced an additional value into the cache,
we can now generate the following report: