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

@fastcampus/fastbus

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastcampus/fastbus - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

.github/workflows/ci.yml

8

dist/fast-bus.d.ts
/// <reference types="node" />
import { EventEmitter } from 'events';
import { ClientOpts, RedisClient } from 'redis';
declare type FastBusOpts = {
interface FastBusOpts {
prefix?: string;
redis?: ClientOpts;
createRedisClient?: (ClientOpts: any) => RedisClient;
};
declare type FastBusSubscriber = (string: any) => void;
}
interface FastBusSubscriber {
(string: any): void;
}
export declare class FastBus {

@@ -11,0 +13,0 @@ prefix: string;

module.exports = {
globals: {
'ts-jest': {
tsConfig: 'tsconfig.json',
},
},
transform: {

@@ -8,0 +3,0 @@ '^.+\\.(ts|tsx)$': 'ts-jest',

{
"name": "@fastcampus/fastbus",
"version": "0.1.4",
"version": "0.1.5",
"description": "fast and simple pubsub using redis",

@@ -13,4 +13,7 @@ "url": "https://github.com/fastcampusgit/fastbus",

"prepublishOnly": "npm run build",
"pretest": "eslint --ext .js --ext .ts ./src",
"test": "jest --forceExit --coverage --verbose ./src",
"pretest": "npm run lint",
"prebuild": "npm run lint",
"lint": "eslint --ext .js --ext .ts ./src",
"test": "jest --forceExit --detectOpenHandles --coverage --verbose ./src",
"ci:test": "./ci_test.sh",
"build": "tsc",

@@ -20,15 +23,15 @@ "start": "tsc -w"

"devDependencies": {
"@types/jest": "^26.0.10",
"@types/node": "^14.6.0",
"@types/redis": "^2.8.25",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.6",
"@types/redis": "^2.8.28",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.4.1",
"prettier": "^2.0.5",
"redis-mock": "^0.51.0",
"ts-jest": "^26.2.0",
"typescript": "^4.0.2"
"jest": "^26.6.1",
"prettier": "^2.1.2",
"redis-mock": "^0.53.0",
"ts-jest": "^26.4.3",
"typescript": "^4.0.5"
},

@@ -35,0 +38,0 @@ "dependencies": {

@@ -7,9 +7,11 @@ import Debug from 'debug';

type FastBusOpts = {
interface FastBusOpts {
prefix?: string;
redis?: ClientOpts;
createRedisClient?: (ClientOpts) => RedisClient;
};
}
type FastBusSubscriber = (string) => void;
interface FastBusSubscriber {
(string): void;
}

@@ -16,0 +18,0 @@ export class FastBus {

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