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.2 to 1.16.3

4

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

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

"@types/jest": "~26.0.24",
"@types/node": "~16.4.10",
"@types/node": "~16.4.12",
"@types/prettier": "~2.3.2",

@@ -46,0 +46,0 @@ "@typescript-eslint/eslint-plugin": "~4.29.0",

@@ -1000,4 +1000,8 @@ import type { BuiltInParserName, Options, RequiredOptions } from 'prettier';

this.indentLevel++;
this.currentLineLength = result.length - 1 + 1 + this.indentString.length; // -1 for \n, +1 for non zero based
logger.debug('indent', { result, indentLevel: this.indentLevel }, this.currentLineLength);
this.currentLineLength = result.length - 1 + 1 + this.options.pugTabWidth; // -1 for \n, +1 for non zero based
logger.debug(
'indent',
{ result, indentLevel: this.indentLevel, pugTabWidth: this.options.pugTabWidth },
this.currentLineLength
);
return result;

@@ -1004,0 +1008,0 @@ }

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