Socket
Socket
Sign inDemoInstall

prettier-plugin-svelte

Package Overview
Dependencies
Maintainers
3
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-svelte - npm Package Compare versions

Comparing version 2.9.0 to 2.10.1

6

package.json
{
"name": "prettier-plugin-svelte",
"version": "2.9.0",
"version": "2.10.1",
"description": "Svelte plugin for prettier",

@@ -40,3 +40,3 @@ "main": "plugin.js",

"rollup-plugin-typescript": "1.0.1",
"svelte": "^3.54.0",
"svelte": "^3.57.0",
"ts-node": "^9.1.1",

@@ -48,4 +48,4 @@ "tslib": "^2.0.3",

"prettier": "^1.16.4 || ^2.0.0",
"svelte": "^3.2.0"
"svelte": "^3.2.0 || ^4.0.0-next.0"
}
}

@@ -32,6 +32,12 @@ # Prettier for Svelte 3 components

As a one-time run:
```
prettier --write --plugin-search-dir=. ./**/*.html
npx prettier --write --plugin-search-dir=. ./**/*.html
```
As part of your scripts in `package.json`:
```
"format": "prettier --write --plugin-search-dir=. ./**/*.html"
```
If you want to customize some formatting behavior, see section "Options" below.

@@ -38,0 +44,0 @@

Sorry, the diff of this file is too big to display

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