isomorphic-git 1.44.0 → 1.44.2
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/README.md +1 -0
- package/index.cjs +86 -16
- package/index.d.cts +74 -58
- package/index.d.ts +74 -58
- package/index.js +86 -16
- package/index.umd.min.d.ts +74 -58
- package/index.umd.min.js +1 -1
- package/index.umd.min.js.map +1 -1
- package/managers/index.cjs +46 -13
- package/managers/index.js +46 -13
- package/managers/index.umd.min.js +1 -1
- package/managers/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -462,6 +462,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
|
|
|
462
462
|
<tr>
|
|
463
463
|
<td align="center"><a href="https://github.com/ewraj"><img src="https://avatars.githubusercontent.com/u/212665522?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Raj Royal</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ewraj" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ewraj" title="Tests">⚠️</a></td>
|
|
464
464
|
<td align="center"><a href="https://github.com/macabeus"><img src="https://avatars.githubusercontent.com/u/9501115?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Bruno Macabeus</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=macabeus" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=macabeus" title="Tests">⚠️</a></td>
|
|
465
|
+
<td align="center"><a href="https://github.com/snowyukitty"><img src="https://avatars.githubusercontent.com/u/270071858?v=4?s=60" width="60px;" alt=""/><br /><sub><b>snowyukitty</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=snowyukitty" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=snowyukitty" title="Tests">⚠️</a></td>
|
|
465
466
|
<td align="center"><a href="https://github.com/ShahabAhmed01"><img src="https://avatars.githubusercontent.com/u/192491541?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Shahab Ahmed</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ShahabAhmed01" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ShahabAhmed01" title="Tests">⚠️</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ShahabAhmed01" title="Documentation">📖</a></td>
|
|
466
467
|
</tr>
|
|
467
468
|
</table>
|
package/index.cjs
CHANGED
|
@@ -360,9 +360,10 @@ class BaseError extends Error {
|
|
|
360
360
|
|
|
361
361
|
toJSON() {
|
|
362
362
|
// Error objects aren't normally serializable. So we do something about that.
|
|
363
|
+
const metadata = /** @type {any} */ (this);
|
|
363
364
|
return {
|
|
364
|
-
code:
|
|
365
|
-
data:
|
|
365
|
+
code: metadata.code,
|
|
366
|
+
data: metadata.data,
|
|
366
367
|
caller: this.caller,
|
|
367
368
|
message: this.message,
|
|
368
369
|
stack: this.stack,
|
|
@@ -371,8 +372,9 @@ class BaseError extends Error {
|
|
|
371
372
|
|
|
372
373
|
fromJSON(json) {
|
|
373
374
|
const e = new BaseError(json.message);
|
|
374
|
-
|
|
375
|
-
|
|
375
|
+
const metadata = /** @type {any} */ (e);
|
|
376
|
+
metadata.code = json.code;
|
|
377
|
+
metadata.data = json.data;
|
|
376
378
|
e.caller = json.caller;
|
|
377
379
|
e.stack = json.stack;
|
|
378
380
|
return e
|
|
@@ -3263,6 +3265,35 @@ async function parseHeader(reader) {
|
|
|
3263
3265
|
return { type, length, ofs, reference }
|
|
3264
3266
|
}
|
|
3265
3267
|
|
|
3268
|
+
class DecompressionError extends BaseError {
|
|
3269
|
+
/**
|
|
3270
|
+
* @param {string} message
|
|
3271
|
+
*/
|
|
3272
|
+
constructor(message) {
|
|
3273
|
+
super(`Invalid compressed buffer: ${message}`);
|
|
3274
|
+
this.code = this.name = DecompressionError.code;
|
|
3275
|
+
this.data = { message };
|
|
3276
|
+
}
|
|
3277
|
+
}
|
|
3278
|
+
/** @type {'DecompressionError'} */
|
|
3279
|
+
DecompressionError.code = 'DecompressionError';
|
|
3280
|
+
|
|
3281
|
+
/* eslint-env node, browser */
|
|
3282
|
+
|
|
3283
|
+
async function nativeInflate(buffer) {
|
|
3284
|
+
const ds = new DecompressionStream('deflate');
|
|
3285
|
+
const d = new Blob([buffer]).stream().pipeThrough(ds);
|
|
3286
|
+
try {
|
|
3287
|
+
return new Uint8Array(await new Response(d).arrayBuffer())
|
|
3288
|
+
} catch (err) {
|
|
3289
|
+
// Some native implementations reject corrupt data with an empty TypeError.
|
|
3290
|
+
if (err && err.name === 'TypeError' && err.message === '') {
|
|
3291
|
+
throw new DecompressionError('decompression failed')
|
|
3292
|
+
}
|
|
3293
|
+
throw err
|
|
3294
|
+
}
|
|
3295
|
+
}
|
|
3296
|
+
|
|
3266
3297
|
/* eslint-env node, browser */
|
|
3267
3298
|
|
|
3268
3299
|
let supportsDecompressionStream = false;
|
|
@@ -3271,15 +3302,17 @@ async function inflate(buffer) {
|
|
|
3271
3302
|
if (supportsDecompressionStream === null) {
|
|
3272
3303
|
supportsDecompressionStream = testDecompressionStream();
|
|
3273
3304
|
}
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3305
|
+
try {
|
|
3306
|
+
return supportsDecompressionStream
|
|
3307
|
+
? await nativeInflate(buffer)
|
|
3308
|
+
: pako.inflate(buffer)
|
|
3309
|
+
} catch (err) {
|
|
3310
|
+
if (typeof err === 'string') {
|
|
3311
|
+
// Pako throws strings for corrupt data; preserve existing Error objects.
|
|
3312
|
+
throw new DecompressionError(err)
|
|
3313
|
+
}
|
|
3314
|
+
throw err
|
|
3315
|
+
}
|
|
3283
3316
|
}
|
|
3284
3317
|
|
|
3285
3318
|
function testDecompressionStream() {
|
|
@@ -4276,6 +4309,7 @@ var Errors = /*#__PURE__*/Object.freeze({
|
|
|
4276
4309
|
CherryPickMergeCommitError: CherryPickMergeCommitError,
|
|
4277
4310
|
CherryPickRootCommitError: CherryPickRootCommitError,
|
|
4278
4311
|
CommitNotFetchedError: CommitNotFetchedError,
|
|
4312
|
+
DecompressionError: DecompressionError,
|
|
4279
4313
|
EmptyCommitError: EmptyCommitError,
|
|
4280
4314
|
EmptyServerResponseError: EmptyServerResponseError,
|
|
4281
4315
|
FastForwardError: FastForwardError,
|
|
@@ -10056,8 +10090,8 @@ function filterCapabilities(server, client) {
|
|
|
10056
10090
|
|
|
10057
10091
|
const pkg = {
|
|
10058
10092
|
name: 'isomorphic-git',
|
|
10059
|
-
version: '1.44.
|
|
10060
|
-
agent: 'git/isomorphic-git@1.44.
|
|
10093
|
+
version: '1.44.2',
|
|
10094
|
+
agent: 'git/isomorphic-git@1.44.2',
|
|
10061
10095
|
};
|
|
10062
10096
|
|
|
10063
10097
|
class FIFO {
|
|
@@ -16969,7 +17003,16 @@ async function status({
|
|
|
16969
17003
|
|
|
16970
17004
|
const H = treeOid !== null; // head
|
|
16971
17005
|
const I = indexEntry !== null; // index
|
|
16972
|
-
|
|
17006
|
+
// `lstat` resolves names case-insensitively on filesystems like macOS
|
|
17007
|
+
// and Windows, so `ReAdMe.Md` returns the stats of `README.md`. For a
|
|
17008
|
+
// filepath tracked under that exact name (H or I) the leniency is what
|
|
17009
|
+
// core.ignorecase wants: the working copy is found. For any other
|
|
17010
|
+
// filepath it fabricates a file that is not there, turning 'absent'
|
|
17011
|
+
// into '*added', so confirm every segment exists exactly as spelled by
|
|
17012
|
+
// listing each parent directory.
|
|
17013
|
+
const W =
|
|
17014
|
+
stats !== null &&
|
|
17015
|
+
(H || I || (await hasExactCasePath({ fs, dir, filepath })));
|
|
16973
17016
|
|
|
16974
17017
|
const getWorkdirOid = async () => {
|
|
16975
17018
|
if (I && !compareStats(indexEntry, stats)) {
|
|
@@ -17054,6 +17097,33 @@ async function status({
|
|
|
17054
17097
|
}
|
|
17055
17098
|
}
|
|
17056
17099
|
|
|
17100
|
+
// Walks `filepath` segment by segment under `dir`, requiring each name to
|
|
17101
|
+
// appear exactly as spelled in the parent directory's `readdir` listing.
|
|
17102
|
+
// Directory listings report the case actually stored on disk even when
|
|
17103
|
+
// `lstat` resolves names case-insensitively. Names are compared in Unicode
|
|
17104
|
+
// normal form, since macOS may list `é` decomposed when it was passed composed.
|
|
17105
|
+
async function hasExactCasePath({ fs, dir, filepath }) {
|
|
17106
|
+
const segments = filepath
|
|
17107
|
+
.replace(/\\/g, '/')
|
|
17108
|
+
.split('/')
|
|
17109
|
+
.filter(segment => segment !== '' && segment !== '.');
|
|
17110
|
+
let parent = dir;
|
|
17111
|
+
for (const segment of segments) {
|
|
17112
|
+
let entries;
|
|
17113
|
+
try {
|
|
17114
|
+
entries = await fs._readdir(parent);
|
|
17115
|
+
} catch (err) {
|
|
17116
|
+
if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return false
|
|
17117
|
+
throw err
|
|
17118
|
+
}
|
|
17119
|
+
if (!entries.some(entry => entry.normalize() === segment.normalize())) {
|
|
17120
|
+
return false
|
|
17121
|
+
}
|
|
17122
|
+
parent = join(parent, segment);
|
|
17123
|
+
}
|
|
17124
|
+
return true
|
|
17125
|
+
}
|
|
17126
|
+
|
|
17057
17127
|
async function getOidAtPath({ fs, cache, gitdir: updatedGitdir, tree, path }) {
|
|
17058
17128
|
if (typeof path === 'string') path = path.split('/');
|
|
17059
17129
|
const dirname = path.shift();
|
package/index.d.cts
CHANGED
|
@@ -642,6 +642,7 @@ export var Errors: Readonly<{
|
|
|
642
642
|
CherryPickMergeCommitError: typeof CherryPickMergeCommitError;
|
|
643
643
|
CherryPickRootCommitError: typeof CherryPickRootCommitError;
|
|
644
644
|
CommitNotFetchedError: typeof CommitNotFetchedError;
|
|
645
|
+
DecompressionError: typeof DecompressionError;
|
|
645
646
|
EmptyCommitError: typeof EmptyCommitError;
|
|
646
647
|
EmptyServerResponseError: typeof EmptyServerResponseError;
|
|
647
648
|
FastForwardError: typeof FastForwardError;
|
|
@@ -4060,6 +4061,21 @@ declare namespace CommitNotFetchedError {
|
|
|
4060
4061
|
let code_6: "CommitNotFetchedError";
|
|
4061
4062
|
export { code_6 as code };
|
|
4062
4063
|
}
|
|
4064
|
+
declare class DecompressionError extends BaseError {
|
|
4065
|
+
/**
|
|
4066
|
+
* @param {string} message
|
|
4067
|
+
*/
|
|
4068
|
+
constructor(message: string);
|
|
4069
|
+
code: "DecompressionError";
|
|
4070
|
+
name: "DecompressionError";
|
|
4071
|
+
data: {
|
|
4072
|
+
message: string;
|
|
4073
|
+
};
|
|
4074
|
+
}
|
|
4075
|
+
declare namespace DecompressionError {
|
|
4076
|
+
let code_7: "DecompressionError";
|
|
4077
|
+
export { code_7 as code };
|
|
4078
|
+
}
|
|
4063
4079
|
declare class EmptyCommitError extends BaseError {
|
|
4064
4080
|
constructor();
|
|
4065
4081
|
code: "EmptyCommitError";
|
|
@@ -4067,8 +4083,8 @@ declare class EmptyCommitError extends BaseError {
|
|
|
4067
4083
|
data: {};
|
|
4068
4084
|
}
|
|
4069
4085
|
declare namespace EmptyCommitError {
|
|
4070
|
-
let
|
|
4071
|
-
export {
|
|
4086
|
+
let code_8: "EmptyCommitError";
|
|
4087
|
+
export { code_8 as code };
|
|
4072
4088
|
}
|
|
4073
4089
|
declare class EmptyServerResponseError extends BaseError {
|
|
4074
4090
|
constructor();
|
|
@@ -4077,8 +4093,8 @@ declare class EmptyServerResponseError extends BaseError {
|
|
|
4077
4093
|
data: {};
|
|
4078
4094
|
}
|
|
4079
4095
|
declare namespace EmptyServerResponseError {
|
|
4080
|
-
let
|
|
4081
|
-
export {
|
|
4096
|
+
let code_9: "EmptyServerResponseError";
|
|
4097
|
+
export { code_9 as code };
|
|
4082
4098
|
}
|
|
4083
4099
|
declare class FastForwardError extends BaseError {
|
|
4084
4100
|
constructor();
|
|
@@ -4087,8 +4103,8 @@ declare class FastForwardError extends BaseError {
|
|
|
4087
4103
|
data: {};
|
|
4088
4104
|
}
|
|
4089
4105
|
declare namespace FastForwardError {
|
|
4090
|
-
let
|
|
4091
|
-
export {
|
|
4106
|
+
let code_10: "FastForwardError";
|
|
4107
|
+
export { code_10 as code };
|
|
4092
4108
|
}
|
|
4093
4109
|
declare class GitPushError extends BaseError {
|
|
4094
4110
|
/**
|
|
@@ -4104,8 +4120,8 @@ declare class GitPushError extends BaseError {
|
|
|
4104
4120
|
};
|
|
4105
4121
|
}
|
|
4106
4122
|
declare namespace GitPushError {
|
|
4107
|
-
let
|
|
4108
|
-
export {
|
|
4123
|
+
let code_11: "GitPushError";
|
|
4124
|
+
export { code_11 as code };
|
|
4109
4125
|
}
|
|
4110
4126
|
declare class HttpError extends BaseError {
|
|
4111
4127
|
/**
|
|
@@ -4123,8 +4139,8 @@ declare class HttpError extends BaseError {
|
|
|
4123
4139
|
};
|
|
4124
4140
|
}
|
|
4125
4141
|
declare namespace HttpError {
|
|
4126
|
-
let
|
|
4127
|
-
export {
|
|
4142
|
+
let code_12: "HttpError";
|
|
4143
|
+
export { code_12 as code };
|
|
4128
4144
|
}
|
|
4129
4145
|
declare class InternalError extends BaseError {
|
|
4130
4146
|
/**
|
|
@@ -4138,8 +4154,8 @@ declare class InternalError extends BaseError {
|
|
|
4138
4154
|
};
|
|
4139
4155
|
}
|
|
4140
4156
|
declare namespace InternalError {
|
|
4141
|
-
let
|
|
4142
|
-
export {
|
|
4157
|
+
let code_13: "InternalError";
|
|
4158
|
+
export { code_13 as code };
|
|
4143
4159
|
}
|
|
4144
4160
|
declare class InvalidFilepathError extends BaseError {
|
|
4145
4161
|
/**
|
|
@@ -4153,8 +4169,8 @@ declare class InvalidFilepathError extends BaseError {
|
|
|
4153
4169
|
};
|
|
4154
4170
|
}
|
|
4155
4171
|
declare namespace InvalidFilepathError {
|
|
4156
|
-
let
|
|
4157
|
-
export {
|
|
4172
|
+
let code_14: "InvalidFilepathError";
|
|
4173
|
+
export { code_14 as code };
|
|
4158
4174
|
}
|
|
4159
4175
|
declare class InvalidOidError extends BaseError {
|
|
4160
4176
|
/**
|
|
@@ -4168,8 +4184,8 @@ declare class InvalidOidError extends BaseError {
|
|
|
4168
4184
|
};
|
|
4169
4185
|
}
|
|
4170
4186
|
declare namespace InvalidOidError {
|
|
4171
|
-
let
|
|
4172
|
-
export {
|
|
4187
|
+
let code_15: "InvalidOidError";
|
|
4188
|
+
export { code_15 as code };
|
|
4173
4189
|
}
|
|
4174
4190
|
declare class InvalidRefNameError extends BaseError {
|
|
4175
4191
|
/**
|
|
@@ -4186,8 +4202,8 @@ declare class InvalidRefNameError extends BaseError {
|
|
|
4186
4202
|
};
|
|
4187
4203
|
}
|
|
4188
4204
|
declare namespace InvalidRefNameError {
|
|
4189
|
-
let
|
|
4190
|
-
export {
|
|
4205
|
+
let code_16: "InvalidRefNameError";
|
|
4206
|
+
export { code_16 as code };
|
|
4191
4207
|
}
|
|
4192
4208
|
declare class MaxDepthError extends BaseError {
|
|
4193
4209
|
/**
|
|
@@ -4201,8 +4217,8 @@ declare class MaxDepthError extends BaseError {
|
|
|
4201
4217
|
};
|
|
4202
4218
|
}
|
|
4203
4219
|
declare namespace MaxDepthError {
|
|
4204
|
-
let
|
|
4205
|
-
export {
|
|
4220
|
+
let code_17: "MaxDepthError";
|
|
4221
|
+
export { code_17 as code };
|
|
4206
4222
|
}
|
|
4207
4223
|
declare class MergeNotSupportedError extends BaseError {
|
|
4208
4224
|
constructor();
|
|
@@ -4211,8 +4227,8 @@ declare class MergeNotSupportedError extends BaseError {
|
|
|
4211
4227
|
data: {};
|
|
4212
4228
|
}
|
|
4213
4229
|
declare namespace MergeNotSupportedError {
|
|
4214
|
-
let
|
|
4215
|
-
export {
|
|
4230
|
+
let code_18: "MergeNotSupportedError";
|
|
4231
|
+
export { code_18 as code };
|
|
4216
4232
|
}
|
|
4217
4233
|
declare class MergeConflictError extends BaseError {
|
|
4218
4234
|
/**
|
|
@@ -4232,8 +4248,8 @@ declare class MergeConflictError extends BaseError {
|
|
|
4232
4248
|
};
|
|
4233
4249
|
}
|
|
4234
4250
|
declare namespace MergeConflictError {
|
|
4235
|
-
let
|
|
4236
|
-
export {
|
|
4251
|
+
let code_19: "MergeConflictError";
|
|
4252
|
+
export { code_19 as code };
|
|
4237
4253
|
}
|
|
4238
4254
|
declare class MissingNameError extends BaseError {
|
|
4239
4255
|
/**
|
|
@@ -4247,8 +4263,8 @@ declare class MissingNameError extends BaseError {
|
|
|
4247
4263
|
};
|
|
4248
4264
|
}
|
|
4249
4265
|
declare namespace MissingNameError {
|
|
4250
|
-
let
|
|
4251
|
-
export {
|
|
4266
|
+
let code_20: "MissingNameError";
|
|
4267
|
+
export { code_20 as code };
|
|
4252
4268
|
}
|
|
4253
4269
|
declare class MissingParameterError extends BaseError {
|
|
4254
4270
|
/**
|
|
@@ -4262,8 +4278,8 @@ declare class MissingParameterError extends BaseError {
|
|
|
4262
4278
|
};
|
|
4263
4279
|
}
|
|
4264
4280
|
declare namespace MissingParameterError {
|
|
4265
|
-
let
|
|
4266
|
-
export {
|
|
4281
|
+
let code_21: "MissingParameterError";
|
|
4282
|
+
export { code_21 as code };
|
|
4267
4283
|
}
|
|
4268
4284
|
declare class MultipleGitError extends BaseError {
|
|
4269
4285
|
/**
|
|
@@ -4279,8 +4295,8 @@ declare class MultipleGitError extends BaseError {
|
|
|
4279
4295
|
errors: Error[];
|
|
4280
4296
|
}
|
|
4281
4297
|
declare namespace MultipleGitError {
|
|
4282
|
-
let
|
|
4283
|
-
export {
|
|
4298
|
+
let code_22: "MultipleGitError";
|
|
4299
|
+
export { code_22 as code };
|
|
4284
4300
|
}
|
|
4285
4301
|
declare class NoRefspecError extends BaseError {
|
|
4286
4302
|
/**
|
|
@@ -4294,8 +4310,8 @@ declare class NoRefspecError extends BaseError {
|
|
|
4294
4310
|
};
|
|
4295
4311
|
}
|
|
4296
4312
|
declare namespace NoRefspecError {
|
|
4297
|
-
let
|
|
4298
|
-
export {
|
|
4313
|
+
let code_23: "NoRefspecError";
|
|
4314
|
+
export { code_23 as code };
|
|
4299
4315
|
}
|
|
4300
4316
|
declare class NotFoundError extends BaseError {
|
|
4301
4317
|
/**
|
|
@@ -4309,8 +4325,8 @@ declare class NotFoundError extends BaseError {
|
|
|
4309
4325
|
};
|
|
4310
4326
|
}
|
|
4311
4327
|
declare namespace NotFoundError {
|
|
4312
|
-
let
|
|
4313
|
-
export {
|
|
4328
|
+
let code_24: "NotFoundError";
|
|
4329
|
+
export { code_24 as code };
|
|
4314
4330
|
}
|
|
4315
4331
|
declare class ObjectTypeError extends BaseError {
|
|
4316
4332
|
/**
|
|
@@ -4330,8 +4346,8 @@ declare class ObjectTypeError extends BaseError {
|
|
|
4330
4346
|
};
|
|
4331
4347
|
}
|
|
4332
4348
|
declare namespace ObjectTypeError {
|
|
4333
|
-
let
|
|
4334
|
-
export {
|
|
4349
|
+
let code_25: "ObjectTypeError";
|
|
4350
|
+
export { code_25 as code };
|
|
4335
4351
|
}
|
|
4336
4352
|
declare class ParseError extends BaseError {
|
|
4337
4353
|
/**
|
|
@@ -4347,8 +4363,8 @@ declare class ParseError extends BaseError {
|
|
|
4347
4363
|
};
|
|
4348
4364
|
}
|
|
4349
4365
|
declare namespace ParseError {
|
|
4350
|
-
let
|
|
4351
|
-
export {
|
|
4366
|
+
let code_26: "ParseError";
|
|
4367
|
+
export { code_26 as code };
|
|
4352
4368
|
}
|
|
4353
4369
|
declare class PushRejectedError extends BaseError {
|
|
4354
4370
|
/**
|
|
@@ -4362,8 +4378,8 @@ declare class PushRejectedError extends BaseError {
|
|
|
4362
4378
|
};
|
|
4363
4379
|
}
|
|
4364
4380
|
declare namespace PushRejectedError {
|
|
4365
|
-
let
|
|
4366
|
-
export {
|
|
4381
|
+
let code_27: "PushRejectedError";
|
|
4382
|
+
export { code_27 as code };
|
|
4367
4383
|
}
|
|
4368
4384
|
declare class RemoteCapabilityError extends BaseError {
|
|
4369
4385
|
/**
|
|
@@ -4379,8 +4395,8 @@ declare class RemoteCapabilityError extends BaseError {
|
|
|
4379
4395
|
};
|
|
4380
4396
|
}
|
|
4381
4397
|
declare namespace RemoteCapabilityError {
|
|
4382
|
-
let
|
|
4383
|
-
export {
|
|
4398
|
+
let code_28: "RemoteCapabilityError";
|
|
4399
|
+
export { code_28 as code };
|
|
4384
4400
|
}
|
|
4385
4401
|
declare class SmartHttpError extends BaseError {
|
|
4386
4402
|
/**
|
|
@@ -4396,8 +4412,8 @@ declare class SmartHttpError extends BaseError {
|
|
|
4396
4412
|
};
|
|
4397
4413
|
}
|
|
4398
4414
|
declare namespace SmartHttpError {
|
|
4399
|
-
let
|
|
4400
|
-
export {
|
|
4415
|
+
let code_29: "SmartHttpError";
|
|
4416
|
+
export { code_29 as code };
|
|
4401
4417
|
}
|
|
4402
4418
|
declare class UnknownTransportError extends BaseError {
|
|
4403
4419
|
/**
|
|
@@ -4415,8 +4431,8 @@ declare class UnknownTransportError extends BaseError {
|
|
|
4415
4431
|
};
|
|
4416
4432
|
}
|
|
4417
4433
|
declare namespace UnknownTransportError {
|
|
4418
|
-
let
|
|
4419
|
-
export {
|
|
4434
|
+
let code_30: "UnknownTransportError";
|
|
4435
|
+
export { code_30 as code };
|
|
4420
4436
|
}
|
|
4421
4437
|
declare class UnsafeFilepathError extends BaseError {
|
|
4422
4438
|
/**
|
|
@@ -4430,8 +4446,8 @@ declare class UnsafeFilepathError extends BaseError {
|
|
|
4430
4446
|
};
|
|
4431
4447
|
}
|
|
4432
4448
|
declare namespace UnsafeFilepathError {
|
|
4433
|
-
let
|
|
4434
|
-
export {
|
|
4449
|
+
let code_31: "UnsafeFilepathError";
|
|
4450
|
+
export { code_31 as code };
|
|
4435
4451
|
}
|
|
4436
4452
|
declare class UrlParseError extends BaseError {
|
|
4437
4453
|
/**
|
|
@@ -4445,8 +4461,8 @@ declare class UrlParseError extends BaseError {
|
|
|
4445
4461
|
};
|
|
4446
4462
|
}
|
|
4447
4463
|
declare namespace UrlParseError {
|
|
4448
|
-
let
|
|
4449
|
-
export {
|
|
4464
|
+
let code_32: "UrlParseError";
|
|
4465
|
+
export { code_32 as code };
|
|
4450
4466
|
}
|
|
4451
4467
|
declare class UserCanceledError extends BaseError {
|
|
4452
4468
|
constructor();
|
|
@@ -4455,8 +4471,8 @@ declare class UserCanceledError extends BaseError {
|
|
|
4455
4471
|
data: {};
|
|
4456
4472
|
}
|
|
4457
4473
|
declare namespace UserCanceledError {
|
|
4458
|
-
let
|
|
4459
|
-
export {
|
|
4474
|
+
let code_33: "UserCanceledError";
|
|
4475
|
+
export { code_33 as code };
|
|
4460
4476
|
}
|
|
4461
4477
|
declare class UnmergedPathsError extends BaseError {
|
|
4462
4478
|
/**
|
|
@@ -4470,8 +4486,8 @@ declare class UnmergedPathsError extends BaseError {
|
|
|
4470
4486
|
};
|
|
4471
4487
|
}
|
|
4472
4488
|
declare namespace UnmergedPathsError {
|
|
4473
|
-
let
|
|
4474
|
-
export {
|
|
4489
|
+
let code_34: "UnmergedPathsError";
|
|
4490
|
+
export { code_34 as code };
|
|
4475
4491
|
}
|
|
4476
4492
|
declare class IndexResetError extends BaseError {
|
|
4477
4493
|
/**
|
|
@@ -4485,8 +4501,8 @@ declare class IndexResetError extends BaseError {
|
|
|
4485
4501
|
};
|
|
4486
4502
|
}
|
|
4487
4503
|
declare namespace IndexResetError {
|
|
4488
|
-
let
|
|
4489
|
-
export {
|
|
4504
|
+
let code_35: "IndexResetError";
|
|
4505
|
+
export { code_35 as code };
|
|
4490
4506
|
}
|
|
4491
4507
|
declare class NoCommitError extends BaseError {
|
|
4492
4508
|
/**
|
|
@@ -4500,8 +4516,8 @@ declare class NoCommitError extends BaseError {
|
|
|
4500
4516
|
};
|
|
4501
4517
|
}
|
|
4502
4518
|
declare namespace NoCommitError {
|
|
4503
|
-
let
|
|
4504
|
-
export {
|
|
4519
|
+
let code_36: "NoCommitError";
|
|
4520
|
+
export { code_36 as code };
|
|
4505
4521
|
}
|
|
4506
4522
|
/**
|
|
4507
4523
|
* @typedef {Object} GitProgressEvent
|