mirror of
https://github.com/cypress-io/cypress.git
synced 2025-12-20 13:51:29 -06:00
chore(deps): update dependency @types/jquery.scrollto to v1.4.32 (#32993)
* chore(deps): update dependency @types/jquery.scrollto to v1.4.32 * empty commit * update patch-package --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
"@types/chai-subset": "1.3.6",
|
||||
"@types/common-tags": "^1.8.0",
|
||||
"@types/crypto-js": "4.1.1",
|
||||
"@types/jquery.scrollto": "1.4.29",
|
||||
"@types/jquery.scrollto": "1.4.32",
|
||||
"@types/mime": "^3.0.1",
|
||||
"@types/mocha": "^8.0.3",
|
||||
"@types/sinonjs__fake-timers": "8.1.1",
|
||||
|
||||
@@ -1,58 +1,56 @@
|
||||
diff --git a/node_modules/@types/jquery.scrollto/index.d.ts b/node_modules/@types/jquery.scrollto/index.d.ts
|
||||
index 0a00c69..126a3d0 100755
|
||||
index 25110fb..d23c9ce 100644
|
||||
--- a/node_modules/@types/jquery.scrollto/index.d.ts
|
||||
+++ b/node_modules/@types/jquery.scrollto/index.d.ts
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/// <reference types="jquery"/>
|
||||
|
||||
-interface ScrollToOptions {
|
||||
+interface JQueryScrollToOptions<TElement> extends JQuery.EffectsOptions<TElement> {
|
||||
/**
|
||||
* Which axis must be scrolled, use 'x', 'y', 'xy' or 'yx'.
|
||||
*/
|
||||
@@ -48,7 +48,7 @@ interface ScrollToOptions {
|
||||
* Which axis must be scrolled, use 'x', 'y', 'xy' or 'yx'.
|
||||
*/
|
||||
@@ -42,7 +42,7 @@ interface ScrollToOptions {
|
||||
onAfterFirst?: (() => void) | undefined;
|
||||
}
|
||||
|
||||
-interface JQuery {
|
||||
+interface JQuery<TElement> {
|
||||
/**
|
||||
* Scroll the matched elements
|
||||
*/
|
||||
@@ -60,7 +60,7 @@ interface JQuery {
|
||||
* @param duration The OVERALL length of the animation
|
||||
* @param settings Set of settings.
|
||||
*/
|
||||
* Scroll the matched elements
|
||||
*/
|
||||
@@ -54,7 +54,7 @@ interface JQuery {
|
||||
* @param duration The OVERALL length of the animation
|
||||
* @param settings Set of settings.
|
||||
*/
|
||||
- (target: any, duration?: number, settings?: ScrollToOptions): JQuery;
|
||||
+ (target: any, duration?: number, settings?: JQueryScrollToOptions<TElement>): JQuery;
|
||||
/**
|
||||
* Scroll the matched elements
|
||||
*
|
||||
@@ -76,7 +76,7 @@ interface JQuery {
|
||||
* @param settings Set of settings.
|
||||
* @param onAfter The onAfter callback.
|
||||
*/
|
||||
* Scroll the matched elements
|
||||
*
|
||||
@@ -70,7 +70,7 @@ interface JQuery {
|
||||
* @param settings Set of settings.
|
||||
* @param onAfter The onAfter callback.
|
||||
*/
|
||||
- (target: any, settings: ScrollToOptions, onAfter?: Function): JQuery;
|
||||
+ (target: any, settings: JQueryScrollToOptions<TElement>, onAfter?: Function): JQuery;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ interface JQueryStatic {
|
||||
* @param duration The OVERALL length of the animation
|
||||
* @param settings Set of settings.
|
||||
*/
|
||||
@@ -86,7 +86,7 @@ interface JQueryStatic {
|
||||
* @param duration The OVERALL length of the animation
|
||||
* @param settings Set of settings.
|
||||
*/
|
||||
- (target: any, duration?: number, settings?: ScrollToOptions): JQuery;
|
||||
+ (target: any, duration?: number, settings?: JQueryScrollToOptions<any>): JQuery;
|
||||
/**
|
||||
* Scroll window
|
||||
*
|
||||
@@ -110,7 +110,7 @@ interface JQueryStatic {
|
||||
* @param settings Set of settings.
|
||||
* @param onAfter The onAfter callback.
|
||||
*/
|
||||
* Scroll window
|
||||
*
|
||||
@@ -102,6 +102,6 @@ interface JQueryStatic {
|
||||
* @param settings Set of settings.
|
||||
* @param onAfter The onAfter callback.
|
||||
*/
|
||||
- (target: any, settings: ScrollToOptions, onAfter?: Function): JQuery;
|
||||
+ (target: any, settings: JQueryScrollToOptions<any>, onAfter?: Function): JQuery;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
@@ -8628,10 +8628,10 @@
|
||||
expect "^30.0.0"
|
||||
pretty-format "^30.0.0"
|
||||
|
||||
"@types/jquery.scrollto@1.4.29":
|
||||
version "1.4.29"
|
||||
resolved "https://registry.yarnpkg.com/@types/jquery.scrollto/-/jquery.scrollto-1.4.29.tgz#a3cdbe757249c08740dc4c36d83bf3c041e315cc"
|
||||
integrity sha512-4AGdSgD6BDFcz53My+gtmsqbQFl72V7bc5YqhUw9jZTpx1w9ZiQqdvFyRU/DXSuBDG+pif8FL3geaKM7ZDGngw==
|
||||
"@types/jquery.scrollto@1.4.32":
|
||||
version "1.4.32"
|
||||
resolved "https://registry.yarnpkg.com/@types/jquery.scrollto/-/jquery.scrollto-1.4.32.tgz#ddc3468338254eb675e49f417c0b81f103d34187"
|
||||
integrity sha512-vvSKYXgllKgvs6DJgow1sT5rhVpkyei2WOakodGxyKA+w1PNVcQuY6PwrbBztbgvWxpT62kDM3RlbL0xmejHCA==
|
||||
dependencies:
|
||||
"@types/jquery" "*"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user