prettier-plugin-embed 0.4.12 → 0.4.14

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/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # Prettier Plugin Embed
6
6
 
7
- [![npm version](https://img.shields.io/npm/v/prettier-plugin-embed?cacheSeconds=300)](https://www.npmjs.com/package/prettier-plugin-embed/v/latest) [![npm downloads](https://img.shields.io/npm/dm/prettier-plugin-embed?cacheSeconds=300)](https://www.npmjs.com/package/prettier-plugin-embed/v/latest) [![npm license](https://img.shields.io/npm/l/prettier-plugin-embed?cacheSeconds=300)](https://www.npmjs.com/package/prettier-plugin-embed/v/latest)
7
+ [![npm version](https://img.shields.io/npm/v/prettier-plugin-embed?cacheSeconds=300)](https://www.npmjs.com/package/prettier-plugin-embed/v/latest) [![npm downloads](https://img.shields.io/npm/dm/prettier-plugin-embed?cacheSeconds=300)](https://www.npmjs.com/package/prettier-plugin-embed/v/latest) [![npm license](https://img.shields.io/npm/l/prettier-plugin-embed?cacheSeconds=300)](https://www.npmjs.com/package/prettier-plugin-embed/v/latest) [![All Contributors](https://img.shields.io/github/all-contributors/Sec-ant/prettier-plugin-embed?color=56b3b4)](#contributors)
8
8
 
9
9
  [![github last commit](https://img.shields.io/github/last-commit/Sec-ant/prettier-plugin-embed?cacheSeconds=300)](https://github.com/Sec-ant/prettier-plugin-embed) [![bundlephobia minzipped](https://img.shields.io/bundlephobia/minzip/prettier-plugin-embed?cacheSeconds=300)](https://bundlephobia.com/package/prettier-plugin-embed@latest) [![](https://img.shields.io/jsdelivr/npm/hm/prettier-plugin-embed?cacheSeconds=300&color=ff5627)](https://www.jsdelivr.com/package/npm/prettier-plugin-embed)
10
10
 
@@ -1102,6 +1102,24 @@ There're several ways to use the typed options provided by this plugin. Taking t
1102
1102
 
1103
1103
  Bug fixes, new language support and tests are welcome. Please have a look at the project structure before getting started. Feel free to leave questions or suggestions.
1104
1104
 
1105
+ ## Contributors
1106
+
1107
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
1108
+ <!-- prettier-ignore-start -->
1109
+ <!-- markdownlint-disable -->
1110
+ <table>
1111
+ <tbody>
1112
+ <tr>
1113
+ <td align="center" valign="top" width="14.28%"><a href="https://upleveled.io"><img src="https://avatars.githubusercontent.com/u/1935696?v=4?s=100" width="100px;" alt="Karl Horky"/><br /><sub><b>Karl Horky</b></sub></a><br /><a href="#code-karlhorky" title="Code">💻</a> <a href="#doc-karlhorky" title="Documentation">📖</a></td>
1114
+ </tr>
1115
+ </tbody>
1116
+ </table>
1117
+
1118
+ <!-- markdownlint-restore -->
1119
+ <!-- prettier-ignore-end -->
1120
+
1121
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
1122
+
1105
1123
  ## License
1106
1124
 
1107
1125
  MIT
@@ -1,5 +1,5 @@
1
1
  import type { Comment, Expression, TemplateLiteral } from "estree";
2
- import type { AstPath, Doc, Options } from "prettier";
2
+ import type { AstPath, Doc } from "prettier";
3
3
  import { builders } from "prettier/doc";
4
4
  import type { LiteralUnion, OmitIndexSignature, UnionToIntersection } from "type-fest";
5
5
  import type { InternalPrintFun } from "../types.js";
@@ -8,7 +8,6 @@ export declare function printTemplateExpression(path: AstPath<Expression & {
8
8
  }>, print: InternalPrintFun): builders.Doc[];
9
9
  export declare function printTemplateExpressions(path: AstPath<TemplateLiteral>, print: InternalPrintFun): builders.Doc[][];
10
10
  export declare function simpleRehydrateDoc(doc: Doc, placeholderRegex: RegExp, expressionDocs: Doc[], replaceLiteralNewlinesToHardlines?: boolean): builders.Doc[] | builders.DocCommand;
11
- export declare function throwIfPluginIsNotFound(pluginName: string, options: Options, commentOrTag: string): void;
12
11
  export declare function insertLanguage(languages: string[], language: string, firstLanguage: string): void;
13
12
  export declare const randomUUID: () => string;
14
13
  export declare function preparePlaceholder(leading?: string, trailing?: string): {