Socket
Socket
Sign inDemoInstall

eslint-plugin-vuetify

Package Overview
Dependencies
357
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-beta.4 to 2.0.1

23

lib/rules/no-deprecated-components.js

@@ -21,9 +21,4 @@ 'use strict';

VContent: 'v-main',
VBannerActions: false,
VBannerText: false,
VBottomSheet: false,
VCalendar: false,
VData: false,
VDataIterator: false,
VDataTable: false,
VDatePicker: false,

@@ -38,3 +33,2 @@ VListItemGroup: false,

VSimpleCheckbox: 'v-checkbox-btn',
VSkeletonLoader: false,
VSparkline: false,

@@ -48,4 +42,3 @@ VSpeedDial: false,

VTimePicker: false,
VTreeview: false,
VVirtualScroll: false
VTreeview: false
};

@@ -67,2 +60,3 @@

replacedWith: `'{{ a }}' has been replaced with '{{ b }}'`,
replacedWithCustom: `'{{ a }}' has been replaced with {{ b }}`,
removed: `'{{ name }}' has been removed`

@@ -78,5 +72,14 @@ }

const replacement = replacements[tag];
if (replacement) {
if (typeof replacement === 'object' && 'custom' in replacement) {
context.report({
node: element,
messageId: 'replacedWithCustom',
data: {
a: hyphenate(tag),
b: replacement.custom
}
});
} else if (typeof replacement === 'string') {
context.report({
node: element,
messageId: 'replacedWith',

@@ -97,3 +100,3 @@ data: {

});
} else {
} else if (!replacement) {
context.report({

@@ -100,0 +103,0 @@ node: element,

{
"name": "eslint-plugin-vuetify",
"version": "2.0.0-beta.4",
"version": "2.0.1",
"description": "An eslint plugin for Vuetify",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc