Socket
Socket
Sign inDemoInstall

prettier-plugin-astro

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-astro - npm Package Compare versions

Comparing version 0.12.2 to 0.12.3

9

dist/index.js

@@ -545,3 +545,3 @@ import { parse } from '@astrojs/compiler/sync';

const textLines = text.split(/[\t\n\f\r ]+/);
let docs = join$1(line$1, textLines);
let docs = join$1(line$1, textLines).filter((doc) => doc !== '');
if (startsWithLinebreak(text)) {

@@ -694,2 +694,9 @@ docs[0] = hardline$1;

}
if (previousChildren &&
isTagLikeNode(previousChildren) &&
nextChildren &&
isTagLikeNode(nextChildren)) {
childBundle[childBundleIndex].push(child);
return result;
}
if ((!nextChildren || isTextNode(nextChildren)) &&

@@ -696,0 +703,0 @@ childBundle[childBundleIndex].length > 0) {

2

package.json
{
"name": "prettier-plugin-astro",
"version": "0.12.2",
"version": "0.12.3",
"type": "module",

@@ -5,0 +5,0 @@ "description": "A Prettier Plugin for formatting Astro files",

Sorry, the diff of this file is not supported yet

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