Primary baseline
[email protected] defines runtime behavior, callback scheduling, error metadata, and the seven CommonJS exports.
Stackline maintained package · v1.0.0
The seven-function CommonJS API of [email protected], with real ESM, first-party types, and tested browser builds.
01 / Install
npm install @stackline/source-map-resolve
Or retain the historical import through an npm alias:
npm install source-map-resolve@npm:@stackline/source-map-resolve
02 / Browser artifact
This workbench imports the same self-contained ESM browser file distributed in the package.
Ready.
03 / Contract
[email protected] defines runtime behavior, callback scheduling, error metadata, and the seven CommonJS exports.
[email protected] is separately characterized for shared APIs and ordinary cases. Old UMD bytes and dependency topology are not reproduced.
Windows reader paths retain their drive designator. POSIX and network URL behavior stays aligned with 0.6.0.
Comment-like text inside strings may match. Inputs requiring grammar-level certainty should use a language-aware parser.
04 / API
| Function | Purpose |
|---|---|
resolveSourceMap | Find and read a map with a callback reader. |
resolveSourceMapSync | Synchronous map lookup and parsing. |
resolveSources | Resolve and optionally read every source. |
resolveSourcesSync | Synchronous source resolution. |
resolve | Resolve a map and its sources asynchronously. |
resolveSync | Synchronous combined resolver. |
parseMapToJSON | Strip the XSSI prefix and parse map JSON. |
Complete READMECompatibility contractMigrationSecurityLicense