@lexical/code 0.9.1 → 0.10.0

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.
@@ -24,8 +24,6 @@ import { ElementNode, TextNode } from 'lexical';
24
24
  export declare const DEFAULT_CODE_LANGUAGE = "javascript";
25
25
  declare type SerializedCodeHighlightNode = Spread<{
26
26
  highlightType: string | null | undefined;
27
- type: 'code-highlight';
28
- version: 1;
29
27
  }, SerializedTextNode>;
30
28
  export declare const CODE_LANGUAGE_FRIENDLY_NAME_MAP: Record<string, string>;
31
29
  export declare const CODE_LANGUAGE_MAP: Record<string, string>;
package/CodeNode.d.ts CHANGED
@@ -24,8 +24,6 @@ import 'prismjs/components/prism-cpp';
24
24
  import { ElementNode } from 'lexical';
25
25
  export declare type SerializedCodeNode = Spread<{
26
26
  language: string | null | undefined;
27
- type: 'code';
28
- version: 1;
29
27
  }, SerializedElementNode>;
30
28
  /** @noInheritDoc */
31
29
  export declare class CodeNode extends ElementNode {
package/package.json CHANGED
@@ -8,13 +8,13 @@
8
8
  "code"
9
9
  ],
10
10
  "license": "MIT",
11
- "version": "0.9.1",
11
+ "version": "0.10.0",
12
12
  "main": "LexicalCode.js",
13
13
  "peerDependencies": {
14
- "lexical": "0.9.1"
14
+ "lexical": "0.10.0"
15
15
  },
16
16
  "dependencies": {
17
- "@lexical/utils": "0.9.1",
17
+ "@lexical/utils": "0.10.0",
18
18
  "prismjs": "^1.27.0"
19
19
  },
20
20
  "repository": {