feat: upgrade all dependencies

This commit is contained in:
Harsh Shandilya 2023-02-09 11:48:46 +00:00
parent 9c5618886c
commit ce87698019
6 changed files with 3527 additions and 5230 deletions

23
dist/index.js vendored

File diff suppressed because one or more lines are too long

6
dist/index.js.LICENSE.txt vendored Normal file
View File

@ -0,0 +1,6 @@
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

View File

@ -22,31 +22,31 @@
"dependencies": {
"@actions/core": "^1.2.0",
"@actions/exec": "^1.0.3",
"remark-parse": "^7.0.2",
"remark-stringify": "^7.0.4",
"remark-parse": "^10.0.1",
"remark-stringify": "^10.0.2",
"stream-buffers": "^3.0.2",
"unified": "^8.4.2"
"unified": "^10.1.2"
},
"devDependencies": {
"@types/jest": "^24.0.23",
"@types/node": "^12.7.12",
"@types/jest": "^29.4.0",
"@types/node": "^18.13.0",
"@types/stream-buffers": "^3.0.3",
"@types/unist": "^2.0.3",
"@types/vfile": "^4.0.0",
"@typescript-eslint/parser": "^2.8.0",
"eslint": "^5.16.0",
"eslint-plugin-github": "^2.0.0",
"eslint-plugin-jest": "^22.21.0",
"jest": "^24.9.0",
"jest-circus": "^24.9.0",
"js-yaml": "^3.13.1",
"@typescript-eslint/parser": "^5.51.0",
"eslint": "^8.33.0",
"eslint-plugin-github": "^4.6.0",
"eslint-plugin-jest": "^27.2.1",
"jest": "^29.4.2",
"jest-circus": "^29.4.2",
"js-yaml": "^4.1.0",
"mock-env": "^0.2.0",
"prettier": "^1.19.1",
"to-vfile": "^6.0.0",
"ts-jest": "^24.2.0",
"ts-loader": "^6.2.1",
"typescript": "^3.7.3",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
"prettier": "^2.8.4",
"to-vfile": "^7.2.4",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
}
}

View File

@ -22,7 +22,7 @@ async function run(): Promise<void> {
);
await write(newChangelog, { encoding: "utf-8" });
} catch (error) {
} catch (error: any) {
setFailed(error.message);
}
}

View File

@ -1,4 +1,4 @@
import unified, { Transformer } from "unified";
import { unified, Transformer } from "unified";
import markdown from "remark-parse";
import stringify from "remark-stringify";
import { VFile } from "vfile";
@ -80,7 +80,7 @@ function releaseTransformation({
owner,
repo
}: Options) {
return transformer as Transformer;
return transformer;
function transformer(tree: MarkdownRootNode, _file: VFile) {
const previousVersion = determinePreviousVersion(tree);

8684
yarn.lock

File diff suppressed because it is too large Load Diff