New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-svelte

Package Overview
Dependencies
Maintainers
5
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-svelte - npm Package Compare versions

Comparing version 2.30.0 to 2.31.0

lib/rules/no-restricted-html-elements.d.ts

2

lib/meta.d.ts
export declare const name: "eslint-plugin-svelte";
export declare const version: "2.30.0";
export declare const version: "2.31.0";

@@ -5,2 +5,2 @@ "use strict";

exports.name = "eslint-plugin-svelte";
exports.version = "2.30.0";
exports.version = "2.31.0";

@@ -39,2 +39,3 @@ "use strict";

const no_reactive_reassign_1 = __importDefault(require("../rules/no-reactive-reassign"));
const no_restricted_html_elements_1 = __importDefault(require("../rules/no-restricted-html-elements"));
const no_shorthand_style_property_overrides_1 = __importDefault(require("../rules/no-shorthand-style-property-overrides"));

@@ -46,2 +47,3 @@ const no_spaces_around_equal_signs_in_attribute_1 = __importDefault(require("../rules/no-spaces-around-equal-signs-in-attribute"));

const no_unknown_style_directive_property_1 = __importDefault(require("../rules/no-unknown-style-directive-property"));
const no_unused_class_name_1 = __importDefault(require("../rules/no-unused-class-name"));
const no_unused_svelte_ignore_1 = __importDefault(require("../rules/no-unused-svelte-ignore"));

@@ -99,2 +101,3 @@ const no_useless_mustaches_1 = __importDefault(require("../rules/no-useless-mustaches"));

no_reactive_reassign_1.default,
no_restricted_html_elements_1.default,
no_shorthand_style_property_overrides_1.default,

@@ -106,2 +109,3 @@ no_spaces_around_equal_signs_in_attribute_1.default,

no_unknown_style_directive_property_1.default,
no_unused_class_name_1.default,
no_unused_svelte_ignore_1.default,

@@ -108,0 +112,0 @@ no_useless_mustaches_1.default,

{
"name": "eslint-plugin-svelte",
"version": "2.30.0",
"version": "2.31.0",
"description": "ESLint plugin for Svelte using AST",

@@ -13,3 +13,3 @@ "repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git",

"license": "MIT",
"packageManager": "pnpm@7.32.5",
"packageManager": "pnpm@7.33.1",
"engines": {

@@ -47,3 +47,4 @@ "node": "^14.17.0 || >=16.0.0"

"postcss-safe-parser": "^6.0.0",
"svelte-eslint-parser": "^0.30.0"
"postcss-selector-parser": "^6.0.11",
"svelte-eslint-parser": "^0.31.0"
},

@@ -90,3 +91,3 @@ "devDependencies": {

"env-cmd": "^10.1.0",
"esbuild": "^0.17.0",
"esbuild": "^0.18.0",
"esbuild-register": "^3.2.0",

@@ -114,3 +115,3 @@ "escape-html": "^1.0.3",

"less": "^4.1.2",
"locate-character": "^2.0.5",
"locate-character": "^3.0.0",
"magic-string": "^0.30.0",

@@ -117,0 +118,0 @@ "markdown-it-anchor": "^8.4.1",

@@ -346,2 +346,3 @@ # Introduction

| [svelte/no-reactive-literals](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-literals/) | don't assign literal values in reactive statements | :bulb: |
| [svelte/no-unused-class-name](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-class-name/) | disallow the use of a class in the template without a corresponding style | |
| [svelte/no-unused-svelte-ignore](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-svelte-ignore/) | disallow unused svelte-ignore comments | :star: |

@@ -371,2 +372,3 @@ | [svelte/no-useless-mustaches](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-useless-mustaches/) | disallow unnecessary mustache interpolations | :wrench: |

| [svelte/no-extra-reactive-curlies](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-extra-reactive-curlies/) | disallow wrapping single reactive statements in curly braces | :bulb: |
| [svelte/no-restricted-html-elements](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-restricted-html-elements/) | disallow specific HTML elements | |
| [svelte/no-spaces-around-equal-signs-in-attribute](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-spaces-around-equal-signs-in-attribute/) | disallow spaces around equal signs in attribute | :wrench: |

@@ -373,0 +375,0 @@ | [svelte/prefer-class-directive](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-class-directive/) | require class directives instead of ternary expressions | :wrench: |

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