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

@prettier/plugin-pug

Package Overview
Dependencies
Maintainers
12
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prettier/plugin-pug - npm Package Compare versions

Comparing version 1.17.0 to 1.17.1

src/prettier.d.ts

21

dist/options/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.options = exports.CATEGORY_PUG = void 0;
const pug_attribute_separator_1 = require("./pug-attribute-separator");
const attribute_sorting_1 = require("./attribute-sorting");
const pug_comment_preserve_spaces_1 = require("./pug-comment-preserve-spaces");
const common_1 = require("./common");
const common_2 = require("./common");
const empty_attributes_1 = require("./empty-attributes");
const pug_attribute_separator_1 = require("./pug-attribute-separator");
const pug_class_notation_1 = require("./pug-class-notation");
const pug_comment_preserve_spaces_1 = require("./pug-comment-preserve-spaces");
const pug_explicit_div_1 = require("./pug-explicit-div");

@@ -18,9 +17,9 @@ const pug_framework_1 = require("./pug-framework");

exports.options = {
pugPrintWidth: common_2.PUG_PRINT_WIDTH_OPTION,
pugSingleQuote: common_2.PUG_SINGLE_QUOTE_OPTION,
pugTabWidth: common_2.PUG_TAB_WIDTH_OPTION,
pugUseTabs: common_2.PUG_USE_TABS_OPTION,
pugBracketSpacing: common_2.PUG_BRACKET_SPACING_OPTION,
pugArrowParens: common_2.PUG_ARROW_PARENS_OPTION,
pugSemi: common_2.PUG_SEMI_OPTION,
pugPrintWidth: common_1.PUG_PRINT_WIDTH_OPTION,
pugSingleQuote: common_1.PUG_SINGLE_QUOTE_OPTION,
pugTabWidth: common_1.PUG_TAB_WIDTH_OPTION,
pugUseTabs: common_1.PUG_USE_TABS_OPTION,
pugBracketSpacing: common_1.PUG_BRACKET_SPACING_OPTION,
pugArrowParens: common_1.PUG_ARROW_PARENS_OPTION,
pugSemi: common_1.PUG_SEMI_OPTION,
pugBracketSameLine: common_1.PUG_BRACKET_SAME_LINE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CLEVBQUUsa0RBQThCO0lBQ3BELDBCQUEwQixFQUFFLG1EQUE2QjtJQUN6RCx3QkFBd0IsRUFBRSxpREFBMkI7SUFDckQsa0JBQWtCLEVBQUUsOENBQTJCO0lBQy9DLGdCQUFnQixFQUFFLHVDQUFrQjtJQUNwQyxhQUFhLEVBQUUsaUNBQWU7SUFDOUIsY0FBYyxFQUFFLG1DQUFnQjtJQUNoQyw2QkFBNkIsRUFBRSwyREFBd0M7SUFDdkUsaUNBQWlDLEVBQUUsNkVBQXFDO0lBQ3hFLFlBQVksRUFBRSw2QkFBYTtDQUMzQixDQUFDIn0=
{
"name": "@prettier/plugin-pug",
"version": "1.17.0",
"version": "1.17.1",
"description": "Prettier Pug Plugin",

@@ -50,3 +50,3 @@ "main": "dist/index.js",

"eslint-config-prettier": "~8.3.0",
"eslint-define-config": "~1.1.1",
"eslint-define-config": "~1.1.2",
"eslint-plugin-inclusive-language": "~2.1.1",

@@ -53,0 +53,0 @@ "eslint-plugin-jsdoc": "~37.0.0",

import type { ParserOptions, SupportOptions } from 'prettier';
import type { PugAttributeSeparator } from './pug-attribute-separator';
import { PUG_ATTRIBUTE_SEPARATOR_OPTION } from './pug-attribute-separator';
import type { PugSortAttributes } from './attribute-sorting';

@@ -10,7 +8,6 @@ import {

} from './attribute-sorting';
import type { PugCommentPreserveSpaces } from './pug-comment-preserve-spaces';
import { PUG_COMMENT_PRESERVE_SPACES_OPTION } from './pug-comment-preserve-spaces';
import { ArrowParens, PUG_BRACKET_SAME_LINE_OPTION } from './common';
import {
ArrowParens,
PUG_ARROW_PARENS_OPTION,
PUG_BRACKET_SAME_LINE_OPTION,
PUG_BRACKET_SPACING_OPTION,

@@ -25,4 +22,8 @@ PUG_PRINT_WIDTH_OPTION,

import { PUG_EMPTY_ATTRIBUTES_FORCE_QUOTES_OPTION, PUG_EMPTY_ATTRIBUTES_OPTION } from './empty-attributes';
import type { PugAttributeSeparator } from './pug-attribute-separator';
import { PUG_ATTRIBUTE_SEPARATOR_OPTION } from './pug-attribute-separator';
import type { PugClassNotation } from './pug-class-notation';
import { PUG_CLASS_NOTATION } from './pug-class-notation';
import type { PugCommentPreserveSpaces } from './pug-comment-preserve-spaces';
import { PUG_COMMENT_PRESERVE_SPACES_OPTION } from './pug-comment-preserve-spaces';
import { PUG_EXPLICIT_DIV } from './pug-explicit-div';

@@ -29,0 +30,0 @@ import type { PugFramework } from './pug-framework';

@@ -60,12 +60,12 @@ import type { BuiltInParserName, Options, RequiredOptions } from 'prettier';

import { createLogger, LogLevel } from './logger';
import type { PugAttributeSeparator } from './options/pug-attribute-separator';
import { resolvePugAttributeSeparatorOption } from './options/pug-attribute-separator';
import type { PugSortAttributes } from './options/attribute-sorting';
import { compareAttributeToken, partialSort } from './options/attribute-sorting/utils';
import type { PugCommentPreserveSpaces } from './options/pug-comment-preserve-spaces';
import { formatPugCommentPreserveSpaces } from './options/pug-comment-preserve-spaces';
import type { ArrowParens } from './options/common';
import type { PugEmptyAttributes, PugEmptyAttributesForceQuotes } from './options/empty-attributes';
import { formatEmptyAttribute } from './options/empty-attributes/utils';
import type { PugAttributeSeparator } from './options/pug-attribute-separator';
import { resolvePugAttributeSeparatorOption } from './options/pug-attribute-separator';
import type { PugClassNotation } from './options/pug-class-notation';
import type { PugCommentPreserveSpaces } from './options/pug-comment-preserve-spaces';
import { formatPugCommentPreserveSpaces } from './options/pug-comment-preserve-spaces';
import type { PugFramework } from './options/pug-framework';

@@ -72,0 +72,0 @@ import type { PugIdNotation } from './options/pug-id-notation';

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