Socket
Socket
Sign inDemoInstall

nestjs-zod-config

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-zod-config - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

1

dist/zod-config-static.d.ts

@@ -1,2 +0,1 @@

import 'dotenv/config';
import type { z } from 'zod';

@@ -3,0 +2,0 @@ import { UnknownZodObjectSchema } from './types';

4

dist/zod-config-static.js

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

// Load the .env file into the process.env
require("dotenv/config");
const dotenv_1 = require("dotenv");
/**

@@ -14,2 +14,4 @@ * This class is the base class for this module.

constructor(schema) {
// Load .env file before parsing process.env
(0, dotenv_1.config)();
this.config = schema.parse(process.env);

@@ -16,0 +18,0 @@ }

{
"name": "nestjs-zod-config",
"version": "2.2.0",
"version": "2.3.0",
"description": "NestJS module to load, type and validate configuration using Zod",

@@ -5,0 +5,0 @@ "keywords": [

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