Release 1.0.0 RC2
Release notes
Initial release of microsoft/sourcemap-toolkit fork with netstandard2.0
support.
List of changes
Modern frameworks support
- target framework changed from
net45
tonetstandard2.0
Newtonsoft.Json
dependency replaced withSystem.Text.Json
AjaxMin
ES5 JavaScript parser dependency replaced with esprima.net parser with modern JavaScript supportRhinoMocks
test dependency replaced with Moq- SourceLink support added
Refactoring
- codebase was migrated C# 9 with nullable reference types annotiations
- solution projects migrated to CSP format from legacy
SourcemapToolkit.SourcemapParser
andSourcemapToolkit.CallstackDeminifier
projects were merged into singleSourcemapTools
project/assembly (same done for test projects)SourcemapToolkit.CallstackTestApp
test app project was removed as it wasn't used directly in testing process- enabled checked build
- fork is rebranded to
SourceMapTools
(namespaces in code left intact) - strong name sign key changed
API changes
- modified sourcemap/script source provider interfaces to require
Stream
instead ofStreamReader
- modified some DTOs to have more strict instantiation through constructor to simplify nullable reference types analysis
- some classes/methods now are static as they don't have state (e.g.
SourceMapGenerator
,SourceMapParser
classes) - renamed
SourcePosition
properties to shorterLine
/Column
form