Skip to content

Commit 6e1da48

Browse files
committed
docs(changelog): Bump to v1.3.5
1 parent 933b12f commit 6e1da48

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.3.5](https://github.com/SocketDev/socket-lib/releases/tag/v1.3.5) - 2025-10-26
9+
10+
### Added
11+
12+
- Added `createEnvProxy()` utility function to `env` module for Windows-compatible environment variable access
13+
- Provides case-insensitive environment variable access (e.g., PATH, Path, path all work)
14+
- Smart priority system: overrides > exact match > case-insensitive fallback
15+
- Full Proxy implementation with proper handlers for get, set, has, ownKeys, getOwnPropertyDescriptor
16+
- Opt-in helper for users who need Windows env var compatibility
17+
- Well-documented with usage examples and performance notes
18+
- Added `findCaseInsensitiveEnvKey()` utility function to `env` module
19+
- Searches for environment variable keys using case-insensitive matching
20+
- Optimized with length fast path to minimize expensive `toUpperCase()` calls
21+
- Useful for cross-platform env var access where case may vary (e.g., PATH vs Path vs path)
22+
- Added comprehensive test suite for `env` module with 71 tests
23+
- Covers `envAsBoolean()`, `envAsNumber()`, `envAsString()` conversion utilities
24+
- Tests `createEnvProxy()` with Windows environment variables and edge cases
25+
- Validates `findCaseInsensitiveEnvKey()` optimization and behavior
26+
27+
### Fixed
28+
29+
- Fixed `spawn` module to preserve Windows `process.env` Proxy behavior
30+
- When no custom environment variables are provided, use `process.env` directly instead of spreading it
31+
- Preserves Windows case-insensitive environment variable access (PATH vs Path)
32+
- Fixes empty CLI output issue on Windows CI runners
33+
- Only spreads `process.env` when merging custom environment variables
34+
835
## [1.3.4](https://github.com/SocketDev/socket-lib/releases/tag/v1.3.4) - 2025-10-26
936

1037
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/lib",
3-
"version": "1.3.4",
3+
"version": "1.3.5",
44
"license": "MIT",
55
"description": "Core utilities and infrastructure for Socket.dev security tools",
66
"keywords": [

0 commit comments

Comments
 (0)