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 3.1.2 to 3.2.0

browser.js

5

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

@@ -9,2 +9,3 @@ "main": "plugin.js",

"plugin.js.map",
"browser.js",
"index.d.ts"

@@ -18,2 +19,3 @@ ],

},
"./browser": "./browser.js",
"./package.json": "./package.json"

@@ -42,2 +44,3 @@ },

"devDependencies": {
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "14.0.0",

@@ -44,0 +47,0 @@ "@rollup/plugin-node-resolve": "11.0.1",

4

README.md

@@ -223,2 +223,6 @@ # Prettier for Svelte components

## Usage in the browser
Usage in the browser is semi-supported. You can import the plugin from `prettier-plugin-svelte/browser` to get a version that depends on `prettier/standalone` and therefore doesn't use any node APIs. What isn't supported in a good way yet is using this without a build step - you still need a bundler like Vite to build everything together as one self-contained package in advance.
## Migration

@@ -225,0 +229,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