@prettier/plugin-pug
Advanced tools
Comparing version 1.13.2 to 1.13.3
# Next | ||
[diff](https://github.com/prettier/plugin-pug/compare/1.13.2...main) | ||
[diff](https://github.com/prettier/plugin-pug/compare/1.13.3...main) | ||
# 1.13.3 | ||
[diff](https://github.com/prettier/plugin-pug/compare/1.13.2...1.13.3) | ||
- Handle `v-on` expression separately ([#176]) | ||
[#176]: https://github.com/prettier/plugin-pug/issues/176 | ||
# 1.13.2 | ||
@@ -6,0 +14,0 @@ |
@@ -86,2 +86,2 @@ "use strict"; | ||
exports.defaultOptions = exports.plugin.defaultOptions; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBWUEsaUNBQWlDO0FBRWpDLHFDQUEwRDtBQUMxRCx1Q0FBb0U7QUFDcEUsaURBQXFEO0FBQ3JELHVDQUEwRDtBQUUxRCxNQUFNLE1BQU0sR0FBVyxxQkFBWSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBQzdDLElBQUksT0FBTyxDQUFDLEdBQUcsQ0FBQyxRQUFRLEtBQUssTUFBTSxFQUFFO0lBQ3BDLE1BQU0sQ0FBQyxXQUFXLENBQUMsaUJBQVEsQ0FBQyxLQUFLLENBQUMsQ0FBQztDQUNuQztBQU9ZLFFBQUEsTUFBTSxHQUFXO0lBQzdCLFNBQVMsRUFBRTtRQUNWO1lBQ0MsSUFBSSxFQUFFLEtBQUs7WUFDWCxPQUFPLEVBQUUsQ0FBQyxLQUFLLENBQUM7WUFDaEIsT0FBTyxFQUFFLFdBQVc7WUFDcEIsT0FBTyxFQUFFLE1BQU07WUFDZixjQUFjLEVBQUUsS0FBSztZQUNyQixrQkFBa0IsRUFBRSxZQUFZO1lBQ2hDLFVBQVUsRUFBRSxDQUFDLE9BQU8sRUFBRS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UFJLENBQUMsT0FBTyxDQUFDO1lBQ3hGLENBQUMsQ0FBQyxPQUFPO1lBQ1QsQ0FBQyxDQUFDLEtBQUssT0FBTyxFQUFFLENBQUM7SUFDbkIsQ0FBQyxDQUNELENBQUM7SUFDRixPQUFPLGNBQWMsR0FBRyxVQUFVLEdBQUcsY0FBYyxDQUFDO0FBQ3JELENBQUM7QUF4QkQsZ0NBd0JDIn0= |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isVueVForWithOf = exports.isVueExpression = exports.isVueEventBinding = void 0; | ||
exports.isVueVOnExpression = exports.isVueVForWithOf = exports.isVueExpression = exports.isVueEventBinding = void 0; | ||
function isVueEventBinding(name) { | ||
return /^(v-on|@).*/.test(name); | ||
return /^(v-on:|@).*/.test(name); | ||
} | ||
@@ -16,2 +16,6 @@ exports.isVueEventBinding = isVueEventBinding; | ||
exports.isVueVForWithOf = isVueVForWithOf; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidnVlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3V0aWxzL3Z1ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFzQkEsU0FBZ0IsaUJBQWlCLENBQUMsSUFBWTtJQUM3QyxPQUFPLGFBQWEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDakMsQ0FBQztBQUZELDhDQUVDO0FBeUJELFNBQWdCLGVBQWUsQ0FBQyxJQUFZO0lBQzNDLE9BQU8sMkRBQTJELENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0FBQy9FLENBQUM7QUFGRCwwQ0FFQztBQXVCRCxTQUFnQixlQUFlLENBQUMsSUFBWSxFQUFFLEdBQVc7SUFDeEQsT0FBTyxPQUFPLEtBQUssSUFBSSxJQUFJLEdBQUcsQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDL0MsQ0FBQztBQUZELDBDQUVDIn0= | ||
function isVueVOnExpression(name) { | ||
return 'v-on' === name; | ||
} | ||
exports.isVueVOnExpression = isVueVOnExpression; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidnVlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3V0aWxzL3Z1ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFzQkEsU0FBZ0IsaUJBQWlCLENBQUMsSUFBWTtJQUM3QyxPQUFPLGNBQWMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDbEMsQ0FBQztBQUZELDhDQUVDO0FBeUJELFNBQWdCLGVBQWUsQ0FBQyxJQUFZO0lBQzNDLE9BQU8sMkRBQTJELENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0FBQy9FLENBQUM7QUFGRCwwQ0FFQztBQXVCRCxTQUFnQixlQUFlLENBQUMsSUFBWSxFQUFFLEdBQVc7SUFDeEQsT0FBTyxPQUFPLEtBQUssSUFBSSxJQUFJLEdBQUcsQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDL0MsQ0FBQztBQUZELDBDQUVDO0FBc0JELFNBQWdCLGtCQUFrQixDQUFDLElBQVk7SUFDOUMsT0FBTyxNQUFNLEtBQUssSUFBSSxDQUFDO0FBQ3hCLENBQUM7QUFGRCxnREFFQyJ9 |
{ | ||
"name": "@prettier/plugin-pug", | ||
"version": "1.13.2", | ||
"version": "1.13.3", | ||
"description": "Prettier Pug Plugin", | ||
@@ -40,9 +40,9 @@ "main": "dist/index.js", | ||
"@types/jest": "~26.0.20", | ||
"@types/node": "~14.14.20", | ||
"@types/node": "~14.14.22", | ||
"@types/prettier": "~2.1.6", | ||
"@typescript-eslint/eslint-plugin": "~4.12.0", | ||
"@typescript-eslint/parser": "~4.12.0", | ||
"@typescript-eslint/eslint-plugin": "~4.14.1", | ||
"@typescript-eslint/parser": "~4.14.1", | ||
"benchmark": "~2.1.4", | ||
"eslint": "~7.17.0", | ||
"eslint-config-prettier": "~7.1.0", | ||
"eslint": "~7.19.0", | ||
"eslint-config-prettier": "~7.2.0", | ||
"eslint-plugin-prettier": "~3.3.1", | ||
@@ -53,3 +53,3 @@ "jest": "~26.6.3", | ||
"prettier-plugin-organize-imports": "~1.1.1", | ||
"ts-jest": "~26.4.4", | ||
"ts-jest": "~26.5.0", | ||
"typescript": "~4.1.3" | ||
@@ -56,0 +56,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { | ||
import type { | ||
Doc, | ||
@@ -13,8 +13,10 @@ FastPath, | ||
} from 'prettier'; | ||
import type { Token } from 'pug-lexer'; | ||
import * as lex from 'pug-lexer'; | ||
import { Token } from 'pug-lexer'; | ||
import { createLogger, Logger, LogLevel } from './logger'; | ||
import { options as pugOptions, PugParserOptions } from './options'; | ||
import type { PugParserOptions } from './options'; | ||
import { options as pugOptions } from './options'; | ||
import { convergeOptions } from './options/converge'; | ||
import { PugPrinter, PugPrinterOptions } from './printer'; | ||
import type { PugPrinterOptions } from './printer'; | ||
import { PugPrinter } from './printer'; | ||
@@ -21,0 +23,0 @@ const logger: Logger = createLogger(console); |
@@ -1,2 +0,2 @@ | ||
import { ChoiceSupportOption } from 'prettier'; | ||
import type { ChoiceSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ChoiceSupportOption, PathArraySupportOption } from 'prettier'; | ||
import type { ChoiceSupportOption, PathArraySupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '..'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { AttributeToken } from 'pug-lexer'; | ||
import { SortAttributes } from './index'; | ||
import type { AttributeToken } from 'pug-lexer'; | ||
import type { SortAttributes } from './index'; | ||
@@ -4,0 +4,0 @@ type CompareResult = -1 | 0 | 1; |
@@ -1,2 +0,2 @@ | ||
import { ChoiceSupportOption } from 'prettier'; | ||
import type { ChoiceSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ChoiceSupportOption } from 'prettier'; | ||
import type { ChoiceSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ChoiceSupportOption, IntSupportOption } from 'prettier'; | ||
import type { ChoiceSupportOption, IntSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { ParserOptions } from 'prettier'; | ||
import { PugParserOptions } from '.'; | ||
import { PugPrinterOptions } from '../printer'; | ||
import type { ParserOptions } from 'prettier'; | ||
import type { PugParserOptions } from '.'; | ||
import type { PugPrinterOptions } from '../printer'; | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { ChoiceSupportOption, PathArraySupportOption } from 'prettier'; | ||
import type { ChoiceSupportOption, PathArraySupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '..'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,6 +0,13 @@ | ||
import { AttributeToken } from 'pug-lexer'; | ||
import { PugEmptyAttributes, PugEmptyAttributesForceQuotes } from '.'; | ||
import type { AttributeToken } from 'pug-lexer'; | ||
import type { PugEmptyAttributes, PugEmptyAttributesForceQuotes } from '.'; | ||
const EMPTY_VALUES: [boolean, string, string] = [true, '""', "''"]; | ||
/** | ||
* Formats the token's `val` if it's empty, based on the `pugEmptyAttributes` option | ||
* | ||
* @param token The attribute token | ||
* @param pugEmptyAttributes The option | ||
* @param pugEmptyAttributesForceQuotes Array with string-patterns for attribute names that needs empty quotes | ||
*/ | ||
export function formatEmptyAttribute( | ||
@@ -7,0 +14,0 @@ token: AttributeToken, |
@@ -1,21 +0,16 @@ | ||
import { ParserOptions, SupportOptions } from 'prettier'; | ||
import { AttributeSeparator, ATTRIBUTE_SEPARATOR_OPTION, PUG_ATTRIBUTE_SEPARATOR_OPTION } from './attribute-separator'; | ||
import type { ParserOptions, SupportOptions } from 'prettier'; | ||
import type { AttributeSeparator } from './attribute-separator'; | ||
import { ATTRIBUTE_SEPARATOR_OPTION, PUG_ATTRIBUTE_SEPARATOR_OPTION } from './attribute-separator'; | ||
import type { SortAttributes } from './attribute-sorting'; | ||
import { | ||
PUG_SORT_ATTRIBUTES_BEGINNING_OPTION, | ||
PUG_SORT_ATTRIBUTES_END_OPTION, | ||
PUG_SORT_ATTRIBUTES_OPTION, | ||
SortAttributes | ||
PUG_SORT_ATTRIBUTES_OPTION | ||
} from './attribute-sorting'; | ||
import type { ClosingBracketPosition } from './closing-bracket-position'; | ||
import { CLOSING_BRACKET_POSITION_OPTION, PUG_CLOSING_BRACKET_POSITION_OPTION } from './closing-bracket-position'; | ||
import type { CommentPreserveSpaces } from './comment-preserve-spaces'; | ||
import { COMMENT_PRESERVE_SPACES_OPTION, PUG_COMMENT_PRESERVE_SPACES_OPTION } from './comment-preserve-spaces'; | ||
import type { ArrowParens } from './common'; | ||
import { | ||
ClosingBracketPosition, | ||
CLOSING_BRACKET_POSITION_OPTION, | ||
PUG_CLOSING_BRACKET_POSITION_OPTION | ||
} from './closing-bracket-position'; | ||
import { | ||
CommentPreserveSpaces, | ||
COMMENT_PRESERVE_SPACES_OPTION, | ||
PUG_COMMENT_PRESERVE_SPACES_OPTION | ||
} from './comment-preserve-spaces'; | ||
import { | ||
ArrowParens, | ||
PUG_ARROW_PARENS_OPTION, | ||
@@ -29,10 +24,8 @@ PUG_BRACKET_SPACING_OPTION, | ||
} from './common'; | ||
import { | ||
PugEmptyAttributes, | ||
PugEmptyAttributesForceQuotes, | ||
PUG_EMPTY_ATTRIBUTES_FORCE_QUOTES_OPTION, | ||
PUG_EMPTY_ATTRIBUTES_OPTION | ||
} from './empty-attributes'; | ||
import { PugClassNotation, PUG_CLASS_NOTATION } from './pug-class-notation'; | ||
import { PugIdNotation, PUG_ID_NOTATION } from './pug-id-notation'; | ||
import type { PugEmptyAttributes, PugEmptyAttributesForceQuotes } from './empty-attributes'; | ||
import { PUG_EMPTY_ATTRIBUTES_FORCE_QUOTES_OPTION, PUG_EMPTY_ATTRIBUTES_OPTION } from './empty-attributes'; | ||
import type { PugClassNotation } from './pug-class-notation'; | ||
import { PUG_CLASS_NOTATION } from './pug-class-notation'; | ||
import type { PugIdNotation } from './pug-id-notation'; | ||
import { PUG_ID_NOTATION } from './pug-id-notation'; | ||
import { PUG_SINGLE_FILE_COMPONENT_INDENTATION } from './pug-single-file-component-indentation'; | ||
@@ -39,0 +32,0 @@ import { WRAP_ATTRIBUTES_PATTERN, WRAP_ATTRIBUTES_THRESHOLD } from './wrap-attributes'; |
@@ -1,2 +0,2 @@ | ||
import { ChoiceSupportOption } from 'prettier'; | ||
import type { ChoiceSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ChoiceSupportOption } from 'prettier'; | ||
import type { ChoiceSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { BooleanSupportOption } from 'prettier'; | ||
import type { BooleanSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { IntSupportOption, PathSupportOption } from 'prettier'; | ||
import type { IntSupportOption, PathSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,4 @@ | ||
import { BuiltInParserName, format, RequiredOptions } from 'prettier'; | ||
import { | ||
import type { BuiltInParserName, RequiredOptions } from 'prettier'; | ||
import { format } from 'prettier'; | ||
import type { | ||
AndAttributesToken, | ||
@@ -51,14 +52,19 @@ AttributeToken, | ||
import { types } from 'util'; | ||
import { DoctypeShortcut, DOCTYPE_SHORTCUT_REGISTRY } from './doctype-shortcut-registry'; | ||
import { createLogger, Logger, LogLevel } from './logger'; | ||
import { AttributeSeparator, resolveAttributeSeparatorOption } from './options/attribute-separator'; | ||
import { SortAttributes } from './options/attribute-sorting'; | ||
import type { DoctypeShortcut } from './doctype-shortcut-registry'; | ||
import { DOCTYPE_SHORTCUT_REGISTRY } from './doctype-shortcut-registry'; | ||
import type { Logger } from './logger'; | ||
import { createLogger, LogLevel } from './logger'; | ||
import type { AttributeSeparator } from './options/attribute-separator'; | ||
import { resolveAttributeSeparatorOption } from './options/attribute-separator'; | ||
import type { SortAttributes } from './options/attribute-sorting'; | ||
import { compareAttributeToken, partialSort } from './options/attribute-sorting/utils'; | ||
import { ClosingBracketPosition, resolveClosingBracketPositionOption } from './options/closing-bracket-position'; | ||
import { CommentPreserveSpaces, formatCommentPreserveSpaces } from './options/comment-preserve-spaces'; | ||
import { ArrowParens } from './options/common'; | ||
import { PugEmptyAttributes, PugEmptyAttributesForceQuotes } from './options/empty-attributes'; | ||
import type { ClosingBracketPosition } from './options/closing-bracket-position'; | ||
import { resolveClosingBracketPositionOption } from './options/closing-bracket-position'; | ||
import type { CommentPreserveSpaces } from './options/comment-preserve-spaces'; | ||
import { formatCommentPreserveSpaces } from './options/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 { PugClassNotation } from './options/pug-class-notation'; | ||
import { PugIdNotation } from './options/pug-id-notation'; | ||
import type { PugClassNotation } from './options/pug-class-notation'; | ||
import type { PugIdNotation } from './options/pug-id-notation'; | ||
import { isAngularAction, isAngularBinding, isAngularDirective, isAngularInterpolation } from './utils/angular'; | ||
@@ -75,3 +81,3 @@ import { | ||
} from './utils/common'; | ||
import { isVueEventBinding, isVueExpression, isVueVForWithOf } from './utils/vue'; | ||
import { isVueEventBinding, isVueExpression, isVueVForWithOf, isVueVOnExpression } from './utils/vue'; | ||
@@ -122,2 +128,3 @@ const logger: Logger = createLogger(console); | ||
| '__vue_expression' | ||
| '__js_expression' | ||
| '__ng_binding' | ||
@@ -159,2 +166,5 @@ | '__ng_action' | ||
private previousAttributeRemapped: boolean = false; | ||
/** | ||
* Specifies whether attributes should be wrapped in a tag or not | ||
*/ | ||
private wrapAttributes: boolean = false; | ||
@@ -729,2 +739,4 @@ | ||
val = this.formatVueEventBinding(val); | ||
} else if (isVueVOnExpression(token.name)) { | ||
val = this.formatDelegatePrettier(val, '__js_expression'); | ||
} else if (isAngularBinding(token.name)) { | ||
@@ -731,0 +743,0 @@ val = this.formatAngularBinding(val); |
@@ -1,2 +0,2 @@ | ||
import { AttributeToken, TagToken, Token } from 'pug-lexer'; | ||
import type { AttributeToken, TagToken, Token } from 'pug-lexer'; | ||
@@ -16,2 +16,8 @@ export function previousTagToken(tokens: ReadonlyArray<Token>, index: number): TagToken | undefined { | ||
/** | ||
* Returns the previous attribute token between the current token and the last occurrence of a `start-attributes` token | ||
* | ||
* @param tokens A reference to the whole token array | ||
* @param index The current index on which the cursor is in the token array | ||
*/ | ||
export function previousNormalAttributeToken(tokens: ReadonlyArray<Token>, index: number): AttributeToken | undefined { | ||
@@ -18,0 +24,0 @@ for (let i: number = index - 1; i > 0; i--) { |
@@ -15,3 +15,3 @@ /** | ||
* | ||
* Checks for: `v-on`. | ||
* Checks for: `v-on:`. | ||
* | ||
@@ -25,3 +25,3 @@ * Also shorthands like `@*` are checked. | ||
export function isVueEventBinding(name: string): boolean { | ||
return /^(v-on|@).*/.test(name); | ||
return /^(v-on:|@).*/.test(name); | ||
} | ||
@@ -80,1 +80,25 @@ | ||
} | ||
/** | ||
* Indicates whether the attribute name is a Vue v-on | ||
* | ||
* --- | ||
* | ||
* Example expression: | ||
* ``` | ||
* v-btn(v-on="on") | ||
* ``` | ||
* | ||
* In this case `name` is `v-on` | ||
* | ||
* --- | ||
* | ||
* Checks for: `v-on`. | ||
* | ||
* --- | ||
* | ||
* @param name Name of tag attribute | ||
*/ | ||
export function isVueVOnExpression(name: string): boolean { | ||
return 'v-on' === name; | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
293588
4877