Skip to content

perf: remove sourcemaps from published package#2

Merged
alexpota merged 1 commit intomainfrom
chore/optimize-package-size
Oct 21, 2025
Merged

perf: remove sourcemaps from published package#2
alexpota merged 1 commit intomainfrom
chore/optimize-package-size

Conversation

@alexpota
Copy link
Owner

Remove sourcemaps from published package. Reduces unpacked size from 407 KB to 155 KB (-62%).

Type of Change

  • Performance improvement

Changes

Modified files:

  • tsup.config.ts - Changed sourcemap: true to sourcemap: false
  • package.json - Version bump to 0.1.2
  • CHANGELOG.md - Added v0.1.2 entry

Package size:

  • Before: 407 KB unpacked, 83 KB gzipped
  • After: 155 KB unpacked, 35 KB gzipped

Files removed from package:

  • dist/index.js.map
  • dist/index.mjs.map

Additional Notes

No functional changes. Code remains unminified and readable for debugging.

Reduces package size from 407 KB to 155 KB (-62%)
@alexpota alexpota merged commit eae9557 into main Oct 21, 2025
6 checks passed
@alexpota alexpota deleted the chore/optimize-package-size branch October 21, 2025 17:30
alexpota added a commit that referenced this pull request Nov 18, 2025
Addresses Dependabot alert #2 for glob CLI command injection vulnerability.

- Add npm override to enforce glob ^11.1.0 across all dependencies
- Upgrades vulnerable glob versions (7.2.3, 10.4.5) to patched 11.1.0
- Affects dev dependencies only (jest, tsup)

All glob dependencies now use patched version 11.1.0+.
All tests pass, build successful, zero vulnerabilities.
alexpota added a commit that referenced this pull request Nov 18, 2025
Addresses Dependabot alert #2 for glob CLI command injection vulnerability.

- Add npm override to enforce glob ^11.1.0 across all dependencies
- Upgrades vulnerable glob versions (7.2.3, 10.4.5) to patched 11.1.0
- Affects dev dependencies only (jest, tsup)

All glob dependencies now use patched version 11.1.0+.
All tests pass, build successful, zero vulnerabilities.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant