captain-invalid-goods
Advanced tools
Comparing version 0.2.2 to 0.2.4
526
lib/index.js
@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
} | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_8__) { | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_6__) { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -77,3 +77,3 @@ /******/ // The module cache | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 481); | ||
/******/ return __webpack_require__(__webpack_require__.s = 511); | ||
/******/ }) | ||
@@ -110,20 +110,2 @@ /************************************************************************/ | ||
/***/ 104: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = { "default": __webpack_require__(105), __esModule: true }; | ||
/***/ }), | ||
/***/ 105: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
__webpack_require__(121); | ||
var $Object = __webpack_require__(1).Object; | ||
module.exports = function defineProperty(it, key, desc){ | ||
return $Object.defineProperty(it, key, desc); | ||
}; | ||
/***/ }), | ||
/***/ 11: | ||
@@ -151,11 +133,51 @@ /***/ (function(module, exports, __webpack_require__) { | ||
/***/ 121: | ||
/***/ 126: | ||
/***/ (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__(7).f}); | ||
"use strict"; | ||
exports.__esModule = true; | ||
var _defineProperty = __webpack_require__(127); | ||
var _defineProperty2 = _interopRequireDefault(_defineProperty); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = function (obj, key, value) { | ||
if (key in obj) { | ||
(0, _defineProperty2.default)(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
}; | ||
/***/ }), | ||
/***/ 127: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = { "default": __webpack_require__(128), __esModule: true }; | ||
/***/ }), | ||
/***/ 128: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
__webpack_require__(130); | ||
var $Object = __webpack_require__(1).Object; | ||
module.exports = function defineProperty(it, key, desc){ | ||
return $Object.defineProperty(it, key, desc); | ||
}; | ||
/***/ }), | ||
/***/ 13: | ||
@@ -228,23 +250,12 @@ /***/ (function(module, exports, __webpack_require__) { | ||
/***/ 137: | ||
/***/ (function(module, exports) { | ||
/***/ 130: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// removed by extract-text-webpack-plugin | ||
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__(5), 'Object', {defineProperty: __webpack_require__(8).f}); | ||
/***/ }), | ||
/***/ 14: | ||
/***/ (function(module, exports) { | ||
module.exports = function(exec){ | ||
try { | ||
return !!exec(); | ||
} catch(e){ | ||
return true; | ||
} | ||
}; | ||
/***/ }), | ||
/***/ 142: | ||
/***/ 131: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -254,3 +265,3 @@ | ||
if (true) { | ||
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(151)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), | ||
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(137)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), | ||
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? | ||
@@ -362,31 +373,5 @@ (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), | ||
/***/ 15: | ||
/***/ 137: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// optional / simple context binding | ||
var aFunction = __webpack_require__(22); | ||
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); | ||
}; | ||
}; | ||
/***/ }), | ||
/***/ 151: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { | ||
@@ -455,2 +440,48 @@ if (true) { | ||
/***/ 139: | ||
/***/ (function(module, exports) { | ||
// removed by extract-text-webpack-plugin | ||
/***/ }), | ||
/***/ 14: | ||
/***/ (function(module, exports) { | ||
module.exports = function(exec){ | ||
try { | ||
return !!exec(); | ||
} catch(e){ | ||
return true; | ||
} | ||
}; | ||
/***/ }), | ||
/***/ 15: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// optional / simple context binding | ||
var aFunction = __webpack_require__(22); | ||
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); | ||
}; | ||
}; | ||
/***/ }), | ||
/***/ 16: | ||
@@ -467,6 +498,6 @@ /***/ (function(module, exports) { | ||
/***/ 179: | ||
/***/ 178: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = { "default": __webpack_require__(181), __esModule: true }; | ||
module.exports = { "default": __webpack_require__(180), __esModule: true }; | ||
@@ -489,6 +520,6 @@ /***/ }), | ||
/***/ 181: | ||
/***/ 180: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
__webpack_require__(183); | ||
__webpack_require__(182); | ||
module.exports = __webpack_require__(1).Object.assign; | ||
@@ -498,3 +529,3 @@ | ||
/***/ 182: | ||
/***/ 181: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -539,3 +570,3 @@ | ||
/***/ 183: | ||
/***/ 182: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -546,3 +577,3 @@ | ||
$export($export.S + $export.F, 'Object', {assign: __webpack_require__(182)}); | ||
$export($export.S + $export.F, 'Object', {assign: __webpack_require__(181)}); | ||
@@ -605,3 +636,3 @@ /***/ }), | ||
var _assign = __webpack_require__(179); | ||
var _assign = __webpack_require__(178); | ||
@@ -722,13 +753,13 @@ var _assign2 = _interopRequireDefault(_assign); | ||
/***/ 382: | ||
/***/ 389: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
function injectStyle (ssrContext) { | ||
__webpack_require__(528) | ||
__webpack_require__(569) | ||
} | ||
var Component = __webpack_require__(5)( | ||
var Component = __webpack_require__(4)( | ||
/* script */ | ||
__webpack_require__(421), | ||
__webpack_require__(438), | ||
/* template */ | ||
__webpack_require__(642), | ||
__webpack_require__(692), | ||
/* styles */ | ||
@@ -750,3 +781,3 @@ injectStyle, | ||
module.exports = !__webpack_require__(4) && !__webpack_require__(14)(function(){ | ||
module.exports = !__webpack_require__(5) && !__webpack_require__(14)(function(){ | ||
return Object.defineProperty(__webpack_require__(23)('div'), 'a', {get: function(){ return 7; }}).a != 7; | ||
@@ -758,9 +789,97 @@ }); | ||
/***/ 4: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/***/ (function(module, exports) { | ||
// Thank's IE8 for his funny defineProperty | ||
module.exports = !__webpack_require__(14)(function(){ | ||
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; | ||
}); | ||
/* globals __VUE_SSR_CONTEXT__ */ | ||
// this module is a runtime utility for cleaner component module output and will | ||
// be included in the final webpack user bundle | ||
module.exports = function normalizeComponent ( | ||
rawScriptExports, | ||
compiledTemplate, | ||
injectStyles, | ||
scopeId, | ||
moduleIdentifier /* server only */ | ||
) { | ||
var esModule | ||
var scriptExports = rawScriptExports = rawScriptExports || {} | ||
// ES6 modules interop | ||
var type = typeof rawScriptExports.default | ||
if (type === 'object' || type === 'function') { | ||
esModule = rawScriptExports | ||
scriptExports = rawScriptExports.default | ||
} | ||
// Vue.extend constructor export interop | ||
var options = typeof scriptExports === 'function' | ||
? scriptExports.options | ||
: scriptExports | ||
// render functions | ||
if (compiledTemplate) { | ||
options.render = compiledTemplate.render | ||
options.staticRenderFns = compiledTemplate.staticRenderFns | ||
} | ||
// scopedId | ||
if (scopeId) { | ||
options._scopeId = scopeId | ||
} | ||
var hook | ||
if (moduleIdentifier) { // server build | ||
hook = function (context) { | ||
// 2.3 injection | ||
context = | ||
context || // cached call | ||
(this.$vnode && this.$vnode.ssrContext) || // stateful | ||
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional | ||
// 2.2 with runInNewContext: true | ||
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { | ||
context = __VUE_SSR_CONTEXT__ | ||
} | ||
// inject component styles | ||
if (injectStyles) { | ||
injectStyles.call(this, context) | ||
} | ||
// register component module identifier for async chunk inferrence | ||
if (context && context._registeredComponents) { | ||
context._registeredComponents.add(moduleIdentifier) | ||
} | ||
} | ||
// used by ssr in case component is cached and beforeCreate | ||
// never gets called | ||
options._ssrRegister = hook | ||
} else if (injectStyles) { | ||
hook = injectStyles | ||
} | ||
if (hook) { | ||
var functional = options.functional | ||
var existing = functional | ||
? options.render | ||
: options.beforeCreate | ||
if (!functional) { | ||
// inject component registration as beforeCreate hook | ||
options.beforeCreate = existing | ||
? [].concat(existing, hook) | ||
: [hook] | ||
} else { | ||
// register for functioal component in vue file | ||
options.render = function renderWithStyleInjection (h, context) { | ||
hook.call(context) | ||
return existing(h, context) | ||
} | ||
} | ||
} | ||
return { | ||
esModule: esModule, | ||
exports: scriptExports, | ||
options: options | ||
} | ||
} | ||
/***/ }), | ||
@@ -813,3 +932,3 @@ | ||
/***/ 421: | ||
/***/ 438: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -828,3 +947,3 @@ | ||
var _defineProperty2 = __webpack_require__(77); | ||
var _defineProperty2 = __webpack_require__(126); | ||
@@ -874,9 +993,9 @@ var _defineProperty3 = _interopRequireDefault(_defineProperty2); | ||
var _helper = __webpack_require__(142); | ||
var _helper = __webpack_require__(131); | ||
var _helper2 = _interopRequireDefault(_helper); | ||
var _vant = __webpack_require__(8); | ||
var _vant = __webpack_require__(6); | ||
__webpack_require__(137); | ||
__webpack_require__(139); | ||
@@ -950,120 +1069,12 @@ __webpack_require__(76); | ||
/***/ 481: | ||
/***/ 5: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
// Thank's IE8 for his funny defineProperty | ||
module.exports = !__webpack_require__(14)(function(){ | ||
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; | ||
}); | ||
var _main = __webpack_require__(382); | ||
var _main2 = _interopRequireDefault(_main); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = _main2.default; | ||
/***/ }), | ||
/***/ 5: | ||
/***/ (function(module, exports) { | ||
/* globals __VUE_SSR_CONTEXT__ */ | ||
// this module is a runtime utility for cleaner component module output and will | ||
// be included in the final webpack user bundle | ||
module.exports = function normalizeComponent ( | ||
rawScriptExports, | ||
compiledTemplate, | ||
injectStyles, | ||
scopeId, | ||
moduleIdentifier /* server only */ | ||
) { | ||
var esModule | ||
var scriptExports = rawScriptExports = rawScriptExports || {} | ||
// ES6 modules interop | ||
var type = typeof rawScriptExports.default | ||
if (type === 'object' || type === 'function') { | ||
esModule = rawScriptExports | ||
scriptExports = rawScriptExports.default | ||
} | ||
// Vue.extend constructor export interop | ||
var options = typeof scriptExports === 'function' | ||
? scriptExports.options | ||
: scriptExports | ||
// render functions | ||
if (compiledTemplate) { | ||
options.render = compiledTemplate.render | ||
options.staticRenderFns = compiledTemplate.staticRenderFns | ||
} | ||
// scopedId | ||
if (scopeId) { | ||
options._scopeId = scopeId | ||
} | ||
var hook | ||
if (moduleIdentifier) { // server build | ||
hook = function (context) { | ||
// 2.3 injection | ||
context = | ||
context || // cached call | ||
(this.$vnode && this.$vnode.ssrContext) || // stateful | ||
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional | ||
// 2.2 with runInNewContext: true | ||
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { | ||
context = __VUE_SSR_CONTEXT__ | ||
} | ||
// inject component styles | ||
if (injectStyles) { | ||
injectStyles.call(this, context) | ||
} | ||
// register component module identifier for async chunk inferrence | ||
if (context && context._registeredComponents) { | ||
context._registeredComponents.add(moduleIdentifier) | ||
} | ||
} | ||
// used by ssr in case component is cached and beforeCreate | ||
// never gets called | ||
options._ssrRegister = hook | ||
} else if (injectStyles) { | ||
hook = injectStyles | ||
} | ||
if (hook) { | ||
var functional = options.functional | ||
var existing = functional | ||
? options.render | ||
: options.beforeCreate | ||
if (!functional) { | ||
// inject component registration as beforeCreate hook | ||
options.beforeCreate = existing | ||
? [].concat(existing, hook) | ||
: [hook] | ||
} else { | ||
// register for functioal component in vue file | ||
options.render = function renderWithStyleInjection (h, context) { | ||
hook.call(context) | ||
return existing(h, context) | ||
} | ||
} | ||
} | ||
return { | ||
esModule: esModule, | ||
exports: scriptExports, | ||
options: options | ||
} | ||
} | ||
/***/ }), | ||
/***/ 51: | ||
@@ -1096,7 +1107,20 @@ /***/ (function(module, exports, __webpack_require__) { | ||
/***/ 528: | ||
/***/ (function(module, exports) { | ||
/***/ 511: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// removed by extract-text-webpack-plugin | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _main = __webpack_require__(389); | ||
var _main2 = _interopRequireDefault(_main); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = _main2.default; | ||
/***/ }), | ||
@@ -1117,14 +1141,17 @@ | ||
/***/ 569: | ||
/***/ (function(module, exports) { | ||
// removed by extract-text-webpack-plugin | ||
/***/ }), | ||
/***/ 6: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/***/ (function(module, exports) { | ||
var isObject = __webpack_require__(10); | ||
module.exports = function(it){ | ||
if(!isObject(it))throw TypeError(it + ' is not an object!'); | ||
return it; | ||
}; | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_6__; | ||
/***/ }), | ||
/***/ 642: | ||
/***/ 692: | ||
/***/ (function(module, exports) { | ||
@@ -1211,17 +1238,6 @@ | ||
var anObject = __webpack_require__(6) | ||
, IE8_DOM_DEFINE = __webpack_require__(39) | ||
, toPrimitive = __webpack_require__(34) | ||
, 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; | ||
var isObject = __webpack_require__(10); | ||
module.exports = function(it){ | ||
if(!isObject(it))throw TypeError(it + ' is not an object!'); | ||
return it; | ||
}; | ||
@@ -1245,29 +1261,20 @@ | ||
/***/ 77: | ||
/***/ 8: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
var anObject = __webpack_require__(7) | ||
, IE8_DOM_DEFINE = __webpack_require__(39) | ||
, toPrimitive = __webpack_require__(34) | ||
, dP = Object.defineProperty; | ||
exports.__esModule = true; | ||
var _defineProperty = __webpack_require__(104); | ||
var _defineProperty2 = _interopRequireDefault(_defineProperty); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = function (obj, key, value) { | ||
if (key in obj) { | ||
(0, _defineProperty2.default)(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
exports.f = __webpack_require__(5) ? 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; | ||
}; | ||
@@ -1277,15 +1284,8 @@ | ||
/***/ 8: | ||
/***/ (function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_8__; | ||
/***/ }), | ||
/***/ 9: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var dP = __webpack_require__(7) | ||
var dP = __webpack_require__(8) | ||
, createDesc = __webpack_require__(18); | ||
module.exports = __webpack_require__(4) ? function(object, key, value){ | ||
module.exports = __webpack_require__(5) ? function(object, key, value){ | ||
return dP.f(object, key, createDesc(1, value)); | ||
@@ -1292,0 +1292,0 @@ } : function(object, key, value){ |
{ | ||
"name": "captain-invalid-goods", | ||
"version": "0.2.2", | ||
"version": "0.2.4", | ||
"description": "不可用商品列表组件", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56986