Socket
Socket
Sign inDemoInstall

vue-eslint-parser

Package Overview
Dependencies
Maintainers
2
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 7.11.0 to 8.0.0

27

package.json
{
"name": "vue-eslint-parser",
"version": "7.11.0",
"version": "8.0.0",
"description": "The ESLint custom parser for `.vue` files.",
"engines": {
"node": ">=8.10"
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},

@@ -13,12 +13,12 @@ "main": "index.js",

"peerDependencies": {
"eslint": ">=5.0.0"
"eslint": ">=6.0.0"
},
"dependencies": {
"debug": "^4.1.1",
"eslint-scope": "^5.1.1",
"eslint-visitor-keys": "^1.1.0",
"espree": "^6.2.1",
"debug": "^4.3.2",
"eslint-scope": "^6.0.0",
"eslint-visitor-keys": "^3.0.0",
"espree": "^9.0.0",
"esquery": "^1.4.0",
"lodash": "^4.17.21",
"semver": "^6.3.0"
"semver": "^7.3.5"
},

@@ -31,3 +31,2 @@ "devDependencies": {

"@babel/plugin-syntax-typescript": "^7.14.5",
"@mysticatea/eslint-plugin": "^13.0.0",
"@types/debug": "0.0.30",

@@ -40,5 +39,4 @@ "@types/eslint": "^7.2.6",

"@types/semver": "^7.3.6",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.14.0",
"babel-eslint": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.0.0-0",
"@typescript-eslint/parser": "^5.0.0-0",
"chokidar": "^2.0.4",

@@ -48,5 +46,8 @@ "codecov": "^3.1.0",

"dts-bundle": "^0.7.3",
"eslint": "^7.0.0",
"eslint": "^8.0.0-0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-jsonc": "^1.4.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-node-dependencies": "^0.5.0",
"eslint-plugin-prettier": "^4.0.0",
"fs-extra": "^7.0.1",

@@ -53,0 +54,0 @@ "jsonc-eslint-parser": "^0.6.0",

@@ -18,9 +18,7 @@ # vue-eslint-parser

```bash
$ npm install --save-dev eslint vue-eslint-parser
npm install --save-dev eslint vue-eslint-parser
```
- Requires Node.js 6.5.0 or later.
- Requires ESLint 5.0.0 or later.
- Requires `babel-eslint` 8.1.1 or later if you want it. (optional)
- Requires `@typescript-eslint/parser` 1.0.0 or later if you want it. (optional)
- Requires Node.js ^12.22.0, ^14.17.0, 16.0.0 or later.
- Requires ESLint 6.0.0 or later.

@@ -75,5 +73,4 @@ ## 📖 Usage

"parserOptions": {
"parser": "babel-eslint",
"sourceType": "module",
"allowImportExportEverywhere": false
"parser": "@babel/eslint-parser",
"sourceType": "module"
}

@@ -87,3 +84,4 @@ }

"parserOptions": {
"parser": "@typescript-eslint/parser"
"parser": "@typescript-eslint/parser",
"sourceType": "module"
}

@@ -129,3 +127,3 @@ }

"filter": true,
"interpolationAsNonHTML": false,
"interpolationAsNonHTML": true,
"styleCSSVariableInjection": true,

@@ -172,3 +170,3 @@ }

You can use `parserOptions.vueFeatures.interpolationAsNonHTML` property to specify whether to parse the interpolation as HTML. If you specify `true`, the parser handles the interpolation as non-HTML (However, you can use HTML escaping in the interpolation).
You can use `parserOptions.vueFeatures.interpolationAsNonHTML` property to specify whether to parse the interpolation as HTML. If you specify `true`, the parser handles the interpolation as non-HTML (However, you can use HTML escaping in the interpolation). Default is `true`.
For example:

@@ -175,0 +173,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