@types/jquery 3.3.34 → 3.3.38
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 +3 -1
- jquery/LICENSE +21 -21
- jquery/README.md +2 -2
- jquery/index.d.ts +2 -1
- jquery/misc.d.ts +1 -24
- jquery/package.json +8 -3
jquery/JQuery.d.ts
CHANGED
|
@@ -4133,7 +4133,9 @@ $( "p" )
|
|
|
4133
4133
|
</html>
|
|
4134
4134
|
```
|
|
4135
4135
|
*/
|
|
4136
|
-
find(selector_element:
|
|
4136
|
+
find<K extends keyof HTMLElementTagNameMap>(selector_element: K | JQuery<K>): JQuery<HTMLElementTagNameMap[K]>;
|
|
4137
|
+
find<K extends keyof SVGElementTagNameMap>(selector_element: K | JQuery<K>): JQuery<SVGElementTagNameMap[K]>;
|
|
4138
|
+
find<E extends HTMLElement>(selector_element: JQuery.Selector | Element | E | JQuery<E>): JQuery<E>;
|
|
4137
4139
|
/**
|
|
4138
4140
|
* Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.
|
|
4139
4141
|
* @param queue The name of the queue in which to stop animations.
|
jquery/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
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:
|
|
11
|
+
* Last updated: Tue, 05 May 2020 00:16:29 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),
|
|
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).
|
jquery/index.d.ts
CHANGED
|
@@ -22,8 +22,9 @@
|
|
|
22
22
|
// Dick van den Brink <https://github.com/DickvdBrink>
|
|
23
23
|
// Thomas Schulz <https://github.com/King2500>
|
|
24
24
|
// Terry Mun <https://github.com/terrymun>
|
|
25
|
+
// Martin Badin <https://github.com/martin-badin>
|
|
25
26
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
26
|
-
// TypeScript Version: 2.
|
|
27
|
+
// TypeScript Version: 2.7
|
|
27
28
|
|
|
28
29
|
/// <reference types="sizzle" />
|
|
29
30
|
/// <reference path="JQueryStatic.d.ts" />
|
jquery/misc.d.ts
CHANGED
|
@@ -1160,29 +1160,6 @@ callbacks.fire( "world" );
|
|
|
1160
1160
|
*/
|
|
1161
1161
|
interface Thenable<T> extends PromiseLike<T> { }
|
|
1162
1162
|
|
|
1163
|
-
// NOTE: This is a private copy of the global Promise interface. It is used by JQuery.PromiseBase to indicate compatibility with other Promise implementations.
|
|
1164
|
-
// The global Promise interface cannot be used directly as it may be modified, as in the case of @types/bluebird-global.
|
|
1165
|
-
/**
|
|
1166
|
-
* Represents the completion of an asynchronous operation
|
|
1167
|
-
*/
|
|
1168
|
-
interface _Promise<T> {
|
|
1169
|
-
readonly [Symbol.toStringTag]: "Promise";
|
|
1170
|
-
/**
|
|
1171
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1172
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1173
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1174
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1175
|
-
*/
|
|
1176
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
|
|
1177
|
-
onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): _Promise<TResult1 | TResult2>;
|
|
1178
|
-
/**
|
|
1179
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1180
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1181
|
-
* @returns A Promise for the completion of the callback.
|
|
1182
|
-
*/
|
|
1183
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): _Promise<T | TResult>;
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
1163
|
// Type parameter guide
|
|
1187
1164
|
// --------------------
|
|
1188
1165
|
// Each type parameter represents a parameter in one of the three possible callbacks.
|
|
@@ -1205,7 +1182,7 @@ callbacks.fire( "world" );
|
|
|
1205
1182
|
interface PromiseBase<TR, TJ, TN,
|
|
1206
1183
|
UR, UJ, UN,
|
|
1207
1184
|
VR, VJ, VN,
|
|
1208
|
-
SR, SJ, SN>
|
|
1185
|
+
SR, SJ, SN> {
|
|
1209
1186
|
/**
|
|
1210
1187
|
* Add handlers to be called when the Deferred object is either resolved or rejected.
|
|
1211
1188
|
* @param alwaysCallback A function, or array of functions, that is called when the Deferred is resolved or rejected.
|
jquery/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jquery",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.38",
|
|
4
4
|
"description": "TypeScript definitions for jquery",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -113,6 +113,11 @@
|
|
|
113
113
|
"name": "Terry Mun",
|
|
114
114
|
"url": "https://github.com/terrymun",
|
|
115
115
|
"githubUsername": "terrymun"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "Martin Badin",
|
|
119
|
+
"url": "https://github.com/martin-badin",
|
|
120
|
+
"githubUsername": "martin-badin"
|
|
116
121
|
}
|
|
117
122
|
],
|
|
118
123
|
"main": "",
|
|
@@ -126,6 +131,6 @@
|
|
|
126
131
|
"dependencies": {
|
|
127
132
|
"@types/sizzle": "*"
|
|
128
133
|
},
|
|
129
|
-
"typesPublisherContentHash": "
|
|
130
|
-
"typeScriptVersion": "2.
|
|
134
|
+
"typesPublisherContentHash": "33105f44fa1203a4b29d528e353c81fe417c6c181f38b36f4bfca66f35e6183f",
|
|
135
|
+
"typeScriptVersion": "2.9"
|
|
131
136
|
}
|