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 3.8.0 to 3.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": "3.8.0",
"version": "3.8.2",
"description": "",

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

"dependencies": {
"@opentiny/vue-renderless": "~3.8.0",
"@opentiny/vue-common": "~3.8.0",
"@opentiny/vue-button": "~3.8.0"
"@opentiny/vue-renderless": "~3.8.2",
"@opentiny/vue-common": "~3.8.2",
"@opentiny/vue-button": "~3.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<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>;
props: any;
setup(props: any, context: any): any;
};
export default _default;

@@ -1,80 +0,2 @@

declare const _sfc_main: import("@vue/runtime-core").DefineComponent<{
_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;
}, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
_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;
}>;
declare const _sfc_main: any;
export default _sfc_main;

@@ -1,33 +0,2 @@

declare const _sfc_main: import("@vue/runtime-core").DefineComponent<{
type: {
type: StringConstructor;
default: string;
};
message: StringConstructor;
subMessage: StringConstructor;
exceptionClass: StringConstructor;
buttonText: StringConstructor;
imageUrl: StringConstructor;
}, {
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;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
type: {
type: StringConstructor;
default: string;
};
message: StringConstructor;
subMessage: StringConstructor;
exceptionClass: StringConstructor;
buttonText: StringConstructor;
imageUrl: StringConstructor;
}>>, {
type: string;
}>;
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