Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2.19 to 0.2.20

dist/browser.es.js

25

dist/index.browser.js

@@ -314,2 +314,3 @@ var $1662971556 = require('brisky-struct')

const $3357289264_isNode = typeof window === 'undefined'

@@ -393,6 +394,13 @@

const $3357289264_removePaths = (hub, struct, list, stamp) => {
const $3357289264_ownListeners = struct => struct !== $4043401927 && (struct.emitters || ($3357289264_ownListeners(struct.inherits)))
const $3357289264_removePaths = (struct, list, stamp) => {
if (struct.val) {
if (list[$1662971556.puid(struct)]) {
struct.set(null, stamp)
if ($3357289264_ownListeners(struct)) {
struct.val = void 0
struct.stamp = 0
} else {
struct.set(null, stamp)
}
}

@@ -404,3 +412,3 @@ } else {

while (i--) {
$3357289264_removePaths(hub, struct.get(keys[i]), list, stamp)
$3357289264_removePaths(struct.get(keys[i]), list, stamp)
}

@@ -425,12 +433,13 @@ }

const stamp = $826337949.create()
if (info.remove) {
hub.receiveOnly = true
$3357289264_removePaths(hub, hub, info.remove, stamp)
hub.receiveOnly = null
}
if (!hub.receiveOnly) {
hub.receiveOnly = true
if (info.remove) {
$3357289264_removePaths(hub, info.remove, stamp)
}
hub.set(data, stamp)
hub.receiveOnly = null
} else {
if (info.remove) {
$3357289264_removePaths(hub, hub, info.remove, stamp)
}
hub.set(data, stamp)

@@ -437,0 +446,0 @@ }

@@ -338,2 +338,3 @@ var $1662971556 = require('brisky-struct')

const $3357289264_isNode = typeof window === 'undefined'

@@ -417,6 +418,13 @@

const $3357289264_removePaths = (hub, struct, list, stamp) => {
const $3357289264_ownListeners = struct => struct !== $4043401927 && (struct.emitters || ($3357289264_ownListeners(struct.inherits)))
const $3357289264_removePaths = (struct, list, stamp) => {
if (struct.val) {
if (list[$1662971556.puid(struct)]) {
struct.set(null, stamp)
if ($3357289264_ownListeners(struct)) {
struct.val = void 0
struct.stamp = 0
} else {
struct.set(null, stamp)
}
}

@@ -428,3 +436,3 @@ } else {

while (i--) {
$3357289264_removePaths(hub, struct.get(keys[i]), list, stamp)
$3357289264_removePaths(struct.get(keys[i]), list, stamp)
}

@@ -449,12 +457,13 @@ }

const stamp = $826337949.create()
if (info.remove) {
hub.receiveOnly = true
$3357289264_removePaths(hub, hub, info.remove, stamp)
hub.receiveOnly = null
}
if (!hub.receiveOnly) {
hub.receiveOnly = true
if (info.remove) {
$3357289264_removePaths(hub, info.remove, stamp)
}
hub.set(data, stamp)
hub.receiveOnly = null
} else {
if (info.remove) {
$3357289264_removePaths(hub, hub, info.remove, stamp)
}
hub.set(data, stamp)

@@ -461,0 +470,0 @@ }

{
"name": "hub.js",
"description": "Seamless realtime communcation",
"version": "0.2.19",
"version": "0.2.20",
"main": "dist/index.js",

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

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