Skip to content

Commit 7cb23f0

Browse files
chore(deps): update dependency github-enterprise-server-versions to v3 (#475)
* chore(deps): update dependency github-enterprise-server-versions to v3 * Refactor import statement for getCurrentVersions --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: wolfy1339 <[email protected]>
1 parent bdc899c commit 7cb23f0

File tree

3 files changed

+9
-55
lines changed

3 files changed

+9
-55
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"devDependencies": {
1818
"@octokit/core": "^7.0.0",
1919
"@octokit/plugin-paginate-rest": "^13.0.0",
20-
"github-enterprise-server-versions": "^2.0.0",
20+
"github-enterprise-server-versions": "^3.0.0",
2121
"openapi-typescript": "^6.2.1",
2222
"prettier": "3.6.2"
2323
},

scripts/download.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { mkdir, rm } from "node:fs/promises";
33

44
import { Octokit } from "@octokit/core";
55
import { paginateRest } from "@octokit/plugin-paginate-rest";
6-
import gheVersions from "github-enterprise-server-versions";
7-
const { getCurrentVersions } = gheVersions;
6+
import { getCurrentVersions } from "github-enterprise-server-versions";
87

98
if (!process.env.OCTOKIT_OPENAPI_VERSION) {
109
throw new Error("OCTOKIT_OPENAPI_VERSION is not set");

0 commit comments

Comments
 (0)