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.16.1 to 1.16.2

18

package.json
{
"name": "@prettier/plugin-pug",
"version": "1.16.1",
"version": "1.16.2",
"description": "Prettier Pug Plugin",

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

"test": "jest",
"prepublishOnly": "yarn clean && yarn install --cache-folder .yarn && yarn build"
"prepublishOnly": "yarn clean && yarn install && yarn build"
},

@@ -44,12 +44,12 @@ "keywords": [

"@types/jest": "~26.0.24",
"@types/node": "~16.3.2",
"@types/node": "~16.4.10",
"@types/prettier": "~2.3.2",
"@typescript-eslint/eslint-plugin": "~4.28.3",
"@typescript-eslint/parser": "~4.28.3",
"@typescript-eslint/eslint-plugin": "~4.29.0",
"@typescript-eslint/parser": "~4.29.0",
"benchmark": "~2.1.4",
"eslint": "~7.30.0",
"eslint": "~7.32.0",
"eslint-config-prettier": "~8.3.0",
"eslint-define-config": "~1.0.9",
"eslint-plugin-inclusive-language": "~2.1.1",
"eslint-plugin-jsdoc": "~35.4.3",
"eslint-plugin-jsdoc": "~36.0.6",
"eslint-plugin-prettier": "~3.4.0",

@@ -61,4 +61,4 @@ "eslint-plugin-spellcheck": "~0.0.19",

"prettier": "2.3.2",
"prettier-plugin-organize-imports": "~2.2.0",
"ts-jest": "~27.0.3",
"prettier-plugin-organize-imports": "2.2.0",
"ts-jest": "~27.0.4",
"typescript": "~4.3.5",

@@ -65,0 +65,0 @@ "vuepress": "~1.8.2",

@@ -191,3 +191,3 @@ import type { BuiltInParserName, Options, RequiredOptions } from 'prettier';

RequiredOptions,
'singleQuote' | 'bracketSpacing' | 'arrowParens' | 'printWidth' | 'endOfLine'
'singleQuote' | 'bracketSpacing' | 'arrowParens' | 'printWidth' | 'endOfLine' | 'useTabs'
>;

@@ -248,3 +248,4 @@ /* eslint-enable @typescript-eslint/indent */

printWidth: 9000,
endOfLine: 'lf'
endOfLine: 'lf',
useTabs: options.pugUseTabs ?? options.useTabs
};

@@ -792,3 +793,3 @@ }

if (typeof token.val === 'string') {
if (isQuoted(token.val)) {
if (isQuoted(token.val) && token.val[0] !== '`') {
if (token.name === 'class' && this.options.pugClassNotation === 'literal') {

@@ -795,0 +796,0 @@ // Handle class attribute

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