From af319f63ef8c2c2a767e7b5cb2ddcd0e0c060af7 Mon Sep 17 00:00:00 2001 From: Ivan Akimov Date: Wed, 30 Aug 2023 10:54:20 -0500 Subject: [PATCH] cleanup --- package.json | 14 +++++++------- tests/blocklist.test.ts | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index ac11d94..f4b1fcf 100644 --- a/package.json +++ b/package.json @@ -8,14 +8,14 @@ "format": "prettier --write ." }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "6.3.0", - "@typescript-eslint/parser": "6.3.0", - "@vitest/coverage-v8": "0.34.1", - "eslint": "8.47.0", + "@typescript-eslint/eslint-plugin": "6.5.0", + "@typescript-eslint/parser": "6.5.0", + "@vitest/coverage-v8": "0.34.3", + "eslint": "8.48.0", "eslint-config-prettier": "9.0.0", - "prettier": "3.0.1", - "typescript": "5.1.6", - "vitest": "0.34.1" + "prettier": "3.0.3", + "typescript": "5.2.2", + "vitest": "0.34.3" }, "type": "module" } diff --git a/tests/blocklist.test.ts b/tests/blocklist.test.ts index 216ef9d..284a827 100644 --- a/tests/blocklist.test.ts +++ b/tests/blocklist.test.ts @@ -75,8 +75,8 @@ test('blocklist filtering in constructor', () => { blocklist: new Set(['sqnmpn']) // lowercase blocklist in only-uppercase alphabet }); - let id = sqids.encode([1, 2, 3]); - let numbers = sqids.decode(id); + const id = sqids.encode([1, 2, 3]); + const numbers = sqids.decode(id); expect.soft(id).toEqual('ULPBZGBM'); // without blocklist, would've been "SQNMPN" expect.soft(numbers).toEqual([1, 2, 3]);