Socket
Socket
Sign inDemoInstall

oberknecht-emitters

Package Overview
Dependencies
7
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

2

lib-js/emitters/oberknecht.emitter.d.ts

@@ -6,3 +6,3 @@ import { oberknechtEmitterOptions } from "../types/oberknecht.emitter.options";

get _options(): oberknechtEmitterOptions;
constructor(options: oberknechtEmitterOptions);
constructor(options?: oberknechtEmitterOptions);
on: (eventName: string | string[], callback: Function) => void;

@@ -9,0 +9,0 @@ addListener: (eventName: string | string[], callback: Function) => void;

@@ -16,3 +16,3 @@ import { convertToArray, extendedTypeof, returnErr } from "oberknecht-utils";

constructor(options: oberknechtEmitterOptions) {
constructor(options?: oberknechtEmitterOptions) {
let _options = options ?? {};

@@ -19,0 +19,0 @@ i.emitterData[this.symbol] = {

{
"name": "oberknecht-emitters",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -22,3 +22,3 @@ "main": "export",

"@types/node": "^20.2.5",
"oberknecht-utils": "^1.3.7"
"oberknecht-utils": "^1.3.9"
},

@@ -25,0 +25,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc