astro-accelerator 5.10.24 → 5.10.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.10.24",
2
+ "version": "5.10.26",
3
3
  "author": "Steve Fenton",
4
4
  "name": "astro-accelerator",
5
5
  "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "scripts": {
23
23
  "refresh": "npm version patch && pnpm update --latest && pnpm test",
24
- "update-node": "nvm install --lts && npm install -g pnpm",
24
+ "update-node": "bash -c 'source $NVM_DIR/nvm.sh && nvm install --lts && npm install -g pnpm'",
25
25
  "img": "node ./src/themes/accelerator/utilities/img.mjs",
26
26
  "dev": "node ./src/themes/accelerator/utilities/img.mjs && astro dev",
27
27
  "stats": "node ./src/themes/accelerator/utilities/stats.mjs",
@@ -34,23 +34,23 @@
34
34
  "dts": "tsc ./tests/locate-content.js ./tests/locate-navigation.js ./tests/locate-search.js --allowJs --declaration --emitDeclarationOnly"
35
35
  },
36
36
  "dependencies": {
37
- "@astrojs/mdx": "^4.3.10",
37
+ "@astrojs/mdx": "^4.3.13",
38
38
  "@img/sharp-linux-x64": "^0.34.5",
39
- "astro": "^5.15.7",
40
- "astro-accelerator-utils": "^0.3.60",
41
- "cspell": "^9.3.1",
39
+ "astro": "^5.16.6",
40
+ "astro-accelerator-utils": "^0.3.62",
41
+ "cspell": "^9.4.0",
42
42
  "csv": "^6.4.1",
43
- "glob": "^11.0.3",
43
+ "glob": "^13.0.0",
44
44
  "hast-util-from-selector": "^3.0.1",
45
45
  "html-to-text": "^9.0.5",
46
46
  "keyword-extractor": "^0.0.28",
47
- "linkinator": "^7.5.0",
47
+ "linkinator": "7.5.3",
48
48
  "optional": "^0.1.4",
49
49
  "remark-directive": "^4.0.0",
50
50
  "sharp": "^0.34.5"
51
51
  },
52
52
  "devDependencies": {
53
- "@playwright/test": "^1.56.1"
53
+ "@playwright/test": "^1.57.0"
54
54
  },
55
55
  "files": [
56
56
  ".npmrc",
@@ -33,6 +33,7 @@ body {
33
33
  line-height: 1.7;
34
34
  letter-spacing: 0.016em;
35
35
  font-family: var(--content-font);
36
+ scrollbar-gutter: stable;
36
37
  }
37
38
 
38
39
  a,
@@ -117,8 +118,8 @@ nav summary:focus {
117
118
  color: var(--fore-link-alt);
118
119
  }
119
120
 
120
- .input-keyboard :focus {
121
- outline: 2px dashed var(--fore-link-alt);
121
+ :focus-visible {
122
+ outline: 2px dashed var(--icon-block);
122
123
  border-radius: 5px;
123
124
  }
124
125
 
@@ -150,7 +150,10 @@ function initializeSearch() {
150
150
  // @ts-ignore
151
151
  queryTerms[i] = null;
152
152
  } else {
153
- queryTerms.push(synonyms[term]);
153
+ const synonym = synonyms[term].split(' ');
154
+ for (let s of synonym) {
155
+ queryTerms.push(s);
156
+ }
154
157
  }
155
158
  }
156
159
  }