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

spacebro-client

Package Overview
Dependencies
Maintainers
5
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spacebro-client - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

10

dist/index.js

@@ -135,3 +135,11 @@ 'use strict';

if (err) (0, _log2.default)(err.stack);
var url = 'http://' + address + ':' + port;
var urlParser = require('url');
var parsedURI = urlParser.parse(address);
var protocol = 'ws://';
console.log(parsedURI.protocol);
if (parsedURI.protocol !== null) {
protocol = '';
}
var url = '' + protocol + address + ':' + port;
console.log(url);
var socket = (0, _socket2.default)(url);

@@ -138,0 +146,0 @@ patch(socket);

5

package.json
{
"name": "spacebro-client",
"version": "0.1.2",
"version": "0.1.3",
"description": "Allow to automagically 🌟 connect to a Spacebro server",

@@ -49,3 +49,4 @@ "main": "dist/index.js",

"gulp": "^3.9.1",
"gulp-babel": "^6.1.2"
"gulp-babel": "^6.1.2",
"moment": "^2.14.1"
},

@@ -52,0 +53,0 @@ "publishConfig": {

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