Socket
Socket
Sign inDemoInstall

plotly

Package Overview
Dependencies
2
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.11 to 0.2.13

17

index.js

@@ -16,3 +16,6 @@ var https = require('https');

var opts = {};
if (typeof username === 'object') {
opts = username;
this.username = opts.username;

@@ -103,6 +106,14 @@ this.apiKey = opts.apiKey;

var self = this;
var opts = {};
if (typeof token === 'object') {
opts = token;
token = opts.token;
var host = opts.streamHost || self.streamHost;
var port = opts.port || 80;
}
var options = {
host: self.streamHost || 'stream.plot.ly',
port: 80,
host: host || self.streamHost || 'stream.plot.ly',
port: port || 80,
path: '/',

@@ -246,2 +257,2 @@ method: 'POST',

}
}

2

package.json
{
"name": "plotly",
"version": "0.2.11",
"version": "0.2.13",
"description": "Simple node.js wrapper for the plot.ly API",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc