+7
-1
@@ -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 @@ |
+10
-1
@@ -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\' }', |
+3
-3
| { | ||
| "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" |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
82402
0.77%563
1.99%