Socket
Socket
Sign inDemoInstall

eslint-plugin-svelte3

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-svelte3 - npm Package Compare versions

Comparing version 2.4.2 to 2.5.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 2.5.0
- Fix `let:` handling on regular elements as well
- Separate `then` and `catch` scopes in `{#await}`
# 2.4.2

@@ -2,0 +7,0 @@

9

index.js

@@ -253,6 +253,7 @@ 'use strict';

find_contextual_names(node.index);
} else if (node.type === 'AwaitBlock') {
find_contextual_names(node.value);
find_contextual_names(node.error);
} else if (node.type === 'InlineComponent') {
} else if (node.type === 'ThenBlock') {
find_contextual_names(parent.value);
} else if (node.type === 'CatchBlock') {
find_contextual_names(parent.error);
} else if (node.type === 'Element' || node.type === 'InlineComponent') {
node.attributes.forEach(node => node.type === 'Let' && find_contextual_names(node.expression || node.name));

@@ -259,0 +260,0 @@ }

{
"name": "eslint-plugin-svelte3",
"version": "2.4.2",
"version": "2.5.0",
"description": "An ESLint plugin for Svelte v3 components.",

@@ -5,0 +5,0 @@ "keywords": [

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