Socket
Socket
Sign inDemoInstall

vant

Package Overview
Dependencies
Maintainers
7
Versions
565
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vant - npm Package Compare versions

Comparing version 4.6.0 to 4.6.1

2

es/floating-bubble/types.d.ts

@@ -5,5 +5,5 @@ export type FloatingBubbleThemeVars = {

floatingBubbleIconSize?: string;
floatingBubbleBackground: string;
floatingBubbleBackground?: string;
floatingBubbleColor?: string;
floatingBubbleZIndex?: number | string;
};

@@ -108,2 +108,2 @@ export * from "./action-bar";

export function install(app: any): void;
export const version: "4.6.0";
export const version: "4.6.1";

@@ -9,4 +9,4 @@ export function remove(arr: any, item: any): any;

export namespace modeType {
const event: string;
const observer: string;
let event: string;
let observer: string;
}

@@ -13,0 +13,0 @@ export function getDPR(scale?: number): number;

@@ -10,3 +10,2 @@ export type SubmitBarThemeVars = {

submitBarPriceFont?: string;
submitBarCurrencyFontSize?: string;
submitBarTextColor?: string;

@@ -13,0 +12,0 @@ submitBarTextFontSize?: string;

@@ -9,2 +9,3 @@ import type { ComponentPublicInstance } from 'vue';

file?: File;
objectUrl?: string;
content?: string;

@@ -11,0 +12,0 @@ isImage?: boolean;

@@ -5,5 +5,5 @@ export type FloatingBubbleThemeVars = {

floatingBubbleIconSize?: string;
floatingBubbleBackground: string;
floatingBubbleBackground?: string;
floatingBubbleColor?: string;
floatingBubbleZIndex?: number | string;
};

@@ -31,5 +31,2 @@ var __defProp = Object.defineProperty;

var import_use_sync_prop_ref = require("../composables/use-sync-prop-ref");
const {
height: windowHeight
} = (0, import_use.useWindowSize)();
const floatingPanelProps = {

@@ -59,3 +56,3 @@ height: (0, import_utils.makeNumericProp)(0),

min: (_a = props.anchors[0]) != null ? _a : 100,
max: (_b = props.anchors[props.anchors.length - 1]) != null ? _b : Math.round(windowHeight.value * 0.6)
max: (_b = props.anchors[props.anchors.length - 1]) != null ? _b : Math.round(import_utils.windowHeight.value * 0.6)
};

@@ -62,0 +59,0 @@ });

@@ -108,2 +108,2 @@ export * from "./action-bar";

export function install(app: any): void;
export const version: "4.6.0";
export const version: "4.6.1";

@@ -227,3 +227,3 @@ var __defProp = Object.defineProperty;

__reExport(stdin_exports, require("./watermark"), module.exports);
const version = "4.6.0";
const version = "4.6.1";
function install(app) {

@@ -230,0 +230,0 @@ const components = [

@@ -9,4 +9,4 @@ export function remove(arr: any, item: any): any;

export namespace modeType {
const event: string;
const observer: string;
let event: string;
let observer: string;
}

@@ -13,0 +13,0 @@ export function getDPR(scale?: number): number;

@@ -10,3 +10,2 @@ export type SubmitBarThemeVars = {

submitBarPriceFont?: string;
submitBarCurrencyFontSize?: string;
submitBarTextColor?: string;

@@ -13,0 +12,0 @@ submitBarTextFontSize?: string;

@@ -9,2 +9,3 @@ import type { ComponentPublicInstance } from 'vue';

file?: File;
objectUrl?: string;
content?: string;

@@ -11,0 +12,0 @@ isImage?: boolean;

@@ -136,3 +136,4 @@ var __create = Object.create;

status: "",
message: ""
message: "",
objectUrl: URL.createObjectURL(file)
};

@@ -151,3 +152,4 @@ if (contents[index]) {

status: "",
message: ""
message: "",
objectUrl: URL.createObjectURL(files)
};

@@ -194,4 +196,4 @@ if (content) {

const images = imageFiles.map((item2) => {
if (item2.file && !item2.url && item2.status !== "failed") {
item2.url = URL.createObjectURL(item2.file);
if (item2.objectUrl && !item2.url && item2.status !== "failed") {
item2.url = item2.objectUrl;
urls.push(item2.url);

@@ -198,0 +200,0 @@ }

@@ -126,3 +126,3 @@ var __defProp = Object.defineProperty;

"fit": imageFit,
"src": item.content || item.url,
"src": item.objectUrl || item.content || item.url,
"class": (0, import_utils.bem)("preview-image"),

@@ -129,0 +129,0 @@ "width": Array.isArray(previewSize) ? previewSize[0] : previewSize,

{
"name": "vant",
"version": "4.6.0",
"version": "4.6.1",
"description": "Mobile UI Components built on Vue",

@@ -5,0 +5,0 @@ "main": "lib/vant.cjs.js",

@@ -127,9 +127,9 @@ <p align="center">

| [![chenjiahan](https://avatars.githubusercontent.com/u/7237365?s=80&v=4)](https://github.com/chenjiahan/) | [![cookfront](https://avatars.githubusercontent.com/u/4829465?s=80&v=4)](https://github.com/cookfront/) | [![w91](https://avatars.githubusercontent.com/u/2599455?s=80&v=4)](https://github.com/w91/) | [![pangxie1991](https://avatars.githubusercontent.com/u/5961240?s=80&v=4)](https://github.com/pangxie1991/) | [![rex-zsd](https://avatars.githubusercontent.com/u/8767877?s=80&v=4)](https://github.com/rex-zsd/) |
| :-: | :-: | :-: | :-: | :-: |
| [chenjiahan](https://github.com/chenjiahan/) | [cookfront](https://github.com/cookfront/) | [wangnaiyi](https://github.com/w91/) | [pangxie](https://github.com/pangxie1991/) | [rex-zsd](https://github.com/rex-zsd/) |
| [![chenjiahan](https://avatars.githubusercontent.com/u/7237365?s=80&v=4)](https://github.com/chenjiahan/) | [![cookfront](https://avatars.githubusercontent.com/u/4829465?s=80&v=4)](https://github.com/cookfront/) | [![w91](https://avatars.githubusercontent.com/u/2599455?s=80&v=4)](https://github.com/w91/) | [![pangxie1991](https://avatars.githubusercontent.com/u/5961240?s=80&v=4)](https://github.com/pangxie1991/) | [![rex-zsd](https://avatars.githubusercontent.com/u/8767877?s=80&v=4)](https://github.com/rex-zsd/) | [![nemo-shen](https://avatars.githubusercontent.com/u/13480805?s=80&v=4)](https://github.com/nemo-shen/) |
| :-: | :-: | :-: | :-: | :-: | :-: |
| [chenjiahan](https://github.com/chenjiahan/) | [cookfront](https://github.com/cookfront/) | [wangnaiyi](https://github.com/w91/) | [pangxie](https://github.com/pangxie1991/) | [rex-zsd](https://github.com/rex-zsd/) | [nemo-shen](https://github.com/nemo-shen/) |
| [![nemo-shen](https://avatars.githubusercontent.com/u/13480805?s=80&v=4)](https://github.com/nemo-shen/) | [![Lindysen](https://avatars.githubusercontent.com/u/33708359?s=80&v=4)](https://github.com/Lindysen/) | [![JakeLaoyu](https://avatars.githubusercontent.com/u/16181940?s=80&v=4)](https://github.com/JakeLaoyu/) | [![landluck](https://avatars.githubusercontent.com/u/27060081?s=80&v=4)](https://github.com/landluck/) | [![wjw-gavin](https://avatars.githubusercontent.com/u/19986739?s=80&v=4)](https://github.com/wjw-gavin/) |
| :-: | :-: | :-: | :-: | :-: |
| [nemo-shen](https://github.com/nemo-shen/) | [Lindysen](https://github.com/Lindysen/) | [JakeLaoyu](https://github.com/JakeLaoyu/) | [landluck](https://github.com/landluck/) | [wjw-gavin](https://github.com/wjw-gavin/) |
| [![Lindysen](https://avatars.githubusercontent.com/u/33708359?s=80&v=4)](https://github.com/Lindysen/) | [![JakeLaoyu](https://avatars.githubusercontent.com/u/16181940?s=80&v=4)](https://github.com/JakeLaoyu/) | [![landluck](https://avatars.githubusercontent.com/u/27060081?s=80&v=4)](https://github.com/landluck/) | [![wjw-gavin](https://avatars.githubusercontent.com/u/19986739?s=80&v=4)](https://github.com/wjw-gavin/) | [![inottn](https://avatars.githubusercontent.com/u/18509404?s=80&v=4)](https://github.com/inottn/) | [![zhousg](https://avatars.githubusercontent.com/u/15833290?s=80&v=4)](https://github.com/zhousg/) |
| :-: | :-: | :-: | :-: | :-: | :-: |
| [Lindysen](https://github.com/Lindysen/) | [JakeLaoyu](https://github.com/JakeLaoyu/) | [landluck](https://github.com/landluck/) | [wjw-gavin](https://github.com/wjw-gavin/) | [inottn](https://github.com/inottn/) | [zhousg](https://github.com/zhousg/) |

@@ -136,0 +136,0 @@ ## All Contributors

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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