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

vant

Package Overview
Dependencies
Maintainers
2
Versions
566
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 0.5.11 to 0.5.12

6

lib/utils/scroll.js

@@ -67,2 +67,8 @@ 'use strict';

// 设置滚动高度
setScrollTop: function setScrollTop(element, value) {
'scrollTop' in element ? element.scrollTop = value : element.scrollTo(element.scrollX, value);
},
// 获取元素距离顶部高度

@@ -69,0 +75,0 @@ getElementTop: function getElementTop(element) {

@@ -347,2 +347,8 @@ (function webpackUniversalModuleDefinition(root, factory) {

// 设置滚动高度
setScrollTop: function setScrollTop(element, value) {
'scrollTop' in element ? element.scrollTop = value : element.scrollTo(element.scrollX, value);
},
// 获取元素距离顶部高度

@@ -349,0 +355,0 @@ getElementTop: function getElementTop(element) {

2

package.json
{
"name": "vant",
"version": "0.5.11",
"version": "0.5.12",
"description": "有赞vue wap组件库",

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

{
"name": "vant-css",
"version": "0.5.11",
"version": "0.5.12",
"description": "vant css.",

@@ -5,0 +5,0 @@ "main": "lib/index.css",

@@ -84,3 +84,3 @@ import Button from '../packages/button/index.js';

install,
version: '0.5.11',
version: '0.5.12',
Button,

@@ -87,0 +87,0 @@ Switch,

@@ -58,2 +58,7 @@ export default {

// 设置滚动高度
setScrollTop(element, value) {
'scrollTop' in element ? element.scrollTop = value : element.scrollTo(element.scrollX, value);
},
// 获取元素距离顶部高度

@@ -60,0 +65,0 @@ getElementTop(element) {

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