@voiceflow/nestjs-redis
Advanced tools
| {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;CAGZ,CAAC"} |
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"} |
| {"version":3,"file":"options.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,SAAS,CAAC;AAErE,oBAAY,eAAe,GAAG,KAAK,CAAC;AAEpC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACjD;AAED,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;IAC5F,QAAQ,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,UAAU,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,WAAW,CAAC,YAAY,CAAC,GAAG,YAAY,CAAC;IAC1E,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;CAChB"} |
| {"version":3,"file":"redis.health.d.ts","sourceRoot":"","sources":["../src/redis.health.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAoB,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGrE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,qBACa,oBAAqB,SAAQ,eAAe;IAC3C,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAAZ,YAAY,EAAE,YAAY;IAIjD,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAuB7D"} |
| {"version":3,"file":"redis.module.d.ts","sourceRoot":"","sources":["../src/redis.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAU,MAAM,gBAAgB,CAAC;AAGvD,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAI1F,qBACa,WAAW;IACtB,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,eAAe,GAAG,aAAa;IAS1D,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,uBAAuB,GAAG,aAAa;CA+DrE"} |
| {"version":3,"file":"redis.service.d.ts","sourceRoot":"","sources":["../src/redis.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI/E,OAAO,EAAE,eAAe,EAAgB,MAAM,gCAAgC,CAAC;AAE/E,qBACa,YAAa,YAAW,eAAe;aAcc,UAAU,EAAE,eAAe;IAb3F,MAAM,CAAC,iBAAiB,EAAE,QAAQ,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAW1D;gBAE8D,UAAU,EAAE,eAAe;IAErF,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;CAGvC"} |
| export {}; | ||
| //# sourceMappingURL=redis.service.test.d.ts.map |
| {"version":3,"file":"redis.service.test.d.ts","sourceRoot":"","sources":["../src/redis.service.test.ts"],"names":[],"mappings":""} |
| import { Test } from '@nestjs/testing'; | ||
| import { Providers } from './constants'; | ||
| import { RedisService } from './redis.service'; | ||
| describe('RedisService', () => { | ||
| it('works providing a connection', async () => { | ||
| const connectionProvider = { | ||
| provide: Providers.REDIS_CONNECTION, | ||
| useValue: {}, | ||
| }; | ||
| const module = await Test.createTestingModule({ | ||
| providers: [connectionProvider, RedisService], | ||
| }).compile(); | ||
| const service = module.get(RedisService); | ||
| expect(service).toBeInstanceOf(RedisService); | ||
| }); | ||
| it('works providing a configuration', async () => { | ||
| const optionsProvider = { | ||
| provide: Providers.REDIS_OPTIONS, | ||
| useValue: { | ||
| host: '', | ||
| port: 0, | ||
| ioredis: { | ||
| lazyConnect: true, | ||
| }, | ||
| }, | ||
| }; | ||
| const module = await Test.createTestingModule({ | ||
| providers: [optionsProvider, RedisService.connectionFactory, RedisService], | ||
| }).compile(); | ||
| const service = module.get(RedisService); | ||
| expect(service).toBeInstanceOf(RedisService); | ||
| }); | ||
| }); |
@@ -5,1 +5,2 @@ export declare const Providers: { | ||
| }; | ||
| //# sourceMappingURL=constants.d.ts.map |
@@ -1,8 +0,4 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.Providers = void 0; | ||
| exports.Providers = { | ||
| export const Providers = { | ||
| REDIS_CONNECTION: Symbol('@voiceflow/nestjs-redis RedisConnection'), | ||
| REDIS_OPTIONS: Symbol('@voiceflow/nestjs-redis RedisOptions'), | ||
| }; | ||
| //# sourceMappingURL=constants.js.map |
+1
-0
@@ -6,1 +6,2 @@ export * from './constants'; | ||
| export { RedisService } from './redis.service'; | ||
| //# sourceMappingURL=index.d.ts.map |
+5
-26
@@ -1,26 +0,5 @@ | ||
| "use strict"; | ||
| var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
| if (k2 === undefined) k2 = k; | ||
| var desc = Object.getOwnPropertyDescriptor(m, k); | ||
| if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
| desc = { enumerable: true, get: function() { return m[k]; } }; | ||
| } | ||
| Object.defineProperty(o, k2, desc); | ||
| }) : (function(o, m, k, k2) { | ||
| if (k2 === undefined) k2 = k; | ||
| o[k2] = m[k]; | ||
| })); | ||
| var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
| for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.RedisService = exports.RedisModule = exports.RedisHealthIndicator = void 0; | ||
| __exportStar(require("./constants"), exports); | ||
| __exportStar(require("./interfaces/options.interface"), exports); | ||
| var redis_health_1 = require("./redis.health"); | ||
| Object.defineProperty(exports, "RedisHealthIndicator", { enumerable: true, get: function () { return redis_health_1.RedisHealthIndicator; } }); | ||
| var redis_module_1 = require("./redis.module"); | ||
| Object.defineProperty(exports, "RedisModule", { enumerable: true, get: function () { return redis_module_1.RedisModule; } }); | ||
| var redis_service_1 = require("./redis.service"); | ||
| Object.defineProperty(exports, "RedisService", { enumerable: true, get: function () { return redis_service_1.RedisService; } }); | ||
| //# sourceMappingURL=index.js.map | ||
| export * from './constants'; | ||
| export * from './interfaces/options.interface'; | ||
| export { RedisHealthIndicator } from './redis.health'; | ||
| export { RedisModule } from './redis.module'; | ||
| export { RedisService } from './redis.service'; |
@@ -15,1 +15,2 @@ import { ModuleMetadata, Type } from '@nestjs/common'; | ||
| } | ||
| //# sourceMappingURL=options.interface.d.ts.map |
@@ -1,3 +0,1 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| //# sourceMappingURL=options.interface.js.map | ||
| export {}; |
@@ -9,1 +9,2 @@ import type { HealthIndicatorResult } from '@nestjs/terminus'; | ||
| } | ||
| //# sourceMappingURL=redis.health.d.ts.map |
@@ -1,2 +0,1 @@ | ||
| "use strict"; | ||
| var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -8,12 +7,6 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
| }; | ||
| var __metadata = (this && this.__metadata) || function (k, v) { | ||
| if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.RedisHealthIndicator = void 0; | ||
| const common_1 = require("@nestjs/common"); | ||
| const terminus_1 = require("@nestjs/terminus"); | ||
| const nestjs_common_1 = require("@voiceflow/nestjs-common"); | ||
| const redis_service_1 = require("./redis.service"); | ||
| let RedisHealthIndicator = class RedisHealthIndicator extends terminus_1.HealthIndicator { | ||
| import { Injectable } from '@nestjs/common'; | ||
| import { HealthCheckError, HealthIndicator } from '@nestjs/terminus'; | ||
| import { HealthCheckErrorDto } from '@voiceflow/nestjs-common'; | ||
| let RedisHealthIndicator = class RedisHealthIndicator extends HealthIndicator { | ||
| constructor(redisService) { | ||
@@ -33,3 +26,3 @@ super(); | ||
| isHealthy = false; | ||
| data = new nestjs_common_1.HealthCheckErrorDto(error); | ||
| data = new HealthCheckErrorDto(error); | ||
| } | ||
@@ -40,10 +33,8 @@ const result = this.getStatus(key, isHealthy, data); | ||
| } | ||
| throw new terminus_1.HealthCheckError('Redis health check failed', result); | ||
| throw new HealthCheckError('Redis health check failed', result); | ||
| } | ||
| }; | ||
| RedisHealthIndicator = __decorate([ | ||
| (0, common_1.Injectable)(), | ||
| __metadata("design:paramtypes", [redis_service_1.RedisService]) | ||
| Injectable() | ||
| ], RedisHealthIndicator); | ||
| exports.RedisHealthIndicator = RedisHealthIndicator; | ||
| //# sourceMappingURL=redis.health.js.map | ||
| export { RedisHealthIndicator }; |
@@ -7,1 +7,2 @@ import { DynamicModule } from '@nestjs/common'; | ||
| } | ||
| //# sourceMappingURL=redis.module.d.ts.map |
+29
-34
@@ -1,2 +0,1 @@ | ||
| "use strict"; | ||
| var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -9,8 +8,6 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
| var RedisModule_1; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.RedisModule = void 0; | ||
| const common_1 = require("@nestjs/common"); | ||
| const constants_1 = require("./constants"); | ||
| const redis_health_1 = require("./redis.health"); | ||
| const redis_service_1 = require("./redis.service"); | ||
| import { Module } from '@nestjs/common'; | ||
| import { Providers } from './constants'; | ||
| import { RedisHealthIndicator } from './redis.health'; | ||
| import { RedisService } from './redis.service'; | ||
| let RedisModule = RedisModule_1 = class RedisModule { | ||
@@ -21,8 +18,7 @@ static forRoot(connection) { | ||
| module: RedisModule_1, | ||
| providers: [{ provide: constants_1.Providers.REDIS_CONNECTION, useValue: connection }, redis_service_1.RedisService, redis_health_1.RedisHealthIndicator], | ||
| exports: [redis_health_1.RedisHealthIndicator, redis_service_1.RedisService], | ||
| providers: [{ provide: Providers.REDIS_CONNECTION, useValue: connection }, RedisService, RedisHealthIndicator], | ||
| exports: [RedisHealthIndicator, RedisService], | ||
| }; | ||
| } | ||
| static forRootAsync(options) { | ||
| var _a, _b, _c, _d, _e, _f; | ||
| if (options.useFactory) { | ||
@@ -35,12 +31,12 @@ return { | ||
| { | ||
| provide: constants_1.Providers.REDIS_OPTIONS, | ||
| provide: Providers.REDIS_OPTIONS, | ||
| useFactory: options.useFactory, | ||
| inject: (_a = options.inject) !== null && _a !== void 0 ? _a : [], | ||
| inject: options.inject ?? [], | ||
| }, | ||
| redis_service_1.RedisService.connectionFactory, | ||
| redis_service_1.RedisService, | ||
| redis_health_1.RedisHealthIndicator, | ||
| ...((_b = options.providers) !== null && _b !== void 0 ? _b : []), | ||
| RedisService.connectionFactory, | ||
| RedisService, | ||
| RedisHealthIndicator, | ||
| ...(options.providers ?? []), | ||
| ], | ||
| exports: [redis_health_1.RedisHealthIndicator, redis_service_1.RedisService], | ||
| exports: [RedisHealthIndicator, RedisService], | ||
| }; | ||
@@ -55,12 +51,12 @@ } | ||
| { | ||
| provide: constants_1.Providers.REDIS_OPTIONS, | ||
| provide: Providers.REDIS_OPTIONS, | ||
| useClass: options.useClass, | ||
| inject: (_c = options.inject) !== null && _c !== void 0 ? _c : [], | ||
| inject: options.inject ?? [], | ||
| }, | ||
| redis_service_1.RedisService.connectionFactory, | ||
| redis_service_1.RedisService, | ||
| redis_health_1.RedisHealthIndicator, | ||
| ...((_d = options.providers) !== null && _d !== void 0 ? _d : []), | ||
| RedisService.connectionFactory, | ||
| RedisService, | ||
| RedisHealthIndicator, | ||
| ...(options.providers ?? []), | ||
| ], | ||
| exports: [redis_health_1.RedisHealthIndicator, redis_service_1.RedisService], | ||
| exports: [RedisHealthIndicator, RedisService], | ||
| }; | ||
@@ -75,12 +71,12 @@ } | ||
| { | ||
| provide: constants_1.Providers.REDIS_OPTIONS, | ||
| provide: Providers.REDIS_OPTIONS, | ||
| useValue: options.useValue, | ||
| inject: (_e = options.inject) !== null && _e !== void 0 ? _e : [], | ||
| inject: options.inject ?? [], | ||
| }, | ||
| redis_service_1.RedisService.connectionFactory, | ||
| redis_service_1.RedisService, | ||
| redis_health_1.RedisHealthIndicator, | ||
| ...((_f = options.providers) !== null && _f !== void 0 ? _f : []), | ||
| RedisService.connectionFactory, | ||
| RedisService, | ||
| RedisHealthIndicator, | ||
| ...(options.providers ?? []), | ||
| ], | ||
| exports: [redis_health_1.RedisHealthIndicator, redis_service_1.RedisService], | ||
| exports: [RedisHealthIndicator, RedisService], | ||
| }; | ||
@@ -92,5 +88,4 @@ } | ||
| RedisModule = RedisModule_1 = __decorate([ | ||
| (0, common_1.Module)({}) | ||
| Module({}) | ||
| ], RedisModule); | ||
| exports.RedisModule = RedisModule; | ||
| //# sourceMappingURL=redis.module.js.map | ||
| export { RedisModule }; |
@@ -9,1 +9,2 @@ import { OnModuleDestroy, Provider } from '@nestjs/common'; | ||
| } | ||
| //# sourceMappingURL=redis.service.d.ts.map |
@@ -1,2 +0,1 @@ | ||
| "use strict"; | ||
| var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -8,16 +7,8 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
| }; | ||
| var __metadata = (this && this.__metadata) || function (k, v) { | ||
| if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
| }; | ||
| var __param = (this && this.__param) || function (paramIndex, decorator) { | ||
| return function (target, key) { decorator(target, key, paramIndex); } | ||
| }; | ||
| var __importDefault = (this && this.__importDefault) || function (mod) { | ||
| return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.RedisService = void 0; | ||
| const common_1 = require("@nestjs/common"); | ||
| const ioredis_1 = __importDefault(require("ioredis")); | ||
| const constants_1 = require("./constants"); | ||
| import { Inject, Injectable } from '@nestjs/common'; | ||
| import IORedis from 'ioredis'; | ||
| import { Providers } from './constants'; | ||
| let RedisService = class RedisService { | ||
@@ -34,17 +25,15 @@ constructor(connection) { | ||
| { | ||
| token: constants_1.Providers.REDIS_OPTIONS, | ||
| token: Providers.REDIS_OPTIONS, | ||
| optional: false, | ||
| }, | ||
| ], | ||
| provide: constants_1.Providers.REDIS_CONNECTION, | ||
| provide: Providers.REDIS_CONNECTION, | ||
| useFactory: async (config) => { | ||
| return new ioredis_1.default(config.port, config.host, config.ioredis); | ||
| return new IORedis(config.port, config.host, config.ioredis); | ||
| }, | ||
| }; | ||
| RedisService = __decorate([ | ||
| (0, common_1.Injectable)(), | ||
| __param(0, (0, common_1.Inject)(constants_1.Providers.REDIS_CONNECTION)), | ||
| __metadata("design:paramtypes", [Object]) | ||
| Injectable(), | ||
| __param(0, Inject(Providers.REDIS_CONNECTION)) | ||
| ], RedisService); | ||
| exports.RedisService = RedisService; | ||
| //# sourceMappingURL=redis.service.js.map | ||
| export { RedisService }; |
+5
-3
| { | ||
| "name": "@voiceflow/nestjs-redis", | ||
| "description": "Redis for NestJS", | ||
| "version": "1.2.2", | ||
| "version": "1.2.3", | ||
| "author": "Voiceflow", | ||
@@ -18,2 +18,4 @@ "bugs": { | ||
| "@types/ioredis": "^4.28.10", | ||
| "@voiceflow-meta/jest-config": "1.0.1", | ||
| "@voiceflow-meta/typescript-config": "1.0.1", | ||
| "ioredis": "^4.28.5" | ||
@@ -58,6 +60,6 @@ }, | ||
| "test:dependencies": "yarn g:depcheck", | ||
| "test:unit": "NODE_ENV=test yarn g:nyc --report-dir=nyc_coverage_unit ts-mocha --paths --config config/tests/mocharc.yml 'tests/**/*.unit.ts'" | ||
| "test:unit": "yarn g:jest" | ||
| }, | ||
| "types": "build/index.d.ts", | ||
| "gitHead": "b3a6cfb13f67ef4bc778be63cb9f16e6a3be9dac" | ||
| "gitHead": "df496c692d02b9b3b3b5249777b9506f2d035fab" | ||
| } |
| {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,gBAAgB,EAAE,MAAM,CAAC,yCAAyC,CAAC;IACnE,aAAa,EAAE,MAAM,CAAC,sCAAsC,CAAC;CACrD,CAAC"} |
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,iEAA+C;AAC/C,+CAAsD;AAA7C,oHAAA,oBAAoB,OAAA;AAC7B,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA"} |
| {"version":3,"file":"options.interface.js","sourceRoot":"","sources":["../../src/interfaces/options.interface.ts"],"names":[],"mappings":""} |
| {"version":3,"file":"redis.health.js","sourceRoot":"","sources":["../src/redis.health.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAE5C,+CAAqE;AACrE,4DAA+D;AAE/D,mDAA+C;AAG/C,IAAa,oBAAoB,GAAj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CAAA;AAZS,YAAY;IADxB,IAAA,mBAAU,GAAE;IAeE,WAAA,IAAA,eAAM,EAAC,qBAAS,CAAC,gBAAgB,CAAC,CAAA;;GAdpC,YAAY,CAmBxB;AAnBY,oCAAY"} |
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
23
15%15823
-19.22%8
33.33%248
-4.62%