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

cent.js

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cent.js - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

eslint.config.mjs

10

dist/cent.client.d.ts

@@ -35,3 +35,3 @@ import { CentOptions, Command, CommandResponse } from './interfaces';

client?: string;
}) => Promise<import("./interfaces").EmptyResponse>;
}) => Promise<object>;
disconnect: (params?: {

@@ -41,3 +41,3 @@ user: string;

client?: string;
}) => Promise<import("./interfaces").EmptyResponse>;
}) => Promise<object>;
refresh: (params?: {

@@ -47,3 +47,3 @@ user: string;

client?: string;
}) => Promise<import("./interfaces").EmptyResponse>;
}) => Promise<object>;
getPresence: (params?: {

@@ -64,8 +64,8 @@ channel: string;

channel: string;
}) => Promise<import("./interfaces").EmptyResponse>;
}) => Promise<object>;
getChannels: (params?: {
pattern: string;
}) => Promise<import("./interfaces").ChannelsResponse>;
getInfo: (params?: {}) => Promise<import("./interfaces").InfoResponse>;
getInfo: (params?: object) => Promise<import("./interfaces").InfoResponse>;
pipeline<C extends CentMethods>(commands: Command<C>[]): Promise<CommandResponse<C>[]>;
}

@@ -29,3 +29,3 @@ import { CentMethods } from '../cent-methods.enum';

};
type InfoParams = {};
type InfoParams = object;
export interface CentParams {

@@ -32,0 +32,0 @@ [CentMethods.Publish]: PublishParams;

@@ -23,3 +23,3 @@ import { CentMethods } from '../cent-methods.enum';

};
export type EmptyResponse = {};
export type EmptyResponse = object;
export type InfoResponse = {

@@ -26,0 +26,0 @@ nodes: Node[];

{
"name": "cent.js",
"description": "Javascript library to communicate with Centrifugo HTTP API",
"version": "5.0.2",
"version": "5.0.3",
"scripts": {

@@ -11,5 +11,5 @@ "build": "rimraf -rf dist && tsc -p tsconfig.json",

"publish:dev": "npm publish --access public --tag dev",
"prepare": "husky install .github/husky",
"prepare": "husky",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint --ignore-path .gitignore src/**/*.ts",
"lint": "eslint --ignore-pattern .gitignore src/**/*.ts",
"test": "jest"

@@ -28,21 +28,24 @@ },

"dependencies": {
"undici": "6.18.2"
"undici": "7.2.3"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-angular": "19.3.0",
"@types/jest": "29.5.12",
"@types/node": "20.14.2",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"husky": "9.0.11",
"@commitlint/cli": "19.6.1",
"@commitlint/config-angular": "19.7.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"eslint": "^9.18.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3",
"globals": "^15.14.0",
"husky": "9.1.7",
"jest": "29.7.0",
"prettier": "3.3.1",
"release-it": "17.3.0",
"rimraf": "5.0.7",
"ts-jest": "29.1.4",
"typescript": "5.4.5"
"prettier": "3.4.2",
"release-it": "18.1.1",
"rimraf": "6.0.1",
"ts-jest": "29.2.5",
"typescript": "5.7.3",
"typescript-eslint": "^8.21.0"
},

@@ -49,0 +52,0 @@ "repository": {

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