Skip to content

Commit b77f226

Browse files
authored
Merge pull request actions#2249 from actions/fix/upgrade-octokit-dependencies
upgrade octokit dependencies
2 parents 4236fc3 + f61ae48 commit b77f226

File tree

9 files changed

+214
-222
lines changed

9 files changed

+214
-222
lines changed

jest.config.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@ module.exports = {
55
testEnvironment: 'node',
66
testMatch: ['**/__tests__/*.test.ts'],
77
transform: {
8-
'^.+\\.ts$': ['ts-jest', {isolatedModules: true, diagnostics: {warnOnly: true}}]
8+
'^.+\\.(ts|js)$': ['ts-jest', {
9+
isolatedModules: true,
10+
diagnostics: {warnOnly: true},
11+
tsconfig: {
12+
allowJs: true,
13+
esModuleInterop: true
14+
}
15+
}]
916
},
17+
transformIgnorePatterns: [
18+
'/node_modules/(?!(@octokit|universal-user-agent|before-after-hook)/)'
19+
],
1020
verbose: true
1121
}

package-lock.json

Lines changed: 78 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
"overrides": {
3737
"semver": "^7.6.0",
3838
"tar": "^6.2.1",
39-
"@octokit/plugin-paginate-rest": "^9.2.2",
40-
"@octokit/request": "^8.4.1",
41-
"@octokit/request-error": "^5.1.1",
42-
"@octokit/core": "^5.0.3",
39+
"@octokit/plugin-paginate-rest": "^14.0.0",
40+
"@octokit/request": "^10.0.7",
41+
"@octokit/request-error": "^7.1.0",
42+
"@octokit/core": "^7.0.6",
4343
"tmp": "^0.2.4",
4444
"@types/node": "^24.1.0",
4545
"brace-expansion": "^2.0.2",

packages/artifact/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/github/RELEASES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @actions/github Releases
22

3+
### 8.0.0
4+
5+
- Update @octokit dependencies
6+
- `@octokit/core` ^7.0.6
7+
- `@octokit/plugin-paginate-rest` ^14.0.0
8+
- `@octokit/plugin-rest-endpoint-methods` ^17.0.0
9+
- `@octokit/request` ^10.0.7
10+
- `@octokit/request-error` ^7.1.0
11+
- **Breaking change**: Minimum Node.js version is now 20 (previously 18)
12+
313
### 7.0.0
414

515
- Update to v3.0.1 of `@actions/http-client`

packages/github/jest.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ module.exports = {
44
testEnvironment: 'node',
55
testMatch: ['**/*.test.ts'],
66
transform: {
7-
'^.+\\.ts$': 'ts-jest'
7+
'^.+\\.(ts|js)$': ['ts-jest', {
8+
useESM: false,
9+
tsconfig: {
10+
allowJs: true,
11+
esModuleInterop: true
12+
}
13+
}]
814
},
15+
transformIgnorePatterns: [
16+
'/node_modules/(?!(@octokit|universal-user-agent|before-after-hook)/)'
17+
],
918
verbose: true
1019
}

0 commit comments

Comments
 (0)