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

@braintree/event-emitter

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@braintree/event-emitter - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.0.1
- Correct Typescript typing where callback function for `on` does not require an argument
# 1.0.0

@@ -2,0 +6,0 @@

2

dist/event-emitter.d.ts

@@ -1,2 +0,2 @@

declare type CallbackFunction<T = unknown> = (eventPayload: T) => void;
declare type CallbackFunction<T = unknown> = (eventPayload?: T) => void;
declare class EventEmitter {

@@ -3,0 +3,0 @@ _events: Record<string, CallbackFunction[]>;

{
"name": "@braintree/event-emitter",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple event emitter.",

@@ -5,0 +5,0 @@ "main": "dist/event-emitter.js",

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