Socket
Socket
Sign inDemoInstall

vue-eslint-parser

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-eslint-parser - npm Package Compare versions

Comparing version 2.0.1-beta.2 to 2.0.1-beta.3

14

index.d.ts
// Generated by dts-bundle v0.7.3
// Dependencies for this module:
// ../eslint-scope
// ../eslint-visitor-keys

@@ -52,2 +55,3 @@ declare module 'vue-eslint-parser' {

declare module 'vue-eslint-parser/ast/nodes' {
import { ScopeManager } from "eslint-scope";
import { ParseError } from "vue-eslint-parser/ast/errors";

@@ -63,5 +67,7 @@ import { HasLocation } from "vue-eslint-parser/ast/locations";

ast: ESLintProgram;
services?: any;
visitorKeys?: any;
scope?: any;
services?: {};
visitorKeys?: {
[type: string]: string[];
};
scopeManager?: ScopeManager;
}

@@ -550,5 +556,7 @@ export interface ESLintProgram extends HasLocation, HasParent {

declare module 'vue-eslint-parser/ast/traverse' {
import { VisitorKeys } from "eslint-visitor-keys";
import { Node } from "vue-eslint-parser/ast/nodes";
function getFallbackKeys(node: Node): string[];
export interface Visitor {
visitorKeys?: VisitorKeys;
enterNode(node: Node, parent: Node | null): void;

@@ -555,0 +563,0 @@ leaveNode(node: Node, parent: Node | null): void;

{
"name": "vue-eslint-parser",
"version": "2.0.1-beta.2",
"version": "2.0.1-beta.3",
"description": "The ESLint custom parser for `.vue` files.",

@@ -20,3 +20,4 @@ "engines": {

"eslint-scope": "^3.7.1",
"espree": "^3.5.1",
"eslint-visitor-keys": "^1.0.0",
"espree": "^3.5.2",
"esquery": "^1.0.0",

@@ -26,8 +27,8 @@ "lodash": "^4.17.4"

"devDependencies": {
"@types/debug": "0.0.29",
"@types/estree": "0.0.35",
"@types/lodash": "^4.14.71",
"@types/mocha": "^2.2.41",
"@types/debug": "0.0.30",
"@types/estree": "0.0.38",
"@types/lodash": "^4.14.91",
"@types/mocha": "^2.2.44",
"@types/node": "^6.0.85",
"babel-eslint": "^8.0.2",
"babel-eslint": "^8.1.1",
"chokidar": "^1.7.0",

@@ -37,16 +38,16 @@ "codecov": "^3.0.0",

"dts-bundle": "^0.7.3",
"eslint": "^4.10.0",
"eslint": "^4.14.0",
"eslint-config-mysticatea": "^12.0.0",
"fs-extra": "^4.0.2",
"fs-extra": "^5.0.0",
"mocha": "^4.0.1",
"npm-run-all": "^4.1.1",
"nyc": "^11.3.0",
"npm-run-all": "^4.1.2",
"nyc": "^11.4.1",
"opener": "^1.4.3",
"rimraf": "^2.6.2",
"rollup": "^0.50.0",
"rollup": "^0.53.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-watch": "^4.3.1",
"typescript": "~2.5.3",
"typescript-eslint-parser": "^8.0.1",
"typescript": "~2.6.2",
"typescript-eslint-parser": "^11.0.0",
"wait-on": "^2.0.2",

@@ -53,0 +54,0 @@ "warun": "^1.0.0"

@@ -89,2 +89,5 @@ # vue-eslint-parser

- If you use with `babel-eslint`, it has additional requirements. Use `eslint@>=4.14.0` and `babel-eslint@>=8.1.1`.
- If you use `typescript-eslint-parser`, the location of original nodes can be wrong. Waiting for `typescript-eslint-parser` to support [parseResult.visitorKeys](https://eslint.org/docs/developer-guide/working-with-plugins#working-with-custom-parsers).
## ๐ŸŽ‡ Usage for custom rules / plugins

@@ -91,0 +94,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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