Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@etothepii/satisfactory-file-parser

Package Overview
Dependencies
Maintainers
0
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@etothepii/satisfactory-file-parser - npm Package Compare versions

Comparing version 0.4.21 to 0.4.22

11

build/parser/satisfactory/blueprint/blueprint-reader.js

@@ -141,13 +141,14 @@ "use strict";

const color = col4_1.col4.ParseRGBA(reader);
const referencedIconLibrary = reader.readString();
const iconLibraryType = reader.readString();
return {
const config = {
description,
color,
iconID,
referencedIconLibrary,
iconLibraryType
};
if (reader.getBufferPosition() < reader.getBufferLength()) {
config.referencedIconLibrary = reader.readString();
config.iconLibraryType = reader.readString();
}
return config;
}
}
exports.BlueprintConfigReader = BlueprintConfigReader;

@@ -85,6 +85,6 @@ "use strict";

col4_1.col4.SerializeRGBA(writer, config.color);
writer.writeString(config.referencedIconLibrary);
writer.writeString(config.iconLibraryType);
writer.writeString(config.referencedIconLibrary ?? '');
writer.writeString(config.iconLibraryType ?? '');
}
}
exports.BlueprintConfigWriter = BlueprintConfigWriter;

@@ -10,4 +10,4 @@ import { ChunkCompressionInfo } from "../../file.types";

iconID: number;
referencedIconLibrary: string;
iconLibraryType: string;
referencedIconLibrary?: string;
iconLibraryType?: string;
}

@@ -14,0 +14,0 @@ export type BlueprintHeader = {

{
"name": "@etothepii/satisfactory-file-parser",
"author": "etothepii",
"version": "0.4.21",
"version": "0.4.22",
"description": "A file parser for satisfactory files. Includes save files and blueprint files.",

@@ -6,0 +6,0 @@ "types": "./build/index.d.ts",

@@ -144,2 +144,6 @@ # Satisfactory File Parser

# Changelog
### [0.4.22] (2024-10-07)
#### compatibility fix
* referenced icon libraries in blueprints are now optional when being parsed.
### [0.4.21] (2024-10-07)

@@ -146,0 +150,0 @@ #### internal package restructuring

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc