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

sockjs-client

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sockjs-client - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

Changelog.md

@@ -0,1 +1,6 @@

1.0.3
==
* Use `https` module for xhr requests in node when url uses https - #254
1.0.2

@@ -2,0 +7,0 @@ ==

4

lib/transport/driver/xhr.js

@@ -6,2 +6,3 @@ 'use strict';

, http = require('http')
, https = require('https')
, URL = require('url-parse')

@@ -30,3 +31,4 @@ ;

this.req = http.request(options, function(res) {
var protocol = parsedUrl.protocol === 'https:' ? https : http;
this.req = protocol.request(options, function(res) {
res.setEncoding('utf8');

@@ -33,0 +35,0 @@ var responseText = '';

@@ -1,1 +0,1 @@

module.exports = '1.0.2';
module.exports = '1.0.3';
{
"name": "sockjs-client",
"description": "SockJS-client is a browser JavaScript library that provides a WebSocket-like object. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server.",
"version": "1.0.2",
"version": "1.0.3",
"author": "Bryce Kahle",

@@ -6,0 +6,0 @@ "browser": {

@@ -272,3 +272,3 @@

server and JavaScript minification. If you want to work on
SockJS-client source code, checkout the git repo and follow this
SockJS-client source code, checkout the git repo and follow these
steps:

@@ -275,0 +275,0 @@

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