mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-10-18 19:10:45 +08:00
Upgrade npm dependencies honoring a 7 day cooldown
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
||||
e2e:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: mcr.microsoft.com/playwright:v1.60.0-noble
|
||||
image: mcr.microsoft.com/playwright:v1.61.1-noble
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
Generated
+427
-404
File diff suppressed because it is too large
Load Diff
+31
-31
@@ -26,74 +26,74 @@
|
||||
},
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@floating-ui/dom": "^1.7.6",
|
||||
"@floating-ui/dom": "^1.8.0",
|
||||
"@pierre/diffs": "1.3.0-beta.9",
|
||||
"@pierre/trees": "1.0.0-beta.5",
|
||||
"@tauri-apps/api": "^2.11.0",
|
||||
"@tauri-apps/api": "^2.11.1",
|
||||
"@tauri-apps/plugin-clipboard-manager": "^2.3.2",
|
||||
"@tauri-apps/plugin-dialog": "^2.7.1",
|
||||
"@tauri-apps/plugin-log": "^2.8.0",
|
||||
"@tauri-apps/plugin-log": "^2.9.0",
|
||||
"@tauri-apps/plugin-shell": "^2.3.5",
|
||||
"@tauri-apps/plugin-window-state": "^2.4.1",
|
||||
"hast-util-to-html": "^9.0.5",
|
||||
"overlayscrollbars": "^2.16.0",
|
||||
"overlayscrollbars-svelte": "^0.5.5",
|
||||
"semver": "^7.8.0",
|
||||
"virtua": "^0.49.1",
|
||||
"semver": "^7.8.5",
|
||||
"virtua": "^0.49.3",
|
||||
"zod": "^4.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@playwright/test": "1.60.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
||||
"@tauri-apps/cli": "^2.11.1",
|
||||
"@playwright/test": "1.61.1",
|
||||
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
||||
"@tauri-apps/cli": "^2.11.4",
|
||||
"@tsconfig/svelte": "^5.0.8",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/hast": "^3.0.5",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/lodash": "^4.17.24",
|
||||
"@types/md5": "^2.3.6",
|
||||
"@types/node": "^24",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/wait-on": "^5.3.4",
|
||||
"@wooorm/starry-night": "^3.9.0",
|
||||
"@wooorm/starry-night": "^3.10.0",
|
||||
"baconjs": "^3.0.23",
|
||||
"bs58": "^6.0.0",
|
||||
"buffer": "^6.0.3",
|
||||
"chalk": "^5.6.2",
|
||||
"dompurify": "^3.4.3",
|
||||
"eslint": "^10.3.0",
|
||||
"dompurify": "^3.4.12",
|
||||
"eslint": "^10.7.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-simple-import-sort": "^13.0.0",
|
||||
"eslint-plugin-svelte": "^3.17.1",
|
||||
"eslint-plugin-svelte": "^3.20.0",
|
||||
"execa": "^9.6.1",
|
||||
"fuzzysort": "^3.1.0",
|
||||
"get-port": "^7.2.0",
|
||||
"globals": "^17.6.0",
|
||||
"happy-dom": "^20.9.0",
|
||||
"globals": "^17.7.0",
|
||||
"happy-dom": "^20.10.6",
|
||||
"hast-util-to-dom": "^4.0.1",
|
||||
"js-yaml": "^4.1.1",
|
||||
"katex": "^0.16.46",
|
||||
"keyux": "^0.11.5",
|
||||
"js-yaml": "^5.2.1",
|
||||
"katex": "^0.17.0",
|
||||
"keyux": "^0.11.6",
|
||||
"lodash": "^4.18.1",
|
||||
"lru-cache": "^11.3.6",
|
||||
"marked": "^18.0.3",
|
||||
"lru-cache": "^11.5.2",
|
||||
"marked": "^18.0.6",
|
||||
"marked-emoji": "^2.0.3",
|
||||
"marked-footnote": "^1.4.0",
|
||||
"marked-katex-extension": "^5.1.8",
|
||||
"marked-linkify-it": "^3.1.15",
|
||||
"marked-katex-extension": "^5.1.10",
|
||||
"marked-linkify-it": "^4.0.0",
|
||||
"md5": "^2.3.0",
|
||||
"playwright": "1.60.0",
|
||||
"prettier": "^3.8.3",
|
||||
"prettier-plugin-svelte": "^3.5.2",
|
||||
"svelte": "^5.55.7",
|
||||
"svelte-check": "^4.4.8",
|
||||
"svelte-eslint-parser": "^1.6.1",
|
||||
"playwright": "1.61.1",
|
||||
"prettier": "^3.9.5",
|
||||
"prettier-plugin-svelte": "^4.1.1",
|
||||
"svelte": "^5.56.5",
|
||||
"svelte-check": "^4.7.3",
|
||||
"svelte-eslint-parser": "^1.8.0",
|
||||
"tslib": "^2.8.1",
|
||||
"twemoji": "^14.0.2",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.59.3",
|
||||
"vite": "^8.0.13",
|
||||
"vitest": "^4.1.6",
|
||||
"typescript-eslint": "^8.64.0",
|
||||
"vite": "^8.1.5",
|
||||
"vitest": "^4.1.10",
|
||||
"vscode-oniguruma": "^2.0.1",
|
||||
"wait-on": "^9.0.10"
|
||||
}
|
||||
|
||||
@@ -363,7 +363,7 @@
|
||||
thread.root.location?.path,
|
||||
rangeAnchorsFromCodeLocation(thread.root.location),
|
||||
)}
|
||||
{#if cc.changeCommentStatus && roles.isDelegateOrAuthor( cc.config.publicKey, cc.repoDelegates.map(delegate => delegate.did), thread.root.author.did, )}
|
||||
{#if cc.changeCommentStatus && roles.isDelegateOrAuthor( cc.config.publicKey, cc.repoDelegates.map(delegate => delegate.did), thread.root.author.did )}
|
||||
<div style:margin-left="auto">
|
||||
{#if thread.root.resolved}
|
||||
<div title="Unresolve comment thread">
|
||||
|
||||
@@ -347,7 +347,7 @@
|
||||
{review.author.alias ??
|
||||
truncateId(publicKeyFromDid(review.author.did))}'s verdict
|
||||
</span>
|
||||
{#if !!roles.isDelegateOrAuthor( config.publicKey, repo.delegates.map(delegate => delegate.did), review.author.did, )}
|
||||
{#if !!roles.isDelegateOrAuthor( config.publicKey, repo.delegates.map(delegate => delegate.did), review.author.did )}
|
||||
<VerdictButton
|
||||
selectedVerdict={verdict}
|
||||
draft={"draft" in review}
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
</div>
|
||||
{#each orderBy( revisions.filter(r => {
|
||||
return r.author.did === author.did;
|
||||
}), "timestamp", ["asc"], ) as revision}
|
||||
}), "timestamp", ["asc"] ) as revision}
|
||||
<div style:margin="0.5rem 0">
|
||||
<DropdownListItem
|
||||
selected={revision.id === selectedRevision.id}
|
||||
|
||||
+1
-6
@@ -3,12 +3,7 @@ import { cached } from "@app/lib/cached";
|
||||
|
||||
type AtomType = "A" | "B" | "C" | "D";
|
||||
type ShapeModel =
|
||||
| "rose"
|
||||
| "starburst"
|
||||
| "ringed"
|
||||
| "tip"
|
||||
| "notched"
|
||||
| "hollow";
|
||||
"rose" | "starburst" | "ringed" | "tip" | "notched" | "hollow";
|
||||
type AtomMode = "bands-ABC" | "angle-stripes" | "parity-ACB" | "balanced-rand";
|
||||
|
||||
const PALETTE = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import yaml from "js-yaml";
|
||||
import { load } from "js-yaml";
|
||||
|
||||
const FRONTMATTER_RE = /^---\r?\n([\s\S]*?)\r?\n---\r?\n?/;
|
||||
|
||||
@@ -12,7 +12,7 @@ export function parseFrontmatter(input: string): ParsedFrontmatter {
|
||||
if (!match) {
|
||||
return { data: {}, content: input };
|
||||
}
|
||||
const parsed = yaml.load(match[1]);
|
||||
const parsed = load(match[1]);
|
||||
const data =
|
||||
parsed && typeof parsed === "object" && !Array.isArray(parsed)
|
||||
? (parsed as Record<string, unknown>)
|
||||
|
||||
+1
-1
@@ -121,7 +121,7 @@ export default new Marked();
|
||||
|
||||
export const markdownWithExtensions = new Marked(
|
||||
katexMarkedExtension({ throwOnError: false }),
|
||||
markedLinkifyIt({}, { fuzzyLink: false }),
|
||||
markedLinkifyIt({ fuzzyLink: false }),
|
||||
markedFootnote({ refMarkers: true }),
|
||||
markedEmoji({ emojis }),
|
||||
((): MarkedExtension => ({
|
||||
|
||||
@@ -5,8 +5,7 @@ import type { Action as PatchAction } from "@bindings/cob/patch/Action";
|
||||
import { emojiToTwemoji, formatOid, pluralize } from "@app/lib/utils";
|
||||
|
||||
export type Action =
|
||||
| ActionWithAuthor<IssueAction>
|
||||
| ActionWithAuthor<PatchAction>;
|
||||
ActionWithAuthor<IssueAction> | ActionWithAuthor<PatchAction>;
|
||||
|
||||
// N.b. I have taken the `%` char as indicator for a `txt-id` class
|
||||
export function createSummary(
|
||||
|
||||
@@ -15,8 +15,7 @@ export type ParseRequest = {
|
||||
};
|
||||
|
||||
export type ParseResponse =
|
||||
| { id: number; files: FileDiffMetadata[] }
|
||||
| { id: number; error: string };
|
||||
{ id: number; files: FileDiffMetadata[] } | { id: number; error: string };
|
||||
|
||||
// `self` is typed against the DOM lib here, so narrow to the worker surface we
|
||||
// actually use to avoid the `Window.postMessage` signature.
|
||||
|
||||
@@ -49,10 +49,7 @@ export interface LoadedGuideRoute {
|
||||
|
||||
export type Route = BootingRoute | RepoRoute | InboxRoute | GuideRoute;
|
||||
export type LoadedRoute =
|
||||
| BootingRoute
|
||||
| LoadedRepoRoute
|
||||
| LoadedInboxRoute
|
||||
| LoadedGuideRoute;
|
||||
BootingRoute | LoadedRepoRoute | LoadedInboxRoute | LoadedGuideRoute;
|
||||
|
||||
export function isLoadedRepoRoute(
|
||||
route: LoadedRoute,
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
placeholder="Description">
|
||||
{#snippet belowTextarea()}
|
||||
{#await configPromise then config}
|
||||
{#if !!roles.isDelegate( config.publicKey, repo.delegates.map(d => d.did), )}
|
||||
{#if !!roles.isDelegate( config.publicKey, repo.delegates.map(d => d.did) )}
|
||||
<div
|
||||
style:display="flex"
|
||||
style:align-items="center"
|
||||
|
||||
@@ -551,8 +551,7 @@ export function repoUrlToRoute(
|
||||
} else if (resource === "patches") {
|
||||
const id = segments.shift();
|
||||
const status = (searchParams.get("status") ?? undefined) as
|
||||
| PatchStatus
|
||||
| undefined;
|
||||
PatchStatus | undefined;
|
||||
const reviewId = searchParams.get("review") ?? undefined;
|
||||
if (id) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user