New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nestjs-config

Package Overview
Dependencies
Maintainers
3
Versions
33
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 1.4.8 to 1.4.9

7

dist/decorators/ConfigParam.js

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

// Add this parameter
existingParameters.push({ parameterIndex, propertyKey, configKey, fallback });
existingParameters.push({
parameterIndex,
propertyKey,
configKey,
fallback,
});
// Update the required parameters for this method

@@ -13,0 +18,0 @@ Reflect.defineMetadata(constants_1.CONFIG_PARAMS, existingParameters, target, propertyKey);

2

dist/decorators/Configurable.js

@@ -15,3 +15,3 @@ "use strict";

});
return originalMethod.apply(this, utils_1.applyParamsMetadataDecorator(paramsMetadata, args, module_1.ConfigService.get));
return originalMethod.apply(this, (0, utils_1.applyParamsMetadataDecorator)(paramsMetadata, args, module_1.ConfigService.get));
};

@@ -18,0 +18,0 @@ Reflect.defineMetadata(constants_1.CONFIG_CONFIGURABLE, Reflect.getMetadata(constants_1.CONFIG_PARAMS, target, key) || [], descriptor.value);

@@ -6,3 +6,3 @@ "use strict";

const config_service_1 = require("../module/config.service");
const InjectConfig = () => common_1.Inject(config_service_1.ConfigService);
const InjectConfig = () => (0, common_1.Inject)(config_service_1.ConfigService);
exports.InjectConfig = InjectConfig;

@@ -59,5 +59,5 @@ "use strict";

ConfigModule = ConfigModule_1 = __decorate([
common_1.Global(),
common_1.Module({})
(0, common_1.Global)(),
(0, common_1.Module)({})
], ConfigModule);
exports.ConfigModule = ConfigModule;

@@ -214,3 +214,3 @@ "use strict";

glob = this.root(glob);
const matches = glob_1.sync(glob);
const matches = (0, glob_1.sync)(glob);
this.loadEnv(options);

@@ -269,3 +269,3 @@ return this.configGraph(matches, options && options.modifyConfigName);

if (options !== false) {
dotenv_1.config(options || ConfigService_1.defaultDotenvConfig());
(0, dotenv_1.config)(options || ConfigService_1.defaultDotenvConfig());
}

@@ -285,6 +285,6 @@ }

ConfigService = ConfigService_1 = __decorate([
common_1.Injectable(),
proxy_1.ProxyProperty('helpers'),
(0, common_1.Injectable)(),
(0, proxy_1.ProxyProperty)('helpers'),
__metadata("design:paramtypes", [Object])
], ConfigService);
exports.ConfigService = ConfigService;
{
"name": "nestjs-config",
"version": "1.4.8",
"version": "1.4.9",
"description": "Easy to use Nest congifuration module",

@@ -43,4 +43,4 @@ "main": "index.js",

"dependencies": {
"@types/node": "^15.0.2",
"dotenv": "^9.0.0",
"@types/node": "^16.9.6",
"dotenv": "^10.0.0",
"glob": "^7.1.2",

@@ -57,3 +57,3 @@ "lodash.get": "^4.4.2",

"@types/glob": "^7.1.1",
"@types/jest": "^26.0.23",
"@types/jest": "^27.0.2",
"jest": "^26.6.3",

@@ -60,0 +60,0 @@ "prettier": "^2.2.1",

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