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

@nestjs/config

Package Overview
Dependencies
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/config - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

9

dist/config-host.module.js

@@ -20,9 +20,12 @@ "use strict";

provide: config_constants_1.CONFIGURATION_TOKEN,
useValue: {},
useFactory: () => ({}),
},
config_service_1.ConfigService,
{
provide: config_constants_1.CONFIGURATION_SERVICE_TOKEN,
useClass: config_service_1.ConfigService,
},
],
exports: [config_constants_1.CONFIGURATION_TOKEN, config_service_1.ConfigService],
exports: [config_constants_1.CONFIGURATION_TOKEN, config_constants_1.CONFIGURATION_SERVICE_TOKEN],
})
], ConfigHostModule);
exports.ConfigHostModule = ConfigHostModule;

@@ -0,3 +1,4 @@

export declare const CONFIGURATION_SERVICE_TOKEN: unique symbol;
export declare const CONFIGURATION_TOKEN = "CONFIGURATION_TOKEN";
export declare const CONFIGURATION_LOADER = "CONFIGURATION_LOADER";
export declare const CONFIGURATION_NAMESPACE = "CONFIGURATION_NAMESPACE";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CONFIGURATION_SERVICE_TOKEN = Symbol('CONFIG_SERVICE');
exports.CONFIGURATION_TOKEN = 'CONFIGURATION_TOKEN';
exports.CONFIGURATION_LOADER = 'CONFIGURATION_LOADER';
exports.CONFIGURATION_NAMESPACE = 'CONFIGURATION_NAMESPACE';

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

const config_constants_1 = require("./config.constants");
const config_service_1 = require("./config.service");
const utils_1 = require("./utils");

@@ -120,5 +121,8 @@ const get_registration_token_util_1 = require("./utils/get-registration-token.util");

imports: [config_host_module_1.ConfigHostModule],
exports: [config_host_module_1.ConfigHostModule],
providers: [
{ provide: config_service_1.ConfigService, useExisting: config_constants_1.CONFIGURATION_SERVICE_TOKEN },
],
exports: [config_host_module_1.ConfigHostModule, config_service_1.ConfigService],
})
], ConfigModule);
exports.ConfigModule = ConfigModule;
export * from './config.module';
export * from './config.service';
export * from './decorators';
export * from './utils';

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

__export(require("./config.service"));
__export(require("./decorators"));
__export(require("./utils"));
{
"name": "@nestjs/config",
"version": "0.0.3",
"version": "0.0.4",
"description": "Nest - modern, fast, powerful node.js web framework (@config)",

@@ -22,6 +22,6 @@ "author": "Kamil Mysliwiec",

"@hapi/joi": "16.1.8",
"@nestjs/common": "6.10.9",
"@nestjs/core": "6.10.9",
"@nestjs/platform-express": "6.10.9",
"@nestjs/testing": "6.10.9",
"@nestjs/common": "6.10.10",
"@nestjs/core": "6.10.10",
"@nestjs/platform-express": "6.10.10",
"@nestjs/testing": "6.10.10",
"@types/dotenv": "8.2.0",

@@ -28,0 +28,0 @@ "@types/hapi__joi": "16.0.4",

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