Originally created by: ankit-kumar-khandelwal
Originally owned by: vishalnawal
Description
This release focuses on strengthening package security, improving source-code transparency, and ensuring better auditability of the distributed npm package. It addresses potential false positives from security scanners by eliminating packed-code patterns and making the published package easier to inspect and verify.
Type of Change
- [ ] Feature
- [ ] Bug Fix
- [x] Security Fix
- [ ] Performance Improvement
- [ ] Documentation
- [ ] Breaking Change
Closes #
Changes Made
1. Source Transparency & Obfuscation Defense
- Reformatted embedded vector assets and barrel exports into clean, human-readable, multi-line syntax.
- Eliminated extreme line-length anomalies and heuristic packed-code patterns that could trigger security scanner warnings.
- Improved source readability and maintainability without changing intended functionality.
2. Auditable Package Distribution
- Included original TypeScript source files (
src/) in the published npm package.
- Added complete source maps (
.map) to the distribution bundle.
- Enabled security scanners, auditors, and consumers to trace compiled JavaScript back to its original TypeScript implementation.
- Improved transparency and verification of the published package contents.
3. Socket Policy Rules
- Updated
socket.yml to schema version 2.
- Added explicit project exclusions and transparency declarations.
- Improved alignment with package security and supply-chain auditing requirements.
Testing
- [x] Existing tests pass.
- [ ] New tests added.
- [x] Manual testing completed.
- [x] No existing functionality broken.
Security Checklist
- [x] No credentials or secrets exposed.
- [x] Sensitive data is properly redacted.
- [ ] Input validation is implemented.
- [x] Database queries are safe.
- [x] Dependencies have been reviewed.
Documentation
- [x] README updated if required.
- [ ] CHANGELOG updated.
- [ ] API documentation updated if required.
Breaking Changes
No breaking changes introduced. Existing package functionality and public APIs remain unchanged.
- Version: 1.7.7
- Release Date: November 20, 2026
- Focus: Security hardening, source transparency, npm distribution auditability, and supply-chain compliance.
This release improves consumer confidence by making the distributed package more transparent, readable, and verifiable by automated security auditing tools.
Originally posted by: socket-security[bot]
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
Security
View full report
Ticket changed by: vishalnawal