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.0.3 to 0.0.4

2

lib/parser/script.js

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

node.parent = parent;
if (node.type === "LabeledStatement") {
if (node.type === "LabeledStatement" && node.label.name === "$") {
if ((parent === null || parent === void 0 ? void 0 : parent.type) === "Program") {

@@ -24,0 +24,0 @@ // Transform node type

{
"name": "svelte-eslint-parser",
"version": "0.0.3",
"version": "0.0.4",
"description": "Svelte parser for ESLint",

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

# svelte-eslint-parser
[Svelte] parser for [ESLint]
[Svelte] parser for [ESLint].
You can check it on [Online DEMO](https://ota-meshi.github.io/svelte-eslint-parser/playground).

@@ -117,4 +118,4 @@ ::: ***WORKS IN PROGRESS*** :::

- [AST.md](./docs/AST.md) is AST specification.
- You can see the AST on the [Online DEMO](https://ota-meshi.github.io/svelte-eslint-parser/).
- [AST.md](./docs/AST.md) is AST specification. You can check it on the [Online DEMO](https://ota-meshi.github.io/svelte-eslint-parser/).
- The parser will generate its own [ScopeManager](https://eslint.org/docs/developer-guide/scope-manager-interface). You can check it on the [Online DEMO](https://ota-meshi.github.io/svelte-eslint-parser/scope).

@@ -121,0 +122,0 @@ ## :beers: Contributing

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