s2cfgtojson 7.0.4 → 7.0.6

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 (3) hide show
  1. package/Struct.mts +1 -1
  2. package/package.json +3 -2
  3. package/types.mts +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.6",
4
4
  "description": "Converts Stalker 2 Cfg file into POJOs",
5
5
  "keywords": [
6
6
  "stalker",
@@ -24,7 +24,8 @@
24
24
  "type": "module",
25
25
  "main": "Struct.mts",
26
26
  "scripts": {
27
- "test": "vitest"
27
+ "test": "vitest",
28
+ "release:patch": "npm version patch && npm i && npm publish"
28
29
  },
29
30
  "devDependencies": {
30
31
  "@types/node": "^24.5.2",
package/types.mts CHANGED
@@ -10026,7 +10026,7 @@ export type QuestNodePrototypeTargetLocations = GetStructType<
10026
10026
 
10027
10027
  export type QuestNodePrototypeTechnical = GetStructType<{
10028
10028
  BrokenGameDataFilter: EBrokenGameDataFilter;
10029
- Launchers: string;
10029
+ Launchers: QuestNodePrototypeLaunchers;
10030
10030
  LaunchOnQuestStart: boolean;
10031
10031
  NodePrototypeVersion: number;
10032
10032
  NodeType: "EQuestNodeType::Technical" & EQuestNodeType;