@types/jquery 3.5.9 → 3.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
jquery/JQuery.d.ts CHANGED
@@ -1780,7 +1780,9 @@ $( "div" ).children( ".selected" ).css( "color", "blue" );
1780
1780
  </html>
1781
1781
  ```
1782
1782
  */
1783
- children(selector?: JQuery.Selector): this;
1783
+ children<K extends keyof HTMLElementTagNameMap>(selector: K): JQuery<HTMLElementTagNameMap[K]>;
1784
+ children<K extends keyof SVGElementTagNameMap>(selector: K): JQuery<SVGElementTagNameMap[K]>;
1785
+ children(selector?: JQuery.Selector): JQuery;
1784
1786
  /**
1785
1787
  * Remove from the queue all items that have not yet been run.
1786
1788
  * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
jquery/JQueryStatic.d.ts CHANGED
@@ -1542,8 +1542,11 @@ $( "#log" ).append( "<div><b>settings -- </b>" + JSON.stringify( settings ) + "<
1542
1542
  /**
1543
1543
  * Load data from the server using a HTTP GET request.
1544
1544
  * @param url A string containing the URL to which the request is sent.
1545
- * @param success A callback function that is executed if the request succeeds. Required if `dataType` is provided,
1546
- * but you can use `null` or \`{@link noop jQuery.noop}\` as a placeholder.
1545
+ * @param success_data _&#x40;param_ `success_data`
1546
+ * <br>
1547
+ * * `success` — A callback function that is executed if the request succeeds. Required if `dataType` is provided,
1548
+ * but you can use `null` or \`{@link noop jQuery.noop}\` as a placeholder. <br>
1549
+ * * `data` — A plain object or string that is sent to the server with the request.
1547
1550
  * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).
1548
1551
  * @see \`{@link https://api.jquery.com/jQuery.get/ }\`
1549
1552
  * @since 1.0
@@ -1557,7 +1560,7 @@ $.get( "test.php", function( data ) {
1557
1560
  ```
1558
1561
  */
1559
1562
  get(url: string,
1560
- success: JQuery.jqXHR.DoneCallback | null,
1563
+ data_success: JQuery.PlainObject | string | JQuery.jqXHR.DoneCallback | null,
1561
1564
  dataType: string): JQuery.jqXHR;
1562
1565
  /**
1563
1566
  * Load data from the server using a HTTP GET request.
@@ -2652,14 +2655,17 @@ $.post( "test.php", { func: "getNameAndTime" }, function( data ) {
2652
2655
  /**
2653
2656
  * Load data from the server using a HTTP POST request.
2654
2657
  * @param url A string containing the URL to which the request is sent.
2655
- * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but
2656
- * can be null in that case.
2658
+ * @param success_data _&#x40;param_ `success_data`
2659
+ * <br>
2660
+ * * `success` — A callback function that is executed if the request succeeds. Required if `dataType` is provided,
2661
+ * but can be `null` in that case. <br>
2662
+ * * `data` — A plain object or string that is sent to the server with the request.
2657
2663
  * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).
2658
2664
  * @see \`{@link https://api.jquery.com/jQuery.post/ }\`
2659
2665
  * @since 1.0
2660
2666
  */
2661
2667
  post(url: string,
2662
- success: JQuery.jqXHR.DoneCallback | null,
2668
+ data_success: JQuery.PlainObject | string | JQuery.jqXHR.DoneCallback | null,
2663
2669
  dataType: string): JQuery.jqXHR;
2664
2670
  /**
2665
2671
  * Load data from the server using a HTTP POST request.
jquery/README.md CHANGED
@@ -8,9 +8,9 @@ This package contains type definitions for jquery (https://jquery.com).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 22 Nov 2021 20:31:06 GMT
11
+ * Last updated: Tue, 11 Jan 2022 22:31:39 GMT
12
12
  * Dependencies: [@types/sizzle](https://npmjs.com/package/@types/sizzle)
13
13
  * Global values: `$`, `Symbol`, `jQuery`
14
14
 
15
15
  # Credits
16
- These definitions were written by [Leonard Thieu](https://github.com/leonard-thieu), [Boris Yankov](https://github.com/borisyankov), [Christian Hoffmeister](https://github.com/choffmeister), [Steve Fenton](https://github.com/Steve-Fenton), [Diullei Gomes](https://github.com/Diullei), [Tass Iliopoulos](https://github.com/tasoili), [Jason Swearingen](https://github.com/jasons-novaleaf), [Sean Hill](https://github.com/seanski), [Guus Goossens](https://github.com/Guuz), [Kelly Summerlin](https://github.com/ksummerlin), [Basarat Ali Syed](https://github.com/basarat), [Nicholas Wolverson](https://github.com/nwolverson), [Derek Cicerone](https://github.com/derekcicerone), [Andrew Gaspar](https://github.com/AndrewGaspar), [Seikichi Kondo](https://github.com/seikichi), [Benjamin Jackman](https://github.com/benjaminjackman), [Poul Sorensen](https://github.com/s093294), [Josh Strobl](https://github.com/JoshStrobl), [John Reilly](https://github.com/johnnyreilly), [Dick van den Brink](https://github.com/DickvdBrink), [Thomas Schulz](https://github.com/King2500), [Terry Mun](https://github.com/terrymun), [Martin Badin](https://github.com/martin-badin), and [Chris Frewin](https://github.com/princefishthrower).
16
+ These definitions were written by [Leonard Thieu](https://github.com/leonard-thieu), [Boris Yankov](https://github.com/borisyankov), [Christian Hoffmeister](https://github.com/choffmeister), [Steve Fenton](https://github.com/Steve-Fenton), [Diullei Gomes](https://github.com/Diullei), [Tass Iliopoulos](https://github.com/tasoili), [Sean Hill](https://github.com/seanski), [Guus Goossens](https://github.com/Guuz), [Kelly Summerlin](https://github.com/ksummerlin), [Basarat Ali Syed](https://github.com/basarat), [Nicholas Wolverson](https://github.com/nwolverson), [Derek Cicerone](https://github.com/derekcicerone), [Andrew Gaspar](https://github.com/AndrewGaspar), [Seikichi Kondo](https://github.com/seikichi), [Benjamin Jackman](https://github.com/benjaminjackman), [Josh Strobl](https://github.com/JoshStrobl), [John Reilly](https://github.com/johnnyreilly), [Dick van den Brink](https://github.com/DickvdBrink), [Thomas Schulz](https://github.com/King2500), [Terry Mun](https://github.com/terrymun), [Martin Badin](https://github.com/martin-badin), and [Chris Frewin](https://github.com/princefishthrower).
jquery/index.d.ts CHANGED
@@ -6,7 +6,6 @@
6
6
  // Steve Fenton <https://github.com/Steve-Fenton>
7
7
  // Diullei Gomes <https://github.com/Diullei>
8
8
  // Tass Iliopoulos <https://github.com/tasoili>
9
- // Jason Swearingen <https://github.com/jasons-novaleaf>
10
9
  // Sean Hill <https://github.com/seanski>
11
10
  // Guus Goossens <https://github.com/Guuz>
12
11
  // Kelly Summerlin <https://github.com/ksummerlin>
@@ -16,7 +15,6 @@
16
15
  // Andrew Gaspar <https://github.com/AndrewGaspar>
17
16
  // Seikichi Kondo <https://github.com/seikichi>
18
17
  // Benjamin Jackman <https://github.com/benjaminjackman>
19
- // Poul Sorensen <https://github.com/s093294>
20
18
  // Josh Strobl <https://github.com/JoshStrobl>
21
19
  // John Reilly <https://github.com/johnnyreilly>
22
20
  // Dick van den Brink <https://github.com/DickvdBrink>
jquery/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/jquery",
3
- "version": "3.5.9",
3
+ "version": "3.5.13",
4
4
  "description": "TypeScript definitions for jquery",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery",
6
6
  "license": "MIT",
@@ -35,11 +35,6 @@
35
35
  "url": "https://github.com/tasoili",
36
36
  "githubUsername": "tasoili"
37
37
  },
38
- {
39
- "name": "Jason Swearingen",
40
- "url": "https://github.com/jasons-novaleaf",
41
- "githubUsername": "jasons-novaleaf"
42
- },
43
38
  {
44
39
  "name": "Sean Hill",
45
40
  "url": "https://github.com/seanski",
@@ -85,11 +80,6 @@
85
80
  "url": "https://github.com/benjaminjackman",
86
81
  "githubUsername": "benjaminjackman"
87
82
  },
88
- {
89
- "name": "Poul Sorensen",
90
- "url": "https://github.com/s093294",
91
- "githubUsername": "s093294"
92
- },
93
83
  {
94
84
  "name": "Josh Strobl",
95
85
  "url": "https://github.com/JoshStrobl",
@@ -137,6 +127,6 @@
137
127
  "dependencies": {
138
128
  "@types/sizzle": "*"
139
129
  },
140
- "typesPublisherContentHash": "0ef0358b8d7fceaa9db874ca675f367c3e02492fbad18cfa03167eac4df0f819",
130
+ "typesPublisherContentHash": "5a36c8286c4bd77b937e018aacd7b1960cefa0e826ab4ab44b14cdf92d083175",
141
131
  "typeScriptVersion": "3.8"
142
132
  }