isomorphic-git 1.11.0 → 1.11.1

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 CHANGED
@@ -27,7 +27,7 @@ The following environments are tested in CI and will continue to be supported un
27
27
  <td align="center"><img src="https://raw.githubusercontent.com/alrra/browser-logos/bc47e4601d2c1fd46a7912f9aed5cdda4afdb301/src/edge/edge.svg?sanitize=true" alt="" width="64" height="64"><br> Edge 79</td>
28
28
  <td align="center"><img src="https://raw.githubusercontent.com/alrra/browser-logos/bc47e4601d2c1fd46a7912f9aed5cdda4afdb301/src/firefox/firefox.svg?sanitize=true" alt="" width="64" height="64"><br> Firefox 72</td>
29
29
  <td align="center"><img src="https://raw.githubusercontent.com/alrra/browser-logos/bc47e4601d2c1fd46a7912f9aed5cdda4afdb301/src/safari/safari_64x64.png" alt="" width="64" height="64"><br> Safari 13</td>
30
- <td align="center"><img src="https://upload.wikimedia.org/wikipedia/commons/8/82/Android_logo_2019.svg" alt="" width="64" height="64"><br> Android 10</td>
30
+ <td align="center"><img src="https://upload.wikimedia.org/wikipedia/commons/6/64/Android_logo_2019_%28stacked%29.svg" alt="" width="64" height="64"><br> Android 10</td>
31
31
  <td align="center"><img src="https://upload.wikimedia.org/wikipedia/commons/d/d6/IOS_13_logo.svg" alt="" width="64" height="64"><br> iOS 13</td>
32
32
  </tr>
33
33
  </table>
@@ -3,6 +3,6 @@
3
3
  "Firefox 96.0.0 (Ubuntu 0.0.0)",
4
4
  "Chrome Mobile 96.0.4664 (Android 0.0.0)",
5
5
  "Chrome 79.0.3945 (Windows 10 0.0.0)",
6
- "Safari 13.1.0 (Mac OS X 10.15.4)",
7
- "Mobile Safari 13.0.0 (iOS 13.0.0)"
6
+ "Mobile Safari 13.0.0 (iOS 13.0.0)",
7
+ "Safari 13.1.0 (Mac OS X 10.15.4)"
8
8
  ]
package/index.cjs CHANGED
@@ -5569,7 +5569,7 @@ async function _checkout({
5569
5569
  noUpdateHead,
5570
5570
  dryRun,
5571
5571
  force,
5572
- track,
5572
+ track = true,
5573
5573
  }) {
5574
5574
  // Get tree oid
5575
5575
  let oid;
@@ -6118,8 +6118,8 @@ async function analyze({
6118
6118
  * @param {boolean} [args.noUpdateHead] - If true, will update the working directory but won't update HEAD. Defaults to `false` when `ref` is provided, and `true` if `ref` is not provided.
6119
6119
  * @param {boolean} [args.dryRun = false] - If true, simulates a checkout so you can test whether it would succeed.
6120
6120
  * @param {boolean} [args.force = false] - If true, conflicts will be ignored and files will be overwritten regardless of local changes.
6121
+ * @param {boolean} [args.track = true] - If false, will not set the remote branch tracking information. Defaults to true.
6121
6122
  * @param {object} [args.cache] - a [cache](cache.md) object
6122
- * @param {object} [args.track] - If true, will not set the remote branch tracking information. Defaults to false.
6123
6123
  *
6124
6124
  * @returns {Promise<void>} Resolves successfully when filesystem operations are complete
6125
6125
  *
@@ -6166,8 +6166,8 @@ async function checkout({
6166
6166
  noUpdateHead = _ref === undefined,
6167
6167
  dryRun = false,
6168
6168
  force = false,
6169
- cache = {},
6170
6169
  track = true,
6170
+ cache = {},
6171
6171
  }) {
6172
6172
  try {
6173
6173
  assertParameter('fs', fs);
@@ -6872,8 +6872,8 @@ function filterCapabilities(server, client) {
6872
6872
 
6873
6873
  const pkg = {
6874
6874
  name: 'isomorphic-git',
6875
- version: '1.11.0',
6876
- agent: 'git/isomorphic-git@1.11.0',
6875
+ version: '1.11.1',
6876
+ agent: 'git/isomorphic-git@1.11.1',
6877
6877
  };
6878
6878
 
6879
6879
  class FIFO {
package/index.d.ts CHANGED
@@ -944,8 +944,8 @@ export function branch({ fs, dir, gitdir, ref, checkout, }: {
944
944
  * @param {boolean} [args.noUpdateHead] - If true, will update the working directory but won't update HEAD. Defaults to `false` when `ref` is provided, and `true` if `ref` is not provided.
945
945
  * @param {boolean} [args.dryRun = false] - If true, simulates a checkout so you can test whether it would succeed.
946
946
  * @param {boolean} [args.force = false] - If true, conflicts will be ignored and files will be overwritten regardless of local changes.
947
+ * @param {boolean} [args.track = true] - If false, will not set the remote branch tracking information. Defaults to true.
947
948
  * @param {object} [args.cache] - a [cache](cache.md) object
948
- * @param {object} [args.track] - If true, will not set the remote branch tracking information. Defaults to false.
949
949
  *
950
950
  * @returns {Promise<void>} Resolves successfully when filesystem operations are complete
951
951
  *
@@ -980,7 +980,7 @@ export function branch({ fs, dir, gitdir, ref, checkout, }: {
980
980
  * })
981
981
  * console.log('done')
982
982
  */
983
- export function checkout({ fs, onProgress, dir, gitdir, remote, ref: _ref, filepaths, noCheckout, noUpdateHead, dryRun, force, cache, track, }: {
983
+ export function checkout({ fs, onProgress, dir, gitdir, remote, ref: _ref, filepaths, noCheckout, noUpdateHead, dryRun, force, track, cache, }: {
984
984
  fs: CallbackFsClient | PromiseFsClient;
985
985
  onProgress?: ProgressCallback;
986
986
  dir: string;
@@ -992,8 +992,8 @@ export function checkout({ fs, onProgress, dir, gitdir, remote, ref: _ref, filep
992
992
  noUpdateHead?: boolean;
993
993
  dryRun?: boolean;
994
994
  force?: boolean;
995
+ track?: boolean;
995
996
  cache?: any;
996
- track?: any;
997
997
  }): Promise<void>;
998
998
  /**
999
999
  * Clone a repository
package/index.js CHANGED
@@ -5563,7 +5563,7 @@ async function _checkout({
5563
5563
  noUpdateHead,
5564
5564
  dryRun,
5565
5565
  force,
5566
- track,
5566
+ track = true,
5567
5567
  }) {
5568
5568
  // Get tree oid
5569
5569
  let oid;
@@ -6112,8 +6112,8 @@ async function analyze({
6112
6112
  * @param {boolean} [args.noUpdateHead] - If true, will update the working directory but won't update HEAD. Defaults to `false` when `ref` is provided, and `true` if `ref` is not provided.
6113
6113
  * @param {boolean} [args.dryRun = false] - If true, simulates a checkout so you can test whether it would succeed.
6114
6114
  * @param {boolean} [args.force = false] - If true, conflicts will be ignored and files will be overwritten regardless of local changes.
6115
+ * @param {boolean} [args.track = true] - If false, will not set the remote branch tracking information. Defaults to true.
6115
6116
  * @param {object} [args.cache] - a [cache](cache.md) object
6116
- * @param {object} [args.track] - If true, will not set the remote branch tracking information. Defaults to false.
6117
6117
  *
6118
6118
  * @returns {Promise<void>} Resolves successfully when filesystem operations are complete
6119
6119
  *
@@ -6160,8 +6160,8 @@ async function checkout({
6160
6160
  noUpdateHead = _ref === undefined,
6161
6161
  dryRun = false,
6162
6162
  force = false,
6163
- cache = {},
6164
6163
  track = true,
6164
+ cache = {},
6165
6165
  }) {
6166
6166
  try {
6167
6167
  assertParameter('fs', fs);
@@ -6866,8 +6866,8 @@ function filterCapabilities(server, client) {
6866
6866
 
6867
6867
  const pkg = {
6868
6868
  name: 'isomorphic-git',
6869
- version: '1.11.0',
6870
- agent: 'git/isomorphic-git@1.11.0',
6869
+ version: '1.11.1',
6870
+ agent: 'git/isomorphic-git@1.11.1',
6871
6871
  };
6872
6872
 
6873
6873
  class FIFO {
@@ -944,8 +944,8 @@ export function branch({ fs, dir, gitdir, ref, checkout, }: {
944
944
  * @param {boolean} [args.noUpdateHead] - If true, will update the working directory but won't update HEAD. Defaults to `false` when `ref` is provided, and `true` if `ref` is not provided.
945
945
  * @param {boolean} [args.dryRun = false] - If true, simulates a checkout so you can test whether it would succeed.
946
946
  * @param {boolean} [args.force = false] - If true, conflicts will be ignored and files will be overwritten regardless of local changes.
947
+ * @param {boolean} [args.track = true] - If false, will not set the remote branch tracking information. Defaults to true.
947
948
  * @param {object} [args.cache] - a [cache](cache.md) object
948
- * @param {object} [args.track] - If true, will not set the remote branch tracking information. Defaults to false.
949
949
  *
950
950
  * @returns {Promise<void>} Resolves successfully when filesystem operations are complete
951
951
  *
@@ -980,7 +980,7 @@ export function branch({ fs, dir, gitdir, ref, checkout, }: {
980
980
  * })
981
981
  * console.log('done')
982
982
  */
983
- export function checkout({ fs, onProgress, dir, gitdir, remote, ref: _ref, filepaths, noCheckout, noUpdateHead, dryRun, force, cache, track, }: {
983
+ export function checkout({ fs, onProgress, dir, gitdir, remote, ref: _ref, filepaths, noCheckout, noUpdateHead, dryRun, force, track, cache, }: {
984
984
  fs: CallbackFsClient | PromiseFsClient;
985
985
  onProgress?: ProgressCallback;
986
986
  dir: string;
@@ -992,8 +992,8 @@ export function checkout({ fs, onProgress, dir, gitdir, remote, ref: _ref, filep
992
992
  noUpdateHead?: boolean;
993
993
  dryRun?: boolean;
994
994
  force?: boolean;
995
+ track?: boolean;
995
996
  cache?: any;
996
- track?: any;
997
997
  }): Promise<void>;
998
998
  /**
999
999
  * Clone a repository