Skip to content

Commit 4febc2a

Browse files
chore: declare the markdown-remark dependency to knip, add the changeset
knip reads static imports, and @astrojs/markdown-remark is loaded by astro itself for the rehype plugin in astro.config.mjs, so the dependency check called a needed package unused. The changeset is empty on purpose: website/site is private and is not in the release set.
1 parent a5400b6 commit 4febc2a

2 files changed

Lines changed: 53 additions & 44 deletions

File tree

‎.changeset/astro-7-website.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
---
3+
4+
fix(deps): astro 7.4.4 and sharp 0.35.5 in website/site
5+
6+
No published package changes: `website/site` is a private workspace package and
7+
is not part of the release set, so this changeset is empty on purpose. The bump
8+
closes a critical advisory in astro (< 7.2.8) and three highs in astro and sharp.

‎.knip.json‎

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,48 @@
11
{
2-
"$schema": "https://unpkg.com/knip@2/schema.json",
3-
"workspaces": {
4-
".": {
5-
"entry": [
6-
"src/index.ts!",
7-
"src/import-events.ts!",
8-
"src/cli/index.ts!",
9-
"src/scripts/benchmark-queries.ts!",
10-
"knexfile.js!"
11-
],
12-
"project": [
13-
"src/**/*.ts!"
14-
],
15-
"ignoreDependencies": [
16-
"lzma-native"
17-
],
18-
"ignore": [
19-
".nostr/**",
20-
"src/utils/relay-probe/**"
21-
],
22-
"commitlint": false,
23-
"eslint": false,
24-
"github-actions": false,
25-
"husky": false,
26-
"mocha": false,
27-
"nyc": false,
28-
"semantic-release": false
29-
},
30-
"website/site": {
31-
"entry": [
32-
"astro.config.mjs",
33-
"src/**/*.{astro,ts,mjs}",
34-
"scripts/*.mjs",
35-
"worker/**/*.ts"
36-
],
37-
"ignoreDependencies": [
38-
"@fontsource-variable/inter",
39-
"@fontsource/jetbrains-mono",
40-
"astro",
41-
"sharp",
42-
"wrangler"
43-
],
44-
"astro": true
45-
}
2+
"$schema": "https://unpkg.com/knip@2/schema.json",
3+
"workspaces": {
4+
".": {
5+
"entry": [
6+
"src/index.ts!",
7+
"src/import-events.ts!",
8+
"src/cli/index.ts!",
9+
"src/scripts/benchmark-queries.ts!",
10+
"knexfile.js!"
11+
],
12+
"project": [
13+
"src/**/*.ts!"
14+
],
15+
"ignoreDependencies": [
16+
"lzma-native"
17+
],
18+
"ignore": [
19+
".nostr/**",
20+
"src/utils/relay-probe/**"
21+
],
22+
"commitlint": false,
23+
"eslint": false,
24+
"github-actions": false,
25+
"husky": false,
26+
"mocha": false,
27+
"nyc": false,
28+
"semantic-release": false
29+
},
30+
"website/site": {
31+
"entry": [
32+
"astro.config.mjs",
33+
"src/**/*.{astro,ts,mjs}",
34+
"scripts/*.mjs",
35+
"worker/**/*.ts"
36+
],
37+
"ignoreDependencies": [
38+
"@fontsource-variable/inter",
39+
"@fontsource/jetbrains-mono",
40+
"astro",
41+
"sharp",
42+
"wrangler",
43+
"@astrojs/markdown-remark"
44+
],
45+
"astro": true
4646
}
47+
}
4748
}

0 commit comments

Comments
 (0)