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

captain-pay-order

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

captain-pay-order - npm Package Compare versions

Comparing version 0.6.11 to 0.6.12

233

dist/index.js

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

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 671);
/******/ return __webpack_require__(__webpack_require__.s = 678);
/******/ })

@@ -203,32 +203,6 @@ /************************************************************************/

// optional / simple context binding
var aFunction = __webpack_require__(20);
module.exports = function(fn, that, length){
aFunction(fn);
if(that === undefined)return fn;
switch(length){
case 1: return function(a){
return fn.call(that, a);
};
case 2: return function(a, b){
return fn.call(that, a, b);
};
case 3: return function(a, b, c){
return fn.call(that, a, b, c);
};
}
return function(/* ...args */){
return fn.apply(that, arguments);
};
};
/***/ }),
/***/ 14:
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__(0)
, core = __webpack_require__(3)
, ctx = __webpack_require__(13)
, hide = __webpack_require__(7)
, ctx = __webpack_require__(14)
, hide = __webpack_require__(8)
, PROTOTYPE = 'prototype';

@@ -294,6 +268,32 @@

/***/ 14:
/***/ (function(module, exports, __webpack_require__) {
// optional / simple context binding
var aFunction = __webpack_require__(20);
module.exports = function(fn, that, length){
aFunction(fn);
if(that === undefined)return fn;
switch(length){
case 1: return function(a){
return fn.call(that, a);
};
case 2: return function(a, b){
return fn.call(that, a, b);
};
case 3: return function(a, b, c){
return fn.call(that, a, b, c);
};
}
return function(/* ...args */){
return fn.apply(that, arguments);
};
};
/***/ }),
/***/ 19:
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(6)
var isObject = __webpack_require__(7)
, document = __webpack_require__(0).document

@@ -336,3 +336,3 @@ // in old IE typeof document.createElement is 'object'

// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__(6);
var isObject = __webpack_require__(7);
// instead of the ES6 spec version, we didn't implement @@toPrimitive case

@@ -378,16 +378,5 @@ // and the second argument - flag - preferred type is a string

/***/ 5:
/***/ 44:
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(6);
module.exports = function(it){
if(!isObject(it))throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ 53:
/***/ (function(module, exports, __webpack_require__) {
"use strict";

@@ -398,3 +387,3 @@

var _defineProperty = __webpack_require__(67);
var _defineProperty = __webpack_require__(56);

@@ -422,7 +411,20 @@ var _defineProperty2 = _interopRequireDefault(_defineProperty);

/***/ 6:
/***/ (function(module, exports) {
/***/ 5:
/***/ (function(module, exports, __webpack_require__) {
module.exports = function(it){
return typeof it === 'object' ? it !== null : typeof it === 'function';
var anObject = __webpack_require__(6)
, IE8_DOM_DEFINE = __webpack_require__(32)
, toPrimitive = __webpack_require__(29)
, dP = Object.defineProperty;
exports.f = __webpack_require__(4) ? Object.defineProperty : function defineProperty(O, P, Attributes){
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if(IE8_DOM_DEFINE)try {
return dP(O, P, Attributes);
} catch(e){ /* empty */ }
if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
if('value' in Attributes)O[P] = Attributes.value;
return O;
};

@@ -432,12 +434,43 @@

/***/ 67:
/***/ 56:
/***/ (function(module, exports, __webpack_require__) {
module.exports = { "default": __webpack_require__(68), __esModule: true };
module.exports = { "default": __webpack_require__(57), __esModule: true };
/***/ }),
/***/ 671:
/***/ 57:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(58);
var $Object = __webpack_require__(3).Object;
module.exports = function defineProperty(it, key, desc){
return $Object.defineProperty(it, key, desc);
};
/***/ }),
/***/ 58:
/***/ (function(module, exports, __webpack_require__) {
var $export = __webpack_require__(13);
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
$export($export.S + $export.F * !__webpack_require__(4), 'Object', {defineProperty: __webpack_require__(5).f});
/***/ }),
/***/ 6:
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(7);
module.exports = function(it){
if(!isObject(it))throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ 678:
/***/ (function(module, exports, __webpack_require__) {
"use strict";

@@ -450,3 +483,3 @@

var _main = __webpack_require__(672);
var _main = __webpack_require__(679);

@@ -459,5 +492,8 @@ var _main2 = _interopRequireDefault(_main);

console.warn('[Captain] PayOrder has been migrated to Vant, please use "import { SubmitBar } from \'vant\';" instead.\nSee more info at https://www.youzanyun.com/zanui/vue/component/submit-bar');
/***/ }),
/***/ 672:
/***/ 679:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -467,7 +503,7 @@

Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_main_vue__ = __webpack_require__(674);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_main_vue__ = __webpack_require__(681);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_main_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_main_vue__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7ce72cb0_hasScoped_false_preserveWhitespace_false_node_modules_vue_loader_lib_selector_type_template_index_0_main_vue__ = __webpack_require__(675);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7ce72cb0_hasScoped_false_preserveWhitespace_false_node_modules_vue_loader_lib_selector_type_template_index_0_main_vue__ = __webpack_require__(682);
function injectStyle (ssrContext) {
__webpack_require__(673)
__webpack_require__(680)
}

@@ -498,3 +534,3 @@ var normalizeComponent = __webpack_require__(1)

/***/ 673:
/***/ 680:
/***/ (function(module, exports) {

@@ -506,3 +542,3 @@

/***/ 674:
/***/ 681:
/***/ (function(module, exports, __webpack_require__) {

@@ -517,3 +553,3 @@

var _defineProperty2 = __webpack_require__(53);
var _defineProperty2 = __webpack_require__(44);

@@ -526,19 +562,2 @@ var _defineProperty3 = _interopRequireDefault(_defineProperty2);

//
//
//
//
//
//
//
//
//
//
//
//
//
//
console.warn('[Captain] PayOrder has been migrated to Vant, please use "import { PayOrder } from \'vant\';" instead.');
exports.default = {

@@ -585,7 +604,20 @@ name: 'cap-pay-order',

}
};
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
/***/ }),
/***/ 675:
/***/ 682:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -632,9 +664,7 @@

/***/ 68:
/***/ (function(module, exports, __webpack_require__) {
/***/ 7:
/***/ (function(module, exports) {
__webpack_require__(69);
var $Object = __webpack_require__(3).Object;
module.exports = function defineProperty(it, key, desc){
return $Object.defineProperty(it, key, desc);
module.exports = function(it){
return typeof it === 'object' ? it !== null : typeof it === 'function';
};

@@ -644,15 +674,6 @@

/***/ 69:
/***/ 8:
/***/ (function(module, exports, __webpack_require__) {
var $export = __webpack_require__(14);
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
$export($export.S + $export.F * !__webpack_require__(4), 'Object', {defineProperty: __webpack_require__(8).f});
/***/ }),
/***/ 7:
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__(8)
var dP = __webpack_require__(5)
, createDesc = __webpack_require__(21);

@@ -668,24 +689,2 @@ module.exports = __webpack_require__(4) ? function(object, key, value){

/***/ 8:
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__(5)
, IE8_DOM_DEFINE = __webpack_require__(32)
, toPrimitive = __webpack_require__(29)
, dP = Object.defineProperty;
exports.f = __webpack_require__(4) ? Object.defineProperty : function defineProperty(O, P, Attributes){
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if(IE8_DOM_DEFINE)try {
return dP(O, P, Attributes);
} catch(e){ /* empty */ }
if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
if('value' in Attributes)O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ 9:

@@ -692,0 +691,0 @@ /***/ (function(module, exports) {

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

root["pay-order"] = factory(root["vant/lib/button/style"], root["vant/lib/button"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_56__, __WEBPACK_EXTERNAL_MODULE_57__) {
})(this, function(__WEBPACK_EXTERNAL_MODULE_59__, __WEBPACK_EXTERNAL_MODULE_60__) {
return /******/ (function(modules) { // webpackBootstrap

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

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 553);
/******/ return __webpack_require__(__webpack_require__.s = 554);
/******/ })

@@ -191,32 +191,6 @@ /************************************************************************/

// optional / simple context binding
var aFunction = __webpack_require__(19);
module.exports = function(fn, that, length){
aFunction(fn);
if(that === undefined)return fn;
switch(length){
case 1: return function(a){
return fn.call(that, a);
};
case 2: return function(a, b){
return fn.call(that, a, b);
};
case 3: return function(a, b, c){
return fn.call(that, a, b, c);
};
}
return function(/* ...args */){
return fn.apply(that, arguments);
};
};
/***/ }),
/***/ 13:
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__(0)
, core = __webpack_require__(3)
, ctx = __webpack_require__(12)
, hide = __webpack_require__(7)
, ctx = __webpack_require__(13)
, hide = __webpack_require__(8)
, PROTOTYPE = 'prototype';

@@ -282,6 +256,32 @@

/***/ 13:
/***/ (function(module, exports, __webpack_require__) {
// optional / simple context binding
var aFunction = __webpack_require__(19);
module.exports = function(fn, that, length){
aFunction(fn);
if(that === undefined)return fn;
switch(length){
case 1: return function(a){
return fn.call(that, a);
};
case 2: return function(a, b){
return fn.call(that, a, b);
};
case 3: return function(a, b, c){
return fn.call(that, a, b, c);
};
}
return function(/* ...args */){
return fn.apply(that, arguments);
};
};
/***/ }),
/***/ 18:
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(6)
var isObject = __webpack_require__(7)
, document = __webpack_require__(0).document

@@ -324,3 +324,3 @@ // in old IE typeof document.createElement is 'object'

// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__(6);
var isObject = __webpack_require__(7);
// instead of the ES6 spec version, we didn't implement @@toPrimitive case

@@ -356,26 +356,5 @@ // and the second argument - flag - preferred type is a string

/***/ 4:
/***/ 38:
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__(9)(function(){
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
});
/***/ }),
/***/ 5:
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(6);
module.exports = function(it){
if(!isObject(it))throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ 53:
/***/ (function(module, exports, __webpack_require__) {
"use strict";

@@ -386,3 +365,3 @@

var _defineProperty = __webpack_require__(63);
var _defineProperty = __webpack_require__(54);

@@ -410,5 +389,55 @@ var _defineProperty2 = _interopRequireDefault(_defineProperty);

/***/ 553:
/***/ 4:
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__(9)(function(){
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
});
/***/ }),
/***/ 5:
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__(6)
, IE8_DOM_DEFINE = __webpack_require__(27)
, toPrimitive = __webpack_require__(24)
, dP = Object.defineProperty;
exports.f = __webpack_require__(4) ? Object.defineProperty : function defineProperty(O, P, Attributes){
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if(IE8_DOM_DEFINE)try {
return dP(O, P, Attributes);
} catch(e){ /* empty */ }
if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
if('value' in Attributes)O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ 54:
/***/ (function(module, exports, __webpack_require__) {
module.exports = { "default": __webpack_require__(55), __esModule: true };
/***/ }),
/***/ 55:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(56);
var $Object = __webpack_require__(3).Object;
module.exports = function defineProperty(it, key, desc){
return $Object.defineProperty(it, key, desc);
};
/***/ }),
/***/ 554:
/***/ (function(module, exports, __webpack_require__) {
"use strict";

@@ -421,3 +450,3 @@

var _main = __webpack_require__(554);
var _main = __webpack_require__(555);

@@ -430,5 +459,8 @@ var _main2 = _interopRequireDefault(_main);

console.warn('[Captain] PayOrder has been migrated to Vant, please use "import { SubmitBar } from \'vant\';" instead.\nSee more info at https://www.youzanyun.com/zanui/vue/component/submit-bar');
/***/ }),
/***/ 554:
/***/ 555:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -438,7 +470,7 @@

Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_main_vue__ = __webpack_require__(556);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_main_vue__ = __webpack_require__(557);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_main_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_main_vue__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7ce72cb0_hasScoped_false_preserveWhitespace_false_node_modules_vue_loader_lib_selector_type_template_index_0_main_vue__ = __webpack_require__(557);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7ce72cb0_hasScoped_false_preserveWhitespace_false_node_modules_vue_loader_lib_selector_type_template_index_0_main_vue__ = __webpack_require__(558);
function injectStyle (ssrContext) {
__webpack_require__(555)
__webpack_require__(556)
}

@@ -469,3 +501,3 @@ var normalizeComponent = __webpack_require__(1)

/***/ 555:
/***/ 556:
/***/ (function(module, exports) {

@@ -477,3 +509,3 @@

/***/ 556:
/***/ 557:
/***/ (function(module, exports, __webpack_require__) {

@@ -488,9 +520,9 @@

var _defineProperty2 = __webpack_require__(53);
var _defineProperty2 = __webpack_require__(38);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
var _style2 = __webpack_require__(56);
var _style2 = __webpack_require__(59);
var _button = __webpack_require__(57);
var _button = __webpack_require__(60);

@@ -501,19 +533,2 @@ var _button2 = _interopRequireDefault(_button);

//
//
//
//
//
//
//
//
//
//
//
//
//
//
console.warn('[Captain] PayOrder has been migrated to Vant, please use "import { PayOrder } from \'vant\';" instead.');
exports.default = {

@@ -560,7 +575,20 @@ name: 'cap-pay-order',

}
};
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
/***/ }),
/***/ 557:
/***/ 558:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -608,12 +636,14 @@

/***/ 56:
/***/ (function(module, exports) {
/***/ (function(module, exports, __webpack_require__) {
module.exports = require("vant/lib/button/style");
var $export = __webpack_require__(12);
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
$export($export.S + $export.F * !__webpack_require__(4), 'Object', {defineProperty: __webpack_require__(5).f});
/***/ }),
/***/ 57:
/***/ 59:
/***/ (function(module, exports) {
module.exports = require("vant/lib/button");
module.exports = require("vant/lib/button/style");

@@ -623,6 +653,8 @@ /***/ }),

/***/ 6:
/***/ (function(module, exports) {
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(7);
module.exports = function(it){
return typeof it === 'object' ? it !== null : typeof it === 'function';
if(!isObject(it))throw TypeError(it + ' is not an object!');
return it;
};

@@ -632,16 +664,14 @@

/***/ 63:
/***/ (function(module, exports, __webpack_require__) {
/***/ 60:
/***/ (function(module, exports) {
module.exports = { "default": __webpack_require__(64), __esModule: true };
module.exports = require("vant/lib/button");
/***/ }),
/***/ 64:
/***/ (function(module, exports, __webpack_require__) {
/***/ 7:
/***/ (function(module, exports) {
__webpack_require__(65);
var $Object = __webpack_require__(3).Object;
module.exports = function defineProperty(it, key, desc){
return $Object.defineProperty(it, key, desc);
module.exports = function(it){
return typeof it === 'object' ? it !== null : typeof it === 'function';
};

@@ -651,15 +681,6 @@

/***/ 65:
/***/ 8:
/***/ (function(module, exports, __webpack_require__) {
var $export = __webpack_require__(13);
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
$export($export.S + $export.F * !__webpack_require__(4), 'Object', {defineProperty: __webpack_require__(8).f});
/***/ }),
/***/ 7:
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__(8)
var dP = __webpack_require__(5)
, createDesc = __webpack_require__(20);

@@ -675,24 +696,2 @@ module.exports = __webpack_require__(4) ? function(object, key, value){

/***/ 8:
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__(5)
, IE8_DOM_DEFINE = __webpack_require__(27)
, toPrimitive = __webpack_require__(24)
, dP = Object.defineProperty;
exports.f = __webpack_require__(4) ? Object.defineProperty : function defineProperty(O, P, Attributes){
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if(IE8_DOM_DEFINE)try {
return dP(O, P, Attributes);
} catch(e){ /* empty */ }
if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
if('value' in Attributes)O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ 9:

@@ -699,0 +698,0 @@ /***/ (function(module, exports) {

{
"name": "captain-pay-order",
"version": "0.6.11",
"version": "0.6.12",
"description": "支付订单",

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

"lodash": "^4.17.4",
"vant": ">=0.8.4",
"vant-css": ">=0.8.4",
"vant": ">=0.9.0",
"vant-css": ">=0.9.0",
"vue": "2.4.2",

@@ -26,0 +26,0 @@ "zan-ajax": "^1.1.1",

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