From 3690093ddcaac576ab0e3be4c06192fe0d7d3a9d Mon Sep 17 00:00:00 2001 From: Artem Kobzar Date: Wed, 17 Jan 2024 20:04:26 +0100 Subject: [PATCH 1/3] Add statement about possibility of source map rejecting in case of an invalid version field --- source-map.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-map.bs b/source-map.bs index 6184c83..08649e4 100644 --- a/source-map.bs +++ b/source-map.bs @@ -168,7 +168,7 @@ for practical reasons, the order cannot be defined in many JSON generators and has never been enforced. version is the version field which is always the number -`3` as an integer. +`3` as an integer. Source map can be rejected in case of a value different from `3`. file an optional name of the generated code that this source map is associated with. It's not specified if this can From 64ebc306b024e915969b53107860b374028cfb4b Mon Sep 17 00:00:00 2001 From: Artem Kobzar Date: Thu, 29 Feb 2024 18:55:38 +0100 Subject: [PATCH 2/3] Replace `can` with `may` and add the indefinite article --- source-map.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-map.bs b/source-map.bs index 08649e4..32b6f22 100644 --- a/source-map.bs +++ b/source-map.bs @@ -168,7 +168,7 @@ for practical reasons, the order cannot be defined in many JSON generators and has never been enforced. version is the version field which is always the number -`3` as an integer. Source map can be rejected in case of a value different from `3`. +`3` as an integer. A source map may be rejected in case of a value different from `3`. file an optional name of the generated code that this source map is associated with. It's not specified if this can From e27a8c4e065903b30deaef300a58290dc1e1f4a9 Mon Sep 17 00:00:00 2001 From: Artem Kobzar Date: Fri, 1 Mar 2024 11:48:04 +0100 Subject: [PATCH 3/3] Replace `is` with `must be` inside the statement with the `version` field description --- source-map.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source-map.bs b/source-map.bs index 32b6f22..ce01346 100644 --- a/source-map.bs +++ b/source-map.bs @@ -167,8 +167,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. -version is the version field which is always the number -`3` as an integer. A source map may be rejected in case of a value different from `3`. +version 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`. file an optional name of the generated code that this source map is associated with. It's not specified if this can