Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:

# only run if all files already auto fixed
- name : Run eslint on changed files
uses : Maggi64/eslint-plus-action@master
with :
uses: a-b-r-o-w-n/eslint-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
extensions: .js,.ts,.svelte
2 changes: 1 addition & 1 deletion benchmark/array/unique.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { uniq as uniqLodash, uniqWith as uniqWithLodash } from "lodash-es";
import { unique } from "moderndash";
import { unique as uniqueRadash } from "radash";
import { uniq as uniqRambda, uniqWith as uniqWithRambda } from "rambda";
import { uniq as uniqRemeda, uniqWith as uniqWithRemeda } from "remeda";
import { unique as uniqRemeda, uniqueWith as uniqWithRemeda } from "remeda";
import { bench, describe } from "vitest";

import { randomNumberArray, randomStringArray } from "../testData.js";
Expand Down
1,652 changes: 493 additions & 1,159 deletions package-lock.json

Large diffs are not rendered by default.

24 changes: 14 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,24 @@
"scripts": {
"build:docs-data": "typedoc --options typedoc.json && typedoc-json-parser --json ./website/src/assets/extractedTypes.json --verbose",
"build:docs": "npm run build --workspace=package && npm run build:docs-data && npm run build --workspace=website",
"benchmark": "npm run build --workspace=package && npm run bench --workspace=benchmark"
"benchmark": "npm run build --workspace=package && npm run bench --workspace=benchmark",
"lint": "eslint . --ext .ts --ext .js --ext .svelte"
},
"browserslist": [
">10% and not dead"
],
"devDependencies": {
"@svitejs/changesets-changelog-github-compact": "1.1.0",
"@svitejs/changesets-changelog-github-compact": "1.2.0",
"@tsconfig/strictest": "2.0.5",
"@changesets/cli": "2.27.6",
"@changesets/cli": "2.27.10",
"eslint-config-dewald": "1.0.17",
"eslint": "8.57.0",
"typedoc": "0.26.2",
"typescript": "5.5.2",
"vitest": "1.6.0",
"@vitest/coverage-v8": "1.6.0",
"@vitest/ui": "1.6.0",
"vite": "5.3.2",
"vite-tsconfig-paths": "4.3.2"
"typedoc": "0.26.11",
"typescript": "5.6.3",
"vitest": "2.1.5",
"@vitest/coverage-v8": "2.1.5",
"@vitest/ui": "2.1.5",
"vite": "5.4.11",
"vite-tsconfig-paths": "5.1.3"
}
}
4 changes: 1 addition & 3 deletions package/test/promise/queue.test.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import type { Mock } from "vitest";

import { Queue } from "@promise/queue.js";
import { sleep } from "@promise/sleep.js";

import { trackPromise } from "./promiseUtils.js";

let queue: Queue;

const createAsync = (mockFn: Mock<[], string>) => async () => {
const createAsync = (mockFn: typeof callbackMock) => async () => {
await sleep(20);
return mockFn();
};
Expand Down
3 changes: 2 additions & 1 deletion website/src/components/sidebar/Sidebar.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<script lang="ts">
import type { LayoutData } from "../../routes/$types.js";

import { searchTerm } from "$utils/searchStore.js";

import Category from "./Category.svelte";

import { goto } from "$app/navigation";
import { searchTerm } from "$utils/searchStore.js";

export let sidebarEntries: LayoutData["sidebarEntries"];

Expand Down
3 changes: 2 additions & 1 deletion website/src/routes/+page.server.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type { PageServerLoad } from "./$types";

import { markdownParser } from "$utils/markdown.js";

import readme from "../../../README.md?raw";

import { markdownParser } from "$utils/markdown.js";

// remove first markdown image from readme
const trimmedReadme = readme.replace(/!\[.*]\(.*\)/, "");
Expand Down