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
1
Versions
86
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.0.19 to 0.0.20

2

build/index.d.ts

@@ -16,5 +16,5 @@ export type * from './parser/satisfactory/blueprint/blueprint.types';

export { SaveWriter } from './parser/satisfactory/save/save-writer';
export type * from './parser/satisfactory/structs/util.types';
export * from './parser/satisfactory/structs/util.types';
export { CompressionLibraryError, CorruptSaveError, ParserError, UnsupportedVersionError } from './parser/error/parser.error';
export type * from './parser/file.types';
export { Parser } from './parser/parser';

@@ -45,2 +45,3 @@ "use strict";

Object.defineProperty(exports, "SaveWriter", { enumerable: true, get: function () { return save_writer_1.SaveWriter; } });
__exportStar(require("./parser/satisfactory/structs/util.types"), exports);
var parser_error_1 = require("./parser/error/parser.error");

@@ -47,0 +48,0 @@ Object.defineProperty(exports, "CompressionLibraryError", { enumerable: true, get: function () { return parser_error_1.CompressionLibraryError; } });

{
"name": "@etothepii/satisfactory-file-parser",
"author": "etothepii",
"version": "0.0.19",
"version": "0.0.20",
"description": "A file parser for satisfactory files. Includes save files and blueprint files.",
"module": "Node16",
"typings": "./build/index.d.ts",

@@ -8,0 +7,0 @@ "main": "./build/index.js",

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

let header, bodyChunks = [];
let header: Uint8Array, bodyChunks: Uint8Array[] = [];
Parser.WriteSave(save, binaryBeforeCompressed => {

@@ -74,3 +74,3 @@ console.log('on binary data before being compressed.');

let mainFileHeader, mainFileBodyChunks = [];
let mainFileHeader: Uint8Array, mainFileBodyChunks: Uint8Array[] = [];
const summary = Parser.WriteBlueprintFiles(blueprint, mainFileBinaryBeforeCompressed => {

@@ -87,3 +87,3 @@ console.log('on main file binary data before being compressed.');

// write complete .sbp file back to disk
fs.writeFileSync('./MyModifiedBlueprint.sbp', Buffer.concat([mainFileHeader, ...mainFileBodyChunks]));
fs.writeFileSync('./MyModifiedBlueprint.sbp', Buffer.concat([mainFileHeader!, ...mainFileBodyChunks]));

@@ -90,0 +90,0 @@ // write .sbpcfg file back to disk, we get that data from the result of WriteBlueprint

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