@types/jquery 3.5.5 → 3.5.9

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
@@ -4526,9 +4526,9 @@ $( "*", document.body ).click(function( event ) {
4526
4526
  </html>
4527
4527
  ```
4528
4528
  */
4529
- get(index: number): TElement;
4529
+ get(index: number): TElement | undefined;
4530
4530
  /**
4531
- * Retrieve the elements matched by the jQuery object.
4531
+ * Retrieve the elements matched by the jQuery object. If the value of index is out of bounds — less than the negative number of elements or equal to or greater than the number of elements — it returns undefined.
4532
4532
  * @see \`{@link https://api.jquery.com/get/ }\`
4533
4533
  * @since 1.0
4534
4534
  * @example ​ ````Select all divs in the document and return the DOM Elements as an Array; then use the built-in reverse() method to reverse that array.
jquery/JQueryStatic.d.ts CHANGED
@@ -13203,6 +13203,7 @@ $( "span:eq(3)" ).text( "" + jQuery.data( div, "test2" ) );
13203
13203
  * @param str The string to trim.
13204
13204
  * @see \`{@link https://api.jquery.com/jQuery.trim/ }\`
13205
13205
  * @since 1.0
13206
+ * @deprecated ​ Deprecated since 3.5. See \`{@link https://api.jquery.com/category/deprecated/deprecated-3.5/ }\`.
13206
13207
  * @example ​ ````Remove the white spaces at the start and at the end of the string.
13207
13208
  ```html
13208
13209
  <!doctype html>
jquery/LICENSE CHANGED
File without changes
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, 07 Dec 2020 19:49:03 GMT
11
+ * Last updated: Mon, 22 Nov 2021 20:31:06 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), and [Martin Badin](https://github.com/martin-badin).
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).
File without changes
jquery/index.d.ts CHANGED
@@ -23,6 +23,7 @@
23
23
  // Thomas Schulz <https://github.com/King2500>
24
24
  // Terry Mun <https://github.com/terrymun>
25
25
  // Martin Badin <https://github.com/martin-badin>
26
+ // Chris Frewin <https://github.com/princefishthrower>
26
27
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
27
28
  // TypeScript Version: 2.7
28
29
 
jquery/legacy.d.ts CHANGED
File without changes