Reinstates native support for node.js v10 by removing use of ES6 constructs
2.29.0 Update TypeScript response type for git.mergeFromTo
Update type definition for git.mergeFromTo to be the MergeResult returned
when using the more generic git.merge method.
Thanks to @ofirelias for the pull request.
2.28.0 Add support for git apply & TypeScript Integration Tests
Adds support for git.applyPatch to apply patches generated in a git diff to the working index,
TypeScript consumers can make use of the ApplyOptions type definition to make use of strong types
for the supported options. Thanks to @andreterron for the pull request.
Integration tests converted to TypeScript to ensure type safety across all tests.
2.27.0 Included staged delete/modify in StatusResult staged array
Update the git.status parser to account for staged deleted/modified files and staged files with subsequent
modifications meaning a status of:
RM old -> new will now appear in renamed and new will also appear in modified
D file will now appear in both deleted and staged where D file would only appear in deleted
2.26.0 Fix error when using git.log with callback
Resolves an issue whereby using git.log with a callback (or awaiting the promise created from the now deprecated
simple-git/promise import) would fail to return the response to the caller.
2.25.0 TypeScript Types & Unit Tests, Commit Parsing
See Legacy Node Versions for details of how to use simple-git with node.js
versions 11 and below.
To help keep the TypeScript definitions in line with functionality, unit tests are now written in TypeScript.
When using git.commit, the first argument must be a string or array of strings. Passing another data type has long
been considered an error, but now a deprecation warning will be shown in the log and will be switched to an error
in version 3.
Fixes an issue in git.commit whereby a commit that included only deleted lines would be parsed as though the
deletions were inclusions.
2.24.0 Types updated
pull, push and pushTags parameter types updated to match new functionality and tests switched to TypeScript to ensure they are kept in sync
2.23.0 update debug dependency & master -> main
Upgrade debug dependency and remove use of now deprecated debug().destroy()
Renames the default source branch from master to main
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps simple-git from 1.132.0 to 2.30.0.
Changelog
Sourced from simple-git's changelog.
Commits
81e3fa9
2.30.0f435669
Merge branch 'feature/es5' into main5e31698
Reinstate support for node.js v10 by switching to ES5 constructs object entries.f8a6a3d
2.29.02e53a35
Merge branch 'pr/546' into main89204b4
CHANGELOGb320ae9
Update callback type (for use in `git.mergeFromTo(from, to, (err, res) => voi...90e5475
mergeFromTo type fixingce7c0be
2.28.0beb8c54
Legacy node versions docsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)