Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-class-component

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-class-component - npm Package Compare versions

Comparing version 6.3.2 to 7.0.0

8

lib/declarations.d.ts

@@ -8,1 +8,9 @@ import Vue, { ComponentOptions } from 'vue';

};
import { PluginFunction, PluginObject } from 'vue/types/plugin';
declare module 'vue/types/vue' {
interface VueConstructor {
use<T>(plugin: PluginObject<T> | PluginFunction<T>, options?: T): any;
use(plugin: PluginObject<any> | PluginFunction<any>, ...options: any[]): any;
mixin(mixin: VueConstructor | ComponentOptions<Vue>): any;
}
}

2

package.json
{
"name": "vue-class-component",
"version": "6.3.2",
"version": "7.0.0",
"description": "ES201X/TypeScript class decorator for Vue components",

@@ -5,0 +5,0 @@ "main": "dist/vue-class-component.common.js",

@@ -92,3 +92,3 @@ # vue-class-component

@Component
export class MyMixin extends Vue {
export default class MyMixin extends Vue {
mixinValue = 'Hello'

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