@docusaurus/theme-live-codeblock 3.2.1 → 3.3.1

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,6 +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
+ /// <reference path="../src/deps.d.ts" />
7
8
  import { type TransformOptions, type TransformOutput } from '@philpl/buble';
8
9
  export { features } from '@philpl/buble';
9
10
  export declare function transform(source: string, options: TransformOptions): TransformOutput;
@@ -4,6 +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
+ /// <reference path="../../../src/types.d.ts" />
7
8
  import React from 'react';
8
9
  import { type Props } from '@theme-init/CodeBlock';
9
10
  declare const _default: (props: Props) => React.JSX.Element;
@@ -4,6 +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
+ /// <reference path="../../../src/theme-live-codeblock.d.ts" />
7
8
  /// <reference types="react" />
8
9
  import type { Props } from '@theme/Playground';
9
10
  export default function Playground({ children, transformCode, ...props }: Props): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-live-codeblock",
3
- "version": "3.2.1",
3
+ "version": "3.3.1",
4
4
  "description": "Docusaurus live code block component.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/theme-live-codeblock.d.ts",
@@ -23,18 +23,18 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@docusaurus/core": "3.2.1",
27
- "@docusaurus/theme-common": "3.2.1",
28
- "@docusaurus/theme-translations": "3.2.1",
29
- "@docusaurus/utils-validation": "3.2.1",
26
+ "@docusaurus/core": "3.3.1",
27
+ "@docusaurus/theme-common": "3.3.1",
28
+ "@docusaurus/theme-translations": "3.3.1",
29
+ "@docusaurus/utils-validation": "3.3.0",
30
30
  "@philpl/buble": "^0.19.7",
31
31
  "clsx": "^2.0.0",
32
32
  "fs-extra": "^11.1.1",
33
- "react-live": "^4.1.5",
33
+ "react-live": "^4.1.6",
34
34
  "tslib": "^2.6.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@docusaurus/types": "3.2.1",
37
+ "@docusaurus/types": "3.3.0",
38
38
  "@types/buble": "^0.20.1"
39
39
  },
40
40
  "peerDependencies": {
@@ -44,5 +44,5 @@
44
44
  "engines": {
45
45
  "node": ">=18.0"
46
46
  },
47
- "gitHead": "f268e15264e208e6faf26117258162e988b53773"
47
+ "gitHead": "f3524cf332e803ff82783ee9c1c86c4342fc1f71"
48
48
  }