Skip to content

Commit

Permalink
chore: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Jan 6, 2025
1 parent d39ecb1 commit 96960e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import snappy from "snappy";
import {crc, ChunkType, IDENTIFIER_FRAME, UNCOMPRESSED_CHUNK_SIZE} from "./common.js";
import {ChunkType, IDENTIFIER_FRAME, UNCOMPRESSED_CHUNK_SIZE, crc} from "./common.js";

// The logic in this file is largely copied (in simplified form) from https://github.com/ChainSafe/node-snappy-stream/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {uncompress} from "snappyjs";
import {Uint8ArrayList} from "uint8arraylist";
import {ChunkType, crc, IDENTIFIER, UNCOMPRESSED_CHUNK_SIZE} from "./common.js";
import {ChunkType, IDENTIFIER, UNCOMPRESSED_CHUNK_SIZE, crc} from "./common.js";

export class SnappyFramesUncompress {
private buffer = new Uint8ArrayList();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {pipe} from "it-pipe";
import {Uint8ArrayList} from "uint8arraylist";
import {describe, expect, it} from "vitest";
import {ChunkType, IDENTIFIER_FRAME, crc} from "../../../../../src/encodingStrategies/sszSnappy/snappyFrames/common.js";
import {encodeSnappy} from "../../../../../src/encodingStrategies/sszSnappy/snappyFrames/compress.js";
import {SnappyFramesUncompress} from "../../../../../src/encodingStrategies/sszSnappy/snappyFrames/uncompress.js";
import {ChunkType, crc, IDENTIFIER_FRAME} from "../../../../../src/encodingStrategies/sszSnappy/snappyFrames/common.js";

describe("encodingStrategies / sszSnappy / snappy frames / uncompress", () => {
it("should work with short input", () =>
Expand Down

0 comments on commit 96960e0

Please sign in to comment.