New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tslib/vue-ext

Package Overview
Dependencies
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tslib/vue-ext - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

9

dist/vueExt.d.ts

@@ -1,3 +0,4 @@

import Vue from "vue";
import { ComponentOptions } from "vue/types/options";
import Vue, { FunctionalComponentOptions } from "vue";
import "vuex";
import { ComponentOptions, ThisTypedComponentOptionsWithArrayProps, RecordPropsDefinition, ThisTypedComponentOptionsWithRecordProps } from "vue/types/options";
export interface ExtOptions {

@@ -18,2 +19,6 @@ module: string;

interface VueConstructor<V extends Vue> {
extend<Data, Methods, Computed, PropNames extends string = never>(options?: ThisTypedComponentOptionsWithArrayProps<V, Data, Methods, Computed, PropNames> & ExtOptions): ExtendedVue<V, Data, Methods, Computed, Record<PropNames, any>>;
extend<Data, Methods, Computed, Props>(options?: ThisTypedComponentOptionsWithRecordProps<V, Data, Methods, Computed, Props> & ExtOptions): ExtendedVue<V, Data, Methods, Computed, Props>;
extend<PropNames extends string = never>(definition: FunctionalComponentOptions<Record<PropNames, any>, PropNames[]> & ExtOptions): ExtendedVue<V, {}, {}, {}, Record<PropNames, any>>;
extend<Props>(definition: FunctionalComponentOptions<Props, RecordPropsDefinition<Props>> & ExtOptions): ExtendedVue<V, {}, {}, {}, Props>;
extendVue(options?: ExtOptions & ComponentOptions<V>): ExtendedVue<V, {}, {}, {}, {}>;

@@ -20,0 +25,0 @@ }

@@ -7,2 +7,3 @@ "use strict";

const vue_1 = __importDefault(require("vue"));
require("vuex");
const debug_1 = __importDefault(require("debug"));

@@ -15,2 +16,3 @@ const _d = debug_1.default("app:vueExt");

_d("init vueExt...");
const a = {};
// 初始化定时器

@@ -17,0 +19,0 @@ require("./extTimer");

{
"name": "@tslib/vue-ext",
"version": "1.0.15",
"version": "1.0.16",
"private": false,

@@ -5,0 +5,0 @@ "description": "config file loader for typescript",

@@ -1,5 +0,11 @@

import Vue, { VueConstructor } from "vue";
import Vue, { VueConstructor, FunctionalComponentOptions } from "vue";
import "vuex";
import { ExtendedVue } from "vue/types/vue";
import { ComponentOptions } from "vue/types/options";
import {
ComponentOptions,
ThisTypedComponentOptionsWithArrayProps,
RecordPropsDefinition,
ThisTypedComponentOptionsWithRecordProps
} from "vue/types/options";

@@ -23,2 +29,4 @@ import _ from "lodash";

const a = {} as ComponentOptions<Vue>;
// 初始化定时器

@@ -46,2 +54,36 @@ import "./extTimer";

interface VueConstructor<V extends Vue> {
extend<Data, Methods, Computed, PropNames extends string = never>(
options?: ThisTypedComponentOptionsWithArrayProps<
V,
Data,
Methods,
Computed,
PropNames
> &
ExtOptions
): ExtendedVue<V, Data, Methods, Computed, Record<PropNames, any>>;
extend<Data, Methods, Computed, Props>(
options?: ThisTypedComponentOptionsWithRecordProps<
V,
Data,
Methods,
Computed,
Props
> &
ExtOptions
): ExtendedVue<V, Data, Methods, Computed, Props>;
extend<PropNames extends string = never>(
definition: FunctionalComponentOptions<
Record<PropNames, any>,
PropNames[]
> &
ExtOptions
): ExtendedVue<V, {}, {}, {}, Record<PropNames, any>>;
extend<Props>(
definition: FunctionalComponentOptions<
Props,
RecordPropsDefinition<Props>
> &
ExtOptions
): ExtendedVue<V, {}, {}, {}, Props>;
extendVue(

@@ -48,0 +90,0 @@ options?: ExtOptions & ComponentOptions<V>

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