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

remitter

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remitter - npm Package Compare versions

Comparing version

to
0.3.1

2

dist/main.js

@@ -200,3 +200,3 @@ 'use strict';

);
if (this.count(eventName) > 0 || this.count(ANY_EVENT) > 0) {
if (eventName === ANY_EVENT ? this.count() > 0 : this.count(eventName) > 0 || this.count(ANY_EVENT) > 0) {
startRelay(relayListener, this);

@@ -203,0 +203,0 @@ }

{
"name": "remitter",
"version": "0.3.0",
"version": "0.3.1",
"private": false,

@@ -5,0 +5,0 @@ "description": "A TypeScript friendly event emitter with easy re-emitting events.",

@@ -216,3 +216,7 @@ import type {

);
if (this.count(eventName) > 0 || this.count(ANY_EVENT) > 0) {
if (
eventName === ANY_EVENT
? this.count() > 0
: this.count(eventName) > 0 || this.count(ANY_EVENT) > 0
) {
startRelay(relayListener, this as unknown as Remitter<TConfig>);

@@ -219,0 +223,0 @@ }

Sorry, the diff of this file is not supported yet