isomorphic-git 1.44.12 → 1.44.13

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/index.cjs CHANGED
@@ -10302,8 +10302,8 @@ function filterCapabilities(server, client) {
10302
10302
 
10303
10303
  const pkg = {
10304
10304
  name: 'isomorphic-git',
10305
- version: '1.44.12',
10306
- agent: 'git/isomorphic-git@1.44.12',
10305
+ version: '1.44.13',
10306
+ agent: 'git/isomorphic-git@1.44.13',
10307
10307
  };
10308
10308
 
10309
10309
  class FIFO {
@@ -10931,9 +10931,12 @@ async function _fetch({
10931
10931
  }
10932
10932
  }
10933
10933
  const noun = fullref.startsWith('refs/tags') ? 'tag' : 'branch';
10934
+ // Like canonical git, leave any credentials embedded in the URL out of the
10935
+ // description, because `pull` writes it into the merge commit message.
10936
+ const { url: urlWithoutAuth } = extractAuthFromUrl(url);
10934
10937
  response.FETCH_HEAD = {
10935
10938
  oid,
10936
- description: `${noun} '${abbreviateRef(fullref)}' of ${url}`,
10939
+ description: `${noun} '${abbreviateRef(fullref)}' of ${urlWithoutAuth}`,
10937
10940
  };
10938
10941
 
10939
10942
  if (onProgress || onMessage) {
package/index.js CHANGED
@@ -10290,8 +10290,8 @@ function filterCapabilities(server, client) {
10290
10290
 
10291
10291
  const pkg = {
10292
10292
  name: 'isomorphic-git',
10293
- version: '1.44.12',
10294
- agent: 'git/isomorphic-git@1.44.12',
10293
+ version: '1.44.13',
10294
+ agent: 'git/isomorphic-git@1.44.13',
10295
10295
  };
10296
10296
 
10297
10297
  class FIFO {
@@ -10919,9 +10919,12 @@ async function _fetch({
10919
10919
  }
10920
10920
  }
10921
10921
  const noun = fullref.startsWith('refs/tags') ? 'tag' : 'branch';
10922
+ // Like canonical git, leave any credentials embedded in the URL out of the
10923
+ // description, because `pull` writes it into the merge commit message.
10924
+ const { url: urlWithoutAuth } = extractAuthFromUrl(url);
10922
10925
  response.FETCH_HEAD = {
10923
10926
  oid,
10924
- description: `${noun} '${abbreviateRef(fullref)}' of ${url}`,
10927
+ description: `${noun} '${abbreviateRef(fullref)}' of ${urlWithoutAuth}`,
10925
10928
  };
10926
10929
 
10927
10930
  if (onProgress || onMessage) {