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

@opentiny/vue-exception

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-exception - npm Package Compare versions

Comparing version 2.8.0 to 2.8.2

9

lib/index.js

@@ -20,8 +20,9 @@ function _extends() {

var template = function template2(mode) {
if ("mobile" === (process.env.TINY_MODE || mode))
if ("mobile" === (process.env.TINY_MODE || mode)) {
return MobileTemplate;
else if ("mobile-first" === (process.env.TINY_MODE || mode))
}
if ("mobile-first" === (process.env.TINY_MODE || mode)) {
return MobileFirstTemplate;
else
return PcTemplate;
}
return MobileTemplate;
};

@@ -28,0 +29,0 @@ var Exception = {

{
"name": "@opentiny/vue-exception",
"version": "2.8.0",
"version": "2.8.2",
"description": "",

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

"dependencies": {
"@opentiny/vue-renderless": "~3.8.0",
"@opentiny/vue-common": "~2.8.0",
"@opentiny/vue-button": "~2.8.0"
"@opentiny/vue-renderless": "~3.8.2",
"@opentiny/vue-common": "~2.8.2",
"@opentiny/vue-button": "~2.8.2"
},

@@ -13,0 +13,0 @@ "license": "MIT",

declare const _default: {
name: string;
props: {
type: {
type: StringConstructor;
default: string;
};
message: StringConstructor;
subMessage: StringConstructor;
exceptionClass: StringConstructor;
buttonText: StringConstructor;
imageUrl: StringConstructor;
pageEmpty: {
type: BooleanConstructor;
default: boolean;
};
componentPage: {
type: BooleanConstructor;
default: boolean;
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
};
setup(props: any, context: any): () => import("vue").VNode;
props: any;
setup(props: any, context: any): any;
};
export default _default;

@@ -1,88 +0,2 @@

declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<any> & import("@vue/composition-api").Data, {}, {}, {
_constants: {
type: ObjectConstructor;
default: () => {
nodata: string;
noperm: string;
weaknet: string;
noresult: string;
nonews: string;
pagenoperm: string;
pageweaknet: string;
pagenothing: string;
pageservererror: string;
};
};
type: {
type: StringConstructor;
default: string;
};
message: StringConstructor;
subMessage: StringConstructor;
exceptionClass: StringConstructor;
pageEmpty: {
type: BooleanConstructor;
default: boolean;
};
componentPage: {
type: BooleanConstructor;
default: boolean;
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, {
type: string;
tiny_mode_root: boolean;
_constants: Record<string, any>;
pageEmpty: boolean;
componentPage: boolean;
} & {
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
message?: string | undefined;
subMessage?: string | undefined;
exceptionClass?: string | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
type: string;
tiny_mode_root: boolean;
_constants: Record<string, any>;
pageEmpty: boolean;
componentPage: boolean;
} & {
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
message?: string | undefined;
subMessage?: string | undefined;
exceptionClass?: string | undefined;
}, import("@vue/composition-api").ShallowUnwrapRef<any>, import("@vue/composition-api").Data, {}, {}, {
type: string;
tiny_mode_root: boolean;
_constants: Record<string, any>;
pageEmpty: boolean;
componentPage: boolean;
} & {
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
message?: string | undefined;
subMessage?: string | undefined;
exceptionClass?: string | undefined;
}, {
type: string;
_constants: Record<string, any>;
pageEmpty: boolean;
componentPage: boolean;
}, true>);
declare const _sfc_main: any;
export default _sfc_main;

@@ -1,56 +0,2 @@

declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}> & import("@vue/composition-api").Data, {}, {}, {
type: {
type: StringConstructor;
default: string;
};
message: StringConstructor;
subMessage: StringConstructor;
exceptionClass: StringConstructor;
buttonText: StringConstructor;
imageUrl: StringConstructor;
}, {
type: string;
} & {
message?: string | undefined;
buttonText?: string | undefined;
subMessage?: string | undefined;
exceptionClass?: string | undefined;
imageUrl?: string | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
type: string;
} & {
message?: string | undefined;
buttonText?: string | undefined;
subMessage?: string | undefined;
exceptionClass?: string | undefined;
imageUrl?: string | undefined;
}, import("@vue/composition-api").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}>, import("@vue/composition-api").Data, {}, {}, {
type: string;
} & {
message?: string | undefined;
buttonText?: string | undefined;
subMessage?: string | undefined;
exceptionClass?: string | undefined;
imageUrl?: string | undefined;
}, {
type: string;
}, true>);
declare const _sfc_main: any;
export default _sfc_main;
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