@docusaurus/types 3.10.1-canary-6644 → 3.10.1-canary-6645

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "3.10.1-canary-6644",
3
+ "version": "3.10.1-canary-6645",
4
4
  "description": "Common types for Docusaurus packages.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -28,5 +28,5 @@
28
28
  "react": "^19.2.0",
29
29
  "react-dom": "^19.2.0"
30
30
  },
31
- "gitHead": "d1ea72c43cafd70c1c777436f6c8e3a5d9fa0a34"
31
+ "gitHead": "ab0166fad2658c192a9055797bc6ea770433d45f"
32
32
  }
package/src/config.d.ts CHANGED
@@ -37,7 +37,6 @@ export type FasterConfig = {
37
37
  };
38
38
 
39
39
  export type FutureV4Config = {
40
- removeLegacyPostBuildHeadAttribute: boolean;
41
40
  useCssCascadeLayers: boolean;
42
41
  siteStorageNamespacing: boolean;
43
42
  fasterByDefault: boolean;
package/src/plugin.d.ts CHANGED
@@ -10,7 +10,6 @@ import type {RuleSetRule, Configuration as WebpackConfiguration} from 'webpack';
10
10
  import type {CustomizeRuleString} from 'webpack-merge/dist/types';
11
11
  import type {CommanderStatic} from 'commander';
12
12
  import type Joi from 'joi';
13
- import type {HelmetServerState} from 'react-helmet-async';
14
13
  import type {ThemeConfig} from './config';
15
14
  import type {LoadContext, Props} from './context';
16
15
  import type {SwizzleConfig} from './swizzle';
@@ -137,10 +136,6 @@ export type Plugin<Content = unknown> = {
137
136
  postBuild?: (
138
137
  props: Props & {
139
138
  content: Content;
140
- // TODO Docusaurus v4: remove old messy unserializable "head" API
141
- // breaking change, replaced by routesBuildMetadata
142
- // Reason: https://github.com/facebook/docusaurus/pull/10826
143
- head: {[location: string]: HelmetServerState};
144
139
  routesBuildMetadata: {[location: string]: RouteBuildMetadata};
145
140
  },
146
141
  ) => Promise<void> | void;