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

brisky-struct

Package Overview
Dependencies
Maintainers
1
Versions
397
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brisky-struct - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

63

lib/subscribe/any.js

@@ -126,2 +126,4 @@ 'use strict'

const len2 = keys.length
var checks = len1
const len = len1 > len2 ? len1 : len2

@@ -132,2 +134,3 @@ for (let i = 0; i < len; i++) {

if (key === compare) {
checks--
changed = property(key, t, subs, cb, branch)

@@ -138,34 +141,38 @@ } else {

} else {
let j = hot.length
let block
while (!block && (j -= 3) > -1) {
if (key !== void 0 && hot[j + 1] === key) {
$keys[i] = key
changed = property(key, t, subs, cb, branch)
if (compare === hot[j]) {
if (compare && $keys[hot[j + 2]] !== compare) {
$keys[hot[j + 2]] = compare
if (checks) {
let j = hot.length
let block
while (!block && (j -= 3) > -1) {
if (key !== void 0 && hot[j + 1] === key) {
$keys[i] = key
changed = property(key, t, subs, cb, branch)
if (compare === hot[j]) {
if (compare && $keys[hot[j + 2]] !== compare) {
$keys[hot[j + 2]] = compare
}
hot.splice(j, 3)
block = true
} else {
hot[j + 1] = key = void 0
if (hot[j] === void 0) { hot.splice(j, 3) }
if (compare === void 0) { block = true }
}
hot.splice(j, 3)
block = true
} else {
hot[j + 1] = key = void 0
if (hot[j] === void 0) { hot.splice(j, 3) }
if (compare === void 0) { block = true }
} else if (compare !== void 0 && compare === hot[j]) {
let index = hot[j + 2]
$keys[index] = compare
changed = property(compare, t, subs, cb, branch)
if (key === hot[j + 1]) {
hot.splice(j, 3)
block = true
} else {
hot[j] = compare = void 0
if (hot[j + 1] === void 0) { hot.splice(j, 3) }
if (key === void 0) { block = true }
}
}
} else if (compare !== void 0 && compare === hot[j]) {
let index = hot[j + 2]
$keys[index] = compare
changed = property(compare, t, subs, cb, branch)
if (key === hot[j + 1]) {
hot.splice(j, 3)
block = true
} else {
hot[j] = compare = void 0
if (hot[j + 1] === void 0) { hot.splice(j, 3) }
if (key === void 0) { block = true }
}
}
if (!block) { hot.push(key, compare, i) }
} else {
hot.push(key, void 0, i)
}
if (!block) { hot.push(key, compare, i) }
}

@@ -172,0 +179,0 @@ }

{
"name": "brisky-struct",
"description": "An observable data structure",
"version": "0.0.7",
"version": "0.0.8",
"main": "lib/index.js",

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

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