Skip to content

Commit

Permalink
refactor: optimise npm package to reduce size by ~1 KB
Browse files Browse the repository at this point in the history
  • Loading branch information
webdiscus committed Dec 14, 2024
1 parent 6230556 commit 44ce4cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

## 3.4.0 (2024-12-14)

- refactor: optimise npm package to reduce size by ~1 KB, from 11.3 kB to 10.3 kB

## 3.4.0-beta.1 (2024-12-12)

- fix: url to GitHub in readme for npm package
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ To measure performance is used [benchmark.js](https://github.com/bestiejs/benchm
> ansis.red('foo') - 23.000.000 ops/sec (x3 faster is WRONG result)
> ```
>
> The real performance results of `chalk` and `ansis` in this test are very close.
> The actual performance results of Chalk and Ansis in this test are very similar.
### Run benchmarks
Expand Down
2 changes: 1 addition & 1 deletion package.npm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ansis",
"version": "3.4.0-beta.1",
"version": "3.4.0",
"description": "Colorize terminal output with ANSI colors & styles",
"keywords": [
"ansi",
Expand Down

0 comments on commit 44ce4cd

Please sign in to comment.