Socket
Socket
Sign inDemoInstall

envaridator

Package Overview
Dependencies
0
Maintainers
8
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.2.0

14

build/index.js

@@ -97,4 +97,8 @@ "use strict";

describeAll() {
const envars = Object.keys(this.registeredVariables).map(name => `${name} - ${this.registeredVariables[name].description}`);
const rules = this.postValidations.map(rule => rule.description);
const envars = Object.keys(this.registeredVariables)
.map(name => `${name} - ${this.registeredVariables[name].description}`)
.sort((a, b) => a.localeCompare(b));
const rules = this.postValidations
.map(rule => rule.description)
.sort((a, b) => a.localeCompare(b));
return [...envars, ...rules].join('\n');

@@ -108,4 +112,8 @@ }

.map(name => `**${name}** - ${this.registeredVariables[name].description}`)
.sort((a, b) => a.localeCompare(b))
.join('\n');
const rules = this.postValidations.map(rule => rule.description).join('\n');
const rules = this.postValidations
.map(rule => rule.description)
.sort((a, b) => a.localeCompare(b))
.join('\n');
let result = [];

@@ -112,0 +120,0 @@ if (envars.length > 0) {

{
"name": "envaridator",
"version": "1.1.0",
"version": "1.2.0",
"description": "Environment variable validator for TypeScript",

@@ -5,0 +5,0 @@ "main": "build/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc