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

nestjs-hot-shots

Package Overview
Dependencies
Maintainers
1
Versions
350
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-hot-shots - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2-dev.1639061766.09e3d57

0

dist/hot-shots-options.interface.d.ts

@@ -0,0 +0,0 @@ import { ModuleMetadata, Type } from '@nestjs/common';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export declare const HOT_SHOTS_MODULE_OPTIONS = "hot-shots:module-options";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { DynamicModule } from '@nestjs/common';

10

dist/hot-shots.module.js

@@ -26,6 +26,7 @@ "use strict";

const StatsDProvider = {
provide: hot_shots_1.StatsD,
useValue: new hot_shots_1.StatsD(options)
provide: hot_shots_1.default,
useValue: new hot_shots_1.default(options)
};
return {
global: true,
module: HotShotsModule_1,

@@ -44,7 +45,8 @@ providers: [

const StatsDFactoryProvider = {
provide: hot_shots_1.StatsD,
useFactory: (options) => new hot_shots_1.StatsD(options),
provide: hot_shots_1.default,
useFactory: (options) => new hot_shots_1.default(options),
inject: [hot_shots_constants_1.HOT_SHOTS_MODULE_OPTIONS]
};
return {
global: true,
module: HotShotsModule_1,

@@ -51,0 +53,0 @@ imports: options.imports,

export * from './hot-shots.module';

@@ -0,0 +0,0 @@ "use strict";

{
"name": "nestjs-hot-shots",
"description": "Hot-shots Module for Nest.js Framework",
"version": "2.0.1",
"version": "2.0.2-dev.1639061766.09e3d57",
"scripts": {

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

"@nestjs/core": "8.2.3",
"@types/node": "16.11.11",
"@types/node": "16.11.12",
"@typescript-eslint/eslint-plugin": "4.33.0",

@@ -50,0 +50,0 @@ "@typescript-eslint/parser": "4.33.0",

@@ -8,3 +8,3 @@ # NestJS Hot-shots ![npm](https://img.shields.io/npm/v/nestjs-hot-shots) ![LICENSE](https://img.shields.io/npm/l/nestjs-hot-shots) ![Downloads](https://img.shields.io/npm/dm/nestjs-hot-shots) ![Last Commit](https://img.shields.io/github/last-commit/SocketSomeone/nestjs-hot-shots)

**Feature**
**Features**

@@ -11,0 +11,0 @@ - TypeScript types

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