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.12 to 0.4.13

4

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

@@ -26,4 +26,4 @@ "use strict";

static ReadHeader(reader) {
const blueprintTypeOrWhat = reader.readBytes(4);
const versionThing = reader.readBytes(2 * 4);
const alwaysTwo = reader.readBytes(4);
const objectVersion = reader.readBytes(2 * 4);
const dimensions = util_types_1.vec3.ParseInt(reader);

@@ -30,0 +30,0 @@ let itemTypeCount = reader.readInt32();

@@ -37,3 +37,6 @@ "use strict";

case "StructProperty":
if (propertyName === 'mDestroyedPickups') {
if (propertyName === 'mRemovalLocations') {
property = new SetProperty(subtype, new Array(elementCount).fill(0).map(() => util_types_1.vec3.ParseF(reader)), ueType, index);
}
if (propertyName === 'mDestroyedPickups' || propertyName === 'mLootedDropPods') {
property = new SetProperty(subtype, new Array(elementCount).fill(0).map(() => GUID_1.GUID.read(reader)), ueType, index);

@@ -78,3 +81,3 @@ }

}
else if (property.name === 'mDestroyedPickups') {
else if (property.name === 'mDestroyedPickups' || property.name === 'mLootedDropPods') {
property.values.forEach(v => GUID_1.GUID.write(writer, v));

@@ -81,0 +84,0 @@ }

@@ -37,3 +37,4 @@ "use strict";

if (readBytes !== size) {
if (size - readBytes === 4 && reader.readInt32() === 0) {
if (size - readBytes === 4 || struct.subtype === 'ClientIdentityInfo') {
reader.skipBytes(size - readBytes);
}

@@ -40,0 +41,0 @@ else {

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

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

@@ -21,3 +21,3 @@ # Satisfactory File Parser

| U8 | ✅ 0.1.20 - 0.3.7 |
| U1.0 | ✅ >= 0.4.12 |
| U1.0 | ✅ >= 0.4.13 |

@@ -24,0 +24,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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