chore: bump @types/node, enable Dependabot updates, rebuild dist

Co-authored-by: chenrui333 <1580956+chenrui333@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-10-07 03:18:43 +00:00
parent 436626188b
commit 7005cadf68
6 changed files with 16 additions and 10 deletions

View file

@ -12,9 +12,6 @@ updates:
- dependency-name: node-fetch
versions:
- ">=3.0.0"
- dependency-name: "@types/node"
versions:
- ">=22.0.0"
commit-message:
prefix: "chore(deps)"
- package-ecosystem: github-actions

View file

@ -6,6 +6,12 @@
* feat(action): respect working_directory for files globs by @stephenway in https://github.com/softprops/action-gh-release/pull/667
### Other Changes 🔄
* Move action runtime to node24 and require Node >=24
* Update @types/node to ^22 for Node 24 compatibility
* Enable Dependabot updates for @types/node >=22
## 2.3.4
## What's Changed

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

11
package-lock.json generated
View file

@ -18,7 +18,7 @@
"devDependencies": {
"@types/glob": "^9.0.0",
"@types/mime-types": "^3.0.1",
"@types/node": "^20.19.19",
"@types/node": "^22",
"@vercel/ncc": "^0.38.4",
"@vitest/coverage-v8": "^3.2.4",
"prettier": "3.6.2",
@ -26,6 +26,9 @@
"typescript": "^5.9.3",
"typescript-formatter": "^7.2.2",
"vitest": "^3.1.4"
},
"engines": {
"node": ">=24"
}
},
"node_modules/@actions/core": {
@ -1482,9 +1485,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "20.19.19",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.19.tgz",
"integrity": "sha512-pb1Uqj5WJP7wrcbLU7Ru4QtA0+3kAXrkutGiD26wUKzSMgNNaPARTUDQmElUXp64kh3cWdou3Q0C7qwwxqSFmg==",
"version": "22.18.8",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.8.tgz",
"integrity": "sha512-pAZSHMiagDR7cARo/cch1f3rXy0AEXwsVsVH09FcyeJVAzCnGgmYis7P3JidtTUjyadhTeSo8TgRPswstghDaw==",
"dev": true,
"license": "MIT",
"dependencies": {

View file

@ -35,7 +35,7 @@
"devDependencies": {
"@types/glob": "^9.0.0",
"@types/mime-types": "^3.0.1",
"@types/node": "^20.19.19",
"@types/node": "^22",
"@vercel/ncc": "^0.38.4",
"@vitest/coverage-v8": "^3.2.4",
"prettier": "3.6.2",

View file

@ -183,7 +183,7 @@ export const upload = async (
'content-type': mime,
authorization: `token ${config.github_token}`,
},
data: fh.readableWebStream({ type: 'bytes' }),
data: fh.readableWebStream(),
});
const json = resp.data;
if (resp.status !== 201) {