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

@a-type/utils

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a-type/utils - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

1

dist/cjs/events.d.ts

@@ -9,2 +9,3 @@ export declare class EventSubscriber<Events extends {

protected disposed: boolean;
__debug: boolean;
constructor(_onAllUnsubscribed?: ((event: keyof Events) => void) | undefined);

@@ -11,0 +12,0 @@ get disabled(): boolean;

@@ -14,2 +14,3 @@ "use strict";

this.disposed = false;
this.__debug = false;
this.subscriberCount = (event) => {

@@ -51,2 +52,5 @@ var _a;

}
if (this.__debug) {
console.trace('[EVENT]', event, ...args);
}
};

@@ -53,0 +57,0 @@ this.dispose = () => {

@@ -9,2 +9,3 @@ export declare class EventSubscriber<Events extends {

protected disposed: boolean;
__debug: boolean;
constructor(_onAllUnsubscribed?: ((event: keyof Events) => void) | undefined);

@@ -11,0 +12,0 @@ get disabled(): boolean;

@@ -11,2 +11,3 @@ function generateId() {

this.disposed = false;
this.__debug = false;
this.subscriberCount = (event) => {

@@ -48,2 +49,5 @@ var _a;

}
if (this.__debug) {
console.trace('[EVENT]', event, ...args);
}
};

@@ -50,0 +54,0 @@ this.dispose = () => {

2

package.json
{
"name": "@a-type/utils",
"version": "1.1.2",
"version": "1.1.3",
"description": "",

@@ -5,0 +5,0 @@ "access": "public",

@@ -15,2 +15,3 @@ function generateId() {

protected disposed = false;
__debug = false;

@@ -66,2 +67,5 @@ constructor(private _onAllUnsubscribed?: (event: keyof Events) => void) {}

}
if (this.__debug) {
console.trace('[EVENT]', event, ...args);
}
};

@@ -68,0 +72,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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