Socket
Socket
Sign inDemoInstall

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.4.14 to 0.4.15

4

dist/embedded/css/options.d.ts

@@ -30,3 +30,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,3 +40,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded CSS language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -43,0 +43,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded CSS language.";

@@ -30,3 +30,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,3 +40,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded ECMAScript/JavaScript language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -43,0 +43,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded ECMAScript/JavaScript language.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded GLSL language. This option requires the `prettier-plugin-glsl` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded GLSL language. This option requires the `prettier-plugin-glsl` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded GraphQL language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded GraphQL language.";

@@ -30,3 +30,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,3 +40,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded HTML language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -43,0 +43,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded HTML language.";

export * from "./register.js";
export type { EmbeddedDefaultComment, EmbeddedDefaultTag, EmbeddedEmbedders, EmbeddedLanguage, EmbeddedOptions, EmbeddedParsers, EmbeddedComment, EmbeddedTag, PluginEmbedOptions, } from "./types.js";
export { makeIdentifiersOptionName, makeCommentsOptionName, makeTagsOptionName, type AutocompleteStringList, } from "./utils.js";
export { makeIdentifiersOptionName, makeCommentsOptionName, makeTagsOptionName, fallbackIndicator, type AutocompleteStringList, } from "./utils.js";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded INI language. This option requires the `prettier-plugin-ini` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded INI language. This option requires the `prettier-plugin-ini` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Java language. This option requires the `prettier-plugin-java` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Java language. This option requires the `prettier-plugin-java` plugin.";

@@ -30,3 +30,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,3 +40,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded JSON language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -43,0 +43,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded JSON language.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded JSONata language. This option requires the `@stedi/prettier-plugin-jsonata` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded JSONata language. This option requires the `@stedi/prettier-plugin-jsonata` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded LaTeX language. This option requires the `prettier-plugin-latex` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded LaTeX language. This option requires the `prettier-plugin-latex` plugin.";

@@ -30,3 +30,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,3 +40,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Markdown language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -43,0 +43,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Markdown language.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded NGINX language. This option requires the `prettier-plugin-nginx` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded NGINX language. This option requires the `prettier-plugin-nginx` plugin.";

@@ -23,3 +23,3 @@ import type { EmbeddedDefaultComment, EmbeddedDefaultTag } from "../types.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -33,3 +33,3 @@ readonly description: "Block comments that prevent their subsequent template literals from being identified as embedded languages and thus from being formatted.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -36,0 +36,0 @@ readonly description: "Tags that prevent their subsequent template literals from being identified as embedded languages and thus from being formatted.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Pegjs language. This option requires the `prettier-plugin-pegjs` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Pegjs language. This option requires the `prettier-plugin-pegjs` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded PHP language. This option requires the `@prettier/plugin-php` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded PHP language. This option requires the `@prettier/plugin-php` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Prisma language. This option requires the `prettier-plugin-prisma` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Prisma language. This option requires the `prettier-plugin-prisma` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Properties language. This option requires the `prettier-plugin-properties` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Properties language. This option requires the `prettier-plugin-properties` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Pug language. This option requires the `@prettier/plugin-pug` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Pug language. This option requires the `@prettier/plugin-pug` plugin.";

@@ -30,3 +30,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,3 +40,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Ruby language. This option requires the `@prettier/plugin-ruby` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -43,0 +43,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Ruby language. This option requires the `@prettier/plugin-ruby` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Shell language. This option requires the `prettier-plugin-sh` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Shell language. This option requires the `prettier-plugin-sh` plugin.";

@@ -33,3 +33,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -43,3 +43,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded SQL language. This option requires the `prettier-plugin-sql` plugin or the `prettier-plugin-sql-cst` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -46,0 +46,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded SQL language. This option requires the `prettier-plugin-sql` plugin or the `prettier-plugin-sql-cst` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded TOML language. This option requires the `prettier-plugin-toml` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded TOML language. This option requires the `prettier-plugin-toml` plugin.";

@@ -30,3 +30,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,3 +40,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded TypeScript language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -43,0 +43,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded TypeScript language.";

@@ -31,1 +31,2 @@ import type { Comment, Expression, TemplateLiteral } from "estree";

}>;
export declare const fallbackIndicator = "9ff2b366e8ca4c97b9aed1a29b5b94ed";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded XML language. This option requires the `@prettier/plugin-xml` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded XML language. This option requires the `@prettier/plugin-xml` plugin.";

@@ -27,3 +27,3 @@ import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -37,3 +37,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded YAML language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -40,0 +40,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded YAML language.";

@@ -65,3 +65,5 @@ import { type EmbeddedComment, type EmbeddedTag } from "./embedded/index.js";

readonly default: [{
readonly value: [];
readonly value: []; /**
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
*/
}];

@@ -76,3 +78,3 @@ readonly description: "Tag or comment identifiers that prevent their subsequent template literals from being identified as embedded languages and thus from being formatted.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -86,3 +88,3 @@ readonly description: "Block comments that prevent their subsequent template literals from being identified as embedded languages and thus from being formatted.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -106,3 +108,3 @@ readonly description: "Tags that prevent their subsequent template literals from being identified as embedded languages and thus from being formatted.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -116,3 +118,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded CSS language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -146,3 +148,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded CSS language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -156,3 +158,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded ECMAScript/JavaScript language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -186,3 +188,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded ECMAScript/JavaScript language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -196,3 +198,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded GLSL language. This option requires the `prettier-plugin-glsl` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -216,3 +218,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded GLSL language. This option requires the `prettier-plugin-glsl` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -226,3 +228,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded GraphQL language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -246,3 +248,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded GraphQL language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -256,3 +258,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded HTML language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -286,3 +288,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded HTML language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -296,3 +298,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded INI language. This option requires the `prettier-plugin-ini` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -316,3 +318,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded INI language. This option requires the `prettier-plugin-ini` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -326,3 +328,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Java language. This option requires the `prettier-plugin-java` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -346,3 +348,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Java language. This option requires the `prettier-plugin-java` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -356,3 +358,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded JSON language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -381,5 +383,2 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded JSON language.";

};
/**
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
*/
readonly embeddedJsonataComments: {

@@ -390,3 +389,3 @@ readonly category: "Embed";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -400,3 +399,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded JSONata language. This option requires the `@stedi/prettier-plugin-jsonata` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -420,3 +419,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded JSONata language. This option requires the `@stedi/prettier-plugin-jsonata` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -430,3 +429,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded LaTeX language. This option requires the `prettier-plugin-latex` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -450,3 +449,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded LaTeX language. This option requires the `prettier-plugin-latex` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -460,3 +459,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Markdown language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -483,3 +482,5 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Markdown language.";

readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded NGINX language. This option requires the `prettier-plugin-nginx` plugin.";
readonly deprecated: "Please use `embeddedNginxComments` or `embeddedNginxTags`.";
readonly deprecated: "Please use `embeddedNginxComments` or `embeddedNginxTags`."; /**
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
*/
};

@@ -491,3 +492,3 @@ readonly embeddedNginxComments: {

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -501,3 +502,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded NGINX language. This option requires the `prettier-plugin-nginx` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -515,5 +516,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded NGINX language. This option requires the `prettier-plugin-nginx` plugin.";

readonly deprecated: "Please use `embeddedPegjsComments` or `embeddedPegjsTags`.";
}; /**
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
*/
};
readonly embeddedPegjsComments: {

@@ -524,3 +523,3 @@ readonly category: "Embed";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -534,3 +533,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Pegjs language. This option requires the `prettier-plugin-pegjs` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -554,3 +553,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Pegjs language. This option requires the `prettier-plugin-pegjs` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -564,3 +563,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded TypeScript language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -594,3 +593,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded TypeScript language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -604,3 +603,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded PHP language. This option requires the `@prettier/plugin-php` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -624,3 +623,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded PHP language. This option requires the `@prettier/plugin-php` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -634,3 +633,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Prisma language. This option requires the `prettier-plugin-prisma` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -648,5 +647,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Prisma language. This option requires the `prettier-plugin-prisma` plugin.";

readonly deprecated: "Please use `embeddedPropertiesComments` or `embeddedPropertiesTags`.";
}; /**
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
*/
};
readonly embeddedPropertiesComments: {

@@ -657,3 +654,3 @@ readonly category: "Embed";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -667,3 +664,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Properties language. This option requires the `prettier-plugin-properties` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -687,3 +684,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Properties language. This option requires the `prettier-plugin-properties` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -697,3 +694,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Pug language. This option requires the `@prettier/plugin-pug` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -717,3 +714,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Pug language. This option requires the `@prettier/plugin-pug` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -727,3 +724,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Ruby language. This option requires the `@prettier/plugin-ruby` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -751,3 +748,5 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Ruby language. This option requires the `@prettier/plugin-ruby` plugin.";

readonly deprecated: "Please use `embeddedShComments` or `embeddedShTags`.";
};
}; /**
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
*/
readonly embeddedShComments: {

@@ -758,3 +757,3 @@ readonly category: "Embed";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -768,3 +767,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded Shell language. This option requires the `prettier-plugin-sh` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -788,3 +787,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded Shell language. This option requires the `prettier-plugin-sh` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -798,3 +797,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded SQL language. This option requires the `prettier-plugin-sql` plugin or the `prettier-plugin-sql-cst` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -838,3 +837,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded SQL language. This option requires the `prettier-plugin-sql` plugin or the `prettier-plugin-sql-cst` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -848,3 +847,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded TOML language. This option requires the `prettier-plugin-toml` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -862,5 +861,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded TOML language. This option requires the `prettier-plugin-toml` plugin.";

readonly deprecated: "Please use `embeddedXmlComments` or `embeddedXmlTags`.";
}; /**
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
*/
};
readonly embeddedXmlComments: {

@@ -871,3 +868,3 @@ readonly category: "Embed";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -881,3 +878,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded XML language. This option requires the `@prettier/plugin-xml` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -910,3 +907,3 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded XML language. This option requires the `@prettier/plugin-xml` plugin.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -920,3 +917,3 @@ readonly description: "Block comments that make their subsequent template literals be identified as embedded YAML language.";

readonly default: [{
readonly value: [];
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
}];

@@ -923,0 +920,0 @@ readonly description: "Tags that make their subsequent template literals be identified as embedded YAML language.";

@@ -133,6 +133,6 @@ import type { Expression, Node, TemplateLiteral } from "estree";

}): string | TemplateLiteral | import("estree").ArrayExpression | import("estree").ArrowFunctionExpression | import("estree").AssignmentExpression | import("estree").AwaitExpression | import("estree").BinaryExpression | import("estree").CallExpression | import("estree").ChainExpression | import("estree").ClassExpression | import("estree").ConditionalExpression | import("estree").FunctionExpression | import("estree").ImportExpression | import("estree").Literal | import("estree").LogicalExpression | import("estree").MemberExpression | import("estree").MetaProperty | import("estree").ObjectExpression | import("estree").SequenceExpression | import("estree").TaggedTemplateExpression | import("estree").ThisExpression | import("estree").UnaryExpression | import("estree").UpdateExpression | import("estree").YieldExpression | undefined;
export declare function createCommentsInOptionsGenerator(options: Options, comment: string): (embeddedLanguage: EmbeddedLanguage) => Generator<import("type-fest").LiteralUnion<"sql" | "css" | "js" | "jsx" | "es" | "es6" | "mjs" | "cjs" | "pac" | "javascript" | "glsl" | "shader" | "graphql" | "gql" | "html" | "xhtml" | "ini" | "cfg" | "pro" | "java" | "json" | "jsonl" | "jsonata" | "latex" | "tex" | "aux" | "cls" | "bbl" | "bib" | "toc" | "sty" | "md" | "markdown" | "nginx" | "pegjs" | "peggy" | "peg" | "ts" | "tsx" | "cts" | "mts" | "typescript" | "php" | "php5" | "prisma" | "properties" | "pug" | "jade" | "ruby" | "sh" | "toml" | "xml" | "opml" | "rss" | "svg" | "yaml" | "yml", string>, void, undefined>;
export declare function createTagsInOptionsGenerator(options: Options, tag?: string): (embeddedLanguage: EmbeddedLanguage) => Generator<import("type-fest").LiteralUnion<"sql" | "css" | "js" | "jsx" | "es" | "es6" | "mjs" | "cjs" | "pac" | "javascript" | "glsl" | "shader" | "graphql" | "gql" | "html" | "xhtml" | "ini" | "cfg" | "pro" | "java" | "json" | "jsonl" | "jsonata" | "latex" | "tex" | "aux" | "cls" | "bbl" | "bib" | "toc" | "sty" | "md" | "markdown" | "nginx" | "pegjs" | "peggy" | "peg" | "ts" | "tsx" | "cts" | "mts" | "typescript" | "php" | "php5" | "prisma" | "properties" | "pug" | "jade" | "ruby" | "sh" | "toml" | "xml" | "opml" | "rss" | "svg" | "yaml" | "yml", string>, void, undefined>;
export declare function createCommentsInOptionsGenerator(options: Options, comment: string): (_: EmbeddedLanguage) => Generator<string, void, undefined>;
export declare function createTagsInOptionsGenerator(options: Options, tag?: string): (_: EmbeddedLanguage) => Generator<string, void, undefined>;
export declare function createEmbeddedDoc(node: TemplateLiteral, embeddedLanguage: EmbeddedLanguage, commentOrTag: EmbeddedComment | EmbeddedTag, kind: "comment" | "tag", options: Options): ReturnType<Exclude<Printer["embed"], undefined>>;
export declare function assumeAs<T>(_: unknown): asserts _ is T;
export declare function compareObjects<T1 extends Record<string | number | symbol, unknown>, T2 extends Record<string | number | symbol, unknown>>(value1: T1, value2: T2, ignoreSet?: Set<keyof T1 | keyof T2>): boolean;

@@ -5,7 +5,5 @@ {

"private": false,
"version": "0.4.14",
"version": "0.4.15",
"type": "module",
"files": [
"./dist"
],
"files": ["./dist"],
"main": "./dist/index.js",

@@ -62,2 +60,3 @@ "module": "./dist/index.js",

"scripts": {
"install:ci": "npm ci && ./scripts/prepare.sh",
"update-hooks": "simple-git-hooks",

@@ -80,5 +79,2 @@ "changeset": "changeset",

"postbuild": "tsc --project ./tsconfig.production.json && conc \"npm:add-glob-import-types\" \"npm:nocheck-chevrotain-types\" \"npm:copy\"",
"prebuild:ci": "npm run type-check",
"build:ci": "vite build",
"postbuild:ci": "npm run postbuild",
"test": "vitest",

@@ -93,6 +89,7 @@ "test:ui": "vitest --ui",

"postncu": "npm i",
"bump-biome": "npm i @biomejs/biome@latest --save-exact"
"bump-biome:latest": "npm i -DE @biomejs/biome@latest",
"bump-biome:nightly": "npm i -DE @biomejs/biome@nightly"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"@biomejs/biome": "1.5.3-nightly.69f9031",
"@changesets/cli": "^2.27.1",

@@ -106,5 +103,5 @@ "@commitlint/cli": "^18.6.1",

"@stedi/prettier-plugin-jsonata": "^2.1.1",
"@types/node": "^20.11.19",
"@vitest/coverage-istanbul": "^1.3.0",
"@vitest/ui": "^1.3.0",
"@types/node": "^20.11.20",
"@vitest/coverage-istanbul": "^1.3.1",
"@vitest/ui": "^1.3.1",
"@xml-tools/parser": "^1.0.11",

@@ -134,4 +131,4 @@ "chevrotain": "7.1.1",

"typescript": "^5.3.3",
"vite": "^5.1.3",
"vitest": "^1.3.0"
"vite": "^5.1.4",
"vitest": "^1.3.1"
},

@@ -144,4 +141,4 @@ "dependencies": {

"tiny-jsonc": "^1.0.1",
"type-fest": "^4.10.2"
"type-fest": "^4.10.3"
}
}

@@ -1114,2 +1114,3 @@ <div align="center">

<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>
<td align="center" valign="top" width="14.28%"><a href="https://math-atlas.vercel.app"><img src="https://avatars.githubusercontent.com/u/64682375?v=4?s=100" width="100px;" alt="Kelvin Soh"/><br /><sub><b>Kelvin Soh</b></sub></a><br /><a href="#code-kelvinsjk" title="Code">💻</a></td>
</tr>

@@ -1116,0 +1117,0 @@ </tbody>

Sorry, the diff of this file is too big to display

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