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

piral-dashboard

Package Overview
Dependencies
Maintainers
1
Versions
932
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piral-dashboard - npm Package Compare versions

Comparing version 0.9.3 to 0.10.0-pre.823

4

lib/actions.js

@@ -6,9 +6,9 @@ "use strict";

function registerTile(ctx, name, value) {
react_atom_1.swap(ctx, state => (Object.assign({}, state, { registry: Object.assign({}, state.registry, { tiles: piral_core_1.withKey(state.registry.tiles, name, value) }) })));
react_atom_1.swap(ctx, state => (Object.assign(Object.assign({}, state), { registry: Object.assign(Object.assign({}, state.registry), { tiles: piral_core_1.withKey(state.registry.tiles, name, value) }) })));
}
exports.registerTile = registerTile;
function unregisterTile(ctx, name) {
react_atom_1.swap(ctx, state => (Object.assign({}, state, { registry: Object.assign({}, state.registry, { tiles: piral_core_1.withoutKey(state.registry.tiles, name) }) })));
react_atom_1.swap(ctx, state => (Object.assign(Object.assign({}, state), { registry: Object.assign(Object.assign({}, state.registry), { tiles: piral_core_1.withoutKey(state.registry.tiles, name) }) })));
}
exports.unregisterTile = unregisterTile;
//# sourceMappingURL=actions.js.map

@@ -8,3 +8,3 @@ "use strict";

function getPreferences(defaultPreferences, customPreferences = {}) {
return Object.assign({}, defaultPreferences, customPreferences);
return Object.assign(Object.assign({}, defaultPreferences), customPreferences);
}

@@ -30,3 +30,3 @@ function getTiles(items, defaultPreferences) {

context.defineActions(actions);
react_atom_1.swap(context.state, state => (Object.assign({}, state, { components: Object.assign({}, state.components, { DashboardTile: default_1.DefaultTile, DashboardContainer: default_1.DefaultContainer }), registry: Object.assign({}, state.registry, { tiles: getTiles(tiles, defaultPreferences) }) })));
react_atom_1.swap(context.state, state => (Object.assign(Object.assign({}, state), { components: Object.assign(Object.assign({}, state.components), { DashboardTile: default_1.DefaultTile, DashboardContainer: default_1.DefaultContainer }), registry: Object.assign(Object.assign({}, state.registry), { tiles: getTiles(tiles, defaultPreferences) }) })));
return (api, target) => {

@@ -33,0 +33,0 @@ const pilet = target.name;

{
"name": "piral-dashboard",
"version": "0.9.3",
"version": "0.10.0-pre.823",
"description": "Plugin for creating a centralized dashboard in Piral.",

@@ -40,8 +40,8 @@ "keywords": [

"devDependencies": {
"piral-core": "^0.9.3"
"piral-core": "^0.10.0-pre.823"
},
"peerDependencies": {
"piral-core": "^0.9.0"
"piral-core": "^0.9.0 || ^0.10.0"
},
"gitHead": "a079ff637821eeacd28f1209593b778e370d0366"
"gitHead": "6ffae5945e28b7d86c7701e25aa3b2698e32a985"
}

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