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

piral

Package Overview
Dependencies
Maintainers
1
Versions
1021
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piral - npm Package Compare versions

Comparing version 0.6.2-pre.580 to 0.6.2-pre.586

17

lib/components/Menu.js

@@ -8,11 +8,10 @@ "use strict";

const menuItems = piral_core_1.useGlobalState(s => s.components.menuItems);
return (React.createElement(MenuContainer, { type: type }, Object.keys(menuItems).map(name => {
const item = menuItems[name];
if (item.settings.type === type) {
const Component = item.component;
return (React.createElement(MenuItem, { key: name, type: type },
React.createElement(Component, null)));
}
return undefined;
})));
const renderItems = Object.keys(menuItems)
.filter(name => menuItems[name].settings.type === type)
.map(name => ({
name,
Component: menuItems[name].component,
}));
return (React.createElement(MenuContainer, { type: type }, renderItems.map(({ name, Component }) => (React.createElement(MenuItem, { key: name, type: type },
React.createElement(Component, null))))));
};

@@ -19,0 +18,0 @@ }

{
"name": "piral",
"version": "0.6.2-pre.580",
"version": "0.6.2-pre.586",
"description": "The all-in-one piral package.",

@@ -44,4 +44,4 @@ "keywords": [

"graphql": "^14.3.0",
"piral-core": "^0.6.2-pre.580",
"piral-ext": "^0.6.2-pre.580",
"piral-core": "^0.6.2-pre.586",
"piral-ext": "^0.6.2-pre.586",
"promise-polyfill": "^8.1.0",

@@ -60,3 +60,3 @@ "react": "^16.8.1",

},
"gitHead": "6a2e2235c4092994728bf85777ee5ff289dade0a"
"gitHead": "1899ceb31b29055f5cb5733fe2692a3acfd371f6"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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