Skip to content

Commit 0bd7e8b

Browse files
Update all dependencies + dependabot.yml configuration + node16 (softprops#275)
* Create dependabot.yml * Bump actions/checkout from 2 to 3 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update to node16 * Bump @types/node from 12.12.24 to 18.11.9 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.24 to 18.11.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Bump glob and @types/glob Bumps [glob](https://github.com/isaacs/node-glob) and [@types/glob](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/glob). These dependencies needed to be updated together. Updates `glob` from 7.1.6 to 8.0.3 - [Release notes](https://github.com/isaacs/node-glob/releases) - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md) - [Commits](isaacs/node-glob@v7.1.6...v8.0.3) Updates `@types/glob` from 7.1.1 to 8.0.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/glob) --- updated-dependencies: - dependency-name: glob dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/glob" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Bump @actions/github from 5.0.0 to 5.1.1 Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.0.0 to 5.1.1. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github) --- updated-dependencies: - dependency-name: "@actions/github" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump ts-jest from 24.2.0 to 24.3.0 Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 24.2.0 to 24.3.0. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v24.2.0...v24.3.0) --- updated-dependencies: - dependency-name: ts-jest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump prettier from 1.19.1 to 2.7.1 Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.7.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@1.19.1...2.7.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Bump @octokit/plugin-retry from 3.0.9 to 4.0.3 Bumps [@octokit/plugin-retry](https://github.com/octokit/plugin-retry.js) from 3.0.9 to 4.0.3. - [Release notes](https://github.com/octokit/plugin-retry.js/releases) - [Commits](octokit/plugin-retry.js@v3.0.9...v4.0.3) --- updated-dependencies: - dependency-name: "@octokit/plugin-retry" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Resolve conflicts * Resolve conflicts * Resolve conflicts * Bump mime and @types/mime Bumps [mime](https://github.com/broofa/mime) and [@types/mime](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mime). These dependencies needed to be updated together. Updates `mime` from 2.4.4 to 3.0.0 - [Release notes](https://github.com/broofa/mime/releases) - [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md) - [Commits](broofa/mime@v2.4.4...v3.0.0) Updates `@types/mime` from 2.0.1 to 3.0.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mime) --- updated-dependencies: - dependency-name: mime dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/mime" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Bump @octokit/plugin-throttling from 3.7.0 to 4.3.2 Bumps [@octokit/plugin-throttling](https://github.com/octokit/plugin-throttling.js) from 3.7.0 to 4.3.2. - [Release notes](https://github.com/octokit/plugin-throttling.js/releases) - [Commits](octokit/plugin-throttling.js@v3.7.0...v4.3.2) --- updated-dependencies: - dependency-name: "@octokit/plugin-throttling" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Bump @zeit/ncc from 0.21.1 to 0.22.3 Bumps [@zeit/ncc](https://github.com/zeit/ncc) from 0.21.1 to 0.22.3. - [Release notes](https://github.com/zeit/ncc/releases) - [Commits](vercel/ncc@0.21.1...0.22.3) --- updated-dependencies: - dependency-name: "@zeit/ncc" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update dependabot.yml * Update dependabot.yml * Regenerate package-lock.json and dist folder * Update * Bump typescript from 3.9.10 to 4.8.4 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.10 to 4.8.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v3.9.10...v4.8.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Resolve conflicts * Bump jest-circus from 24.9.0 to 29.2.2 Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 24.9.0 to 29.2.2. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v29.2.2/packages/jest-circus) --- updated-dependencies: - dependency-name: jest-circus dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Resolve conflicts * Resolve conflicts * Resolve conflicts * Resolve conflicts * Bump @types/jest from 24.9.1 to 29.2.2 Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.9.1 to 29.2.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) --- updated-dependencies: - dependency-name: "@types/jest" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update main.yml * Bump jest-circus from 29.3.0 to 29.3.1 Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 29.3.0 to 29.3.1. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v29.3.1/packages/jest-circus) --- updated-dependencies: - dependency-name: jest-circus dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump jest from 29.3.0 to 29.3.1 Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.3.0 to 29.3.1. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v29.3.1/packages/jest) --- updated-dependencies: - dependency-name: jest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent cd28b0f commit 0bd7e8b

File tree

12 files changed

+7030
-4219
lines changed

12 files changed

+7030
-4219
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
ignore:
8+
- dependency-name: node-fetch
9+
versions:
10+
- ">=3.0.0"
11+
- package-ecosystem: github-actions
12+
directory: "/"
13+
schedule:
14+
interval: weekly

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
# https://github.com/actions/checkout
1010
- name: Checkout
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212
- name: Install
1313
run: npm ci
1414
- name: Build
@@ -23,4 +23,4 @@ jobs:
2323
# git diff --exit-code --stat -- . ':!node_modules' \
2424
# || (echo "##[error] found changed files after build. please 'npm run build && npm run fmt'" \
2525
# "and check in all changes" \
26-
# && exit 1)
26+
# && exit 1)

__tests__/util.test.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
parseConfig,
66
parseInputFiles,
77
unmatchedPatterns,
8-
uploadUrl
8+
uploadUrl,
99
} from "../src/util";
1010
import * as assert from "assert";
1111

@@ -51,7 +51,7 @@ describe("util", () => {
5151
input_tag_name: undefined,
5252
input_target_commitish: undefined,
5353
input_discussion_category_name: undefined,
54-
input_generate_release_notes: false
54+
input_generate_release_notes: false,
5555
})
5656
);
5757
});
@@ -71,7 +71,7 @@ describe("util", () => {
7171
input_tag_name: undefined,
7272
input_target_commitish: undefined,
7373
input_discussion_category_name: undefined,
74-
input_generate_release_notes: false
74+
input_generate_release_notes: false,
7575
})
7676
);
7777
});
@@ -91,7 +91,7 @@ describe("util", () => {
9191
input_tag_name: undefined,
9292
input_target_commitish: undefined,
9393
input_discussion_category_name: undefined,
94-
input_generate_release_notes: false
94+
input_generate_release_notes: false,
9595
})
9696
);
9797
});
@@ -107,7 +107,7 @@ describe("util", () => {
107107
// so we cover that in a test case here to ensure undefined values are actually
108108
// resolved as undefined and not empty strings
109109
INPUT_TARGET_COMMITISH: "",
110-
INPUT_DISCUSSION_CATEGORY_NAME: ""
110+
INPUT_DISCUSSION_CATEGORY_NAME: "",
111111
}),
112112
{
113113
github_ref: "",
@@ -124,15 +124,15 @@ describe("util", () => {
124124
input_fail_on_unmatched_files: false,
125125
input_target_commitish: undefined,
126126
input_discussion_category_name: undefined,
127-
input_generate_release_notes: false
127+
input_generate_release_notes: false,
128128
}
129129
);
130130
});
131131

132132
it("parses basic config with commitish", () => {
133133
assert.deepStrictEqual(
134134
parseConfig({
135-
INPUT_TARGET_COMMITISH: "affa18ef97bc9db20076945705aba8c516139abd"
135+
INPUT_TARGET_COMMITISH: "affa18ef97bc9db20076945705aba8c516139abd",
136136
}),
137137
{
138138
github_ref: "",
@@ -149,14 +149,14 @@ describe("util", () => {
149149
input_fail_on_unmatched_files: false,
150150
input_target_commitish: "affa18ef97bc9db20076945705aba8c516139abd",
151151
input_discussion_category_name: undefined,
152-
input_generate_release_notes: false
152+
input_generate_release_notes: false,
153153
}
154154
);
155155
});
156156
it("supports discussion category names", () => {
157157
assert.deepStrictEqual(
158158
parseConfig({
159-
INPUT_DISCUSSION_CATEGORY_NAME: "releases"
159+
INPUT_DISCUSSION_CATEGORY_NAME: "releases",
160160
}),
161161
{
162162
github_ref: "",
@@ -173,15 +173,15 @@ describe("util", () => {
173173
input_fail_on_unmatched_files: false,
174174
input_target_commitish: undefined,
175175
input_discussion_category_name: "releases",
176-
input_generate_release_notes: false
176+
input_generate_release_notes: false,
177177
}
178178
);
179179
});
180180

181181
it("supports generating release notes", () => {
182182
assert.deepStrictEqual(
183183
parseConfig({
184-
INPUT_GENERATE_RELEASE_NOTES: "true"
184+
INPUT_GENERATE_RELEASE_NOTES: "true",
185185
}),
186186
{
187187
github_ref: "",
@@ -198,7 +198,7 @@ describe("util", () => {
198198
input_fail_on_unmatched_files: false,
199199
input_target_commitish: undefined,
200200
input_discussion_category_name: undefined,
201-
input_generate_release_notes: true
201+
input_generate_release_notes: true,
202202
}
203203
);
204204
});
@@ -209,7 +209,7 @@ describe("util", () => {
209209
INPUT_DRAFT: "false",
210210
INPUT_PRERELEASE: "true",
211211
GITHUB_TOKEN: "env-token",
212-
INPUT_TOKEN: "input-token"
212+
INPUT_TOKEN: "input-token",
213213
}),
214214
{
215215
github_ref: "",
@@ -226,7 +226,7 @@ describe("util", () => {
226226
input_fail_on_unmatched_files: false,
227227
input_target_commitish: undefined,
228228
input_discussion_category_name: undefined,
229-
input_generate_release_notes: false
229+
input_generate_release_notes: false,
230230
}
231231
);
232232
});
@@ -235,7 +235,7 @@ describe("util", () => {
235235
parseConfig({
236236
INPUT_DRAFT: "false",
237237
INPUT_PRERELEASE: "true",
238-
INPUT_TOKEN: "input-token"
238+
INPUT_TOKEN: "input-token",
239239
}),
240240
{
241241
github_ref: "",
@@ -252,15 +252,15 @@ describe("util", () => {
252252
input_fail_on_unmatched_files: false,
253253
input_target_commitish: undefined,
254254
input_discussion_category_name: undefined,
255-
input_generate_release_notes: false
255+
input_generate_release_notes: false,
256256
}
257257
);
258258
});
259259
it("parses basic config with draft and prerelease", () => {
260260
assert.deepStrictEqual(
261261
parseConfig({
262262
INPUT_DRAFT: "false",
263-
INPUT_PRERELEASE: "true"
263+
INPUT_PRERELEASE: "true",
264264
}),
265265
{
266266
github_ref: "",
@@ -277,14 +277,14 @@ describe("util", () => {
277277
input_fail_on_unmatched_files: false,
278278
input_target_commitish: undefined,
279279
input_discussion_category_name: undefined,
280-
input_generate_release_notes: false
280+
input_generate_release_notes: false,
281281
}
282282
);
283283
});
284284
it("parses basic config with append_body", () => {
285285
assert.deepStrictEqual(
286286
parseConfig({
287-
INPUT_APPEND_BODY: "true"
287+
INPUT_APPEND_BODY: "true",
288288
}),
289289
{
290290
github_ref: "",
@@ -301,7 +301,7 @@ describe("util", () => {
301301
input_fail_on_unmatched_files: false,
302302
input_target_commitish: undefined,
303303
input_discussion_category_name: undefined,
304-
input_generate_release_notes: false
304+
input_generate_release_notes: false,
305305
}
306306
);
307307
});

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ outputs:
5858
assets:
5959
description: "JSON array containing information about each uploaded asset, in the format given [here](https://docs.github.com/en/rest/reference/repos#upload-a-release-asset--code-samples) (minus the `uploader` field)"
6060
runs:
61-
using: "node12"
61+
using: "node16"
6262
main: "dist/index.js"
6363
branding:
6464
color: "green"

0 commit comments

Comments
 (0)