Socket
Socket
Sign inDemoInstall

unenv

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unenv - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

runtime/polyfill/package.json

3

package.json
{
"name": "unenv",
"version": "1.7.0",
"version": "1.7.1",
"description": "",
"repository": "unjs/unenv",
"license": "MIT",
"sideEffects": false,
"exports": {

@@ -8,0 +9,0 @@ ".": {

@@ -1,7 +0,31 @@

export declare function EventEmitter(): void;
export declare namespace EventEmitter {
var EventEmitter: typeof import("./_events").EventEmitter;
var init: () => void;
var listenerCount: (emitter: any, type: any) => any;
import type nodeEvents from "node:events";
interface Listener {
(...args: any[]): void;
listener?: (...args: any[]) => void;
}
export declare function once(emitter: any, name: any): Promise<unknown>;
export declare class EventEmitter implements nodeEvents.EventEmitter {
readonly __unenv__ = true;
_events: Record<string, Listener[] & {
warned?: boolean;
}>;
_maxListeners: undefined | number;
static get defaultMaxListeners(): number;
static set defaultMaxListeners(arg: number);
setMaxListeners(n: number): this;
getMaxListeners(): number;
emit(type: string, ...args: any[]): boolean;
addListener(type: string, listener: Listener): this;
on(type: string, listener: Listener): this;
prependListener(type: string, listener: Listener): this;
once(type: string, listener: Listener): this;
prependOnceListener(type: string, listener: Listener): this;
removeListener(type: string, listener: Listener): this;
off(type: string, listener: Listener): this;
removeAllListeners(type: string): this;
listeners(type: string): ((...args: any[]) => void)[];
rawListeners(type: string): ((...args: any[]) => void)[];
listenerCount(type: string): number;
eventNames(): string[];
}
export declare function once(emitter: EventEmitter, name: string): Promise<unknown>;
export {};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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