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

@opentiny/vue-switch

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-switch - npm Package Compare versions

Comparing version 3.12.0 to 3.13.0

10

lib/index.js

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

var template = function template2(mode) {
if ("pc" === (process.env.TINY_MODE || mode)) {
var _process$env;
var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
if ("pc" === (tinyMode || mode)) {
return PcTemplate;
}
if ("mobile" === (process.env.TINY_MODE || mode)) {
if ("mobile" === (tinyMode || mode)) {
return MobileTemplate;
}
if ("mobile-first" === (process.env.TINY_MODE || mode)) {
if ("mobile-first" === (tinyMode || mode)) {
return MobileFirstTemplate;

@@ -102,3 +104,3 @@ }

});
var version = "3.12.0";
var version = "3.13.0";
Switch.model = {

@@ -105,0 +107,0 @@ prop: "modelValue",

6

package.json
{
"name": "@opentiny/vue-switch",
"version": "3.12.0",
"version": "3.13.0",
"description": "",

@@ -10,4 +10,4 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.12.0",
"@opentiny/vue-common": "~3.12.0"
"@opentiny/vue-renderless": "~3.13.0",
"@opentiny/vue-common": "~3.13.0"
},

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

@@ -196,6 +196,6 @@ export declare const $constants: {

displayOnly: boolean;
showText: boolean;
falseValue: string | number | boolean;
trueValue: string | number | boolean;
falseValue: string | number | boolean;
showText: boolean;
}, {}>;
export default _default;

@@ -14,4 +14,4 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{

types?: any;
falseValue?: any;
trueValue?: any;
falseValue?: any;
}>, {

@@ -25,3 +25,2 @@ t: (this: any, path: any, options?: any) => any;

gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{

@@ -40,4 +39,4 @@ disabled?: any;

types?: any;
falseValue?: any;
trueValue?: any;
falseValue?: any;
}>>> & {

@@ -59,5 +58,5 @@ onChange?: ((...args: any[]) => any) | undefined;

readonly types?: any;
readonly falseValue?: any;
readonly trueValue?: any;
readonly falseValue?: any;
}, {}>;
export default _default;

@@ -13,4 +13,4 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{

loading?: any;
falseValue?: any;
trueValue?: any;
falseValue?: any;
}>, {

@@ -24,3 +24,2 @@ t: (this: any, path: any, options?: any) => any;

gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{

@@ -38,4 +37,4 @@ disabled?: any;

loading?: any;
falseValue?: any;
trueValue?: any;
falseValue?: any;
}>>>, {

@@ -53,5 +52,5 @@ readonly disabled?: any;

readonly loading?: any;
readonly falseValue?: any;
readonly trueValue?: any;
readonly falseValue?: any;
}, {}>;
export default _default;

@@ -15,5 +15,5 @@ import type { ISwitchApi } from '@opentiny/vue-renderless/types/switch.type';

displayOnly?: any;
showText?: any;
falseValue?: any;
trueValue?: any;
falseValue?: any;
showText?: any;
beforeChange?: any;

@@ -33,5 +33,5 @@ }>, ISwitchApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{

displayOnly?: any;
showText?: any;
falseValue?: any;
trueValue?: any;
falseValue?: any;
showText?: any;
beforeChange?: any;

@@ -54,7 +54,7 @@ }>>> & {

readonly displayOnly?: any;
readonly showText?: any;
readonly falseValue?: any;
readonly trueValue?: any;
readonly falseValue?: any;
readonly showText?: any;
readonly beforeChange?: any;
}, {}>;
export default _default;
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