Skip to content

Commit 342e553

Browse files
committed
Update dependencies, run prettier, and optimize SVGs
1 parent 1f4059b commit 342e553

10 files changed

Lines changed: 27 additions & 1026 deletions

File tree

design

features.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,8 @@
382382
function _loadTooltipModule() {
383383
// Be sure to change the preloads in markdown when updating url.
384384
// The ESM bundle of this package doesn't work with unpkg.com.
385-
const module = import(
386-
'https://cdn.jsdelivr.net/npm/@floating-ui/dom@1/+esm'
387-
);
385+
const module =
386+
import('https://cdn.jsdelivr.net/npm/@floating-ui/dom@1/+esm');
388387

389388
const subscribers = new Set();
390389
const updateAll = () => {
@@ -477,9 +476,8 @@
477476
// Please cache bust by bumping the `v` parameter whenever `feature.json` is
478477
// updated to depend on a new version of the library. See #353 for discussion.
479478
// Make sure to also match the preload link in `features.md`.
480-
const module = import(
481-
'https://unpkg.com/wasm-feature-detect@1/dist/esm/index.js?v=1'
482-
);
479+
const module =
480+
import('https://unpkg.com/wasm-feature-detect@1/dist/esm/index.js?v=1');
483481
return (featureName) =>
484482
module.then((wasmFeatureDetect) => wasmFeatureDetect[featureName]());
485483
}

images/binaryen.svg

Lines changed: 1 addition & 1 deletion
Loading

images/wazero.svg

Lines changed: 1 addition & 10 deletions
Loading

images/wizard.svg

Lines changed: 1 addition & 991 deletions
Loading

js/dark-mode-toggle.min.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

js/wasm-compat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class WasmCompat extends HTMLElement {
2121
if (!featureDataPromise) {
2222
const url =
2323
'https://raw.githubusercontent.com/WebAssembly/website/main/features.json';
24-
// '/features.json'; // For local testing.
24+
// '/features.json'; // For local testing.
2525
featureDataPromise = fetch(url)
2626
.then((response) => {
2727
if (!response.ok) {

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"author": "The WebAssembly community",
2020
"license": "Apache-2.0",
2121
"devDependencies": {
22-
"prettier": "^3.6.2",
22+
"prettier": "^3.7.4",
2323
"svgo": "^4.0.0",
2424
"shx": "^0.4.0"
2525
},
2626
"type": "module",
2727
"dependencies": {
28-
"dark-mode-toggle": "^0.17.0"
28+
"dark-mode-toggle": "^0.18.0"
2929
}
3030
}

specs.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ layout: default
44

55
# Specifications
66

7-
- [WebAssembly Specification](https://webassembly.github.io/spec/core/) (Wasm 3.0): defines the
8-
semantics of WebAssembly modules independent from a concrete embedding. The
9-
WebAssembly core is specified in a single document.\
7+
- [WebAssembly Specification](https://webassembly.github.io/spec/core/)
8+
(Wasm 3.0): defines the semantics of WebAssembly modules independent from
9+
a concrete embedding. The WebAssembly core is specified in a single document.\
1010
Older versions:
11-
- [WebAssembly Core Specification — W3C Candidate Recommendation Draft, 16 June 2025](https://www.w3.org/TR/2025/CRD-wasm-core-2-20250616/) (Wasm 2.0)
12-
- [WebAssembly Core Specification — W3C Recommendation, 5 December 2019](https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/) (Wasm 1.0)
11+
- [WebAssembly Core Specification — W3C Candidate Recommendation Draft, 16 June 2025](https://www.w3.org/TR/2025/CRD-wasm-core-2-20250616/)
12+
(Wasm 2.0)
13+
- [WebAssembly Core Specification — W3C Recommendation, 5 December 2019](https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/)
14+
(Wasm 1.0)
1315
- Embedding interfaces:
1416
- [JavaScript API](https://webassembly.github.io/spec/js-api/index.html):
1517
defines JavaScript classes and objects for accessing WebAssembly from within

0 commit comments

Comments
 (0)