@gjsify/fetch 0.4.30 → 0.4.31
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.
- package/lib/utils/referrer.d.ts +7 -1
- package/package.json +7 -7
package/lib/utils/referrer.d.ts
CHANGED
|
@@ -13,7 +13,13 @@ import type Request from '../request.js';
|
|
|
13
13
|
* @param url
|
|
14
14
|
* @param originOnly
|
|
15
15
|
*/
|
|
16
|
-
export declare function stripURLForUseAsAReferrer(url: null | URL | 'no-referrer', originOnly?: boolean):
|
|
16
|
+
export declare function stripURLForUseAsAReferrer(url: null | URL | 'no-referrer', originOnly?: boolean): "no-referrer" | (URL & {
|
|
17
|
+
username: string;
|
|
18
|
+
password: string;
|
|
19
|
+
hash: string;
|
|
20
|
+
pathname: string;
|
|
21
|
+
search: string;
|
|
22
|
+
});
|
|
17
23
|
/**
|
|
18
24
|
* @see {@link https://w3c.github.io/webappsec-referrer-policy/#enumdef-referrerpolicy enum ReferrerPolicy}
|
|
19
25
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/fetch",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.31",
|
|
4
4
|
"description": "Web and Node.js fetch module for Gjs",
|
|
5
5
|
"module": "lib/esm/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"fetch"
|
|
49
49
|
],
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@gjsify/cli": "^0.4.
|
|
52
|
-
"@gjsify/unit": "^0.4.
|
|
51
|
+
"@gjsify/cli": "^0.4.31",
|
|
52
|
+
"@gjsify/unit": "^0.4.31",
|
|
53
53
|
"@types/node": "^25.9.1",
|
|
54
54
|
"typescript": "^6.0.3"
|
|
55
55
|
},
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"@girs/gjs": "4.0.1",
|
|
59
59
|
"@girs/glib-2.0": "2.88.0-4.0.1",
|
|
60
60
|
"@girs/soup-3.0": "3.6.6-4.0.1",
|
|
61
|
-
"@gjsify/formdata": "^0.4.
|
|
62
|
-
"@gjsify/http": "^0.4.
|
|
63
|
-
"@gjsify/url": "^0.4.
|
|
64
|
-
"@gjsify/utils": "^0.4.
|
|
61
|
+
"@gjsify/formdata": "^0.4.31",
|
|
62
|
+
"@gjsify/http": "^0.4.31",
|
|
63
|
+
"@gjsify/url": "^0.4.31",
|
|
64
|
+
"@gjsify/utils": "^0.4.31"
|
|
65
65
|
}
|
|
66
66
|
}
|