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

broker-factory

Package Overview
Dependencies
Maintainers
1
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broker-factory - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

build/es2015/module.js

@@ -22,3 +22,3 @@ import { generateUniqueNumber } from 'fast-unique-numbers';

ongoingRequests.delete(id);
if (message.error !== undefined) {
if (message.error === undefined) {
resolve(message.result);

@@ -25,0 +25,0 @@ }

@@ -91,3 +91,3 @@ (function (global, factory) {

ongoingRequests.delete(id);
if (message.error !== undefined) {
if (message.error === undefined) {
resolve(message.result);

@@ -94,0 +94,0 @@ } else {

@@ -24,3 +24,3 @@ import * as tslib_1 from "tslib";

ongoingRequests.delete(id);
if (message.error !== undefined) {
if (message.error === undefined) {
resolve(message.result);

@@ -27,0 +27,0 @@ }

@@ -73,3 +73,3 @@ {

"types": "build/es2015/module.d.ts",
"version": "1.0.0"
"version": "1.0.1"
}

@@ -41,3 +41,3 @@ import { generateUniqueNumber } from 'fast-unique-numbers';

if ((<IWorkerErrorMessage> message).error !== undefined) {
if ((<IWorkerErrorMessage> message).error === undefined) {
resolve((<IWorkerResultMessage> message).result);

@@ -44,0 +44,0 @@ } else {

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