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

hub.js

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hub.js - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19-11de567b97b7ea7109062a87f0de372aa426fdad

dist/index.browser.inline.js

8

dist/index.browser.js

@@ -249,8 +249,12 @@ var $1662971556 = require('brisky-struct')

data = data.data
const stamp = false // bs.create()
// if (typeof window !== 'undefined') {
// console.log(data)
if (!hub.receiveOnly) {
hub.receiveOnly = true
hub.set(JSON.parse(data), false)
hub.set(JSON.parse(data), stamp)
hub.receiveOnly = null
} else {
hub.set(JSON.parse(data), false)
hub.set(JSON.parse(data), stamp)
}

@@ -257,0 +261,0 @@ $826337949.close()

@@ -252,8 +252,12 @@ var $1662971556 = require('brisky-struct')

data = data.data
const stamp = false // bs.create()
// if (typeof window !== 'undefined') {
// console.log(data)
if (!hub.receiveOnly) {
hub.receiveOnly = true
hub.set(JSON.parse(data), false)
hub.set(JSON.parse(data), stamp)
hub.receiveOnly = null
} else {
hub.set(JSON.parse(data), false)
hub.set(JSON.parse(data), stamp)
}

@@ -535,2 +539,3 @@ $826337949.close()

let id = client.key // wrong need to get client
if (!root.clients) { root.clients = {} }

@@ -545,2 +550,3 @@ if (!root.clients[id]) { root.clients[id] = {} }

// let pass
try {

@@ -578,2 +584,3 @@ if ($2381345089_replaceClient.test(val)) { // eslint-disable-line

}
return result

@@ -580,0 +587,0 @@ }

{
"name": "hub.js",
"description": "Seamless realtime communcation",
"version": "0.0.18",
"version": "0.0.19-11de567b97b7ea7109062a87f0de372aa426fdad",
"main": "dist/index.js",

@@ -46,3 +46,3 @@ "browser": {

"stamp": "^4.0.1",
"brisky-struct": "^1.4.1",
"brisky-struct": "hotfix-bc-288-phoenix",
"string-hash": "^1.1.0",

@@ -49,0 +49,0 @@ "uws": "0.13.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