isomorphic-git 1.27.2 → 1.27.3

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
@@ -22,7 +22,7 @@ The original author of the project ([Billie Hilton](https://github.com/wmhilton)
22
22
  * [@jcubic](https://github.com/jcubic) (most active)
23
23
  * [@mojavelinux](https://github.com/mojavelinux)
24
24
 
25
- But they don't write much code, mainly do code review and try to answer to issues and on Gitter, they just don't want the project to die. So you can say that this project is community driven (as jcubic always reply to issues). Which means that if you want a feature to be implemented you need to do this yourself or find someone that is willing to write the code for you. The project have some money on [OpenCollective](https://opencollective.com/isomorphic-git) and we can spend it on some development, if you find somoene that is willing to code in exchange to some bucks (it may be you), but we don't have a lot so don't expect to have full sallary.
25
+ But they don't write much code, mainly do code review and try to answer to issues and on Gitter, they just don't want the project to die. So you can say that this project is community driven (as jcubic always reply to issues). Which means that if you want a feature to be implemented you need to do this yourself or find someone that is willing to write the code for you. The project have some money on [OpenCollective](https://opencollective.com/isomorphic-git) and we can spend it on some development, if you find someone that is willing to code in exchange to some bucks (it may be you), but we don't have a lot so don't expect to have full sallary.
26
26
 
27
27
  If you want to help this project you're more than welcome to do so.
28
28
 
@@ -1,10 +1,8 @@
1
1
  [
2
2
  "Chrome Headless 79.0.3945.0 (Linux x86_64)",
3
3
  "Firefox 132.0 (Ubuntu 0.0.0)",
4
- "X Chrome 128.0.0.0 (Android 10)",
5
- "Safari 13.1 (Mac OS 10.15.4)",
6
- "Edge 79.0.309.65 (Windows 10)",
4
+ "Chrome 128.0.0.0 (Android 10)",
7
5
  "Mobile Safari 13.0 (iOS 13.0)",
8
- "Chrome Headless 79.0.3945.0 (Linux x86_64)",
9
- "Chrome 128.0.0.0 (Android 10)"
6
+ "Safari 13.1 (Mac OS 10.15.4)",
7
+ "Edge 79.0.309.65 (Windows 10)"
10
8
  ]
package/index.cjs CHANGED
@@ -4567,7 +4567,11 @@ class FileSystem {
4567
4567
  await this._stat(filepath);
4568
4568
  return true
4569
4569
  } catch (err) {
4570
- if (err.code === 'ENOENT' || err.code === 'ENOTDIR') {
4570
+ if (
4571
+ err.code === 'ENOENT' ||
4572
+ err.code === 'ENOTDIR' ||
4573
+ (err.code || '').includes('ENS')
4574
+ ) {
4571
4575
  return false
4572
4576
  } else {
4573
4577
  console.log('Unhandled error in "FileSystem.exists()" function', err);
@@ -4720,7 +4724,7 @@ class FileSystem {
4720
4724
  const stats = await this._lstat(filename);
4721
4725
  return stats
4722
4726
  } catch (err) {
4723
- if (err.code === 'ENOENT') {
4727
+ if (err.code === 'ENOENT' || (err.code || '').includes('ENS')) {
4724
4728
  return null
4725
4729
  }
4726
4730
  throw err
@@ -4738,7 +4742,7 @@ class FileSystem {
4738
4742
  const link = await this._readlink(filename, opts);
4739
4743
  return Buffer.isBuffer(link) ? link : Buffer.from(link)
4740
4744
  } catch (err) {
4741
- if (err.code === 'ENOENT') {
4745
+ if (err.code === 'ENOENT' || (err.code || '').includes('ENS')) {
4742
4746
  return null
4743
4747
  }
4744
4748
  throw err
@@ -7596,8 +7600,8 @@ function filterCapabilities(server, client) {
7596
7600
 
7597
7601
  const pkg = {
7598
7602
  name: 'isomorphic-git',
7599
- version: '1.27.2',
7600
- agent: 'git/isomorphic-git@1.27.2',
7603
+ version: '1.27.3',
7604
+ agent: 'git/isomorphic-git@1.27.3',
7601
7605
  };
7602
7606
 
7603
7607
  class FIFO {
package/index.js CHANGED
@@ -4561,7 +4561,11 @@ class FileSystem {
4561
4561
  await this._stat(filepath);
4562
4562
  return true
4563
4563
  } catch (err) {
4564
- if (err.code === 'ENOENT' || err.code === 'ENOTDIR') {
4564
+ if (
4565
+ err.code === 'ENOENT' ||
4566
+ err.code === 'ENOTDIR' ||
4567
+ (err.code || '').includes('ENS')
4568
+ ) {
4565
4569
  return false
4566
4570
  } else {
4567
4571
  console.log('Unhandled error in "FileSystem.exists()" function', err);
@@ -4714,7 +4718,7 @@ class FileSystem {
4714
4718
  const stats = await this._lstat(filename);
4715
4719
  return stats
4716
4720
  } catch (err) {
4717
- if (err.code === 'ENOENT') {
4721
+ if (err.code === 'ENOENT' || (err.code || '').includes('ENS')) {
4718
4722
  return null
4719
4723
  }
4720
4724
  throw err
@@ -4732,7 +4736,7 @@ class FileSystem {
4732
4736
  const link = await this._readlink(filename, opts);
4733
4737
  return Buffer.isBuffer(link) ? link : Buffer.from(link)
4734
4738
  } catch (err) {
4735
- if (err.code === 'ENOENT') {
4739
+ if (err.code === 'ENOENT' || (err.code || '').includes('ENS')) {
4736
4740
  return null
4737
4741
  }
4738
4742
  throw err
@@ -7590,8 +7594,8 @@ function filterCapabilities(server, client) {
7590
7594
 
7591
7595
  const pkg = {
7592
7596
  name: 'isomorphic-git',
7593
- version: '1.27.2',
7594
- agent: 'git/isomorphic-git@1.27.2',
7597
+ version: '1.27.3',
7598
+ agent: 'git/isomorphic-git@1.27.3',
7595
7599
  };
7596
7600
 
7597
7601
  class FIFO {