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

@nestjs/websockets

Package Overview
Dependencies
Maintainers
1
Versions
356
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/websockets - npm Package Compare versions

Comparing version

to
6.8.3

context/ws-metadata-constants.d.ts

3

context/ws-context-creator.js

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

const ws_params_factory_1 = require("../factories/ws-params-factory");
const ws_metadata_constants_1 = require("./ws-metadata-constants");
class WsContextCreator {

@@ -69,3 +70,3 @@ constructor(wsProxy, exceptionFiltersContext, pipesContextCreator, pipesConsumer, guardsContextCreator, guardsConsumer, interceptorsContextCreator, interceptorsConsumer) {

}
const metadata = this.contextUtils.reflectCallbackMetadata(instance, methodName, constants_3.PARAM_ARGS_METADATA || '') || {};
const metadata = this.contextUtils.reflectCallbackMetadata(instance, methodName, constants_3.PARAM_ARGS_METADATA) || ws_metadata_constants_1.DEFAULT_CALLBACK_METADATA;
const keys = Object.keys(metadata);

@@ -72,0 +73,0 @@ const argsLength = this.contextUtils.getArgumentsLength(keys, metadata);

export declare enum WsParamtype {
SOCKET = 0,
PAYLOAD = 1
PAYLOAD = 3
}

@@ -6,3 +6,3 @@ "use strict";

WsParamtype[WsParamtype["SOCKET"] = 0] = "SOCKET";
WsParamtype[WsParamtype["PAYLOAD"] = 1] = "PAYLOAD";
WsParamtype[WsParamtype["PAYLOAD"] = 3] = "PAYLOAD";
})(WsParamtype = exports.WsParamtype || (exports.WsParamtype = {}));
{
"name": "@nestjs/websockets",
"version": "6.8.2",
"version": "6.8.3",
"description": "Nest - modern, fast, powerful node.js web framework (@websockets)",

@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec",