@types/jquery 3.5.11 → 3.5.14

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/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.
@@ -13203,7 +13209,7 @@ $( "span:eq(3)" ).text( "" + jQuery.data( div, "test2" ) );
13203
13209
  * @param str The string to trim.
13204
13210
  * @see \`{@link https://api.jquery.com/jQuery.trim/ }\`
13205
13211
  * @since 1.0
13206
- * @deprecated ​ Deprecated since 3.5. See \`{@link https://api.jquery.com/category/deprecated/deprecated-3.5/ }\`.
13212
+ * @deprecated ​ Deprecated since 3.5. Use \`{@link String.prototype.trim String.prototype.trim}\`.
13207
13213
  * @example ​ ````Remove the white spaces at the start and at the end of the string.
13208
13214
  ```html
13209
13215
  <!doctype html>
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: Thu, 23 Dec 2021 23:34:54 GMT
11
+ * Last updated: Thu, 24 Feb 2022 15:01:41 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), [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>
jquery/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/jquery",
3
- "version": "3.5.11",
3
+ "version": "3.5.14",
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",
@@ -132,6 +127,6 @@
132
127
  "dependencies": {
133
128
  "@types/sizzle": "*"
134
129
  },
135
- "typesPublisherContentHash": "47a26380dc0f69ccd8767a7a45d625954c5fcc5a09a17d4eb8b9892d68b61838",
130
+ "typesPublisherContentHash": "9f788e87c9a414e61c159cc18d7f06aa9d6fffa10bda4e9b5784798949e9eb25",
136
131
  "typeScriptVersion": "3.8"
137
132
  }