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

sturdy-websocket

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sturdy-websocket - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

11

dist/index.js
"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
Object.defineProperty(exports, "__esModule", { value: true });
var defaults = require("lodash.defaults");
var SturdyWebSocket = /** @class */ (function () {

@@ -40,3 +33,3 @@ function SturdyWebSocket(url, protocolsOrOptions, options) {

}
this.options = __assign({}, SturdyWebSocket.DEFAULT_OPTIONS, options);
this.options = defaults({}, options, SturdyWebSocket.DEFAULT_OPTIONS);
if (!this.options.wsConstructor) {

@@ -43,0 +36,0 @@ if (typeof WebSocket !== "undefined") {

7

package.json
{
"name": "sturdy-websocket",
"version": "0.1.5",
"version": "0.1.6",
"description":

@@ -48,2 +48,3 @@ "Tiny WebSocket wrapper that reconnects and resends failed messages.",

"@types/jest": "^21.1.1",
"@types/lodash.defaults": "^4.2.3",
"@types/ws": "^3.0.2",

@@ -62,3 +63,5 @@ "husky": "^0.14.3",

},
"dependencies": {}
"dependencies": {
"lodash.defaults": "^4.2.0"
}
}

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