vue-eslint-parser
Advanced tools
Comparing version 7.11.0 to 8.0.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6126
976535
39
279
+ Addedeslint-scope@6.0.0(transitive)
+ Addedespree@9.6.1(transitive)
+ Addedsemver@7.6.3(transitive)
- Removedacorn@7.4.1(transitive)
- Removedeslint-scope@5.1.1(transitive)
- Removedeslint-visitor-keys@1.3.0(transitive)
- Removedespree@6.2.1(transitive)
- Removedestraverse@4.3.0(transitive)
- Removedsemver@6.3.1(transitive)
Updateddebug@^4.3.2
Updatedeslint-scope@^6.0.0
Updatedeslint-visitor-keys@^3.0.0
Updatedespree@^9.0.0
Updatedsemver@^7.3.5