Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prettier-plugin-embed

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-embed - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

dist/embedded/register.d.ts

@@ -7,5 +7,5 @@ import type { EmbeddedEmbedders, EmbeddedLanguage, EmbeddedParsers, EmbeddedOptions } from "./types.js";

import * as __glob__0_0 from "./css/index.js";
import * as __glob__0_1 from "./es/index.js";
import * as __glob__0_2 from "./glsl/index.js";
import * as __glob__0_3 from "./html/index.js";
import * as __glob__0_1 from "./html/index.js";
import * as __glob__0_2 from "./es/index.js";
import * as __glob__0_3 from "./glsl/index.js";
import * as __glob__0_4 from "./markdown/index.js";

@@ -12,0 +12,0 @@ import * as __glob__0_5 from "./noop/index.js";

@@ -5,3 +5,3 @@ {

"private": false,
"version": "0.2.1",
"version": "0.2.2",
"type": "module",

@@ -8,0 +8,0 @@ "files": [

@@ -132,5 +132,5 @@ <div align="center">

| Option | Default | Description |
| :-----------------------: | :---------------------------------------: | --------------------------------------------------------------------------------------------------------------------- |
| `embeddedHtmlIdentifiers` | [`[...]`](./src/embedded/html/options.ts) | Tag or comment identifiers that make their subsequent template literals be identified as ECMAScript (JavaScript) code |
| Option | Default | Description |
| :-----------------------: | :---------------------------------------: | -------------------------------------------------------------------------------------------------- |
| `embeddedHtmlIdentifiers` | [`[...]`](./src/embedded/html/options.ts) | Tag or comment identifiers that make their subsequent template literals be identified as HTML code |

@@ -171,3 +171,3 @@ Formatting embedded HTML code doesn't require other plugins and uses the parsers and printers provided by Prettier natively. This can override the native embedded language formatting for HTML code.

Note that `prettier-plugin-sql` supports many different SQL dialects, and there's a one-to-one correspondence between the dialects and the identifiers. To support custom identifiers for a specific dialect, put the identifiers after that specific dialect in the identifier list in option `embeddedSql`.
Note that `prettier-plugin-sql` supports many different SQL dialects, and there's a one-to-one correspondence between the dialects and the identifiers. To support custom identifiers for a specific dialect, put the identifiers after that specific dialect in the identifier list in option `embeddedSqlIdentifiers`.

@@ -174,0 +174,0 @@ #### TS

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc