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.5.7 to 0.5.8

30

dist/plugins.js

@@ -8,6 +8,18 @@ "use strict";

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _regenerator = require("babel-runtime/regenerator");
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
var _regenerator2 = _interopRequireDefault(_regenerator);
var _asyncToGenerator2 = require("babel-runtime/helpers/asyncToGenerator");
var _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);
var _typeof2 = require("babel-runtime/helpers/typeof");
var _typeof3 = _interopRequireDefault(_typeof2);
var _slicedToArray2 = require("babel-runtime/helpers/slicedToArray");
var _slicedToArray3 = _interopRequireDefault(_slicedToArray2);
var _utils = require("./utils");

@@ -17,3 +29,3 @@

function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -63,3 +75,3 @@ var $use = exports.$use = function $use(_ref) {

var _ref5 = _slicedToArray(_ref4, 2);
var _ref5 = (0, _slicedToArray3.default)(_ref4, 2);

@@ -90,3 +102,3 @@ var key = _ref5[0];

if ((typeof parms === "undefined" ? "undefined" : _typeof(parms)) === "object") {
if ((typeof parms === "undefined" ? "undefined" : (0, _typeof3.default)(parms)) === "object") {
onObject({ object: parms, depth: "" });

@@ -134,3 +146,3 @@ }

};
if ((typeof _val === "undefined" ? "undefined" : _typeof(_val)) === "object") {
if ((typeof _val === "undefined" ? "undefined" : (0, _typeof3.default)(_val)) === "object") {
onObject({ object: _val, depth: "" });

@@ -153,3 +165,3 @@ }

var _ref12 = _slicedToArray(_ref11, 2);
var _ref12 = (0, _slicedToArray3.default)(_ref11, 2);

@@ -160,5 +172,5 @@ var key = _ref12[0];

val.forEach(function () {
var _ref13 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(component) {
var _ref13 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(component) {
var cp, name;
return regeneratorRuntime.wrap(function _callee$(_context) {
return _regenerator2.default.wrap(function _callee$(_context) {
while (1) {

@@ -165,0 +177,0 @@ switch (_context.prev = _context.next) {

@@ -6,7 +6,14 @@ "use strict";

});
exports.getEachHookDepth = exports.getRootHookDepth = exports.scanObject = undefined;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _typeof2 = require("babel-runtime/helpers/typeof");
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
var _typeof3 = _interopRequireDefault(_typeof2);
var _slicedToArray2 = require("babel-runtime/helpers/slicedToArray");
var _slicedToArray3 = _interopRequireDefault(_slicedToArray2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var scanObject = exports.scanObject = function scanObject(_ref) {

@@ -30,3 +37,3 @@ var object = _ref.object,

var _ref3 = _slicedToArray(_ref2, 2);
var _ref3 = (0, _slicedToArray3.default)(_ref2, 2);

@@ -45,3 +52,3 @@ var _key = _ref3[0];

});
} else if ((typeof _val === "undefined" ? "undefined" : _typeof(_val)) === "object" && !Array.isArray(_val)) {
} else if ((typeof _val === "undefined" ? "undefined" : (0, _typeof3.default)(_val)) === "object" && !Array.isArray(_val)) {
onObject && onObject({

@@ -48,0 +55,0 @@ object: object[_key],

{
"name": "menhera",
"version": "0.5.7",
"version": "0.5.8",
"main": "dist",

@@ -15,2 +15,4 @@ "files": [

"babel-cli": "^6.26.0",
"babel-plugin-transform-regenerator": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",

@@ -17,0 +19,0 @@ "babel-preset-stage-3": "^6.24.1",

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