@lexical/code 0.45.1-nightly.20260611.0 → 0.45.1-nightly.20260612.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.
@@ -141,7 +141,7 @@ declare export function registerCodeHighlighting(
141
141
  declare export function normalizeCodeLang(lang: string): string;
142
142
  declare export function normalizeCodeLanguage(lang: string): string;
143
143
 
144
- declare export var getCodeLanguages: () => Array<string>;
144
+ declare export var getCodeLanguages: () => string[];
145
145
  declare export function getLanguageFriendlyName(lang: string): string;
146
146
 
147
147
  declare export var CODE_LANGUAGE_FRIENDLY_NAME_MAP: {[string]: string};
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare const CODE_LANGUAGE_MAP: Record<string, string>;
15
15
  /** @deprecated moved to `@lexical/code-prism` */
16
16
  export declare const getCodeLanguageOptions: typeof LexicalCodePrism.getCodeLanguageOptions;
17
17
  /** @deprecated moved to `@lexical/code-prism` */
18
- export declare const getCodeLanguages: () => Array<string>;
18
+ export declare const getCodeLanguages: () => string[];
19
19
  /** @deprecated moved to `@lexical/code-prism` */
20
20
  export declare const getCodeThemeOptions: typeof LexicalCodePrism.getCodeThemeOptions;
21
21
  /** @deprecated moved to `@lexical/code-prism` */
package/package.json CHANGED
@@ -8,14 +8,14 @@
8
8
  "code"
9
9
  ],
10
10
  "license": "MIT",
11
- "version": "0.45.1-nightly.20260611.0",
11
+ "version": "0.45.1-nightly.20260612.0",
12
12
  "main": "./dist/LexicalCode.js",
13
13
  "types": "./dist/typescript-too-old.d.ts",
14
14
  "dependencies": {
15
- "@lexical/code-prism": "0.45.1-nightly.20260611.0",
16
- "@lexical/extension": "0.45.1-nightly.20260611.0",
17
- "@lexical/code-core": "0.45.1-nightly.20260611.0",
18
- "lexical": "0.45.1-nightly.20260611.0"
15
+ "@lexical/code-core": "0.45.1-nightly.20260612.0",
16
+ "@lexical/code-prism": "0.45.1-nightly.20260612.0",
17
+ "@lexical/extension": "0.45.1-nightly.20260612.0",
18
+ "lexical": "0.45.1-nightly.20260612.0"
19
19
  },
20
20
  "repository": {
21
21
  "type": "git",