Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.9.0 to 0.9.1

2

dist/index.js

@@ -628,3 +628,3 @@ 'use strict';

}
if (node.type === 'element' && node.name === 'script') {
if (node.type === 'element' && node.name === 'script' && node.children.length) {
const typeAttribute = (_a = node.attributes.find((attr) => attr.name === 'type')) === null || _a === void 0 ? void 0 : _a.value;

@@ -631,0 +631,0 @@ let parser = 'babel-ts';

{
"name": "prettier-plugin-astro",
"version": "0.9.0",
"version": "0.9.1",
"type": "commonjs",

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

@@ -49,3 +49,3 @@ # [Prettier](https://prettier.io/) Plugin for [Astro](https://astro.build/)

The settings above ensure that VS Code is aware that Prettier can be used for Astro files, and sets Prettier as the default formatter for Astro files.
The settings above ensure that VS Code is aware that Prettier can be used for Astro files, and sets Prettier as the default formatter for Astro files.

@@ -52,0 +52,0 @@ ### Reporting issues

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