diff --git a/files/en-us/mozilla/add-ons/webextensions/api/tabgroups/tabgroup/index.md b/files/en-us/mozilla/add-ons/webextensions/api/tabgroups/tabgroup/index.md index 6b46b781fe7cb22..e83879c2cb5b35e 100644 --- a/files/en-us/mozilla/add-ons/webextensions/api/tabgroups/tabgroup/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/api/tabgroups/tabgroup/index.md @@ -14,8 +14,8 @@ Values of this type are strings. Possible values are: - `collapsed` - : `boolean`. Whether the tab group is collapsed or expanded in the tab strip. - - In Firefox, a collapsed group can contain the active tab. The inactive tabs are collapsed. - - In Chrome, groups are collapsed completely. If the group contains the active tab when it's collapsed, the active tab is moved to the first tab to the right of the group. If there is no tab to the right of the group, it's moved to the tab immediately to the left of the group. + - In Firefox, a collapsed group can contain the active tab. The inactive tabs are collapsed. + - In Chrome, groups are collapsed completely. If the group contains the active tab when it's collapsed, the active tab is moved to the first tab to the right of the group. If there is no tab to the right of the group, it's moved to the tab immediately to the left of the group. - `color` - : {{WebExtAPIRef("tabGroups.Color")}}. The name of the user-selected color for the tab group's label and icons. - `id` diff --git a/files/en-us/web/api/rtcinboundrtpstreamstats/audiolevel/index.md b/files/en-us/web/api/rtcinboundrtpstreamstats/audiolevel/index.md index fd6eabb444d433c..64550d0d130a1bd 100644 --- a/files/en-us/web/api/rtcinboundrtpstreamstats/audiolevel/index.md +++ b/files/en-us/web/api/rtcinboundrtpstreamstats/audiolevel/index.md @@ -22,7 +22,6 @@ A real number. The value is between 0..1 (linear), where 1.0 represents 0 dBov ([decibels relative to full scale (DBFS)](https://en.wikipedia.org/wiki/DBFS)), 0 represents silence, and 0.5 represents approximately 6 dB SPL change in the [sound pressure level](https://en.wikipedia.org/wiki/Sound_pressure#Sound_pressure_level) from 0 dBov. - ## Specifications {{Specifications}} diff --git a/files/en-us/web/css/css_text/whitespace/index.md b/files/en-us/web/css/css_text/whitespace/index.md index ea209ed70f61cfe..d8409ea88e0a3e0 100644 --- a/files/en-us/web/css/css_text/whitespace/index.md +++ b/files/en-us/web/css/css_text/whitespace/index.md @@ -55,7 +55,7 @@ Note that: > [!NOTE] > [Firefox DevTools](https://firefox-source-docs.mozilla.org/devtools-user/index.html) supports highlighting text nodes, making it easier to see exactly which nodes contain whitespace characters. Pure whitespace nodes are marked with a "whitespace" label. -Conserving whitespace characters in the DOM is useful in many ways, but it can also make certain layouts more difficult to implement and may cause problems for developers who want to iterate over DOM nodes. We'll look at these issues and some solutions later on, in the [solving problems with whitespace nodes](#solving_problems_with_whitespace_nodes) section. +Conserving whitespace characters in the DOM is useful in many ways, but it can also make certain layouts more difficult to implement and may cause problems for developers who want to iterate over DOM nodes. We'll look at these issues and some solutions later on, in the [solving common problems with whitespace nodes](#solving_common_problems_with_whitespace_nodes) section. ## How does CSS process whitespace? diff --git a/files/en-us/web/javascript/reference/errors/key_not_weakly_held/index.md b/files/en-us/web/javascript/reference/errors/key_not_weakly_held/index.md index 0a5c5794dd0a749..8993cea556a6f9f 100644 --- a/files/en-us/web/javascript/reference/errors/key_not_weakly_held/index.md +++ b/files/en-us/web/javascript/reference/errors/key_not_weakly_held/index.md @@ -5,7 +5,7 @@ page-type: javascript-error sidebar: jssidebar --- -The JavaScript exception "WeakSet key (or WeakMap value) 'x' must be an object or an unregistered symbol" occurs when an value of invalid type is used as a key in a {{jsxref("WeakSet")}} or as a value in a {{jsxref("WeakMap")}}. +The JavaScript exception "WeakSet key (or WeakMap value) 'x' must be an object or an unregistered symbol" occurs when a value of invalid type is used as a key in a {{jsxref("WeakSet")}} or as a value in a {{jsxref("WeakMap")}}. ## Message diff --git a/files/en-us/web/javascript/reference/global_objects/finalizationregistry/register/index.md b/files/en-us/web/javascript/reference/global_objects/finalizationregistry/register/index.md index 27fd5fd078b67ca..6fbcb7f52e75673 100644 --- a/files/en-us/web/javascript/reference/global_objects/finalizationregistry/register/index.md +++ b/files/en-us/web/javascript/reference/global_objects/finalizationregistry/register/index.md @@ -7,7 +7,7 @@ browser-compat: javascript.builtins.FinalizationRegistry.register sidebar: jsref --- -The **`register()`** method of {{jsxref("FinalizationRegistry")}} instances registers an value with this `FinalizationRegistry` so that if the value is garbage-collected, the registry's callback may get called. +The **`register()`** method of {{jsxref("FinalizationRegistry")}} instances registers a value with this `FinalizationRegistry` so that if the value is garbage-collected, the registry's callback may get called. ## Syntax diff --git a/package.json b/package.json index dc2296618e41727..4c8ce74d5a49629 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "dependencies": { "@apideck/better-ajv-errors": "^0.3.6", "@caporal/core": "^2.0.7", - "@mdn/fred": "0.2.0", + "@mdn/fred": "0.3.0", "@mdn/yari": "5.0.3", "@octokit/rest": "^22.0.0", "ajv": "^8.17.1", diff --git a/scripts/front-matter_linter.js b/scripts/front-matter_linter.js index 6f86e66077de325..bc668afde2edf81 100644 --- a/scripts/front-matter_linter.js +++ b/scripts/front-matter_linter.js @@ -5,8 +5,7 @@ import path from "node:path"; import { eachLimit } from "async"; import cliProgress from "cli-progress"; -import fdir_pkg from "fdir"; -const { fdir } = fdir_pkg; +import { fdir } from "fdir"; import caporal from "@caporal/core"; const { program } = caporal; diff --git a/yarn.lock b/yarn.lock index 90c5c1a2de871a0..44807ee58cd9e4a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1608,10 +1608,10 @@ resolved "https://registry.yarnpkg.com/@mdn/browser-compat-data/-/browser-compat-data-6.0.28.tgz#e99a2cb1693fec9255c3cf1cfe1b02fcfd0de12d" integrity sha512-UE4uV0VK+HfGyXCNdq3Lyy0xNJ6bJI9Y8XtVnnv7+oFda3xtV3PQJIMPHEtC+ou1qrrHdrtaLNQ9cJSj4hi94Q== -"@mdn/fred@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@mdn/fred/-/fred-0.2.0.tgz#574c2e2def5e7f4d04e4ad18f6c4db36cc64719c" - integrity sha512-kXuDlOL/rumZ0OUJgk68hli2wntfu8aW2GBFM6nZ12X8hnnPztGeaXwEBPdngg9Dnw6ETxuk4rbbNA31Yn/XlQ== +"@mdn/fred@0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@mdn/fred/-/fred-0.3.0.tgz#93b161e6e72140f0f1bfd0b913efb80e9c3811f2" + integrity sha512-yv2uagKAo6WJvrNpkBrmAd9+BO7V+hgC5ShefBHo9qdMBNCv8Iq+H6nTU/fluy+FxbXASEnCVDnjV3HcqpN4CQ== dependencies: "@codemirror/lang-css" "^6.3.1" "@codemirror/lang-html" "^6.4.9" @@ -1630,7 +1630,7 @@ concurrently "^9.2.0" cookie-parser "^1.4.7" express "^5.0.1" - fdir "^6.4.3" + fdir "^6.5.0" he "^1.2.0" http-proxy-middleware "^3.0.3" insane "^2.6.2" @@ -4745,10 +4745,10 @@ fd-slicer@~1.1.0: dependencies: pend "~1.2.0" -fdir@^6.4.3, fdir@^6.4.4, fdir@^6.4.6: - version "6.4.6" - resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.4.6.tgz#2b268c0232697063111bbf3f64810a2a741ba281" - integrity sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w== +fdir@^6.4.4, fdir@^6.4.6, fdir@^6.5.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350" + integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg== fecha@^4.2.0: version "4.2.3"