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

nest-typed-config

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nest-typed-config - npm Package Compare versions

Comparing version 2.4.2 to 2.4.3

4

dist/typed-config.module.js

@@ -109,3 +109,5 @@ "use strict";

static validateWithClassValidator(rawConfig, Config, options) {
const config = (0, class_transformer_1.plainToClass)(Config, rawConfig);
const config = (0, class_transformer_1.plainToClass)(Config, rawConfig, {
exposeDefaultValues: true,
});
// defaults to strictest validation rules

@@ -112,0 +114,0 @@ const schemaErrors = (0, class_validator_1.validateSync)(config, Object.assign({ forbidUnknownValues: true, whitelist: true }, options));

@@ -126,3 +126,5 @@ import { Module, DynamicModule, Provider } from '@nestjs/common';

) {
const config = plainToClass(Config, rawConfig);
const config = plainToClass(Config, rawConfig, {
exposeDefaultValues: true,
});
// defaults to strictest validation rules

@@ -129,0 +131,0 @@ const schemaErrors = validateSync(config, {

{
"name": "nest-typed-config",
"version": "2.4.2",
"version": "2.4.3",
"description": "Intuitive, type-safe configuration module for Nest framework",

@@ -54,15 +54,15 @@ "author": "Nikaple Zhou",

"@nestjs/cli": "9.0.0",
"@nestjs/common": "9.0.6",
"@nestjs/core": "9.0.6",
"@nestjs/platform-express": "9.0.6",
"@nestjs/testing": "9.0.6",
"@nestjs/common": "9.0.7",
"@nestjs/core": "9.0.7",
"@nestjs/platform-express": "9.0.7",
"@nestjs/testing": "9.0.7",
"@types/debug": "4.1.7",
"@types/express": "4.17.13",
"@types/jest": "27.4.1",
"@types/lodash.frompairs": "4.0.6",
"@types/lodash.merge": "4.6.6",
"@types/lodash.set": "4.3.6",
"@types/node": "16.11.26",
"@typescript-eslint/eslint-plugin": "5.17.0",
"@typescript-eslint/parser": "5.17.0",
"@types/jest": "27.5.2",
"@types/lodash.frompairs": "4.0.7",
"@types/lodash.merge": "4.6.7",
"@types/lodash.set": "4.3.7",
"@types/node": "16.11.47",
"@typescript-eslint/eslint-plugin": "5.31.0",
"@typescript-eslint/parser": "5.31.0",
"cosmiconfig": "7.0.1",

@@ -73,16 +73,16 @@ "dotenv": "10.0.0",

"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "7.0.4",
"jest": "27.5.1",
"lint-staged": "12.3.7",
"lint-staged": "12.5.0",
"parse-json": "5.2.0",
"prettier": "2.6.1",
"prettier": "2.7.1",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.5.5",
"rxjs": "7.5.6",
"semantic-release": "18.0.1",
"ts-jest": "27.1.4",
"typedoc": "0.22.13",
"typescript": "4.6.3",
"ts-jest": "27.1.5",
"typedoc": "0.23.10",
"typescript": "4.7.4",
"yaml": "1.10.2"

@@ -89,0 +89,0 @@ },

Sorry, the diff of this file is not supported yet

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