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.2 to 2.0.0

2

dist/event-emitter.d.ts

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

declare type CallbackFunction<T = unknown> = (eventPayload: T) => void;
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.2",
"version": "2.0.0",
"description": "A simple event emitter.",

@@ -31,9 +31,11 @@ "main": "dist/event-emitter.js",

"devDependencies": {
"@types/jest": "^26.0.24",
"eslint": "^7.31.0",
"eslint-config-braintree": "^5.0.0-typescript-prep-rc.18",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"ts-jest": "^27.0.3",
"typescript": "^4.3.5"
"@types/jest": "^29.5.4",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"eslint": "^8.47.0",
"eslint-config-braintree": "^6.0.0-typescript-prep-rc.2",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.3",
"prettier": "^3.0.2",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},

@@ -40,0 +42,0 @@ "jest": {

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