Socket
Socket
Sign inDemoInstall

@mojojs/core

Package Overview
Dependencies
35
Maintainers
4
Versions
182
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.25.2 to 1.25.3

4

lib/context.d.ts

@@ -20,3 +20,3 @@ /// <reference types="node" />

}
declare interface Context {
declare interface ContextEventEmitter {
on: <T extends keyof ContextEvents>(event: T, listener: ContextEvents[T]) => this;

@@ -28,3 +28,3 @@ emit: <T extends keyof ContextEvents>(event: T, ...args: Parameters<ContextEvents[T]>) => boolean;

*/
declare class Context extends EventEmitter {
declare class Context extends EventEmitter implements ContextEventEmitter {
/**

@@ -31,0 +31,0 @@ * Application this context belongs to.

@@ -365,3 +365,3 @@ import EventEmitter from 'node:events';

_urlForPath(path, isWebSocket, options) {
path = this.req.basePath + path;
path = this.req.basePath + (path === '' ? '/' : path);
let queryFragment = '';

@@ -368,0 +368,0 @@ if (options.query !== undefined && Object.keys(options.query).length > 0) {

@@ -15,3 +15,3 @@ /// <reference types="node" />

}
declare interface WebSocket {
declare interface WebSocketEventEmitter {
on: <T extends keyof WebSocketEvents>(event: T, listener: WebSocketEvents[T]) => this;

@@ -23,3 +23,3 @@ emit: <T extends keyof WebSocketEvents>(event: T, ...args: Parameters<WebSocketEvents[T]>) => boolean;

*/
declare class WebSocket extends EventEmitter {
declare class WebSocket extends EventEmitter implements WebSocketEventEmitter {
/**

@@ -26,0 +26,0 @@ * WebSocket handshake.

{
"name": "@mojojs/core",
"version": "1.25.2",
"version": "1.25.3",
"description": "Real-time web framework",

@@ -73,3 +73,3 @@ "keywords": [

"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-prettier": "^5.0.0",
"nodemon": "^3.0.0",

@@ -76,0 +76,0 @@ "prettier": "^3.0.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc