Fix dependabot errors
I explicitly had to downgrade "@octokit/plugin-retry" to "^6.0.0". Other dependencies were upgraded.
This commit is contained in:
parent
f338ec87a3
commit
5f98c40063
1536 changed files with 52911 additions and 424849 deletions
20
node_modules/@octokit/graphql/README.md
generated
vendored
20
node_modules/@octokit/graphql/README.md
generated
vendored
|
|
@ -3,7 +3,7 @@
|
|||
> GitHub GraphQL API client for browsers and Node
|
||||
|
||||
[](https://www.npmjs.com/package/@octokit/graphql)
|
||||
[](https://github.com/octokit/graphql.js/actions?query=workflow%3ATest+branch%3Amaster)
|
||||
[](https://github.com/octokit/graphql.js/actions?query=workflow%3ATest+branch%3Amain)
|
||||
|
||||
<!-- toc -->
|
||||
|
||||
|
|
@ -31,11 +31,11 @@
|
|||
Browsers
|
||||
</th><td width=100%>
|
||||
|
||||
Load `@octokit/graphql` directly from [cdn.skypack.dev](https://cdn.skypack.dev)
|
||||
Load `@octokit/graphql` directly from [esm.sh](https://esm.sh)
|
||||
|
||||
```html
|
||||
<script type="module">
|
||||
import { graphql } from "https://cdn.skypack.dev/@octokit/graphql";
|
||||
import { graphql } from "https://esm.sh/@octokit/graphql";
|
||||
</script>
|
||||
```
|
||||
|
||||
|
|
@ -76,7 +76,7 @@ const { repository } = await graphql(
|
|||
headers: {
|
||||
authorization: `token secret123`,
|
||||
},
|
||||
}
|
||||
},
|
||||
);
|
||||
```
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ For more complex authentication strategies such as GitHub Apps or Basic, we reco
|
|||
```js
|
||||
const { createAppAuth } = require("@octokit/auth-app");
|
||||
const auth = createAppAuth({
|
||||
id: process.env.APP_ID,
|
||||
appId: process.env.APP_ID,
|
||||
privateKey: process.env.PRIVATE_KEY,
|
||||
installationId: 123,
|
||||
});
|
||||
|
|
@ -131,7 +131,7 @@ const { repository } = await graphqlWithAuth(
|
|||
}
|
||||
}
|
||||
}
|
||||
}`
|
||||
}`,
|
||||
);
|
||||
```
|
||||
|
||||
|
|
@ -160,7 +160,7 @@ const { lastIssues } = await graphql(
|
|||
headers: {
|
||||
authorization: `token secret123`,
|
||||
},
|
||||
}
|
||||
},
|
||||
);
|
||||
```
|
||||
|
||||
|
|
@ -222,7 +222,7 @@ const { withCustomRequest } = require("@octokit/graphql");
|
|||
let requestCounter = 0;
|
||||
const myRequest = request.defaults({
|
||||
headers: {
|
||||
authentication: "token secret123",
|
||||
authorization: "bearer secret123",
|
||||
},
|
||||
request: {
|
||||
hook(request, options) {
|
||||
|
|
@ -268,7 +268,7 @@ All errors can be accessed at `error.errors`. `error.request` has the request op
|
|||
|
||||
```js
|
||||
let { graphql, GraphqlResponseError } = require("@octokit/graphql");
|
||||
graphqlt = graphql.defaults({
|
||||
graphql = graphql.defaults({
|
||||
headers: {
|
||||
authorization: `token secret123`,
|
||||
},
|
||||
|
|
@ -396,7 +396,7 @@ graphql("{ viewer { login } }", {
|
|||
assert.strictEqual(
|
||||
options.body,
|
||||
'{"query":"{ viewer { login } }"}',
|
||||
"Sends correct query"
|
||||
"Sends correct query",
|
||||
);
|
||||
return { data: {} };
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue