@retrobrainz/dat 1.0.0 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1 - 2026-01-07
4
+
5
+ - Fixed bug where `readSegment()` would not read keys that contained tabs
6
+
3
7
  ## 1.0.0 - 2026-01-07
4
8
 
5
9
  - Added `parse()` function
@@ -13,7 +13,7 @@ export default function readSegment(text, startIndex) {
13
13
  quoted = true;
14
14
  }
15
15
  }
16
- else if (char === ' ') {
16
+ else if (char === ' ' || char === '\t') {
17
17
  if (quoted) {
18
18
  key += char;
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retrobrainz/dat",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "read and write .dat files",
5
5
  "type": "module",
6
6
  "exports": {