source-map-sharp
1.0.9
dotnet add package source-map-sharp --version 1.0.9
NuGet\Install-Package source-map-sharp -Version 1.0.9
<PackageReference Include="source-map-sharp" Version="1.0.9" />
paket add source-map-sharp --version 1.0.9
#r "nuget: source-map-sharp, 1.0.9"
// Install source-map-sharp as a Cake Addin #addin nuget:?package=source-map-sharp&version=1.0.9 // Install source-map-sharp as a Cake Tool #tool nuget:?package=source-map-sharp&version=1.0.9
Source Map Sharp
About
This is a direct rewrite (meaning, the goal was not to write 'idiomatic' F# code, but to resemble inital JS code as close as possible) of source map generation tool https://github.com/mozilla/source-map
Which is originally written in JS. The initial purpose is to use it with https://github.com/fable-compiler/Fable project
See https://github.com/fable-compiler/Fable/issues/2166 - "Bring back source map support"
UPD: The issue above was closed, and this project is now being used by Fable to generated Source Maps. Hooray!
Current support status
- Fable - working fine
- .NET - working fine
Running tests
dotnet:
dotnet test
Fable (js):
dotnet tool restore
pnpm install
pnpm test
Files - status
Legend:
๐ - Everything fine
๐คจ - Everything fine except minor details (or not important right now details)
๐ด - Not needed / won't do
๐จ - Should be done, but isn't
๐คฏ - Done but no tested
- ๐
ArraySet
- Done & tested - ๐
Base64
- Done & tested - ๐
Base64-vlq
- Done & tested - ๐ด
binary-search
- Not done, probably won't need - ๐คจ
mapping-list
- Done, not tested specifically, coverage shows 95% via other tessts - ๐ด
mapping.wasm
- Not done, probably won't need - ๐ด
read-wasm-browser
- Not done, probably won't need - ๐ด
read-wasm
- Not done, probably won't need - ๐จ
source-map-consumer
- Not done, Don't know if will need it or not at the moment - ๐
source-map-generator
- Done except theconsumer
parts, tested exceptconsumer
parts - ๐
source-node
- Done except theconsumer
parts, tested exceptconsumer
parts - ๐ด
url-browser
- Not done, probably won't need - ๐ด
url
- Not done, probably won't need - ๐คจ
util
- Done partially, what's needed - ๐ด
wasm
- Not done, probably won't need
"SourceMapConsumer"-related stuff
Not done at the moment:
- SourceNode
fromStringWithSourceMap
function - SourceMapGenerator
fromSourceMap
function - SourceMapConsumer module
- SourceMapNode, SourceMapGenerator -
consumer
-related tests
Help needed
- Source map consumer
- Documentation & usage examples
- Decisions on WASM stuff - Rust repo https://github.com/fitzgen/source-map-mappings
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FSharp.Core (>= 6.0.2)
- System.Text.Json (>= 6.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.