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

env-schema

Package Overview
Dependencies
Maintainers
18
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env-schema - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

6

package.json
{
"name": "env-schema",
"version": "5.1.0",
"version": "5.1.1",
"description": "Validate your env variable using Ajv and dotenv",

@@ -39,5 +39,5 @@ "main": "index.js",

"@fastify/pre-commit": "^2.0.2",
"@sinclair/typebox": "^0.24.43",
"@sinclair/typebox": "^0.25.1",
"ajv-formats": "^2.1.1",
"fluent-json-schema": "^3.0.0",
"fluent-json-schema": "^4.0.0",
"snazzy": "^9.0.0",

@@ -44,0 +44,0 @@ "standard": "^17.0.0",

import Ajv, { KeywordDefinition, JSONSchemaType } from 'ajv';
import { AnySchema } from 'ajv/dist/core';
import { DotenvConfigOptions } from 'dotenv';
import { ObjectSchema } from 'fluent-json-schema';

@@ -13,3 +12,3 @@ export type { JSONSchemaType };

export type EnvSchemaOpt<T = EnvSchemaData> = {
schema?: JSONSchemaType<T> | AnySchema | ObjectSchema;
schema?: JSONSchemaType<T> | AnySchema;
data?: [EnvSchemaData, ...EnvSchemaData[]] | EnvSchemaData;

@@ -16,0 +15,0 @@ env?: boolean;

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