isomorphic-git 1.40.8 → 1.41.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.
- package/http/node/index.cjs +5 -0
- package/http/node/index.d.cts +5 -1
- package/http/node/index.d.ts +5 -1
- package/http/node/index.js +5 -0
- package/http/web/index.cjs +7 -1
- package/http/web/index.d.cts +5 -1
- package/http/web/index.d.ts +5 -1
- package/http/web/index.js +7 -1
- package/http/web/index.umd.js +7 -1
- package/index.cjs +3 -2
- package/index.d.cts +5 -0
- package/index.d.ts +5 -0
- package/index.js +3 -2
- package/index.umd.min.d.ts +5 -0
- package/index.umd.min.js +1 -1
- package/index.umd.min.js.map +1 -1
- package/managers/index.cjs +1 -0
- package/managers/index.d.cts +4 -0
- package/managers/index.d.ts +4 -0
- package/managers/index.js +1 -0
- package/package.json +1 -1
package/managers/index.cjs
CHANGED
|
@@ -33,6 +33,7 @@ var crypto$1 = require('crypto');
|
|
|
33
33
|
* @property {AsyncIterableIterator<Uint8Array>} [body] - An async iterator of Uint8Arrays that make up the body of POST requests
|
|
34
34
|
* @property {ProgressCallback} [onProgress] - Reserved for future use (emitting `GitProgressEvent`s)
|
|
35
35
|
* @property {object} [signal] - Reserved for future use (canceling a request)
|
|
36
|
+
* @property {Object} [fetchOptions={}] - Additional options to pass to fetch (Web) or simple-get (Node)
|
|
36
37
|
*/
|
|
37
38
|
|
|
38
39
|
/**
|
package/managers/index.d.cts
CHANGED
|
@@ -54,6 +54,10 @@ export type GitHttpRequest = {
|
|
|
54
54
|
* - Reserved for future use (canceling a request)
|
|
55
55
|
*/
|
|
56
56
|
signal?: object;
|
|
57
|
+
/**
|
|
58
|
+
* - Additional options to pass to fetch (Web) or simple-get (Node)
|
|
59
|
+
*/
|
|
60
|
+
fetchOptions?: any;
|
|
57
61
|
};
|
|
58
62
|
export type GitHttpResponse = {
|
|
59
63
|
/**
|
package/managers/index.d.ts
CHANGED
|
@@ -53,6 +53,10 @@ export type GitHttpRequest = {
|
|
|
53
53
|
* - Reserved for future use (canceling a request)
|
|
54
54
|
*/
|
|
55
55
|
signal?: object;
|
|
56
|
+
/**
|
|
57
|
+
* - Additional options to pass to fetch (Web) or simple-get (Node)
|
|
58
|
+
*/
|
|
59
|
+
fetchOptions?: any;
|
|
56
60
|
};
|
|
57
61
|
export type GitHttpResponse = {
|
|
58
62
|
/**
|
package/managers/index.js
CHANGED
|
@@ -26,6 +26,7 @@ import pako from 'pako';
|
|
|
26
26
|
* @property {AsyncIterableIterator<Uint8Array>} [body] - An async iterator of Uint8Arrays that make up the body of POST requests
|
|
27
27
|
* @property {ProgressCallback} [onProgress] - Reserved for future use (emitting `GitProgressEvent`s)
|
|
28
28
|
* @property {object} [signal] - Reserved for future use (canceling a request)
|
|
29
|
+
* @property {Object} [fetchOptions={}] - Additional options to pass to fetch (Web) or simple-get (Node)
|
|
29
30
|
*/
|
|
30
31
|
|
|
31
32
|
/**
|