Skip to content

Commit 84cf9ae

Browse files
authored
Sort fetched MDN data by URL before saving to file (#2243)
1 parent 2cea3f6 commit 84cf9ae

18 files changed

+22721
-22720
lines changed

baselines/dom.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17154,7 +17154,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
1715417154
*/
1715517155
selectionDirection: "forward" | "backward" | "none" | null;
1715617156
/**
17157-
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. When there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17157+
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
1715817158
*
1715917159
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
1716017160
*/
@@ -28608,7 +28608,7 @@ declare var Response: {
2860828608
*/
2860928609
error(): Response;
2861028610
/**
28611-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
28611+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
2861228612
*
2861328613
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
2861428614
*/

baselines/serviceworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6840,7 +6840,7 @@ declare var Response: {
68406840
*/
68416841
error(): Response;
68426842
/**
6843-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
6843+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
68446844
*
68456845
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
68466846
*/

baselines/sharedworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6417,7 +6417,7 @@ declare var Response: {
64176417
*/
64186418
error(): Response;
64196419
/**
6420-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
6420+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
64216421
*
64226422
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
64236423
*/

baselines/ts5.5/dom.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17136,7 +17136,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
1713617136
*/
1713717137
selectionDirection: "forward" | "backward" | "none" | null;
1713817138
/**
17139-
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. When there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17139+
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
1714017140
*
1714117141
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
1714217142
*/
@@ -28584,7 +28584,7 @@ declare var Response: {
2858428584
*/
2858528585
error(): Response;
2858628586
/**
28587-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
28587+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
2858828588
*
2858928589
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
2859028590
*/

baselines/ts5.5/serviceworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6837,7 +6837,7 @@ declare var Response: {
68376837
*/
68386838
error(): Response;
68396839
/**
6840-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
6840+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
68416841
*
68426842
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
68436843
*/

baselines/ts5.5/sharedworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6414,7 +6414,7 @@ declare var Response: {
64146414
*/
64156415
error(): Response;
64166416
/**
6417-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
6417+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
64186418
*
64196419
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
64206420
*/

baselines/ts5.5/webworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7941,7 +7941,7 @@ declare var Response: {
79417941
*/
79427942
error(): Response;
79437943
/**
7944-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
7944+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
79457945
*
79467946
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
79477947
*/

baselines/ts5.6/dom.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17151,7 +17151,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
1715117151
*/
1715217152
selectionDirection: "forward" | "backward" | "none" | null;
1715317153
/**
17154-
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. When there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17154+
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
1715517155
*
1715617156
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
1715717157
*/
@@ -28605,7 +28605,7 @@ declare var Response: {
2860528605
*/
2860628606
error(): Response;
2860728607
/**
28608-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
28608+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
2860928609
*
2861028610
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
2861128611
*/

baselines/ts5.6/serviceworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6837,7 +6837,7 @@ declare var Response: {
68376837
*/
68386838
error(): Response;
68396839
/**
6840-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
6840+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
68416841
*
68426842
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
68436843
*/

baselines/ts5.6/sharedworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6414,7 +6414,7 @@ declare var Response: {
64146414
*/
64156415
error(): Response;
64166416
/**
6417-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
6417+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
64186418
*
64196419
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
64206420
*/

0 commit comments

Comments
 (0)