Skip to content
This repository was archived by the owner on Mar 25, 2023. It is now read-only.

Update dependency isomorphic-git to v1 #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 26, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
isomorphic-git (source) =0.78.5 -> =1.23.0 age adoption passing confidence

Release Notes

isomorphic-git/isomorphic-git

v1.23.0

Compare Source

Features

v1.22.0

Compare Source

Features

v1.21.0

Compare Source

Features
  • branch: add force param to overwrite existing branch (#​1637) (e65ad37)

v1.20.0

Compare Source

Features
  • branch: add object param to specify start point for new branch (#​1635) (4687812)

v1.19.3

Compare Source

Bug Fixes

v1.19.2

Compare Source

Bug Fixes

v1.19.1

Compare Source

Bug Fixes
  • onProgress: the "Resolving deltas" count was off by 1 (#​1615) (efde23b)

v1.19.0

Compare Source

Features

v1.18.3

Compare Source

Bug Fixes

v1.18.2

Compare Source

Bug Fixes
  • docs: add id and original_id fields to mergeDriver documentation (#​1597) (22e383b)

v1.18.1

Compare Source

Bug Fixes

v1.18.0

Compare Source

Features

v1.17.3

Compare Source

Bug Fixes
  • log: fix error being thrown when using 'filepath' parameter (#​1589) (a74abb8)

v1.17.2

Compare Source

Bug Fixes
  • config: keep correct casing and support comment tokens in value (#​1573) (e29fb40)

v1.17.1

Compare Source

Bug Fixes
  • build.docs should not fail when the temporary directory starts with _ (#​1539) (511bfd5)

v1.17.0

Compare Source

Features

v1.16.0

Compare Source

Features

v1.15.2

Compare Source

Bug Fixes

v1.15.1

Compare Source

Bug Fixes

v1.15.0

Compare Source

Features

v1.14.0

Compare Source

Features

v1.13.1

Compare Source

Bug Fixes
  • statusMatrix: fix status matrix if entry changes type (#​1498) (f654d79)

v1.13.0

Compare Source

Features

v1.12.1

Compare Source

Bug Fixes

v1.12.0

Compare Source

Bug Fixes
  • resetIndex: allow resetting index on new empty repository (#​1489) (4716867)
Features

v1.11.2

Compare Source

Bug Fixes

v1.11.1

Compare Source

Bug Fixes

v1.11.0

Compare Source

Features

v1.10.5

Compare Source

Bug Fixes

v1.10.4

Compare Source

Bug Fixes

v1.10.3

Compare Source

Bug Fixes
  • statusMatrix, walk: don't remove the executable bit from file mode (Windows-only bug) (#​1444) (72b3987)

v1.10.2

Compare Source

Bug Fixes

v1.10.1

Compare Source

Bug Fixes

v1.10.0

Compare Source

Features

v1.9.2

Compare Source

Bug Fixes
  • "TypeError: Cannot read property 'length' of undefined" at Inflate.push (04b0742)

v1.9.1

Compare Source

Bug Fixes

v1.9.0

Compare Source

Features

v1.8.10

Compare Source

Bug Fixes

v1.8.9

Compare Source

Bug Fixes

v1.8.8

Compare Source

Bug Fixes

v1.8.7

Compare Source

Bug Fixes

v1.8.6

Compare Source

Bug Fixes
  • propagate corsProxy setting on clone command to internal _fetch call (#​1362) (5f9434e)

v1.8.5

Compare Source

Bug Fixes
  • GitIgnoreManager to use exclusion rules from .git/info/exclude (#​1316) (9cf2a1f)

v1.8.4

Compare Source

Bug Fixes

v1.8.3

Compare Source

Bug Fixes

v1.8.2

Compare Source

Bug Fixes

v1.8.1

Compare Source

Bug Fixes

v1.8.0

Compare Source

Features

v1.7.8

Compare Source

Bug Fixes
  • CLI: isogit CLI throws "Error [ERR_REQUIRE_ESM]: Must use import to load ES Module" in Node 13+ (f2e3805)

v1.7.7

Compare Source

Bug Fixes
  • push: "Cannot read property 'packfiles' of undefined" error (#​1234) (629b4e1)

v1.7.6

Compare Source

Bug Fixes
  • fetch: fetching a commit hash with singleBranch: true (#​1225) (e66a6c2)

v1.7.5

Compare Source

Bug Fixes

v1.7.4

Compare Source

Bug Fixes
  • getRemoteInfo, getRemoteInfo2: throw UnknownTransportError for SSH urls (#​1199) (02045f6)

v1.7.3

Compare Source

Bug Fixes
  • push: fix regression introduced in v1.4.4 that broke pushing repos with submodules (#​1196) (55f2ade)

v1.7.2

Compare Source

Performance Improvements

v1.7.1

Compare Source

Bug Fixes

v1.7.0

Compare Source

Features

v1.6.0

Compare Source

Features
  • Added 'listServerRefs' and 'getRemoteInfo2' commands (#​1169) (b03f261)

v1.5.0

Compare Source

Features

v1.4.4

Compare Source

Performance Improvements

v1.4.3

Compare Source

Performance Improvements
  • push: don't send any objects if commit is already on remote (#​1137) (47b89c0)

v1.4.2

Compare Source

Performance Improvements

v1.4.1

Compare Source

Performance Improvements

v1.4.0

Compare Source

Features
  • include data.preview and data.response on all HttpErrors not just on SmartHttpErrors (#​1115) (9d3f0de)

v1.3.2

Compare Source

Bug Fixes

v1.3.1

Compare Source

Bug Fixes

v1.3.0

Compare Source

Features

v1.2.0

Compare Source

Features

v1.1.6

Compare Source

Bug Fixes
  • readObject: should return TreeObject not {entries: TreeObject} (#​1081) (0c1ec5a)

v1.1.5

Compare Source

Bug Fixes

v1.1.4

Compare Source

Bug Fixes

v1.1.3

Compare Source

Bug Fixes
  • TypeScript: remove 'AbortController' because it creates an implicit "DOM" lib dependency (7a7276a)

v1.1.2

Compare Source

Bug Fixes
  • remove undocumented 'debug' parameter that is upsetting TypeScript (b0b7b57)

v1.1.1

Compare Source

Bug Fixes
  • correct TS definition for http (1a4a8f8)

v1.1.0

Compare Source

Features

v1.0.0

Compare Source

I recommend you read the NICE RELEASE NOTES first.

These are the auto-generated release notes, which are exhaustive if not pretty.

1.0.0 (2020-02-26)

Bug Fixes
  • checkout: don't treat modified files as conflicted unless the file would actually change (#​1018) (321618f)
  • fetch, push: recognize more git config settings (#​1033) (a4e5aee)
  • types: tweak onAuth typings + add http.d.ts (#​1053) (7b05b3d)
  • fetch without a 'ref' param should still work if HEAD points to a non-existing branch (#​1055) (429fde1)
  • isogit CLI had wrong import path to ./http/node (ec1dce0)
  • Merge branch 'master' into beta (#​872) (b9e5db4)
  • pathological graph traversal in findMergeBase (#​1057) (8e53088)
  • tweak error types (#​1061) (424255b)
  • update Web Worker example (32b64ca)
  • use .js extension for http/web UMD build (4a6a1c2)
chore
Features
BREAKING CHANGES
  • E has been removed and replaced by Errors. The errors are typed so if you use an instanceof comparison in the catch statement, auto-completion on their .data property works. There are fewer errors total, they have shorter names, and thus the resulting gzip bundle is smaller despite the addition of 28 new classes. Lastly, the distinction between Fail and Error has been removed since it was subjective.

Here's the complete breakdown of which Errors classes replaced which E codes:

  • AlreadyExistsError replaces AddingRemoteWouldOverwrite, NoteAlreadyExistsError, RefExistsError
  • AmbiguousError replaces AmbiguousShortOid
  • CheckoutConflictError replaces CheckoutConflictError
  • CommitNotFetchedError replaces CommitNotFetchedError
  • EmptyServerResponseError replaces EmptyServerResponseFail
  • FastForwardError replaces FastForwardFail
  • GitPushError replaces GitPushError
  • HttpError replaces HTTPError
  • InternalError replaces InternalFail
  • InvalidFilepathError replaces DirectorySeparatorsError
  • InvalidOidError replaces CorruptShallowOidFail, NotAnOidFail
  • InvalidRefNameError replaces InvalidRefNameError
  • MaxDepthError replaces MaxSearchDepthExceeded
  • MergeNotSupportedError replaces MergeNotSupportedFail
  • MissingNameError replaces MissingAuthorError, MissingCommitterError, MissingTaggerError
  • MissingParameterError replaces MissingRequiredParameterError
  • NoRefspecError replaces NoRefspecConfiguredError
  • NotFoundError replaces ExpandRefError, FileReadError, GitRootNotFoundError, ReadObjectFail, RefNotExistsError, ResolveRefError, ShortOidNotFound, TreeOrBlobNotFoundError
  • ObjectTypeError replaces DirectoryIsAFileError, ObjectTypeAssertionFail, ObjectTypeAssertionInPathFail, ObjectTypeAssertionInTreeFail, ObjectTypeUnknownFail, ResolveCommitError, ResolveTreeError
  • ParseError replaces AssertServerResponseFail, UnparseableServerResponseFail
  • PushRejectedError replaces PushRejectedNonFastForward, PushRejectedTagExists
  • RemoteCapabilityError replaces RemoteDoesNotSupportDeepenNotFail, RemoteDoesNotSupportDeepenRelativeFail, RemoteDoesNotSupportDeepenSinceFail, RemoteDoesNotSupportShallowFail
  • SmartHttpError replaces RemoteDoesNotSupportSmartHTTP
  • UnknownTransportError replaces UnknownTransportError
  • UrlParseError replaces RemoteUrlParseError
  • UserCanceledError replaces UserCancelledError

The following error codes are no longer used / have no equivalent: AcquireLockFileFail, BranchDeleteError, CoreNotFound, DoubleReleaseLockFileFail, InvalidDepthParameterError, InvalidParameterCombinationError, MismatchRefValueError, NoHeadCommitError, NotImplementedFail, ObjectTypeAssertionInRefFail, PluginSchemaViolation, PluginUndefined, PluginUnrecognized

  • Drop official support for Safari 11
  • The author.date, committer.date, tagger.date parameters were removed in favor of author.timestamp, comitter.timestamp, tagger.timestamp in order to be clear about what is actually written and better reflect the return types in readCommit, log, and readTag.
  • The username, password, token, and oauth2format params were removed and replaced with the onAuth callback. Since onAuth also replaced the credentialManager plugin, this means now there is a single way to do authentication instead of two.
  • The URL that's provided is now the URL that's used; no longer will they be "fixed" to end with .git since sometimes that actually makes things worse, and subverts user expectations. Accordingly, the noGitSuffix parameter has been removed since it's the default behavior. Furthermore, the User-Agent is now totally in the user's hands, because it is just a minefield, and I'm done trying to make sense of it. I added a Headers page to the docs documenting what I know about User-Agent + GitHub + CORS + Chrome bugs.
  • The verify function has been removed, and the signature property of TagObject renamed to gpgsig to match CommitObject. Since log, readCommit, and readTag all include the gpgsig and signing payload in their return values now, it is simpler and more efficient to do the verification outside of isomorphic-git. See the documentation for the onSign parameter for complete code examples.
  • The newSubmoduleBehavior parameter has been removed and is now the default and only behavior, because it is good. And the noSubmodules parameter has been removed and is also the default and only behavior. (This only affects you if you a) liked seeing the console warnings or b) were using statusMatrix to traverse submodules for some reason.)
  • push: the push function now throws if any of the refs on the remote were not updated successfully. It also returns a nicely typed result object organized by ref, rather than a loose collection of strings organized by outcome.
  • fetch, push: the fetch and push functions now respect previously ignored git config settings like: branch.${ref}.pushRemote, remote.pushDefault, remote.${remote}.pushurl, and branch.${ref}.merge. (Note the pull command already respected branch.${ref}.merge but fetch did not.)
  • isomorphic-git no longer has a node HTTP client hard-coded into the main file and a browser HTTP client hard-coded into the module file. The HTTP clients are now in their own files; users pick one, import it, and provide it to functions that make requests.
  • the plugin system has been removed and we're returning to simply passing in arguments and callbacks, because it is simpler, has better locality, and avoids global state.
  • readObject and writeObject have been updated to use the same object schemas used in readCommit, readTree, and readTag. And they are actually documented now in the docs. (The main change is trees are simply arrays now, rather than objects with a .entries property.) The types returned by readObject also form a proper discriminated union so TypeScript will infer the type of .object given .format and .type.
  • The undocumented param aliases authUsername and authPassword are removed in favor of username and password.
  • plugins.set has been replaced by plugins.fs, plugins.emitter, plugins.credentialManager, plugins.pgp, and plugins.http.
  • onAuth: The token and oauth2format properties have been removed from the GitAuth interface, which makes it much simpler and and eliminates a dozen GitErrors handling specific edge cases.

A headers property has been added to the GitAuth interface. This makes onAuth much more powerful because you can inject whatever HTTP headers you want.

The onAuthFailed callback now lets you return a GitAuth object. This means you can keep retrying to authenticate as many times as you like.

A cancel property has been added to the GitAuth interface. This means you gracefully give up authenticating and the function will throw an E.UserCancelledError instead of an E.HTTPError.

  • The deprecated fs and emitter params have been removed. They've been superseded by the fs and emitter plugins.
  • The internal-apis are no longer included in the npm package. I never really intended that; they were just for running unit tests. Also, I renamed dist/for-future/isomorphic-git/index.js to dist/index.js and dist/for-node/isomorphic-git/index.js to dist/index.cjs.

And I removed the jasmine fallback. I'm sorry jest uses native modules, but it's just too good not to use and maintaining a fallback test runner is an added complication.

  • As a historical accident, message events were trimmed. This was lossy and removed valuable information, such as an '\r' by itself, which is a signal to update the existing line instead of appending a new one. The rawmessage event was added as a temporary workaround to expose the untrimmed data. The rawmessage event has been removed and from now on, message events emit the full untrimmed data.
  • Any functions that returned Buffer objects now instead return Uint8Array objects. This is so we can eventually drop the bloated Buffer browser polyfill.
  • Ths sign command was deprecated a while ago (back when commit got a signingKey param) and has now been removed.
  • The autoTranslateSSH feature has been removed since it's kind of hacky, and it's trivial to implement your own version using the data.suggestion property of the UnknownTransportError when something fails.
  • The signing argument of log has been removed, and log now returns an array of objects with the same interface as those returned from readCommit. Also, the log function will throw now instead of returning errors as objects inside the result array. This greatly simplifies the TS definition (which previously consisted of 3 different overloaded variations) so that we can generate the TS definitions directly from the JSDoc in the future.
  • the pattern param added two dependencies to the project (globrex and globalyzer) for very little benefit since we haven't ended up using globbing anywhere else in the library. The same result can be achieved via the new function parameter filter which lets you provide the pattern-matching logic yourself.
  • the fastCheckout function has been renamed checkout and the old checkout function has been removed entirely.
  • the walkBeta2 function has been renamed walk and the walkBeta1 function has been removed entirely.
  • the browser (and node) versions tested in CI have been bumped. Future releases are not guaranteed to work on the older versions anymore.
  • Drop official support for Safari 11
  • core has been replaced by plugins.createCore and plugins.deleteCore.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from KSXGitHub as a code owner February 26, 2020 04:11
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch 5 times, most recently from 08fd3fe to 84d715e Compare March 1, 2020 20:15
@codecov-io
Copy link

codecov-io commented Mar 1, 2020

Codecov Report

Merging #12 (2b18447) into master (a688dd5) will not change coverage.
The diff coverage is n/a.

❗ Current head 2b18447 differs from pull request most recent head f72689f. Consider uploading reports for the commit f72689f to get more accurate results

@@            Coverage Diff            @@
##            master       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines          458       458           
  Branches        42        42           
=========================================
  Hits           458       458           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch 3 times, most recently from ed5d7b1 to 9557d69 Compare March 7, 2020 02:21
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch 2 times, most recently from 85b494d to 7f04a6c Compare March 13, 2020 00:41
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 7f04a6c to a36fc48 Compare March 17, 2020 04:50
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch 2 times, most recently from aac1e38 to 1aa3ae5 Compare April 28, 2020 02:56
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch 2 times, most recently from e804fd1 to 337cea2 Compare July 5, 2020 21:56
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 337cea2 to 5ba8fa7 Compare August 26, 2020 16:09
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 5ba8fa7 to d13f64c Compare October 28, 2020 00:58
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from d13f64c to fe5ec7d Compare November 28, 2020 19:53
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from fe5ec7d to e9730cb Compare April 26, 2021 17:19
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from e9730cb to 2d9aaf0 Compare October 20, 2021 06:24
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 2d9aaf0 to 0027e26 Compare March 7, 2022 15:14
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 0027e26 to 25c1c44 Compare March 26, 2022 14:27
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 25c1c44 to cb33364 Compare April 25, 2022 00:57
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from cb33364 to 64f88ca Compare May 15, 2022 21:52
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 64f88ca to 2b17c6d Compare June 18, 2022 13:27
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 2b17c6d to 8bd9780 Compare September 25, 2022 22:43
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 8bd9780 to 09408d7 Compare March 17, 2023 06:08
@renovate renovate bot force-pushed the renovate/isomorphic-git-1.x branch from 09408d7 to f72689f Compare March 24, 2023 19:53
@renovate
Copy link
Author

renovate bot commented Mar 24, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: tools/utils/pnpm-lock.yaml
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant