Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #25 from JSMonk/source-map-version-restriction
Browse files Browse the repository at this point in the history
Add statement about possibility of source map rejecting in case of an invalid version field
  • Loading branch information
jkup authored Mar 13, 2024
2 parents fbcf32f + 2d93a65 commit 695bcf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source-map.bs
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ Note: The previous specification suggested an order to the keys in this file, bu
for practical reasons, the order cannot be defined in many JSON generators and
has never been enforced.

<dfn><code>version</code></dfn> is the version field which is always the number
`3` as an integer.
<dfn><code>version</code></dfn> is the version field which must always be the number
`3` as an integer. The source map may be rejected in case of a value different from `3`.

<dfn><code>file</code></dfn> an optional name of the generated code
that this source map is associated with. <mark>It's not specified if this can
Expand Down

0 comments on commit 695bcf5

Please sign in to comment.