Skip to content

Commit

Permalink
Bump @octokit/core from 5.0.1 to 5.1.0 (#680)
Browse files Browse the repository at this point in the history
* Bump @octokit/core from 5.0.1 to 5.1.0

Bumps [@octokit/core](https://github.com/octokit/core.js) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/octokit/core.js/releases)
- [Commits](octokit/core.js@v5.0.1...v5.1.0)

---
updated-dependencies:
- dependency-name: "@octokit/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* `makers setup && makers build`

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kenichi Kamiya <[email protected]>
  • Loading branch information
dependabot[bot] and kachick authored Feb 18, 2024
1 parent 00f76f0 commit 600c11a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
28 changes: 14 additions & 14 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19585,7 +19585,12 @@ var require_dist_node8 = __commonJS({
var import_request = require_dist_node5();
var import_graphql = require_dist_node6();
var import_auth_token = require_dist_node7();
var VERSION = "5.0.1";
var VERSION = "5.1.0";
var noop = () => {
};
var consoleWarn = console.warn.bind(console);
var consoleError = console.error.bind(console);
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
var Octokit2 = class {
static {
this.VERSION = VERSION;
Expand Down Expand Up @@ -19646,10 +19651,7 @@ var require_dist_node8 = __commonJS({
format: ""
}
};
requestDefaults.headers["user-agent"] = [
options.userAgent,
`octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`
].filter(Boolean).join(" ");
requestDefaults.headers["user-agent"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail;
if (options.baseUrl) {
requestDefaults.baseUrl = options.baseUrl;
}
Expand All @@ -19663,12 +19665,10 @@ var require_dist_node8 = __commonJS({
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
this.log = Object.assign(
{
debug: () => {
},
info: () => {
},
warn: console.warn.bind(console),
error: console.error.bind(console)
debug: noop,
info: noop,
warn: consoleWarn,
error: consoleError
},
options.log
);
Expand Down Expand Up @@ -19705,9 +19705,9 @@ var require_dist_node8 = __commonJS({
this.auth = auth;
}
const classConstructor = this.constructor;
classConstructor.plugins.forEach((plugin) => {
Object.assign(this, plugin(this, options));
});
for (let i = 0; i < classConstructor.plugins.length; ++i) {
Object.assign(this, classConstructor.plugins[i](this, options));
}
}
};
}
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@octokit/core": "^5.0.1",
"@octokit/core": "^5.1.0",
"@octokit/graphql-schema": "^14.55.1",
"@octokit/plugin-paginate-graphql": "^4.0.0",
"ansi-styles": "^6.2.1",
Expand Down

0 comments on commit 600c11a

Please sign in to comment.