# This is the workspace definition for the client release group. See https://pnpm.io/pnpm-workspace_yaml for more # information about the format. # # Guidelines for updating this file: # # 1. Keep the entries alphabetical wherever possible. # 2. Be careful when using globs that end with "**". E.g. "packages/**". Doing so can include unexpected packages. This # is especially true of packages for which we build ESM and CJS. Such packages sometimes have package.json files in # their source or output directories during compilation. # 3. Most of these setting are important from a supply chain security perspective. # Edit with care, and see /DEV.md and https://pnpm.io/settings for more information. allowBuilds: '@azure/msal-node-extensions': true '@azure/msal-node-runtime': true '@biomejs/biome': true classic-level: true core-js: true esbuild: true keytar: true msgpackr-extract: true puppeteer: true unrs-resolver: true blockExoticSubdeps: true # Shortens peer-dependency identifiers in the lockfile from fully-nested paths to flat name@version keys. # Example: # before: eslint-config-prettier 10.1.8(eslint@9.39.1(jiti@2.6.1)(supports-color@10.2.2)) # after: eslint-config-prettier 10.1.8(eslint@9.39.1) # The nested peers of `eslint@9.39.1` still live on eslint's own lockfile entry; they're just not # re-encoded into every consumer's identifier. Smaller lockfile, same resolved graph. # See https://pnpm.io/settings#dedupepeers dedupePeers: true catalogs: # Build-tools packages buildTools: "@fluid-tools/build-cli": ^0.68.0 "@fluid-tools/build-infrastructure": ^0.68.0 "@fluid-tools/version-tools": ^0.68.0 "@fluidframework/build-tools": ^0.68.0 # eslint and related packages eslint: "@fluidframework/eslint-config-fluid": "^14.0.0" "eslint": "~9.39.1" "eslint-config-prettier": "~10.1.8" # Type definitions types: "@types/node": "~22.19.17" # TypeScript TypeScript: "typescript": "~6.0.3" engineStrict: true frozenLockfile: true linkWorkspacePackages: true # Minimum age, in minutes, of dependencies before they can be installed. # See /DEV.md and https://pnpm.io/settings#minimumreleaseage more information. # publicPackages applies its own package-age protections. Do not add a second delay # based on the time a package was saved to the feed. minimumReleaseAge: 0 minimumReleaseAgeExclude: # Exclude our own FF scopes so we can install versions we just shipped - "@fluidframework/*" - "@fluid-experimental/*" - "@fluid-internal/*" - "@fluid-private/*" - "@fluid-tools/*" - "fluid-framework" # Temporary exceptions go here as needed. overrides: # concurrently and jsonpath pin vulnerable versions (CVE-2026-13311 and CVE-2026-27601). concurrently@10.0.3>shell-quote: ^1.11.0 jsonpath@1.2.1>underscore: ^1.13.8 # Resolve known security vulnerabilities in transitive dependencies. "@babel/core@>=7 <8": ^7.29.6 # brace-expansion CVE-2026-13149 (algorithmic complexity DoS) and CVE-2026-14257 # (memory-exhaustion DoS via unbounded expansion length). 14257 is fixed in 1.1.17, 2.1.3, 5.0.8. brace-expansion@>=1 <2: ^1.1.17 brace-expansion@>=2 <3: ^2.1.3 brace-expansion@>=5 <6: ^5.0.8 http-proxy-middleware@>=2 <3: ^2.0.10 # ip-address CVE-2026-69192 (Address4 decodes leading-zero octets as decimal while # resolvers decode them as octal, allowing SSRF/trust-boundary bypass). Fixed in 10.3.1. ip-address@>=9 <10: ^10.3.1 # js-yaml: fix CVE-2026-59869 and GHSA-5p4m-2wfm-xmqj (merge-key and ordered-map CPU DoS). # Exact pins ensure vulnerable transitive versions are not selected. js-yaml@>=3 <4: 3.15.2 js-yaml@>=4 <5: 4.3.2 keyv@>=4 <5: ^5.5.3 launch-editor@>=2 <3: ^2.14.1 # nanoid CVE-2026-67213 (infinite loop when size=0) and CVE-2026-67214 (infinite loop # with negative size) in custom/non-secure generators. Both fixed in 3.3.18. nanoid@>=3 <4: ^3.3.18 on-headers@>=1 <2: ^1.1.0 # postcss CVE-2026-73646 (path traversal in source map auto-loading via sourceMappingURL, # leading to arbitrary .map file disclosure). Fixed in 8.5.18. postcss@>=8 <9: ^8.5.18 # socket.io-parser CVE-2026-69185 (zero-attachment memory exhaustion). Fixed in 3.4.5 and 4.2.7. socket.io-parser@>=3 <4: ^3.4.5 socket.io-parser@>=4 <5: ^4.2.7 ts-deepmerge@>=7 <8: ^8.0.0 uuid@>=7 <12: ^11.1.1 # webpack CVE-2025-68157 and CVE-2025-68458 (HttpUriPlugin allowedUris bypass, SSRF). Fixed in 5.104.1. webpack@>=5 <6: ^5.104.1 # websocket-driver CVE-2026-54466 (critical, message corruption) and CVE-2026-54490. Fixed in 0.7.5. websocket-driver@>=0 <1: ^0.7.5 # @fluentui/react-positioning's dependency on @floating-ui/dom causes a peer dependency violation, # so overriding it forces a version that meets peer dependency requirements to be installed. "@fluentui/react-positioning>@floating-ui/dom": ~1.5.4 # Resolve a known security vulnerability. "@github/copilot": ^1.0.43 # Resolve a known security vulnerability. "@nevware21/ts-utils": ^0.14.0 # Uncomment all or some below and run `pnpm install --no-frozen-lockfile` to apply # these overrides to use locally built build-tools packages. # "@fluid-tools/build-cli": "link:./build-tools/packages/build-cli" # "@fluid-tools/build-infrastructure": "link:./build-tools/packages/build-infrastructure" # "@fluid-tools/version-tools": "link:./build-tools/packages/version-tools" # "@fluidframework/build-tools": "link:./build-tools/packages/build-tools" # Uncomment line below to use locally built eslint-config-fluid package while updating the packages together. # "@fluidframework/eslint-config-fluid": "link:./common/build/eslint-config-fluid" # node types are forced to a consistent version to avoid conflicts between globals. "@types/node": catalog:types # axios pre-1.0 is forced to a patched release to resolve known vulnerabilities. # Caret dependencies aren't enough on a pre-1.0 package. # 0.33.0 patches GHSA-gcfj-64vw-6mp9 and related SSRF/proxy CVEs (CVE-2026-44486/44487/44490/44492). axios@<1: ^0.33.0 # Force vulnerable axios ^1.15.0 requests to a patched release. # 1.18.1 fixes GHSA-gcfj-64vw-6mp9, GHSA-jqh4-m9w3-8hp9, GHSA-mmx7-hfxf-jppx, # GHSA-7q8q-rj6j-mhjq, GHSA-mwf2-3pr3-8698, GHSA-f4gw-2p7v-4548, GHSA-xj6q-8x83-jv6g. # Kept as an exact pin (not caret) so we don't automatically pick up any future # axios release before it has been vetted — see the axios supply-chain compromise # note further down (neverBuiltDependencies). axios@^1.15.0: 1.18.1 # diff is overridden to patched versions to resolve a known ReDoS vulnerability. diff@3.x and diff@7.x # have no fix in their major range so they are bumped to the nearest patched major. diff@>=3 <4: ^4.0.4 diff@>=5 <6: ^5.2.2 diff@>=7 <8: ^8.0.3 diff@>=8 <9: ^8.0.3 # @typescript-eslint/utils overrides # As of 2026-08-14 @rushstack/eslint-plugin (v0.23.2), does not have a version using v8.58 or later. "@rushstack/eslint-plugin>@typescript-eslint/utils@<8.58.0": ^8.58.0 # As of 2026-08-14 eslint-plugin-tsdoc (v0.5.2), does not have a version using v8.58 or later. "eslint-plugin-tsdoc>@typescript-eslint/utils@<8.58.0": ^8.58.0 # express is overridden to ^4.22.1 to resolve a known vulnerability in express 4.21.2. express@>=4 <5: ^4.22.1 # fast-uri CVE-2026-75899 (SSRF via repeated hostname decoding). Fixed in 4.1.3. fast-uri: ^4.1.3 # Resolve multiple CVEs in 4.5.3 (entity encoding bypass, DoS via entity expansion, stack overflow). # Stays within @langchain/anthropic's declared ^4.4.1 range. fast-xml-parser: ^4.5.4 # Resolve a known security vulnerability. form-data@>=4 <5: ^4.0.6 # nodegit is replaced with an empty package here because it's currently only used by good-fences for # features we do not need, and has issues building when changing node versions. # See https://github.com/smikula/good-fences/issues/105 for details. # Note that using '-' to completely drop it results in build failures complaining about nodegit not being there. good-fences>nodegit: npm:empty-npm-package@1.0.0 # Resolve a known security vulnerability. # The consumer declares ^0.3.x so the override is needed to cross the minor version boundary. langsmith: ^0.6.0 # Resolve a known security vulnerability. minimatch@>=3 <4: ^3.1.5 minimatch@>=5 <6: ^5.1.9 minimatch@>=6 <7: ^6.2.3 minimatch@>=7 <8: ^7.4.9 minimatch@>=8 <9: ^8.0.7 minimatch@>=9 <10: ^9.0.9 minimatch@>=10 <11: ^10.2.4 # Resolve known security vulnerabilities. node-forge: ^1.4.0 # PM2's optional system-monitoring daemon is not used by our start/stop scripts, and PM2 handles its absence. # Dropping it removes 4 dependency snapshots used only for host telemetry. pm2>pm2-sysmonit: "-" # Sass uses @parcel/watcher only to optimize its standalone CLI watch mode; our Sass builds run through webpack. # Sass falls back when the watcher is absent. Dropping it removes 14 dependency snapshots, including 13 # platform-specific native packages with build scripts, and makes the existing @parcel/watcher build allowlist moot. sass>@parcel/watcher: "-" # oclif includes some AWS-related features, but we don't use them, so we drop those dependencies. # This helps reduce lockfile churn since the deps release very frequently. oclif>@aws-sdk/client-cloudfront: "-" oclif>@aws-sdk/client-s3: "-" # Resolve a known security vulnerability. picomatch@>=2 <3: ^2.3.2 picomatch@>=4 <5: ^4.0.4 # Resolve a known vulnerability in older versions. qs: ^6.15.2 # Resolve GHSA-5c6j-r48x-rmvq. # No 6.x fix exists; 7.x is API-compatible (only drops Node <20 support). serialize-javascript@>=6 <7: ^7.0.4 # Resolve simple-git and argv-parser vulnerabilities (CVE-2026-102828 and CVE-2026-102829). simple-git: ^4.0.2 # codemirror and marked overrides are because simplemde uses * versions, and the fully up-to-date # versions of its deps do not work. packageExtensions was tried to fix this, but did not work. simplemde>codemirror: ^5.65.11 simplemde>marked: ^4.3.0 # Resolve command injection vulnerabilities. systeminformation: ^5.31.6 # Security overrides to address path traversal CVEs (GHSA-8qq5-rm4j-mr97, GHSA-r6q2-hw4h-h46w, # GHSA-34x7-hfp2-rc4v). tar: ^7.5.11 # tar-fs uses these optional adapters only under the Bare JavaScript runtime; Fluid supports Node.js. # Dropping both removes 9 dependency snapshots while Node continues to use its built-in fs and path modules. tar-fs>bare-fs: "-" tar-fs>bare-path: "-" # Resolve a known security vulnerability. No patched release exists in the 0.0.x/0.1.x lines, # so affected consumers are moved forward to the patched 0.2.x line. tmp: ^0.2.6 # Resolve a known security vulnerability (CVE-2026-54466). websocket-driver: ^0.7.5 # Resolve a known security vulnerability. The 8.x and 7.x lines are both forced # forward to their nearest patched releases. ws@>=8 <9: ^8.21.0 ws@>=7 <8: ^7.5.11 packages: - "azure/packages/**" - "examples/**" - "experimental/**" - "packages/**" - "tools/markdown-magic" # exclude bundle-analysis output directories, which can contain package.json files from # webpack bundle stats (e.g. examples/utils/bundle-size-tests). - "!**/bundleAnalysis/**" # exclude the inner FluidFramework enlistment used by examples/utils/bundle-size-tests for # cross-revision bundle comparison (see `flub generate bundleAnalysisReposWithComparison`, which clones # the inner repo into /base-repo). - "!**/compareBundlesOutput/**" # exclude any package.json files that are inside src or output directories - "!**/dist/**" - "!**/lib/**" - "!**/src/**" # exclude sub-workspaces for compat tests — these are managed separately with their own lockfiles - "!**/compat-workspaces/**" patchedDependencies: '@microsoft/api-extractor@7.60.1': patches/@microsoft__api-extractor@7.60.1.patch peerDependencyRules: # The react-split-pane package used by devtools-view has a peer dependency on React 16, but it doesn't # seem to be maintained and it works fine with React 18. TODO: AB#18876 allowedVersions: react: 18.3.1 react-dom: 18.3.1 ignoreMissing: # @types/node is ignored because it is usually not needed by packages, and if it is, then the # package will hit a compilation failure. - '@types/node' # Peer dependencies on fluid-framework are never fulfilled since that's an in-repo dependency; # we expect a customer using some packages to install it as a dependency. - fluid-framework # markdown-magic is provided by another dependency so is ignored here. - markdown-magic # oclif includes some AWS-related features, but we don't use them, so we ignore @aws-sdk peer # dependencies. - '@aws-sdk/*' # Hoist these dependencies to the root workspace publicHoistPattern: - '@arethetypeswrong/cli' # Keep this registry aligned with the root `.npmrc`, which npm uses to bootstrap pnpm. # pnpm-workspace.yaml takes precedence over a project-level `.npmrc`. # See docs/content/Contributing/Dependencies.md for authentication and contributor guidance. registry: https://pkgs.dev.azure.com/fluidframework/public/_packaging/publicPackages/npm/registry/ resolutionMode: highest strictDepBuilds: true strictPeerDependencies: true # The artifact feeds used by CI and by internal developers (see the registry note above) # do not preserve all the npm package metadata necessary for this pnpm feature to function # correctly as of 7/16/2026. If this is turned back on... # See: https://github.com/orgs/pnpm/discussions/11084 for some discussion. # Enabling no-downgrade requires every transitive trust-policy violation to either be remediated # at the source or excluded below with a documented rationale. Run `flub check trustPolicy` to # surface current violations. trustPolicy: off # These exclusions are inert with trustPolicy disabled, but were kept in case we are able to restore trustPolicy enforcement # at some future point. trustPolicyExclude: # @octokit/endpoint@9.0.6 (published 2025-02-14, by octokitbot) — pipeline regression. # Prior trusted: @octokit/endpoint@10.1.3 (provenance, 2025-02-13, by octokitbot), with # verified provenance from octokit/endpoint.js .github/workflows/release.yml @ refs/heads/main. # Same publisher account (octokitbot); the v9 maintenance branch publish bypassed release.yml. # Pulled in transitively via danger@13 → @octokit/rest@20 → @octokit/core@5 → @octokit/request@8. # No reachable direct-dep bump escapes this without overriding @octokit/rest itself. - "@octokit/endpoint@9.0.6" # axios@0.30.3 is the last legitimate 0.30.x release (published 2026-02-18). The trust # downgrade fires because 0.30.x was published via direct CLI rather than the OIDC/GitHub # Actions provenance pipeline used by earlier versions. The compromised versions were # 0.30.4 and 1.14.1 (supply chain attack on 2026-03-31, attributed to Sapphire Sleet). # See: https://www.microsoft.com/en-us/security/blog/2026/04/01/mitigating-the-axios-npm-supply-chain-compromise/ - "axios@0.30.3" # chokidar@4.0.3 (published 2024-12-18, by paulmillr) — pipeline regression. # Prior trusted: chokidar@4.0.1 (provenance, 2024-09-22, by paulmillr). # Same publisher (sole maintainer); provenance attestation was dropped after 4.0.1. # Pulled in transitively via mocha@11 (chokidar ^4.0.1) and sass@1 (chokidar ^4.0.0). # chokidar@5.0.0 has restored provenance but no upstream consumer pins ^5 yet. - "chokidar@4.0.3" # detect-port@1.6.1 (published 2024-05-08, by fengmk2) — pipeline regression. # Prior trusted: detect-port@1.6.0 (provenance, 2024-05-08, by fengmk2). # Same publisher; provenance attestation was lost on the immediately-following patch release. # Pulled in transitively under @fluidframework/azure-local-service. - "detect-port@1.6.1" # semver@5.7.2 (published 2023-07-10, by lukekarrys) — legacy maintenance line. # Prior trusted: semver@7.5.4 (provenance, 2023-07-07, by npm-cli-ops). # Different publisher account because the 5.x and 6.x maintenance lines are # hand-published by lukekarrys (a long-time npm/node-semver maintainer), while the # current 7.x line publishes through the npm-cli OIDC/Actions pipeline. The 5.x/6.x # lines will not be retroactively re-published with provenance. Pulled in by widely- # used legacy tooling that pins ^5 / ^6. # Note: multiple versions of the same package must be combined with "||" — pnpm's # trust-policy evaluator returns on the first name match and does not aggregate # subsequent entries for the same package. - "semver@5.7.2||6.3.1" # undici-types@6.21.0 (published 2024-11-13, by matteo.collina) — pipeline regression. # Prior trusted: undici-types@6.19.2 (provenance, 2024-06-18, by matteo.collina). # Same publisher (undici project lead). Type-only package (.d.ts shipped from undici # repo); provenance attestation was lost on a subsequent 6.x release. - "undici-types@6.21.0" # Disable pnpm update notifications since we use corepack to install package managers updateNotifier: false # pnpm 11 enabled this check by default, which runs a frozen-lockfile install before every `pnpm run