Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte-eslint-parser

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-eslint-parser - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

3

lib/context/script-let.js

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

function removeScope(scopeManager, scope) {
for (const childScope of scope.childScopes) {
removeScope(scopeManager, childScope);
}
while (scope.references[0]) {

@@ -552,0 +555,0 @@ removeReference(scope.references[0], scope);

2

lib/parser/converts/attr.js

@@ -146,3 +146,3 @@ "use strict";

? "(e:CustomEvent<any>)=>void"
: `(e:HTMLElementEventMap['${node.name}'])=>void`));
: `(e:'${node.name}' extends keyof HTMLElementEventMap?HTMLElementEventMap['${node.name}']:CustomEvent<any>)=>void`));
return directive;

@@ -149,0 +149,0 @@ }

{
"name": "svelte-eslint-parser",
"version": "0.4.0",
"version": "0.4.1",
"description": "Svelte parser for ESLint",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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