Skip to content

chore: update dependencies #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 23, 2025
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
1 change: 0 additions & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ The tilde prefix ("~") is used to avoid conflicts with existing directories in t
Before these workflows can function properly, you need to:

1. **Enable GitHub Pages** for your repository:

- Go to repository Settings > Pages
- Set up GitHub Pages to deploy from GitHub Actions
- Make sure the repository has the necessary permissions (pages: write, id-token: write)
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"@sveltejs/adapter-auto": "^6.0.1",
"@sveltejs/adapter-static": "^3.0.8",
"@sveltejs/eslint-config": "^8.2.0",
"@sveltejs/kit": "^2.21.5",
"@sveltejs/kit": "^2.22.0",
"@sveltejs/package": "^2.3.11",
"@sveltejs/vite-plugin-svelte": "5.1.0",
"@sveltepress/theme-default": "^6.0.3",
"@sveltepress/theme-default": "^6.0.4",
"@sveltepress/twoslash": "^1.2.2",
"@sveltepress/vite": "^1.2.2",
"@testing-library/svelte": "^5.2.8",
Expand All @@ -85,24 +85,24 @@
"d3-force": "^3.0.0",
"eslint": "^9.29.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-svelte": "3.9.2",
"eslint-plugin-svelte": "3.9.3",
"jsdom": "^26.1.0",
"prettier": "^3.5.3",
"prettier": "^3.6.0",
"prettier-plugin-svelte": "^3.4.0",
"puppeteer": "^24.10.2",
"remark-code-extra": "^1.0.1",
"remark-code-frontmatter": "^1.0.0",
"resize-observer-polyfill": "^1.5.1",
"sass": "^1.89.2",
"svelte-check": "^4.2.1",
"svelte-check": "^4.2.2",
"svelte-eslint-parser": "1.2.0",
"svelte-highlight": "^7.8.3",
"svg-path-parser": "^1.1.0",
"topojson-client": "^3.1.0",
"ts-essentials": "^10.1.1",
"tslib": "^2.8.1",
"typedoc": "^0.28.5",
"typedoc-plugin-markdown": "^4.6.4",
"typedoc-plugin-markdown": "^4.7.0",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"vitest": "^3.2.4",
Expand All @@ -124,7 +124,7 @@
"d3-scale-chromatic": "^3.1.0",
"d3-shape": "^3.2.0",
"d3-time": "^3.1.0",
"es-toolkit": "^1.39.3",
"es-toolkit": "^1.39.4",
"fast-equals": "^5.2.2",
"merge-deep": "^3.0.3",
"svelte": "5.34.7"
Expand Down
424 changes: 93 additions & 331 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/lib/helpers/arrowPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ export function arrowPath(
sign * Math.sign(insetEnd)
);
lineAngle += Math.atan2(y - cy, x - cx) - Math.atan2(y2 - cy, x2 - cx);
(x2 = x), (y2 = y);
((x2 = x), (y2 = y));
}
} else {
// For inset straight arrows, offset along the straight line.
const dx = x2 - x1,
dy = y2 - y1,
d = Math.hypot(dx, dy);
if (insetStart) (x1 += (dx / d) * insetStart), (y1 += (dy / d) * insetStart);
if (insetEnd) (x2 -= (dx / d) * insetEnd), (y2 -= (dy / d) * insetEnd);
if (insetStart) ((x1 += (dx / d) * insetStart), (y1 += (dy / d) * insetStart));
if (insetEnd) ((x2 -= (dx / d) * insetEnd), (y2 -= (dy / d) * insetEnd));
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/lib/transforms/bollinger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@ function bollinger(values: number[], N: number, K: number[]) {
// compute sum and square of sums
for (let n = Math.min(N - 1, values.length); i < n; ++i) {
const value = values[i];
(sum += value), (sumSquared += value ** 2);
((sum += value), (sumSquared += value ** 2));
}
for (let n = values.length, m = bands.length; i < n; ++i) {
const value = values[i];
(sum += value), (sumSquared += value ** 2);
((sum += value), (sumSquared += value ** 2));
const mean = sum / N;
const deviation = Math.sqrt((sumSquared - sum ** 2 / N) / (N - 1));
for (let j = 0; j < K.length; ++j) {
bands[j][i] = mean + deviation * K[j];
}
const value0 = values[i - N + 1];
(sum -= value0), (sumSquared -= value0 ** 2);
((sum -= value0), (sumSquared -= value0 ** 2));
}
return bands;
}
3 changes: 0 additions & 3 deletions src/routes/features/plot/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ List of all plot options you can pass via props on the `<Plot />` component:
- `length` - options for the length scale

- You can set the following shared scale options for all the scales listed above:

- `domain` - custom domain for the scale
- `range` - custom range for the scale
- `reverse` - reverse the scale direction
Expand All @@ -233,7 +232,6 @@ List of all plot options you can pass via props on the `<Plot />` component:
**Scale-specific options**

- `x` also supports:

- `grid` - whether to show a grid
- `axis` - axis position ('top', 'bottom', 'both', or false)
- `tickRotate` - rotation angle for tick labels
Expand All @@ -242,7 +240,6 @@ List of all plot options you can pass via props on the `<Plot />` component:
- `insetRight` - right inset value

- `y` also supports:

- `grid` - whether to show a grid
- `axis` - axis position ('left', 'right', 'both', or false)
- `tickRotate` - rotation angle for tick labels
Expand Down
2 changes: 0 additions & 2 deletions src/routes/marks/arrow/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,12 @@ The Arrow mark offers various customization options to control appearance and be
**Arrow Style and Shape**

- **bend** - Controls the curvature of the arrow in degrees:

- Set to a number (e.g., `30`) for a specific bend angle
- Set to `true` for a default bend of 22.5°
- Set to `0` or `false` for a straight arrow
- Positive values curve clockwise, negative values curve counterclockwise

- **sweep** - Controls the direction of the bend:

- `1` (default) - Standard direction
- `0` - No bending (straight line regardless of bend angle)
- `-1` - Reverse direction
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy