Skip to content

Commit 22a52a7

Browse files
committed
version 1.2
1 parent 2c42b95 commit 22a52a7

13 files changed

+43
-60
lines changed

.eslintrc.cjs

-9
This file was deleted.

.github/workflows/ci.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,40 @@ on:
99
- cron: '0 0 * * *'
1010

1111
jobs:
12-
node16:
13-
name: Node 16
14-
runs-on: ubuntu-22.04
12+
node18:
13+
name: Node 18
14+
runs-on: ubuntu-24.04
1515
steps:
1616
- name: checkout
1717
uses: actions/checkout@v4
1818
- name: checkout node
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: '16'
21+
node-version: '18'
2222
- run: npm install
2323
- run: npm test -- --run --no-cache
24-
node18:
25-
name: Node 18
26-
runs-on: ubuntu-22.04
24+
node20:
25+
name: Node 20
26+
runs-on: ubuntu-24.04
2727
steps:
2828
- name: checkout
2929
uses: actions/checkout@v4
3030
- name: checkout node
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: '18'
33+
node-version: '20'
3434
- run: npm install
3535
- run: npm test -- --run --no-cache
36-
node20:
37-
name: Node 20
38-
runs-on: ubuntu-22.04
36+
node22:
37+
name: Node 22
38+
runs-on: ubuntu-24.04
3939
steps:
4040
- name: checkout
4141
uses: actions/checkout@v4
4242
- name: checkout node
4343
uses: actions/setup-node@v4
4444
with:
45-
node-version: '20'
45+
node-version: '22'
4646
- run: npm install
4747
- run: npm run lint
4848
- run: npm run cs
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
github-token: ${{ secrets.GITHUB_TOKEN }}
5757
- name: sonarcloud.io
58-
uses: sonarsource/sonarcloud-github-action@master
58+
uses: sonarsource/sonarqube-scan-action@v4.1.0
5959
env:
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2024 Dominik Zogg
1+
Copyright (c) 2025 Dominik Zogg
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ Chubbyts Http multipart request handling.
2323

2424
## Requirements
2525

26-
* node: 16
27-
* [@chubbyts/chubbyts-http-types][2]: ^1.2.3
26+
* node: 18
27+
* [@chubbyts/chubbyts-http-types][2]: ^1.3.0
2828
* [busboy][3]: ^1.6.0
2929

3030
## Installation
3131

3232
Through [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-http-multipart][1].
3333

3434
```sh
35-
npm i @chubbyts/chubbyts-http-multipart@^1.1.0
35+
npm i @chubbyts/chubbyts-http-multipart@^1.2.0
3636
```
3737

3838
## Usage
@@ -108,7 +108,7 @@ blue=/tmp/multipart/.../blue.png; filename=blue.png; mimeType=image/png&
108108

109109
## Copyright
110110

111-
2024 Dominik Zogg
111+
2025 Dominik Zogg
112112

113113
[1]: https://www.npmjs.com/package/@chubbyts/chubbyts-http-multipart
114114
[2]: https://www.npmjs.com/package/@chubbyts/chubbyts-http-types

build.js

-1
This file was deleted.

build.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/@chubbyts/chubbyts-packaging/dist/build.mjs

eslint.config.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@chubbyts/chubbyts-eslint/dist/eslint.config';

package.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@chubbyts/chubbyts-http-multipart",
33
"type": "module",
4-
"version": "1.1.0",
4+
"version": "1.2.0",
55
"description": "Chubbyts Http multipart request handling",
66
"keywords": [
77
"chubbyts",
@@ -13,11 +13,11 @@
1313
"license": "MIT",
1414
"repository": "chubbyts/chubbyts-http-multipart",
1515
"scripts": {
16-
"build": "node ./build.js",
16+
"build": "node ./build.mjs",
1717
"cs-fix": "prettier --write src tests",
1818
"cs": "prettier --check src tests",
1919
"infection": "stryker run",
20-
"lint-fix": "eslint src tests --fix",
20+
"lint-fix": "eslint src tests eslint.config.mjs vitest.config.ts --fix",
2121
"lint": "eslint src tests",
2222
"prepare": "npm run build",
2323
"test": "vitest"
@@ -40,27 +40,27 @@
4040
}
4141
},
4242
"engines": {
43-
"node": ">=16"
43+
"node": ">=18"
4444
},
4545
"dependencies": {
46-
"@chubbyts/chubbyts-http-types": "^1.2.3",
46+
"@chubbyts/chubbyts-http-types": "^1.3.0",
4747
"busboy": "^1.6.0"
4848
},
4949
"devDependencies": {
50-
"@chubbyts/chubbyts-eslint": "^2.0.7",
51-
"@chubbyts/chubbyts-function-mock": "^1.4.1",
52-
"@chubbyts/chubbyts-packaging": "^2.0.6",
53-
"@stryker-mutator/core": "^8.2.6",
54-
"@stryker-mutator/vitest-runner": "^8.2.6",
55-
"@types/busboy": "^1.5.3",
56-
"@types/node": "^20.11.30",
57-
"@types/qs": "^6.9.14",
58-
"@vitest/coverage-v8": "^1.6.0",
59-
"form-data": "^4.0.0",
60-
"prettier": "^3.3.2",
61-
"qs": "^6.12.0",
62-
"typescript": "^5.4.3",
63-
"vitest": "^1.6.0"
50+
"@chubbyts/chubbyts-eslint": "^3.0.1",
51+
"@chubbyts/chubbyts-function-mock": "^1.5.1",
52+
"@chubbyts/chubbyts-packaging": "^3.0.0",
53+
"@stryker-mutator/core": "^8.7.1",
54+
"@stryker-mutator/vitest-runner": "^8.7.1",
55+
"@types/busboy": "^1.5.4",
56+
"@types/node": "^22.10.5",
57+
"@types/qs": "^6.9.17",
58+
"@vitest/coverage-v8": "^2.1.8",
59+
"form-data": "^4.0.1",
60+
"prettier": "^3.4.2",
61+
"qs": "^6.13.1",
62+
"typescript": "^5.7.2",
63+
"vitest": "^2.1.8"
6464
},
6565
"publishConfig": {
6666
"access": "public"

tsconfig.cjs.json

-1
This file was deleted.

tsconfig.eslint.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"extends": "./tsconfig.json",
33
"include": [
4+
"eslint.config.mjs",
5+
"vitest.config.ts",
46
"src",
57
"tests"
6-
],
8+
]
79
}

tsconfig.esm.json

-1
This file was deleted.

tsconfig.json

-9
This file was deleted.

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/@chubbyts/chubbyts-packaging/tsconfig.json

tsconfig.types.json

-1
This file was deleted.

0 commit comments

Comments
 (0)