New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

controltower

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

controltower - npm Package Compare versions

Comparing version 0.6.30 to 0.6.31

2

package.json
{
"name": "controltower",
"version": "0.6.30",
"version": "0.6.31",
"main": "./src/index.js",

@@ -5,0 +5,0 @@ "license": "AGPL-3.0",

@@ -47,3 +47,3 @@ 'use strict';

const app = (0, _choo2.default)({ href: false, history: false });
const app = (0, _choo2.default)({ href: true, history: true });
const appModel = {

@@ -54,8 +54,2 @@ namespace: 'app',

homepage: _package.homepage
},
subscriptions: {
init: (send, done) => {
console.log('app init');
send('location:set', { pathname: '/' }, done);
}
}

@@ -96,4 +90,3 @@ };

fetch: (data, state, send, done) => {
console.log(`/b/${ data.setupId }`);
send('location:set', { pathname: `/b/${ data.setupId }` }, done);
send('location:set', { pathname: `./b/${ data.setupId }` }, done);
}

@@ -108,3 +101,5 @@ }

app.router([['/', authWrapper(_dashboard2.default, _main2.default)], ['/controltower', authWrapper(_dashboard2.default, _main2.default)], ['/b/:botId', authWrapper(_setup2.default, _main2.default)]]);
app.router([['/', authWrapper(_dashboard2.default, _main2.default)], ['/b/:botId', authWrapper(_setup2.default, _main2.default)],
// TODO remove this duplicated routes in a nicer manner
['/controltower', authWrapper(_dashboard2.default, _main2.default)], ['/controltower/b/:botId', authWrapper(_setup2.default, _main2.default)]]);

@@ -111,0 +106,0 @@ const tree = app.start();

@@ -67,5 +67,5 @@ 'use strict';

${ (0, _toolbar2.default)(state.user, state.app, send) }
<a href="/">back to dashboard</a>
<a href="../../">back to dashboard</a>
<hr>
<p>${ JSON.stringify(state.setup) }</p>
</div>`;
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