@types/k6 0.38.0 → 0.39.0
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.
- k6/README.md +2 -2
- k6/http.d.ts +17 -0
- k6/index.d.ts +2 -1
- k6/package.json +7 -2
k6/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This package contains type definitions for k6 (https://k6.io/docs/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 06 Sep 2022 12:02:46 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [na--](https://github.com/na--), [Mihail Stoykov](https://github.com/MStoykov), [Ivan](https://github.com/codebien), [Théo Crevon](https://github.com/oleiade), [Oleg Bespalov](https://github.com/olegbespalov),
|
|
16
|
+
These definitions were written by [na--](https://github.com/na--), [Mihail Stoykov](https://github.com/MStoykov), [Ivan](https://github.com/codebien), [Théo Crevon](https://github.com/oleiade), [Oleg Bespalov](https://github.com/olegbespalov), [Pepe Cano](https://github.com/ppcano), and [Nicole van der Hoeven](https://github.com/nicolevanderhoeven).
|
k6/http.d.ts
CHANGED
|
@@ -708,6 +708,23 @@ export class CookieJar {
|
|
|
708
708
|
* @param options - Optional settings.
|
|
709
709
|
*/
|
|
710
710
|
set(url: string, name: string, value: string, options?: CookieOptions | null): void;
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Delete all cookies for the given URL.
|
|
714
|
+
* https://k6.io/docs/javascript-api/k6-http/cookiejar/cookiejar-clear
|
|
715
|
+
* @param url - URL to delete all cookies for.
|
|
716
|
+
*/
|
|
717
|
+
|
|
718
|
+
clear(url: string): void;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Deletes specific cookie by name for the given URL.
|
|
722
|
+
* https://k6.io/docs/javascript-api/k6-http/cookiejar/cookiejar-delete/
|
|
723
|
+
* @param url - URL to delete cookie for.
|
|
724
|
+
* @param name - Cookie name to delete.
|
|
725
|
+
*/
|
|
726
|
+
|
|
727
|
+
delete(url: string, name: string): void;
|
|
711
728
|
}
|
|
712
729
|
|
|
713
730
|
/**
|
k6/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for k6 0.
|
|
1
|
+
// Type definitions for k6 0.39
|
|
2
2
|
// Project: https://k6.io/docs/
|
|
3
3
|
// Definitions by: na-- <https://github.com/na-->
|
|
4
4
|
// Mihail Stoykov <https://github.com/MStoykov>
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
// Théo Crevon <https://github.com/oleiade>
|
|
7
7
|
// Oleg Bespalov <https://github.com/olegbespalov>
|
|
8
8
|
// Pepe Cano <https://github.com/ppcano>
|
|
9
|
+
// Nicole van der Hoeven <https://github.com/nicolevanderhoeven>
|
|
9
10
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
10
11
|
// TypeScript Version: 3.4
|
|
11
12
|
|
k6/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/k6",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"description": "TypeScript definitions for k6",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,6 +34,11 @@
|
|
|
34
34
|
"name": "Pepe Cano",
|
|
35
35
|
"url": "https://github.com/ppcano",
|
|
36
36
|
"githubUsername": "ppcano"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "Nicole van der Hoeven",
|
|
40
|
+
"url": "https://github.com/nicolevanderhoeven",
|
|
41
|
+
"githubUsername": "nicolevanderhoeven"
|
|
37
42
|
}
|
|
38
43
|
],
|
|
39
44
|
"main": "",
|
|
@@ -45,6 +50,6 @@
|
|
|
45
50
|
},
|
|
46
51
|
"scripts": {},
|
|
47
52
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
53
|
+
"typesPublisherContentHash": "17d8a4f8db102a83ff2178f3658fa9282c52df347b50e1deee2f252bb4bcc0a1",
|
|
49
54
|
"typeScriptVersion": "4.1"
|
|
50
55
|
}
|