Socket
Socket
Sign inDemoInstall

vant

Package Overview
Dependencies
Maintainers
2
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 0.4.1 to 0.4.2

9

lib/checkbox.js

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

if (val) {
/* istanbul ignore else */
if (parentValue.indexOf(this.name) === -1) {

@@ -208,2 +209,3 @@ parentValue.push(this.name);

var index = parentValue.indexOf(this.name);
/* istanbul ignore else */
if (index !== -1) {

@@ -224,4 +226,7 @@ parentValue.splice(index, 1);

isChecked: function isChecked() {
if ({}.toString.call(this.currentValue) === '[object Boolean]') {
return this.currentValue;
var currentValue = this.currentValue;
if ({}.toString.call(currentValue) === '[object Boolean]') {
return currentValue;
} else if (currentValue !== null && currentValue !== undefined) {
return currentValue === this.name;
}

@@ -228,0 +233,0 @@ },

(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("vue"));
module.exports = factory(require("Vue"));
else if(typeof define === 'function' && define.amd)
define(["vue"], factory);
define(["Vue"], factory);
else {
var a = typeof exports === 'object' ? factory(require("vue")) : factory(root["vue"]);
var a = typeof exports === 'object' ? factory(require("Vue")) : factory(root["Vue"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];

@@ -1735,3 +1735,3 @@ }

"itemHeight": _vm.itemHeight,
"visible-item-count": _vm.visibleItemCount,
"visible-item-count": _vm.visibileColumnCount,
"value-key": _vm.valueKey

@@ -1738,0 +1738,0 @@ },

(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("vue"));
module.exports = factory(require("Vue"));
else if(typeof define === 'function' && define.amd)
define(["vue"], factory);
define(["Vue"], factory);
else {
var a = typeof exports === 'object' ? factory(require("vue")) : factory(root["vue"]);
var a = typeof exports === 'object' ? factory(require("Vue")) : factory(root["Vue"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];

@@ -9,0 +9,0 @@ }

(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("vue"));
module.exports = factory(require("Vue"));
else if(typeof define === 'function' && define.amd)
define(["vue"], factory);
define(["Vue"], factory);
else {
var a = typeof exports === 'object' ? factory(require("vue")) : factory(root["vue"]);
var a = typeof exports === 'object' ? factory(require("Vue")) : factory(root["Vue"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];

@@ -888,3 +888,3 @@ }

"itemHeight": _vm.itemHeight,
"visible-item-count": _vm.visibleItemCount,
"visible-item-count": _vm.visibileColumnCount,
"value-key": _vm.valueKey

@@ -891,0 +891,0 @@ },

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

return _c('div', {
staticClass: "van-quantity"
staticClass: "van-quantity",
class: {
'van-quantity--disabled': _vm.disabled
}
}, [_c('button', {

@@ -309,0 +312,0 @@ staticClass: "van-quantity__stepper van-quantity__minus",

(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("vue"));
module.exports = factory(require("Vue"));
else if(typeof define === 'function' && define.amd)
define(["vue"], factory);
define(["Vue"], factory);
else {
var a = typeof exports === 'object' ? factory(require("vue")) : factory(root["vue"]);
var a = typeof exports === 'object' ? factory(require("Vue")) : factory(root["Vue"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];

@@ -9,0 +9,0 @@ }

(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("vue"));
module.exports = factory(require("Vue"));
else if(typeof define === 'function' && define.amd)
define(["vue"], factory);
define(["Vue"], factory);
else {
var a = typeof exports === 'object' ? factory(require("vue")) : factory(root["vue"]);
var a = typeof exports === 'object' ? factory(require("Vue")) : factory(root["Vue"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];

@@ -9,0 +9,0 @@ }

{
"name": "vant",
"version": "0.4.1",
"version": "0.4.2",
"description": "有赞vue wap组件库",

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

{
"name": "vant-css",
"version": "0.4.1",
"version": "0.4.2",
"description": "vant css.",

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

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

install,
version: '0.4.1',
version: '0.4.2',
Button,

@@ -86,0 +86,0 @@ Switch,

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 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

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