@bearei/ali-serverless
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -24,6 +24,6 @@ /******/ (function() { // webpackBootstrap | ||
path = _ref.path; | ||
var _a, _b, _c; | ||
var _a, _b, _c, _d; | ||
var status = (_a = error.status) !== null && _a !== void 0 ? _a : 500; | ||
var statusText = (_b = error.statusText) !== null && _b !== void 0 ? _b : ''; | ||
var code = error.code || typeof error.code === 'number' ? error.code : status; | ||
var code = ((_c = error.code) !== null && _c !== void 0 ? _c : typeof error.code === 'number') ? error.code : status; | ||
var err = error.status ? error : { | ||
@@ -37,3 +37,3 @@ error: error | ||
}]; | ||
var message = (_c = error.message) !== null && _c !== void 0 ? _c : "".concat(serviceName, ".").concat(functionName, ".").concat(path, " invoke failed"); | ||
var message = (_d = error.message) !== null && _d !== void 0 ? _d : "".concat(serviceName, ".").concat(functionName, ".").concat(path, " invoke failed"); | ||
var chains = err.chains && Array.isArray(err.chains) ? [].concat(currentChains, _toConsumableArray(err.chains)) : currentChains; | ||
@@ -40,0 +40,0 @@ return Object.assign(new Error(), Object.assign(Object.assign({}, err), { |
@@ -38,6 +38,6 @@ /******/ // The require scope | ||
path = _ref.path; | ||
var _a, _b, _c; | ||
var _a, _b, _c, _d; | ||
var status = (_a = error.status) !== null && _a !== void 0 ? _a : 500; | ||
var statusText = (_b = error.statusText) !== null && _b !== void 0 ? _b : ''; | ||
var code = error.code || typeof error.code === 'number' ? error.code : status; | ||
var code = ((_c = error.code) !== null && _c !== void 0 ? _c : typeof error.code === 'number') ? error.code : status; | ||
var err = error.status ? error : { | ||
@@ -51,3 +51,3 @@ error: error | ||
}]; | ||
var message = (_c = error.message) !== null && _c !== void 0 ? _c : "".concat(serviceName, ".").concat(functionName, ".").concat(path, " invoke failed"); | ||
var message = (_d = error.message) !== null && _d !== void 0 ? _d : "".concat(serviceName, ".").concat(functionName, ".").concat(path, " invoke failed"); | ||
var chains = err.chains && Array.isArray(err.chains) ? [].concat(currentChains, _toConsumableArray(err.chains)) : currentChains; | ||
@@ -54,0 +54,0 @@ return Object.assign(new Error(), Object.assign(Object.assign({}, err), { |
@@ -270,3 +270,3 @@ /******/ var __webpack_modules__ = ({ | ||
args = __rest(_a, ["status", "statusText"]); | ||
var code = status || typeof status === 'number' ? status : ''; | ||
var code = (status !== null && status !== void 0 ? status : typeof status === 'number') ? status : ''; | ||
var statusCode = "".concat(code, " ").concat(statusText).trim(); | ||
@@ -322,9 +322,9 @@ var reason = statusCode ? "status code ".concat(statusCode) : 'an unknown error'; | ||
/***/ 466: | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_21566__) { | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_21606__) { | ||
/* harmony export */ __nested_webpack_require_21566__.d(__nested_webpack_exports__, { | ||
/* harmony export */ __nested_webpack_require_21606__.d(__nested_webpack_exports__, { | ||
/* harmony export */ o: function() { return /* binding */ HEADERS; } | ||
/* harmony export */ }); | ||
/* harmony import */ var _optionsStore__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_21566__(181); | ||
/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_21566__(864); | ||
/* harmony import */ var _optionsStore__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_21606__(181); | ||
/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_21606__(864); | ||
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } | ||
@@ -394,5 +394,5 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
/***/ 181: | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_27238__) { | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_27278__) { | ||
/* harmony export */ __nested_webpack_require_27238__.d(__nested_webpack_exports__, { | ||
/* harmony export */ __nested_webpack_require_27278__.d(__nested_webpack_exports__, { | ||
/* harmony export */ D: function() { return /* binding */ OPTIONS_STORE; } | ||
@@ -422,10 +422,10 @@ /* harmony export */ }); | ||
/***/ 402: | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_27909__) { | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_27949__) { | ||
/* harmony export */ __nested_webpack_require_27909__.d(__nested_webpack_exports__, { | ||
/* harmony export */ __nested_webpack_require_27949__.d(__nested_webpack_exports__, { | ||
/* harmony export */ V: function() { return /* binding */ Content; }, | ||
/* harmony export */ Y: function() { return /* binding */ RESPONSE; } | ||
/* harmony export */ }); | ||
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_27909__(585); | ||
/* harmony import */ var _headers__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_27909__(466); | ||
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_27949__(585); | ||
/* harmony import */ var _headers__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_27949__(466); | ||
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } | ||
@@ -571,8 +571,8 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
/***/ 349: | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_48447__) { | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_48487__) { | ||
/* harmony export */ __nested_webpack_require_48447__.d(__nested_webpack_exports__, { | ||
/* harmony export */ __nested_webpack_require_48487__.d(__nested_webpack_exports__, { | ||
/* harmony export */ i: function() { return /* binding */ CREATED_URL; } | ||
/* harmony export */ }); | ||
/* harmony import */ var _optionsStore__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_48447__(181); | ||
/* harmony import */ var _optionsStore__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_48487__(181); | ||
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } | ||
@@ -641,5 +641,5 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
/***/ 739: | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_53517__) { | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_53557__) { | ||
/* harmony export */ __nested_webpack_require_53517__.d(__nested_webpack_exports__, { | ||
/* harmony export */ __nested_webpack_require_53557__.d(__nested_webpack_exports__, { | ||
/* harmony export */ C: function() { return /* binding */ omit; } | ||
@@ -658,8 +658,8 @@ /* harmony export */ }); | ||
/***/ 864: | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_53966__) { | ||
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_54006__) { | ||
/* harmony export */ __nested_webpack_require_53966__.d(__nested_webpack_exports__, { | ||
/* harmony export */ __nested_webpack_require_54006__.d(__nested_webpack_exports__, { | ||
/* harmony export */ l: function() { return /* binding */ UTIL; } | ||
/* harmony export */ }); | ||
/* harmony import */ var _omit_utils__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_53966__(739); | ||
/* harmony import */ var _omit_utils__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_54006__(739); | ||
@@ -678,3 +678,3 @@ var UTIL = { | ||
/******/ // The require function | ||
/******/ function __nested_webpack_require_54547__(moduleId) { | ||
/******/ function __nested_webpack_require_54587__(moduleId) { | ||
/******/ // Check if module is in cache | ||
@@ -693,3 +693,3 @@ /******/ var cachedModule = __webpack_module_cache__[moduleId]; | ||
/******/ // Execute the module function | ||
/******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_54547__); | ||
/******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_54587__); | ||
/******/ | ||
@@ -704,5 +704,5 @@ /******/ // Return the exports of the module | ||
/******/ // define getter functions for harmony exports | ||
/******/ __nested_webpack_require_54547__.d = function(exports, definition) { | ||
/******/ __nested_webpack_require_54587__.d = function(exports, definition) { | ||
/******/ for(var key in definition) { | ||
/******/ if(__nested_webpack_require_54547__.o(definition, key) && !__nested_webpack_require_54547__.o(exports, key)) { | ||
/******/ if(__nested_webpack_require_54587__.o(definition, key) && !__nested_webpack_require_54587__.o(exports, key)) { | ||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | ||
@@ -716,3 +716,3 @@ /******/ } | ||
/******/ !function() { | ||
/******/ __nested_webpack_require_54547__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } | ||
/******/ __nested_webpack_require_54587__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } | ||
/******/ }(); | ||
@@ -724,3 +724,3 @@ /******/ | ||
!function() { | ||
/* harmony export */ __nested_webpack_require_54547__.d(__nested_webpack_exports__, { | ||
/* harmony export */ __nested_webpack_require_54587__.d(__nested_webpack_exports__, { | ||
/* harmony export */ D_: function() { return /* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.D; }, | ||
@@ -736,9 +736,9 @@ /* harmony export */ Dz: function() { return /* reexport safe */ _optionsStore__WEBPACK_IMPORTED_MODULE_4__.D; }, | ||
/* harmony export */ }); | ||
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_54547__(57); | ||
/* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_54547__(887); | ||
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_54547__(585); | ||
/* harmony import */ var _headers__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_54547__(466); | ||
/* harmony import */ var _optionsStore__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_54547__(181); | ||
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_54547__(402); | ||
/* harmony import */ var _url__WEBPACK_IMPORTED_MODULE_6__ = __nested_webpack_require_54547__(349); | ||
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_54587__(57); | ||
/* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_54587__(887); | ||
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_54587__(585); | ||
/* harmony import */ var _headers__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_54587__(466); | ||
/* harmony import */ var _optionsStore__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_54587__(181); | ||
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_54587__(402); | ||
/* harmony import */ var _url__WEBPACK_IMPORTED_MODULE_6__ = __nested_webpack_require_54587__(349); | ||
@@ -745,0 +745,0 @@ |
{ | ||
"name": "@bearei/ali-serverless", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"main": "./lib/commonjs/index", | ||
@@ -25,3 +25,3 @@ "module": "./lib/module/index", | ||
"dependencies": { | ||
"@bearei/ei": "^1.2.7" | ||
"@bearei/ei": "^1.2.8" | ||
}, | ||
@@ -39,3 +39,3 @@ "devDependencies": { | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.27.0", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -42,0 +42,0 @@ "eslint-plugin-node": "^11.1.0", |
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 too big to display
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 too big to display
Sorry, the diff of this file is too big to display
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
579238
Updated@bearei/ei@^1.2.8