@docusaurus/plugin-debug 4.0.0-canary-6880 → 4.0.0-canary-6882

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.
@@ -4,5 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import { type ReactNode } from 'react';
7
+ import type { ReactNode } from 'react';
8
8
  export default function DebugMetadata(): ReactNode;
@@ -4,7 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
7
  import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
9
8
  import DebugLayout from '@theme/DebugLayout';
10
9
  import DebugJsonView from '@theme/DebugJsonView';
@@ -4,6 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import { type ReactNode } from 'react';
7
+ import type { ReactNode } from 'react';
8
8
  import type { Props } from '@theme/DebugContent';
9
9
  export default function DebugContent({ allContent }: Props): ReactNode;
@@ -4,7 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
7
  import DebugLayout from '@theme/DebugLayout';
9
8
  import DebugJsonView from '@theme/DebugJsonView';
10
9
  function PluginInstanceContent({pluginId, pluginInstanceContent}) {
@@ -4,5 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import { type ReactNode } from 'react';
7
+ import type { ReactNode } from 'react';
8
8
  export default function DebugMetadata(): ReactNode;
@@ -4,7 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
7
  import useGlobalData from '@docusaurus/useGlobalData';
9
8
  import DebugLayout from '@theme/DebugLayout';
10
9
  import DebugJsonView from '@theme/DebugJsonView';
@@ -4,6 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import { type ReactNode } from 'react';
7
+ import type { ReactNode } from 'react';
8
8
  import type { Props } from '@theme/DebugJsonView';
9
9
  export default function DebugJsonView({ src, collapseDepth }: Props): ReactNode;
@@ -4,7 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
7
  import {JsonView, defaultStyles} from 'react-json-view-lite';
9
8
  import styles from './styles.module.css';
10
9
  const paraisoStyles = {
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import { type ReactNode } from 'react';
7
+ import type { ReactNode } from 'react';
8
8
  export default function DebugLayout({ children, }: {
9
9
  children: ReactNode;
10
10
  }): ReactNode;
@@ -4,7 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
7
  import Head from '@docusaurus/Head';
9
8
  import Link from '@docusaurus/Link';
10
9
  import styles from './styles.module.css';
@@ -4,5 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import { type ReactNode } from 'react';
7
+ import type { ReactNode } from 'react';
8
8
  export default function DebugRegistry(): ReactNode;
@@ -4,7 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
7
  import registry from '@generated/registry';
9
8
  import DebugLayout from '@theme/DebugLayout';
10
9
  import styles from './styles.module.css';
@@ -4,5 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import { type ReactNode } from 'react';
7
+ import type { ReactNode } from 'react';
8
8
  export default function DebugRoutes(): ReactNode;
@@ -4,7 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
7
  import routes from '@generated/routes';
9
8
  import DebugLayout from '@theme/DebugLayout';
10
9
  import DebugJsonView from '@theme/DebugJsonView';
@@ -4,5 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import { type ReactNode } from 'react';
7
+ import type { ReactNode } from 'react';
8
8
  export default function DebugMetadata(): ReactNode;
@@ -4,7 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
7
  import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
9
8
  import DebugLayout from '@theme/DebugLayout';
10
9
  import styles from './styles.module.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-debug",
3
- "version": "4.0.0-canary-6880",
3
+ "version": "4.0.0-canary-6882",
4
4
  "description": "Debug plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-debug.d.ts",
@@ -20,10 +20,10 @@
20
20
  },
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
- "@docusaurus/core": "4.0.0-canary-6880",
24
- "@docusaurus/module-type-aliases": "4.0.0-canary-6880",
25
- "@docusaurus/types": "4.0.0-canary-6880",
26
- "@docusaurus/utils": "4.0.0-canary-6880",
23
+ "@docusaurus/core": "4.0.0-canary-6882",
24
+ "@docusaurus/module-type-aliases": "4.0.0-canary-6882",
25
+ "@docusaurus/types": "4.0.0-canary-6882",
26
+ "@docusaurus/utils": "4.0.0-canary-6882",
27
27
  "react-json-view-lite": "^2.5.0",
28
28
  "tslib": "^2.8.1"
29
29
  },
@@ -34,5 +34,5 @@
34
34
  "engines": {
35
35
  "node": ">=24.21"
36
36
  },
37
- "gitHead": "1a9593cffbf29c065ddd5aac5f213a17dc69a261"
37
+ "gitHead": "0bed90b9358f5192abaefb30a37569d824d9236c"
38
38
  }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {type ReactNode} from 'react';
8
+ import type {ReactNode} from 'react';
9
9
  import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
10
10
  import DebugLayout from '@theme/DebugLayout';
11
11
  import DebugJsonView from '@theme/DebugJsonView';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {type ReactNode} from 'react';
8
+ import type {ReactNode} from 'react';
9
9
 
10
10
  import DebugLayout from '@theme/DebugLayout';
11
11
  import DebugJsonView from '@theme/DebugJsonView';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {type ReactNode} from 'react';
8
+ import type {ReactNode} from 'react';
9
9
  import useGlobalData from '@docusaurus/useGlobalData';
10
10
  import DebugLayout from '@theme/DebugLayout';
11
11
  import DebugJsonView from '@theme/DebugJsonView';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {type ReactNode} from 'react';
8
+ import type {ReactNode} from 'react';
9
9
  import {
10
10
  JsonView,
11
11
  defaultStyles,
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {type ReactNode} from 'react';
8
+ import type {ReactNode} from 'react';
9
9
  import Head from '@docusaurus/Head';
10
10
  import Link from '@docusaurus/Link';
11
11
  import styles from './styles.module.css';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {type ReactNode} from 'react';
8
+ import type {ReactNode} from 'react';
9
9
  import registry from '@generated/registry';
10
10
  import DebugLayout from '@theme/DebugLayout';
11
11
  import styles from './styles.module.css';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {type ReactNode} from 'react';
8
+ import type {ReactNode} from 'react';
9
9
  import routes from '@generated/routes';
10
10
  import DebugLayout from '@theme/DebugLayout';
11
11
  import DebugJsonView from '@theme/DebugJsonView';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {type ReactNode} from 'react';
8
+ import type {ReactNode} from 'react';
9
9
  import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
10
10
  import DebugLayout from '@theme/DebugLayout';
11
11
  import styles from './styles.module.css';