node-execution-context
Advanced tools
Comparing version
@@ -94,3 +94,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 2); | ||
/******/ return __webpack_require__(__webpack_require__.s = 1); | ||
/******/ }) | ||
@@ -102,2 +102,29 @@ /************************************************************************/ | ||
/** | ||
* The production environment | ||
* @type {String} | ||
*/ | ||
var PRODUCTION = 'production'; | ||
var env = "production" || false; | ||
module.exports = { | ||
env: env, | ||
isProduction: function isProduction() { | ||
var environment = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : env; | ||
return environment === PRODUCTION; | ||
}, | ||
isUndefined: function isUndefined(thing) { | ||
return [null, undefined].includes(thing); | ||
} | ||
}; | ||
/***/ }), | ||
/* 1 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = __webpack_require__(2); | ||
/***/ }), | ||
/* 2 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
@@ -111,3 +138,3 @@ | ||
var _require = __webpack_require__(1), | ||
var _require = __webpack_require__(0), | ||
isProduction = _require.isProduction; | ||
@@ -205,34 +232,2 @@ | ||
/***/ }), | ||
/* 1 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/** | ||
* The production environment | ||
* @type {String} | ||
*/ | ||
var PRODUCTION = 'production'; | ||
var env = "production" || false; | ||
module.exports = { | ||
env: env, | ||
isProduction: function isProduction() { | ||
var environment = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : env; | ||
return environment === PRODUCTION; | ||
}, | ||
isUndefined: function isUndefined(thing) { | ||
return [null, undefined].includes(thing); | ||
} | ||
}; | ||
/***/ }), | ||
/* 2 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
__webpack_require__.r(__webpack_exports__); | ||
/* harmony import */ var _src__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | ||
/* harmony import */ var _src__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_src__WEBPACK_IMPORTED_MODULE_0__); | ||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _src__WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _src__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
/***/ }), | ||
/* 3 */ | ||
@@ -259,3 +254,3 @@ /***/ (function(module, exports) { | ||
var _require = __webpack_require__(1), | ||
var _require = __webpack_require__(0), | ||
isUndefined = _require.isUndefined; | ||
@@ -262,0 +257,0 @@ |
@@ -1,1 +0,1 @@ | ||
export * from './src'; | ||
module.exports = require('./src'); |
{ | ||
"name": "node-execution-context", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Provides execution context wrapper for node JS, can be used to create execution wrapper for handling requests and more", | ||
@@ -5,0 +5,0 @@ "author": "Oded Goldglas <odedglas@gmail.com>", |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
61327
1.36%27
22.73%945
2.27%5
25%