s2cfgtojson 7.0.4 → 7.0.5

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.
Files changed (2) hide show
  1. package/Struct.mts +1 -1
  2. package/package.json +1 -1
package/Struct.mts CHANGED
@@ -361,7 +361,7 @@ export class Refs implements DefaultEntries {
361
361
  }
362
362
 
363
363
  const structHeadRegex = new RegExp(
364
- `^\s*((.*)\\s*:)?\\s*struct\\.begin\\s*({\\s*((${KEYWORDS.join("|")})\\s*(=.+)?)\\s*})?`,
364
+ `^\\s*((.*)\\s*:)?\\s*struct\\.begin\\s*({\\s*((${KEYWORDS.join("|")})\\s*(=.+)?)\\s*})?`,
365
365
  );
366
366
 
367
367
  function parseHead(line: string, index: number): Struct {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s2cfgtojson",
3
- "version": "7.0.4",
3
+ "version": "7.0.5",
4
4
  "description": "Converts Stalker 2 Cfg file into POJOs",
5
5
  "keywords": [
6
6
  "stalker",