isomorphic-git 1.38.9 → 1.38.10

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
@@ -4650,6 +4650,7 @@ class GitWalkerFs {
4650
4650
  }
4651
4651
 
4652
4652
  async readdir(entry) {
4653
+ if ((await entry.type()) !== 'tree') return null
4653
4654
  const filepath = entry._fullpath;
4654
4655
  const { fs, dir } = this;
4655
4656
  const names = await fs.readdir(join(dir, filepath));
@@ -9498,8 +9499,8 @@ function filterCapabilities(server, client) {
9498
9499
 
9499
9500
  const pkg = {
9500
9501
  name: 'isomorphic-git',
9501
- version: '1.38.9',
9502
- agent: 'git/isomorphic-git@1.38.9',
9502
+ version: '1.38.10',
9503
+ agent: 'git/isomorphic-git@1.38.10',
9503
9504
  };
9504
9505
 
9505
9506
  class FIFO {
package/index.js CHANGED
@@ -4637,6 +4637,7 @@ class GitWalkerFs {
4637
4637
  }
4638
4638
 
4639
4639
  async readdir(entry) {
4640
+ if ((await entry.type()) !== 'tree') return null
4640
4641
  const filepath = entry._fullpath;
4641
4642
  const { fs, dir } = this;
4642
4643
  const names = await fs.readdir(join(dir, filepath));
@@ -9485,8 +9486,8 @@ function filterCapabilities(server, client) {
9485
9486
 
9486
9487
  const pkg = {
9487
9488
  name: 'isomorphic-git',
9488
- version: '1.38.9',
9489
- agent: 'git/isomorphic-git@1.38.9',
9489
+ version: '1.38.10',
9490
+ agent: 'git/isomorphic-git@1.38.10',
9490
9491
  };
9491
9492
 
9492
9493
  class FIFO {