Skip to content

Commit

Permalink
Housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Feb 18, 2025
1 parent 5d3385a commit 2bb8009
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 173 deletions.
4 changes: 2 additions & 2 deletions Build/lib/create-file.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { expect } from 'expect';
import { fileEqual } from './create-file';

// eslint-disable-next-line @typescript-eslint/require-await -- async iterable
const createSource = async function *(input: string[]) {
async function *createSource(input: string[]) {
for (const line of input) {
yield line;
}
};
}

async function test(a: string[], b: string[], expected: boolean) {
expect((await fileEqual(a, createSource(b)))).toBe(expected);
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"ci-info": "^4.1.0",
"csv-parse": "^5.6.0",
"dns2": "^2.1.0",
"fast-cidr-tools": "^0.3.1",
"fast-cidr-tools": "^0.3.2",
"fast-fifo": "^1.3.2",
"fdir": "^6.4.3",
"foxts": "^1.3.1",
"foxts": "^1.5.1",
"hash-wasm": "^4.12.0",
"json-stringify-pretty-compact": "3.0.0",
"picocolors": "^1.1.1",
Expand All @@ -48,9 +48,9 @@
"yaml": "^2.7.0"
},
"devDependencies": {
"@eslint-sukka/node": "^6.14.0",
"@eslint-sukka/node": "^6.14.1",
"@swc-node/register": "^1.10.9",
"@swc/core": "^1.10.16",
"@swc/core": "^1.10.17",
"@types/async-retry": "^1.4.9",
"@types/better-sqlite3": "^7.6.12",
"@types/dns2": "^2.0.9",
Expand All @@ -59,14 +59,14 @@
"@types/node": "^22.13.4",
"@types/tar-fs": "^2.0.4",
"eslint": "^9.20.1",
"eslint-config-sukka": "^6.14.0",
"eslint-formatter-sukka": "^6.14.0",
"eslint-config-sukka": "^6.14.1",
"eslint-formatter-sukka": "^6.14.1",
"expect": "^29.7.0",
"mitata": "^1.0.34",
"mocha": "^11.1.0",
"typescript": "^5.7.3"
},
"packageManager": "[email protected].0",
"packageManager": "[email protected].1",
"pnpm": {
"patchedDependencies": {
"undici": "patches/undici.patch",
Expand Down
Loading

0 comments on commit 2bb8009

Please sign in to comment.