GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — source-map-tests/decoding at main · tc39/source-map-tests

Expand file tree

/

decoding

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

decoding

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
debug-id
debug-id
 
 
scopes
scopes
 
 
README.md
README.md
 
 
source-map-record.d.ts
source-map-record.d.ts
 
 

README.md

Outline

Decoding tests

This directory contains various source map files along with expectations to help implementations verify source map decoding.

Each source map <file name>.map, is accompanied by:

  • a <file name>.map.golden file, containing a Decoded Source Map Record in JSON format
  • an optional <file name>.map.error file. It is present for source maps where the spec would "optionally report an error". At the moment, the <file name>.error file only serves as a marker. But in the future it may be turned into a JSON with more information about the number and specifics of the expected errors.

.golden format

The JSON format of the .golden files, attempts to follow the Decoded Source Map Record closely, but since the "Decoded Source Map Record" has cycles, we deviate slightly. The exact format is documented in ./source-map-record.d.ts.

Proposals

Each source map proposal gets its own sub-directory. If a proposal adds new specification records or extends existing records, the sub-directory should contain a separate <proposal>/<proposal>.d.ts that describes the extended golden files. See ./scopes/scopes.d.ts as an example. Once a proposal reaches stage 4, the <proposal>/<proposal>.d.ts file is merged into the ./source-map-record.d.ts.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.