@nestjs/config
Advanced tools
Comparing version 0.2.0 to 0.2.1
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const v4_1 = __importDefault(require("uuid/v4")); | ||
const get_config_token_util_1 = require("./get-config-token.util"); | ||
function createConfigProvider(factory) { | ||
const uniqId = v4_1.default(); | ||
return { | ||
provide: factory.KEY, | ||
provide: factory.KEY || get_config_token_util_1.getConfigToken(uniqId), | ||
useFactory: factory, | ||
@@ -7,0 +13,0 @@ inject: [], |
{ | ||
"name": "@nestjs/config", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@config)", | ||
@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24434
458