Socket
Socket
Sign inDemoInstall

eslint-plugin-vue

Package Overview
Dependencies
Maintainers
3
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-vue - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

5

lib/rules/no-dupe-keys.js

@@ -16,4 +16,2 @@ /**

function create (context) {
const usedNames = []
const options = context.options[0] || {}

@@ -27,3 +25,5 @@ const groups = new Set(GROUP_NAMES.concat(options.groups || []))

return utils.executeOnVue(context, (obj) => {
const usedNames = []
const properties = utils.iterateProperties(obj, groups)
for (const o of properties) {

@@ -39,2 +39,3 @@ if (usedNames.indexOf(o.name) !== -1) {

}
usedNames.push(o.name)

@@ -41,0 +42,0 @@ }

2

package.json
{
"name": "eslint-plugin-vue",
"version": "4.0.0",
"version": "4.0.1",
"description": "Official ESLint plugin for Vue.js",

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

@@ -9,10 +9,2 @@ # eslint-plugin-vue

## :exclamation: Attention - this is documentation for version `4.x` :exclamation:
This branch contains `eslint-plugin-vue@next` which is a pre-released `4.0`, but it's not the default version that you get with `npm install eslint-plugin-vue`. In order to install this you need to specify either `"eslint-plugin-vue": "next"` in `package.json` or do `npm install eslint-plugin-vue@next`.
Please try it and report any issues that you might have encountered.
If you want to check previous releases [go here](https://github.com/vuejs/eslint-plugin-vue/releases).
## :art: Playground on the Web

@@ -32,3 +24,3 @@

```bash
npm install --save-dev eslint eslint-plugin-vue@next
npm install --save-dev eslint eslint-plugin-vue
```

@@ -35,0 +27,0 @@

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