prettier-plugin-embed 0.4.3 → 0.4.5
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/dist/embedded/json/options.d.ts +2 -2
- package/dist/index.js +665 -607
- package/dist/options.d.ts +2 -2
- package/dist/parsers.d.ts +1 -0
- package/dist/types.d.ts +16 -5
- package/dist/utils.d.ts +5 -5
- package/package.json +11 -11
|
@@ -7,7 +7,7 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../u
|
|
|
7
7
|
declare const DEFAULT_IDENTIFIERS: readonly ["json", "jsonl"];
|
|
8
8
|
type Identifiers = AutocompleteStringList<typeof DEFAULT_IDENTIFIERS>;
|
|
9
9
|
type DefaultIdentifiersHolder = StringListToInterfaceKey<typeof DEFAULT_IDENTIFIERS>;
|
|
10
|
-
declare const JSON_PARSERS: readonly ["json", "
|
|
10
|
+
declare const JSON_PARSERS: readonly ["json", "json5", "jsonc", "json-stringify"];
|
|
11
11
|
type JsonParser = (typeof JSON_PARSERS)[number];
|
|
12
12
|
declare const EMBEDDED_LANGUAGE_PARSER: "embeddedJsonParser";
|
|
13
13
|
declare const EMBEDDED_LANGUAGE_IDENTIFIERS: "embeddedJsonIdentifiers";
|
|
@@ -29,7 +29,7 @@ export declare const options: {
|
|
|
29
29
|
default: "json";
|
|
30
30
|
description: string;
|
|
31
31
|
choices: {
|
|
32
|
-
value: "json" | "
|
|
32
|
+
value: "json" | "json5" | "jsonc" | "json-stringify";
|
|
33
33
|
description: string;
|
|
34
34
|
}[];
|
|
35
35
|
};
|