isomorphic-git 1.43.1 → 1.43.2

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
@@ -459,6 +459,9 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
459
459
  <td align="center"><a href="https://github.com/MadalinTurluianu"><img src="https://avatars.githubusercontent.com/u/81984912?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Madalin Turluianu</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=MadalinTurluianu" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=MadalinTurluianu" title="Tests">⚠️</a></td>
460
460
  <td align="center"><a href="https://nandan.fyi"><img src="https://avatars.githubusercontent.com/u/74198723?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Nandan Varma</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=nandan-varma" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=nandan-varma" title="Tests">⚠️</a></td>
461
461
  </tr>
462
+ <tr>
463
+ <td align="center"><a href="https://github.com/ewraj"><img src="https://avatars.githubusercontent.com/u/212665522?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Raj Royal</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ewraj" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ewraj" title="Tests">⚠️</a></td>
464
+ </tr>
462
465
  </table>
463
466
 
464
467
  <!-- markdownlint-restore -->
package/index.cjs CHANGED
@@ -1831,8 +1831,9 @@ const SECTION_REGEX = /^[A-Za-z0-9-.]+$/;
1831
1831
  // variable name is alphanumeric (ASCII) with -
1832
1832
  // variable name starts with an alphabetic character
1833
1833
  // variable name is case insensitive
1834
- const VARIABLE_LINE_REGEX = /^([A-Za-z][A-Za-z-]*)(?: *= *(.*))?$/;
1835
- const VARIABLE_NAME_REGEX = /^[A-Za-z][A-Za-z-]*$/;
1834
+ // whitespace (spaces or tabs) around the equal sign is ignored
1835
+ const VARIABLE_LINE_REGEX = /^([A-Za-z][A-Za-z0-9-]*)(?:\s*=\s*(.*))?$/;
1836
+ const VARIABLE_NAME_REGEX = /^[A-Za-z][A-Za-z0-9-]*$/;
1836
1837
 
1837
1838
  // Comments start with either # or ; and extend to the end of line
1838
1839
  const VARIABLE_VALUE_COMMENT_REGEX = /^(.*?)( *[#;].*)$/;
@@ -10054,8 +10055,8 @@ function filterCapabilities(server, client) {
10054
10055
 
10055
10056
  const pkg = {
10056
10057
  name: 'isomorphic-git',
10057
- version: '1.43.1',
10058
- agent: 'git/isomorphic-git@1.43.1',
10058
+ version: '1.43.2',
10059
+ agent: 'git/isomorphic-git@1.43.2',
10059
10060
  };
10060
10061
 
10061
10062
  class FIFO {
package/index.js CHANGED
@@ -1824,8 +1824,9 @@ const SECTION_REGEX = /^[A-Za-z0-9-.]+$/;
1824
1824
  // variable name is alphanumeric (ASCII) with -
1825
1825
  // variable name starts with an alphabetic character
1826
1826
  // variable name is case insensitive
1827
- const VARIABLE_LINE_REGEX = /^([A-Za-z][A-Za-z-]*)(?: *= *(.*))?$/;
1828
- const VARIABLE_NAME_REGEX = /^[A-Za-z][A-Za-z-]*$/;
1827
+ // whitespace (spaces or tabs) around the equal sign is ignored
1828
+ const VARIABLE_LINE_REGEX = /^([A-Za-z][A-Za-z0-9-]*)(?:\s*=\s*(.*))?$/;
1829
+ const VARIABLE_NAME_REGEX = /^[A-Za-z][A-Za-z0-9-]*$/;
1829
1830
 
1830
1831
  // Comments start with either # or ; and extend to the end of line
1831
1832
  const VARIABLE_VALUE_COMMENT_REGEX = /^(.*?)( *[#;].*)$/;
@@ -10041,8 +10042,8 @@ function filterCapabilities(server, client) {
10041
10042
 
10042
10043
  const pkg = {
10043
10044
  name: 'isomorphic-git',
10044
- version: '1.43.1',
10045
- agent: 'git/isomorphic-git@1.43.1',
10045
+ version: '1.43.2',
10046
+ agent: 'git/isomorphic-git@1.43.2',
10046
10047
  };
10047
10048
 
10048
10049
  class FIFO {