Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

dotenv

Package Overview
Dependencies
Maintainers
4
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv - npm Package Compare versions

Comparing version
17.2.2
to
17.2.3
+7
-1
CHANGELOG.md

@@ -5,4 +5,10 @@ # Changelog

## [Unreleased](https://github.com/motdotla/dotenv/compare/v17.2.2...master)
## [Unreleased](https://github.com/motdotla/dotenv/compare/v17.2.3...master)
## [17.2.3](https://github.com/motdotla/dotenv/compare/v17.2.2...v17.2.3) (2025-09-29)
### Changed
* Fixed typescript error definition ([#912](https://github.com/motdotla/dotenv/pull/912))
## [17.2.2](https://github.com/motdotla/dotenv/compare/v17.2.1...v17.2.2) (2025-09-02)

@@ -9,0 +15,0 @@

@@ -93,6 +93,15 @@ // TypeScript Version: 3.0

export interface DotenvConfigOutput {
error?: Error;
error?: DotenvError;
parsed?: DotenvParseOutput;
}
type DotenvError = Error & {
code:
| 'MISSING_DATA'
| 'INVALID_DOTENV_KEY'
| 'NOT_FOUND_DOTENV_ENVIRONMENT'
| 'DECRYPTION_FAILED'
| 'OBJECT_REQUIRED';
}
export interface DotenvPopulateOptions {

@@ -99,0 +108,0 @@ /**

+6
-3

@@ -14,5 +14,8 @@ const fs = require('fs')

'🔐 prevent building .env in docker: https://dotenvx.com/prebuild',
'📡 observe env with Radar: https://dotenvx.com/radar',
'📡 auto-backup env with Radar: https://dotenvx.com/radar',
'📡 version env with Radar: https://dotenvx.com/radar',
'📡 add observability to secrets: https://dotenvx.com/ops',
'👥 sync secrets across teammates & machines: https://dotenvx.com/ops',
'🗂️ backup and recover secrets: https://dotenvx.com/ops',
'✅ audit secrets and track compliance: https://dotenvx.com/ops',
'🔄 add secrets lifecycle management: https://dotenvx.com/ops',
'🔑 add access controls to secrets: https://dotenvx.com/ops',
'🛠️ run anywhere with `dotenvx run -- yourcommand`',

@@ -19,0 +22,0 @@ '⚙️ specify custom .env file path with { path: \'/custom/path/.env\' }',

{
"name": "dotenv",
"version": "17.2.2",
"version": "17.2.3",
"description": "Loads environment variables from .env file",

@@ -25,4 +25,4 @@ "main": "lib/main.js",

"pretest": "npm run lint && npm run dts-check",
"test": "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
"test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
"test": "tap run tests/**/*.js --allow-empty-coverage --disable-coverage --timeout=60000",
"test:coverage": "tap run tests/**/*.js --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
"prerelease": "npm test",

@@ -29,0 +29,0 @@ "release": "standard-version"