Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

menhera

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

menhera - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

10

dist/index.js

@@ -21,4 +21,14 @@ "use strict";

Object.keys(_menhera).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _menhera[key];
}
});
});
exports.default = function (parms) {
return (0, _menhera.core)({ _: {}, parms: parms });
};

8

dist/plugins.js

@@ -131,3 +131,2 @@ "use strict";

var initConfig = { lifeCycle: ["awake", "start"] };
var _config = exports._config = function _config(_ref9) {

@@ -139,5 +138,2 @@ var _ = _ref9._,

if (_.config) {
_.config = initConfig;
}
_.config = (0, _utils.ConfigMerger)(_.config, _val);

@@ -228,4 +224,2 @@ };

cp = _ref15.cp;
var props = _val.bind(cp)();
var _iteratorNormalCompletion4 = true;

@@ -236,3 +230,3 @@ var _didIteratorError4 = false;

try {
for (var _iterator4 = Object.entries(props)[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
for (var _iterator4 = Object.entries(_val.bind(cp)())[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
var _ref16 = _step4.value;

@@ -239,0 +233,0 @@

@@ -31,3 +31,7 @@ "use strict";

var ConfigMerger = function ConfigMerger(initConfig, _ref2) {
var initConfig = { lifeCycle: ["awake", "start"] };
var ConfigMerger = function ConfigMerger() {
var currentConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initConfig;
var _ref2 = arguments[1];
var lifeCycle = _ref2.lifeCycle,

@@ -37,5 +41,5 @@ other = _objectWithoutProperties(_ref2, ["lifeCycle"]);

return _extends({
lifeCycle: lifeCycle ? lifeCycle : initConfig.lifeCycle
lifeCycle: lifeCycle ? lifeCycle : currentConfig.lifeCycle
}, other);
};
exports.ConfigMerger = ConfigMerger;
{
"name": "menhera",
"version": "0.4.7",
"version": "0.4.8",
"main": "dist",

@@ -5,0 +5,0 @@ "files": [

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