New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@teleporthq/teleport-postprocessor-prettier-html

Package Overview
Dependencies
Maintainers
5
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teleporthq/teleport-postprocessor-prettier-html - npm Package Compare versions

Comparing version

to
0.10.4

4

dist/cjs/index.js

@@ -24,6 +24,6 @@ "use strict";

var fileType = options.fileType || teleport_types_1.FileType.HTML;
var formatOptions = __assign({}, teleport_shared_1.Constants.PRETTIER_CONFIG, options.formatOptions);
var formatOptions = __assign(__assign({}, teleport_shared_1.Constants.PRETTIER_CONFIG), options.formatOptions);
var processor = function (codeChunks) {
if (codeChunks[fileType]) {
codeChunks[fileType] = standalone_1.format(codeChunks[fileType], __assign({}, formatOptions, { htmlWhitespaceSensitivity: 'ignore', plugins: [parser_html_1.default], parser: 'html' }));
codeChunks[fileType] = standalone_1.format(codeChunks[fileType], __assign(__assign({}, formatOptions), { htmlWhitespaceSensitivity: 'ignore', plugins: [parser_html_1.default], parser: 'html' }));
}

@@ -30,0 +30,0 @@ else {

{
"name": "@teleporthq/teleport-postprocessor-prettier-html",
"version": "0.10.1",
"version": "0.10.4",
"description": "A post-processing function that formats html code chunks using prettier and the prettier-html plugin",

@@ -29,7 +29,7 @@ "author": "teleportHQ",

"dependencies": {
"@teleporthq/teleport-shared": "^0.10.1",
"@teleporthq/teleport-types": "^0.10.1",
"prettier": "^1.18.2"
"@teleporthq/teleport-shared": "^0.10.4",
"@teleporthq/teleport-types": "^0.10.4",
"prettier": "^1.19.1"
},
"gitHead": "7a290387c6a68eec58f6cc2aac5e5bcdced0184e"
"gitHead": "b5f838aac54b6af2c6bed73e4044ead5b747ecf4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet