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

spine-high-templar

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spine-high-templar - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

20

dist/spine-high-templar.es.js

@@ -303,2 +303,20 @@ import mitt from 'mitt';

export { Socket, Subscription };
var generateUrl = function (pathname) {
var loc = window.location;
var protocol = void 0;
switch (loc.protocol) {
case 'http:':
protocol = 'ws://';
break;
case 'https:':
protocol = 'wss://';
break;
default:
throw new Error('Unknown protocol ' + protocol);
}
return '' + protocol + loc.host + pathname;
};
export { Socket, Subscription, generateUrl };

@@ -309,4 +309,23 @@ (function (global, factory) {

var generateUrl = function (pathname) {
var loc = window.location;
var protocol = void 0;
switch (loc.protocol) {
case 'http:':
protocol = 'ws://';
break;
case 'https:':
protocol = 'wss://';
break;
default:
throw new Error('Unknown protocol ' + protocol);
}
return '' + protocol + loc.host + pathname;
};
exports.Socket = Socket;
exports.Subscription = Subscription;
exports.generateUrl = generateUrl;

@@ -313,0 +332,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

2

package.json
{
"name": "spine-high-templar",
"version": "0.4.1",
"version": "0.5.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Jasper Stam <jasper@codeyellow.nl>",

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