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.2.0 to 0.2.1

8

dist/utils/create-config-factory.util.js
"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: [],

2

package.json
{
"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",

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