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

@xyo-network/module-events

Package Overview
Dependencies
Maintainers
5
Versions
611
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/module-events - npm Package Compare versions

Comparing version 2.110.10 to 2.110.11

5

dist/browser/index.js

@@ -6,2 +6,3 @@ // src/Events/Events.ts

import { Base } from "@xylabs/object";
var NO_META_EVENT_ERROR_MESSAGE = "`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`";
var resolvedPromise = Promise.resolve();

@@ -83,3 +84,3 @@ var isMetaEvent = (eventName) => eventName === "listenerAdded" || eventName === "listenerRemoved";

if (isMetaEvent(eventName) && !_Events.canEmitMetaEvents) {
throw new TypeError("`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`");
throw new TypeError(NO_META_EVENT_ERROR_MESSAGE);
}

@@ -190,3 +191,3 @@ const filterMatch = (args, filter) => {

if (isMetaEvent(eventName) && !_Events.canEmitMetaEvents) {
throw new TypeError("`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`");
throw new TypeError(NO_META_EVENT_ERROR_MESSAGE);
}

@@ -193,0 +194,0 @@ this.logIfDebugEnabled("emit", eventName, eventArgs);

@@ -6,2 +6,3 @@ // src/Events/Events.ts

import { Base } from "@xylabs/object";
var NO_META_EVENT_ERROR_MESSAGE = "`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`";
var resolvedPromise = Promise.resolve();

@@ -83,3 +84,3 @@ var isMetaEvent = (eventName) => eventName === "listenerAdded" || eventName === "listenerRemoved";

if (isMetaEvent(eventName) && !_Events.canEmitMetaEvents) {
throw new TypeError("`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`");
throw new TypeError(NO_META_EVENT_ERROR_MESSAGE);
}

@@ -190,3 +191,3 @@ const filterMatch = (args, filter) => {

if (isMetaEvent(eventName) && !_Events.canEmitMetaEvents) {
throw new TypeError("`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`");
throw new TypeError(NO_META_EVENT_ERROR_MESSAGE);
}

@@ -193,0 +194,0 @@ this.logIfDebugEnabled("emit", eventName, eventArgs);

@@ -6,2 +6,3 @@ // src/Events/Events.ts

import { Base } from "@xylabs/object";
var NO_META_EVENT_ERROR_MESSAGE = "`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`";
var resolvedPromise = Promise.resolve();

@@ -86,3 +87,3 @@ var isMetaEvent = (eventName) => eventName === "listenerAdded" || eventName === "listenerRemoved";

if (isMetaEvent(eventName) && !_Events.canEmitMetaEvents) {
throw new TypeError("`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`");
throw new TypeError(NO_META_EVENT_ERROR_MESSAGE);
}

@@ -196,3 +197,3 @@ const filterMatch = (args, filter) => {

if (isMetaEvent(eventName) && !_Events.canEmitMetaEvents) {
throw new TypeError("`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`");
throw new TypeError(NO_META_EVENT_ERROR_MESSAGE);
}

@@ -199,0 +200,0 @@ this.logIfDebugEnabled("emit", eventName, eventArgs);

20

package.json

@@ -13,13 +13,13 @@ {

"dependencies": {
"@xylabs/assert": "^3.6.4",
"@xylabs/error": "^3.6.4",
"@xylabs/forget": "^3.6.4",
"@xylabs/object": "^3.6.4",
"@xylabs/promise": "^3.6.4"
"@xylabs/assert": "^3.6.5",
"@xylabs/error": "^3.6.5",
"@xylabs/forget": "^3.6.5",
"@xylabs/object": "^3.6.5",
"@xylabs/promise": "^3.6.5"
},
"devDependencies": {
"@xylabs/delay": "^3.6.4",
"@xylabs/ts-scripts-yarn3": "^3.12.4",
"@xylabs/tsconfig": "^3.12.4",
"@xylabs/tsconfig-jest": "^3.12.4",
"@xylabs/delay": "^3.6.5",
"@xylabs/ts-scripts-yarn3": "^3.13.3",
"@xylabs/tsconfig": "^3.13.3",
"@xylabs/tsconfig-jest": "^3.13.3",
"typescript": "^5.5.4"

@@ -66,4 +66,4 @@ },

"sideEffects": false,
"version": "2.110.10",
"version": "2.110.11",
"type": "module"
}

@@ -22,2 +22,4 @@ import { assertEx } from '@xylabs/assert'

const NO_META_EVENT_ERROR_MESSAGE = '`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`'
/**

@@ -143,3 +145,3 @@ Configure debug options of an instance.

if (isMetaEvent(eventName) && !Events.canEmitMetaEvents) {
throw new TypeError('`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`')
throw new TypeError(NO_META_EVENT_ERROR_MESSAGE)
}

@@ -291,3 +293,3 @@

if (isMetaEvent(eventName) && !Events.canEmitMetaEvents) {
throw new TypeError('`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`')
throw new TypeError(NO_META_EVENT_ERROR_MESSAGE)
}

@@ -294,0 +296,0 @@

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

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