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.7 to 0.5.8

64

lib/datetime-picker.js

@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

}
})(this, function(__WEBPACK_EXTERNAL_MODULE_16__) {
})(this, function(__WEBPACK_EXTERNAL_MODULE_10__) {
return /******/ (function(modules) { // webpackBootstrap

@@ -147,3 +147,3 @@ /******/ // The module cache

// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__(11)(function(){
module.exports = !__webpack_require__(12)(function(){
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;

@@ -232,2 +232,8 @@ });

module.exports = __WEBPACK_EXTERNAL_MODULE_10__;
/***/ }),
/* 11 */
/***/ (function(module, exports) {
// 7.2.1 RequireObjectCoercible(argument)

@@ -240,3 +246,3 @@ module.exports = function(it){

/***/ }),
/* 11 */
/* 12 */
/***/ (function(module, exports) {

@@ -253,3 +259,3 @@

/***/ }),
/* 12 */
/* 13 */
/***/ (function(module, exports) {

@@ -263,3 +269,3 @@

/***/ }),
/* 13 */
/* 14 */
/***/ (function(module, exports, __webpack_require__) {

@@ -274,3 +280,3 @@

/***/ }),
/* 14 */
/* 15 */
/***/ (function(module, exports) {

@@ -286,3 +292,3 @@

/***/ }),
/* 15 */
/* 16 */
/***/ (function(module, exports, __webpack_require__) {

@@ -292,3 +298,3 @@

var IObject = __webpack_require__(31)
, defined = __webpack_require__(10);
, defined = __webpack_require__(11);
module.exports = function(it){

@@ -299,8 +305,2 @@ return IObject(defined(it));

/***/ }),
/* 16 */
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_16__;
/***/ }),
/* 17 */

@@ -518,3 +518,3 @@ /***/ (function(module, exports, __webpack_require__) {

// 7.1.15 ToLength
var toInteger = __webpack_require__(14)
var toInteger = __webpack_require__(15)
, min = Math.min;

@@ -536,3 +536,3 @@ module.exports = function(it){

// true -> Array#includes
var toIObject = __webpack_require__(15)
var toIObject = __webpack_require__(16)
, toLength = __webpack_require__(39)

@@ -561,3 +561,3 @@ , toIndex = __webpack_require__(50);

module.exports = !__webpack_require__(2) && !__webpack_require__(11)(function(){
module.exports = !__webpack_require__(2) && !__webpack_require__(12)(function(){
return Object.defineProperty(__webpack_require__(17)('div'), 'a', {get: function(){ return 7; }}).a != 7;

@@ -574,3 +574,3 @@ });

, enumBugKeys = __webpack_require__(20)
, IE_PROTO = __webpack_require__(13)('IE_PROTO')
, IE_PROTO = __webpack_require__(14)('IE_PROTO')
, Empty = function(){ /* empty */ }

@@ -636,6 +636,6 @@ , PROTOTYPE = 'prototype';

var has = __webpack_require__(12)
, toIObject = __webpack_require__(15)
var has = __webpack_require__(13)
, toIObject = __webpack_require__(16)
, arrayIndexOf = __webpack_require__(45)(false)
, IE_PROTO = __webpack_require__(13)('IE_PROTO');
, IE_PROTO = __webpack_require__(14)('IE_PROTO');

@@ -659,3 +659,3 @@ module.exports = function(object, names){

var toInteger = __webpack_require__(14)
var toInteger = __webpack_require__(15)
, max = Math.max

@@ -673,3 +673,3 @@ , min = Math.min;

// 7.1.13 ToObject(argument)
var defined = __webpack_require__(10);
var defined = __webpack_require__(11);
module.exports = function(it){

@@ -701,3 +701,3 @@ return Object(defined(it));

var def = __webpack_require__(8).f
, has = __webpack_require__(12)
, has = __webpack_require__(13)
, TAG = __webpack_require__(5)('toStringTag');

@@ -747,3 +747,3 @@

, hide = __webpack_require__(6)
, has = __webpack_require__(12)
, has = __webpack_require__(13)
, Iterators = __webpack_require__(22)

@@ -1427,3 +1427,3 @@ , $iterCreate = __webpack_require__(82)

var _vue = __webpack_require__(16);
var _vue = __webpack_require__(10);

@@ -1457,3 +1457,3 @@ var _vue2 = _interopRequireDefault(_vue);

var _vue = __webpack_require__(16);
var _vue = __webpack_require__(10);

@@ -1605,5 +1605,5 @@ var _vue2 = _interopRequireDefault(_vue);

// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
var has = __webpack_require__(12)
var has = __webpack_require__(13)
, toObject = __webpack_require__(51)
, IE_PROTO = __webpack_require__(13)('IE_PROTO')
, IE_PROTO = __webpack_require__(14)('IE_PROTO')
, ObjectProto = Object.prototype;

@@ -1630,4 +1630,4 @@

var toInteger = __webpack_require__(14)
, defined = __webpack_require__(10);
var toInteger = __webpack_require__(15)
, defined = __webpack_require__(11);
// true -> String#at

@@ -1671,3 +1671,3 @@ // false -> String#codePointAt

, Iterators = __webpack_require__(22)
, toIObject = __webpack_require__(15);
, toIObject = __webpack_require__(16);

@@ -1674,0 +1674,0 @@ // 22.1.3.4 Array.prototype.entries()

@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

}
})(this, function(__WEBPACK_EXTERNAL_MODULE_16__) {
})(this, function(__WEBPACK_EXTERNAL_MODULE_10__) {
return /******/ (function(modules) { // webpackBootstrap

@@ -147,3 +147,3 @@ /******/ // The module cache

// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__(11)(function(){
module.exports = !__webpack_require__(12)(function(){
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;

@@ -249,2 +249,8 @@ });

module.exports = __WEBPACK_EXTERNAL_MODULE_10__;
/***/ }),
/* 11 */
/***/ (function(module, exports) {
// 7.2.1 RequireObjectCoercible(argument)

@@ -257,3 +263,3 @@ module.exports = function(it){

/***/ }),
/* 11 */
/* 12 */
/***/ (function(module, exports) {

@@ -270,3 +276,3 @@

/***/ }),
/* 12 */
/* 13 */
/***/ (function(module, exports) {

@@ -280,3 +286,3 @@

/***/ }),
/* 13 */
/* 14 */
/***/ (function(module, exports, __webpack_require__) {

@@ -291,3 +297,3 @@

/***/ }),
/* 14 */
/* 15 */
/***/ (function(module, exports) {

@@ -303,3 +309,3 @@

/***/ }),
/* 15 */
/* 16 */
/***/ (function(module, exports, __webpack_require__) {

@@ -309,3 +315,3 @@

var IObject = __webpack_require__(31)
, defined = __webpack_require__(10);
, defined = __webpack_require__(11);
module.exports = function(it){

@@ -316,8 +322,2 @@ return IObject(defined(it));

/***/ }),
/* 16 */
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_16__;
/***/ }),
/* 17 */

@@ -578,3 +578,3 @@ /***/ (function(module, exports, __webpack_require__) {

// 7.1.15 ToLength
var toInteger = __webpack_require__(14)
var toInteger = __webpack_require__(15)
, min = Math.min;

@@ -1064,3 +1064,3 @@ module.exports = function(it){

// true -> Array#includes
var toIObject = __webpack_require__(15)
var toIObject = __webpack_require__(16)
, toLength = __webpack_require__(39)

@@ -1089,3 +1089,3 @@ , toIndex = __webpack_require__(50);

module.exports = !__webpack_require__(2) && !__webpack_require__(11)(function(){
module.exports = !__webpack_require__(2) && !__webpack_require__(12)(function(){
return Object.defineProperty(__webpack_require__(17)('div'), 'a', {get: function(){ return 7; }}).a != 7;

@@ -1102,3 +1102,3 @@ });

, enumBugKeys = __webpack_require__(20)
, IE_PROTO = __webpack_require__(13)('IE_PROTO')
, IE_PROTO = __webpack_require__(14)('IE_PROTO')
, Empty = function(){ /* empty */ }

@@ -1164,6 +1164,6 @@ , PROTOTYPE = 'prototype';

var has = __webpack_require__(12)
, toIObject = __webpack_require__(15)
var has = __webpack_require__(13)
, toIObject = __webpack_require__(16)
, arrayIndexOf = __webpack_require__(45)(false)
, IE_PROTO = __webpack_require__(13)('IE_PROTO');
, IE_PROTO = __webpack_require__(14)('IE_PROTO');

@@ -1187,3 +1187,3 @@ module.exports = function(object, names){

var toInteger = __webpack_require__(14)
var toInteger = __webpack_require__(15)
, max = Math.max

@@ -1201,3 +1201,3 @@ , min = Math.min;

// 7.1.13 ToObject(argument)
var defined = __webpack_require__(10);
var defined = __webpack_require__(11);
module.exports = function(it){

@@ -1944,3 +1944,3 @@ return Object(defined(it));

// should work with symbols and should have deterministic property order (V8 bug)
module.exports = !$assign || __webpack_require__(11)(function(){
module.exports = !$assign || __webpack_require__(12)(function(){
var A = {}

@@ -2052,3 +2052,3 @@ , B = {}

var _vue = __webpack_require__(16);
var _vue = __webpack_require__(10);

@@ -2142,2 +2142,6 @@ var _vue2 = _interopRequireDefault(_vue);

var _vue = __webpack_require__(10);
var _vue2 = _interopRequireDefault(_vue);
var _popup = __webpack_require__(41);

@@ -2157,2 +2161,15 @@

//
//
//
//
//
//
//
//
//
//
//
//
exports.default = {

@@ -2191,7 +2208,5 @@ name: 'van-image-preview',

methods: {
handlePreviewClick: function handlePreviewClick() {
this.value = false;
},
handleLoad: function handleLoad(event) {
var containerSize = this.$refs.previewContainer.getBoundingClientRect();
var container = this.$refs.previewContainer;
var containerSize = container.getBoundingClientRect();
var ratio = containerSize.width / containerSize.height;

@@ -2233,15 +2248,28 @@ var target = event.currentTarget;

}
},
mounted: function mounted() {
var _this2 = this;
var supportTouch = !_vue2.default.prototype.$isServer && 'ontouchstart' in window;
var container = this.$refs.previewContainer;
if (supportTouch) {
var touchStartTime = void 0;
container.addEventListener('touchstart', function () {
touchStartTime = new Date();
});
container.addEventListener('touchend', function () {
if (new Date() - touchStartTime < 1500) {
_this2.value = false;
}
});
} else {
container.addEventListener('click', function () {
_this2.value = false;
});
}
}
}; //
//
//
//
//
//
//
//
//
//
//
//
};

@@ -2396,6 +2424,3 @@ /***/ }),

ref: "previewContainer",
staticClass: "van-image-preview",
on: {
"click": _vm.handlePreviewClick
}
staticClass: "van-image-preview"
}, [_c('van-swipe', _vm._l((_vm.images), function(item) {

@@ -2402,0 +2427,0 @@ return _c('van-swipe-item', [_c('img', {

@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

}
})(this, function(__WEBPACK_EXTERNAL_MODULE_16__) {
})(this, function(__WEBPACK_EXTERNAL_MODULE_10__) {
return /******/ (function(modules) { // webpackBootstrap

@@ -136,6 +136,6 @@ /******/ // The module cache

/***/ 16:
/***/ 10:
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_16__;
module.exports = __WEBPACK_EXTERNAL_MODULE_10__;

@@ -706,3 +706,3 @@ /***/ }),

var _vue = __webpack_require__(16);
var _vue = __webpack_require__(10);

@@ -731,3 +731,3 @@ var _vue2 = _interopRequireDefault(_vue);

var _vue = __webpack_require__(16);
var _vue = __webpack_require__(10);

@@ -734,0 +734,0 @@ var _vue2 = _interopRequireDefault(_vue);

@@ -146,3 +146,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__(11)(function(){
module.exports = !__webpack_require__(12)(function(){
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;

@@ -213,3 +213,4 @@ });

/* 9 */,
/* 10 */
/* 10 */,
/* 11 */
/***/ (function(module, exports) {

@@ -224,3 +225,3 @@

/***/ }),
/* 11 */
/* 12 */
/***/ (function(module, exports) {

@@ -237,3 +238,3 @@

/***/ }),
/* 12 */
/* 13 */
/***/ (function(module, exports) {

@@ -247,3 +248,3 @@

/***/ }),
/* 13 */
/* 14 */
/***/ (function(module, exports, __webpack_require__) {

@@ -258,3 +259,3 @@

/***/ }),
/* 14 */
/* 15 */
/***/ (function(module, exports) {

@@ -270,3 +271,3 @@

/***/ }),
/* 15 */
/* 16 */
/***/ (function(module, exports, __webpack_require__) {

@@ -276,3 +277,3 @@

var IObject = __webpack_require__(31)
, defined = __webpack_require__(10);
, defined = __webpack_require__(11);
module.exports = function(it){

@@ -283,3 +284,2 @@ return IObject(defined(it));

/***/ }),
/* 16 */,
/* 17 */

@@ -492,3 +492,3 @@ /***/ (function(module, exports, __webpack_require__) {

// 7.1.15 ToLength
var toInteger = __webpack_require__(14)
var toInteger = __webpack_require__(15)
, min = Math.min;

@@ -598,3 +598,3 @@ module.exports = function(it){

// true -> Array#includes
var toIObject = __webpack_require__(15)
var toIObject = __webpack_require__(16)
, toLength = __webpack_require__(39)

@@ -623,3 +623,3 @@ , toIndex = __webpack_require__(50);

module.exports = !__webpack_require__(2) && !__webpack_require__(11)(function(){
module.exports = !__webpack_require__(2) && !__webpack_require__(12)(function(){
return Object.defineProperty(__webpack_require__(17)('div'), 'a', {get: function(){ return 7; }}).a != 7;

@@ -636,3 +636,3 @@ });

, enumBugKeys = __webpack_require__(20)
, IE_PROTO = __webpack_require__(13)('IE_PROTO')
, IE_PROTO = __webpack_require__(14)('IE_PROTO')
, Empty = function(){ /* empty */ }

@@ -698,6 +698,6 @@ , PROTOTYPE = 'prototype';

var has = __webpack_require__(12)
, toIObject = __webpack_require__(15)
var has = __webpack_require__(13)
, toIObject = __webpack_require__(16)
, arrayIndexOf = __webpack_require__(45)(false)
, IE_PROTO = __webpack_require__(13)('IE_PROTO');
, IE_PROTO = __webpack_require__(14)('IE_PROTO');

@@ -721,3 +721,3 @@ module.exports = function(object, names){

var toInteger = __webpack_require__(14)
var toInteger = __webpack_require__(15)
, max = Math.max

@@ -735,3 +735,3 @@ , min = Math.min;

// 7.1.13 ToObject(argument)
var defined = __webpack_require__(10);
var defined = __webpack_require__(11);
module.exports = function(it){

@@ -1419,3 +1419,3 @@ return Object(defined(it));

// should work with symbols and should have deterministic property order (V8 bug)
module.exports = !$assign || __webpack_require__(11)(function(){
module.exports = !$assign || __webpack_require__(12)(function(){
var A = {}

@@ -1422,0 +1422,0 @@ , B = {}

@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

}
})(this, function(__WEBPACK_EXTERNAL_MODULE_16__) {
})(this, function(__WEBPACK_EXTERNAL_MODULE_10__) {
return /******/ (function(modules) { // webpackBootstrap

@@ -136,2 +136,9 @@ /******/ // The module cache

/***/ 10:
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_10__;
/***/ }),
/***/ 104:

@@ -147,3 +154,3 @@ /***/ (function(module, exports, __webpack_require__) {

var _vue = __webpack_require__(16);
var _vue = __webpack_require__(10);

@@ -334,9 +341,2 @@ var _vue2 = _interopRequireDefault(_vue);

/***/ 16:
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_16__;
/***/ }),
/***/ 188:

@@ -343,0 +343,0 @@ /***/ (function(module, exports, __webpack_require__) {

@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

}
})(this, function(__WEBPACK_EXTERNAL_MODULE_16__) {
})(this, function(__WEBPACK_EXTERNAL_MODULE_10__) {
return /******/ (function(modules) { // webpackBootstrap

@@ -82,2 +82,9 @@ /******/ // The module cache

/***/ 10:
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_10__;
/***/ }),
/***/ 105:

@@ -97,3 +104,3 @@ /***/ (function(module, exports, __webpack_require__) {

var _vue = __webpack_require__(16);
var _vue = __webpack_require__(10);

@@ -118,9 +125,2 @@ var _vue2 = _interopRequireDefault(_vue);

/***/ 16:
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_16__;
/***/ }),
/***/ 190:

@@ -127,0 +127,0 @@ /***/ (function(module, exports, __webpack_require__) {

{
"name": "vant",
"version": "0.5.7",
"version": "0.5.8",
"description": "有赞vue wap组件库",

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

{
"name": "vant-css",
"version": "0.5.7",
"version": "0.5.8",
"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.7',
version: '0.5.8',
Button,

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

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 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 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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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