Skip to content

2.0.0

Compare
Choose a tag to compare
@johnfairh johnfairh released this 20 Apr 10:22
· 5 commits to main since this release
2c86d8f

Restructure to work properly with Swift concurrency.

Split the SourceMap class into two Sendable structures SourceMap and the immutable UnpackedSourceMap.

The UnpackedSourceMap type is the new home for the map(...) method on a segment cache.

Move index validation and cross-checks to the point of assigning the segments rather than serialising the source map.