Skip to content

Commit 9443683

Browse files
authored
test: run on node 24 (#110)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Removed CodeQL static analysis workflow from automated checks. - Updated CI to test against Node.js versions 22 and 24, in addition to existing versions. - Removed the git-contributor tool from development dependencies and scripts. - **Documentation** - Enhanced README with new badges for Node.js compatibility, PRs welcome, and pull request reviews. - Simplified contributors section with a dynamic image and updated credits. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 6296214 commit 9443683

File tree

4 files changed

+6
-81
lines changed

4 files changed

+6
-81
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
1414
with:
1515
os: 'ubuntu-latest, macos-latest, windows-latest'
16-
version: '14, 16, 18, 20'
16+
version: '14, 16, 18, 20, 22, 24'

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
[![NPM version][npm-image]][npm-url]
44
[![Test coverage][codecov-image]][codecov-url]
55
[![npm download][download-image]][download-url]
6+
[![Node.js Version](https://img.shields.io/node/v/compressing.svg?style=flat)](https://nodejs.org/en/download/)
7+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
8+
![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/node-modules/compressing)
69

710
[npm-image]: https://img.shields.io/npm/v/compressing.svg?style=flat-square
811
[npm-url]: https://npmjs.org/package/compressing
@@ -364,15 +367,9 @@ Due to the design of the .zip file format, it's impossible to interpret a .zip f
364367
Although the API is streaming style(try to keep it handy), it still loads all data into memory.
365368

366369
<https://github.com/thejoshwolfe/yauzl#no-streaming-unzip-api>
367-
<!-- GITCONTRIBUTOR_START -->
368370

369371
## Contributors
370372

371-
|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src="https://avatars.githubusercontent.com/u/456108?v=4" width="100px;"/><br/><sub><b>shaoshuai0102</b></sub>](https://github.com/shaoshuai0102)<br/>|[<img src="https://avatars.githubusercontent.com/u/360661?v=4" width="100px;"/><br/><sub><b>popomore</b></sub>](https://github.com/popomore)<br/>|[<img src="https://avatars.githubusercontent.com/u/32174276?v=4" width="100px;"/><br/><sub><b>semantic-release-bot</b></sub>](https://github.com/semantic-release-bot)<br/>|[<img src="https://avatars.githubusercontent.com/u/9692408?v=4" width="100px;"/><br/><sub><b>DiamondYuan</b></sub>](https://github.com/DiamondYuan)<br/>|[<img src="https://avatars.githubusercontent.com/u/101238421?v=4" width="100px;"/><br/><sub><b>acyza</b></sub>](https://github.com/acyza)<br/>|
372-
| :---: | :---: | :---: | :---: | :---: | :---: |
373-
|[<img src="https://avatars.githubusercontent.com/u/13938334?v=4" width="100px;"/><br/><sub><b>bytemain</b></sub>](https://github.com/bytemain)<br/>|[<img src="https://avatars.githubusercontent.com/u/20432815?v=4" width="100px;"/><br/><sub><b>rickyes</b></sub>](https://github.com/rickyes)<br/>|[<img src="https://avatars.githubusercontent.com/u/8382136?v=4" width="100px;"/><br/><sub><b>Ryqsky</b></sub>](https://github.com/Ryqsky)<br/>|[<img src="https://avatars.githubusercontent.com/u/47357585?v=4" width="100px;"/><br/><sub><b>songhn233</b></sub>](https://github.com/songhn233)<br/>|[<img src="https://avatars.githubusercontent.com/u/160386?v=4" width="100px;"/><br/><sub><b>Infiltrator</b></sub>](https://github.com/Infiltrator)<br/>|[<img src="https://avatars.githubusercontent.com/u/13861843?v=4" width="100px;"/><br/><sub><b>ZeekoZhu</b></sub>](https://github.com/ZeekoZhu)<br/>|
374-
[<img src="https://avatars.githubusercontent.com/u/6897780?v=4" width="100px;"/><br/><sub><b>killagu</b></sub>](https://github.com/killagu)<br/>|[<img src="https://avatars.githubusercontent.com/u/59508678?v=4" width="100px;"/><br/><sub><b>okaponta</b></sub>](https://github.com/okaponta)<br/>|[<img src="https://avatars.githubusercontent.com/u/9857273?v=4" width="100px;"/><br/><sub><b>ShadyZOZ</b></sub>](https://github.com/ShadyZOZ)<br/>
373+
[![Contributors](https://contrib.rocks/image?repo=node-modules/compressing)](https://github.com/node-modules/compressing/graphs/contributors)
375374

376-
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Thu Aug 03 2023 01:39:37 GMT+0800`.
377-
378-
<!-- GITCONTRIBUTOR_END -->
375+
Made with [contributors-img](https://contrib.rocks).

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"description": "Everything you need for compressing and uncompressing",
55
"main": "index.js",
66
"scripts": {
7-
"contributor": "git-contributor",
87
"test:ts": "tsc -p ./test/fixtures/types/tsconfig.json",
98
"test:js": "egg-bin test --ts false",
109
"test": "npm run test:js && npm run test:ts",
@@ -57,7 +56,6 @@
5756
"egg-bin": "6",
5857
"eslint": "8",
5958
"eslint-config-egg": "12",
60-
"git-contributor": "2",
6159
"mm": "^2.0.0",
6260
"mz-modules": "^2.1.0",
6361
"typescript": "5",

0 commit comments

Comments
 (0)