@etothepii/satisfactory-file-parser 0.2.1 → 0.2.3
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReadableStream } from "
|
|
1
|
+
import { ReadableStream } from "stream/web";
|
|
2
2
|
export declare class ReadableStreamParser {
|
|
3
3
|
private static CreateReadableStreamForParsingSave;
|
|
4
4
|
static CreateReadableStreamFromSaveToJson: (name: string, bytes: Uint8Array, onDecompressedSaveBody?: (buffer: ArrayBuffer) => void, onProgress?: (progress: number, message?: string) => void) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.ReadableStreamParser = void 0;
|
|
5
|
-
const web_1 = require("
|
|
5
|
+
const web_1 = require("stream/web");
|
|
6
6
|
const SaveComponent_1 = require("../../satisfactory/objects/SaveComponent");
|
|
7
7
|
const SaveEntity_1 = require("../../satisfactory/objects/SaveEntity");
|
|
8
8
|
const level_class_1 = require("../../satisfactory/save/level.class");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etothepii/satisfactory-file-parser",
|
|
3
3
|
"author": "etothepii",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"description": "A file parser for satisfactory files. Includes save files and blueprint files.",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
7
7
|
"main": "./build/index.js",
|