Comparing version 1.100.0 to 1.101.0
@@ -42,17 +42,18 @@ /** The git errors which can be parsed from failed git commands. */ | ||
UnresolvedConflicts = 38, | ||
PushWithFileSizeExceedingLimit = 39, | ||
HexBranchNameRejected = 40, | ||
ForcePushRejected = 41, | ||
InvalidRefLength = 42, | ||
ProtectedBranchRequiresReview = 43, | ||
ProtectedBranchForcePush = 44, | ||
ProtectedBranchDeleteRejected = 45, | ||
ProtectedBranchRequiredStatus = 46, | ||
PushWithPrivateEmail = 47, | ||
ConfigLockFileAlreadyExists = 48, | ||
RemoteAlreadyExists = 49, | ||
TagAlreadyExists = 50, | ||
MergeWithLocalChanges = 51, | ||
RebaseWithLocalChanges = 52, | ||
MergeCommitNoMainlineOption = 53 | ||
GPGFailedToSignData = 39, | ||
PushWithFileSizeExceedingLimit = 40, | ||
HexBranchNameRejected = 41, | ||
ForcePushRejected = 42, | ||
InvalidRefLength = 43, | ||
ProtectedBranchRequiresReview = 44, | ||
ProtectedBranchForcePush = 45, | ||
ProtectedBranchDeleteRejected = 46, | ||
ProtectedBranchRequiredStatus = 47, | ||
PushWithPrivateEmail = 48, | ||
ConfigLockFileAlreadyExists = 49, | ||
RemoteAlreadyExists = 50, | ||
TagAlreadyExists = 51, | ||
MergeWithLocalChanges = 52, | ||
RebaseWithLocalChanges = 53, | ||
MergeCommitNoMainlineOption = 54 | ||
} | ||
@@ -59,0 +60,0 @@ /** A mapping from regexes to the git error they identify. */ |
@@ -45,19 +45,20 @@ "use strict"; | ||
GitError[GitError["UnresolvedConflicts"] = 38] = "UnresolvedConflicts"; | ||
GitError[GitError["GPGFailedToSignData"] = 39] = "GPGFailedToSignData"; | ||
// Start of GitHub-specific error codes | ||
GitError[GitError["PushWithFileSizeExceedingLimit"] = 39] = "PushWithFileSizeExceedingLimit"; | ||
GitError[GitError["HexBranchNameRejected"] = 40] = "HexBranchNameRejected"; | ||
GitError[GitError["ForcePushRejected"] = 41] = "ForcePushRejected"; | ||
GitError[GitError["InvalidRefLength"] = 42] = "InvalidRefLength"; | ||
GitError[GitError["ProtectedBranchRequiresReview"] = 43] = "ProtectedBranchRequiresReview"; | ||
GitError[GitError["ProtectedBranchForcePush"] = 44] = "ProtectedBranchForcePush"; | ||
GitError[GitError["ProtectedBranchDeleteRejected"] = 45] = "ProtectedBranchDeleteRejected"; | ||
GitError[GitError["ProtectedBranchRequiredStatus"] = 46] = "ProtectedBranchRequiredStatus"; | ||
GitError[GitError["PushWithPrivateEmail"] = 47] = "PushWithPrivateEmail"; | ||
GitError[GitError["PushWithFileSizeExceedingLimit"] = 40] = "PushWithFileSizeExceedingLimit"; | ||
GitError[GitError["HexBranchNameRejected"] = 41] = "HexBranchNameRejected"; | ||
GitError[GitError["ForcePushRejected"] = 42] = "ForcePushRejected"; | ||
GitError[GitError["InvalidRefLength"] = 43] = "InvalidRefLength"; | ||
GitError[GitError["ProtectedBranchRequiresReview"] = 44] = "ProtectedBranchRequiresReview"; | ||
GitError[GitError["ProtectedBranchForcePush"] = 45] = "ProtectedBranchForcePush"; | ||
GitError[GitError["ProtectedBranchDeleteRejected"] = 46] = "ProtectedBranchDeleteRejected"; | ||
GitError[GitError["ProtectedBranchRequiredStatus"] = 47] = "ProtectedBranchRequiredStatus"; | ||
GitError[GitError["PushWithPrivateEmail"] = 48] = "PushWithPrivateEmail"; | ||
// End of GitHub-specific error codes | ||
GitError[GitError["ConfigLockFileAlreadyExists"] = 48] = "ConfigLockFileAlreadyExists"; | ||
GitError[GitError["RemoteAlreadyExists"] = 49] = "RemoteAlreadyExists"; | ||
GitError[GitError["TagAlreadyExists"] = 50] = "TagAlreadyExists"; | ||
GitError[GitError["MergeWithLocalChanges"] = 51] = "MergeWithLocalChanges"; | ||
GitError[GitError["RebaseWithLocalChanges"] = 52] = "RebaseWithLocalChanges"; | ||
GitError[GitError["MergeCommitNoMainlineOption"] = 53] = "MergeCommitNoMainlineOption"; | ||
GitError[GitError["ConfigLockFileAlreadyExists"] = 49] = "ConfigLockFileAlreadyExists"; | ||
GitError[GitError["RemoteAlreadyExists"] = 50] = "RemoteAlreadyExists"; | ||
GitError[GitError["TagAlreadyExists"] = 51] = "TagAlreadyExists"; | ||
GitError[GitError["MergeWithLocalChanges"] = 52] = "MergeWithLocalChanges"; | ||
GitError[GitError["RebaseWithLocalChanges"] = 53] = "RebaseWithLocalChanges"; | ||
GitError[GitError["MergeCommitNoMainlineOption"] = 54] = "MergeCommitNoMainlineOption"; | ||
})(GitError = exports.GitError || (exports.GitError = {})); | ||
@@ -107,2 +108,3 @@ /** A mapping from regexes to the git error they identify. */ | ||
'You must edit all merge conflicts and then\nmark them as resolved using git add|fatal: Exiting because of an unresolved conflict': GitError.UnresolvedConflicts, | ||
'error: gpg failed to sign the data': GitError.GPGFailedToSignData, | ||
// GitHub-specific errors | ||
@@ -109,0 +111,0 @@ 'error: GH001: ': GitError.PushWithFileSizeExceedingLimit, |
{ | ||
"name": "dugite", | ||
"version": "1.100.0", | ||
"version": "1.101.0", | ||
"description": "Elegant bindings for Git", | ||
@@ -5,0 +5,0 @@ "main": "./build/lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53801
867