Comparing version 1.106.0 to 1.107.0
@@ -58,3 +58,4 @@ /** The git errors which can be parsed from failed git commands. */ | ||
RebaseWithLocalChanges = 54, | ||
MergeCommitNoMainlineOption = 55 | ||
MergeCommitNoMainlineOption = 55, | ||
UnsafeDirectory = 56 | ||
} | ||
@@ -61,0 +62,0 @@ /** A mapping from regexes to the git error they identify. */ |
@@ -64,2 +64,3 @@ "use strict"; | ||
GitError[GitError["MergeCommitNoMainlineOption"] = 55] = "MergeCommitNoMainlineOption"; | ||
GitError[GitError["UnsafeDirectory"] = 56] = "UnsafeDirectory"; | ||
})(GitError = exports.GitError || (exports.GitError = {})); | ||
@@ -73,3 +74,3 @@ /** A mapping from regexes to the git error they identify. */ | ||
'The requested URL returned error: 403': GitError.HTTPSAuthenticationFailed, | ||
'fatal: The remote end hung up unexpectedly': GitError.RemoteDisconnection, | ||
'fatal: [Tt]he remote end hung up unexpectedly': GitError.RemoteDisconnection, | ||
"fatal: unable to access '(.+)': Failed to connect to (.+): Host is down": GitError.HostDown, | ||
@@ -89,3 +90,3 @@ "Cloning into '(.+)'...\nfatal: unable to access '(.+)': Could not resolve host: (.+)": GitError.HostDown, | ||
'nothing to commit': GitError.NothingToCommit, | ||
"No submodule mapping found in .gitmodules for path '(.+)'": GitError.NoSubmoduleMapping, | ||
"[Nn]o submodule mapping found in .gitmodules for path '(.+)'": GitError.NoSubmoduleMapping, | ||
"fatal: repository '(.+)' does not exist\nfatal: clone of '.+' into submodule path '(.+)' failed": GitError.SubmoduleRepositoryDoesNotExist, | ||
@@ -98,3 +99,3 @@ "Fetched in submodule path '(.+)', but it did not contain (.+). Direct fetching of that commit failed.": GitError.InvalidSubmoduleSHA, | ||
'error: (.+): (patch does not apply|already exists in working directory)': GitError.PatchDoesNotApply, | ||
"fatal: A branch named '(.+)' already exists.": GitError.BranchAlreadyExists, | ||
"fatal: [Aa] branch named '(.+)' already exists.?": GitError.BranchAlreadyExists, | ||
"fatal: bad revision '(.*)'": GitError.BadRevision, | ||
@@ -129,3 +130,4 @@ 'fatal: [Nn]ot a git repository \\(or any of the parent directories\\): (.*)': GitError.NotAGitRepository, | ||
'error: cannot (pull with rebase|rebase): You have unstaged changes\\.\n\\s*error: [Pp]lease commit or stash them\\.': GitError.RebaseWithLocalChanges, | ||
'error: commit (.+) is a merge but no -m option was given': GitError.MergeCommitNoMainlineOption | ||
'error: commit (.+) is a merge but no -m option was given': GitError.MergeCommitNoMainlineOption, | ||
"fatal: unsafe repository \\('(.+)' is owned by someone else\\)": GitError.UnsafeDirectory | ||
}; | ||
@@ -132,0 +134,0 @@ /** |
{ | ||
"name": "dugite", | ||
"version": "1.106.0", | ||
"version": "1.107.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
59834
971