Commit fae9f56
committed
Release 3.0.0
[skip ci]
## [3.0.0](v2.0.18...v3.0.0) (2025-03-12)
### ⚠ BREAKING CHANGES
* drop Node.js < 18.19.0 support
part of eggjs/egg#3644
eggjs/egg#5257
- change mime-db to 1.52.0
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Rebranded the package as “@eggjs/compressible” with enhanced
TypeScript support, updated module exports, and improved type
definitions.
- **Documentation**
- Revised the README with new badges, installation instructions, usage
examples, and contributor information.
- Updated LICENSE with a new copyright entry.
- **Refactor**
- Migrated the core compressibility functionality from JavaScript to a
streamlined TypeScript implementation.
- **Tests**
- Added comprehensive tests to ensure robust handling of various MIME
type inputs.
- **Chores**
- Improved development tooling and updated CI workflows for build,
release, and package publishing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
### Features
* support cjs and esm both by tshy ([#1](#1)) ([6d0d7cc](6d0d7cc))1 parent 6d0d7cc commit fae9f56
2 files changed
+49
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
1 | 49 | | |
2 | 50 | | |
3 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments