prettier-plugin-svelte
Advanced tools
Comparing version 3.1.2 to 3.2.0
{ | ||
"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", |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
1492171
7
5795
294
12