Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: octokit/graphql.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.8.0
Choose a base ref
...
head repository: octokit/graphql.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 41d5993e2d9d4558d1646cf176cac3a0c292e056
Choose a head ref

Commits on Sep 6, 2021

  1. build(deps): lock file maintenance

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 6, 2021
    Copy the full SHA
    6f102dc View commit details

Commits on Sep 9, 2021

  1. chore(deps): update dependency prettier to v2.4.0

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 9, 2021
    Copy the full SHA
    752da24 View commit details

Commits on Sep 13, 2021

  1. build(deps): lock file maintenance

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 13, 2021
    Copy the full SHA
    fccbe11 View commit details

Commits on Sep 16, 2021

  1. chore(deps): update dependency prettier to v2.4.1

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 16, 2021
    Copy the full SHA
    2444f4a View commit details

Commits on Sep 17, 2021

  1. Copy the full SHA
    32257e9 View commit details
  2. Copy the full SHA
    3e77873 View commit details
  3. chore(deps): update dependency semantic-release to v18

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 17, 2021
    Copy the full SHA
    f1de580 View commit details

Commits on Sep 20, 2021

  1. build(deps): lock file maintenance

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 20, 2021
    Copy the full SHA
    bc203c5 View commit details

Commits on Sep 27, 2021

  1. build(deps): lock file maintenance

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 27, 2021
    Copy the full SHA
    0fe00ca View commit details

Commits on Oct 4, 2021

  1. build(deps): lock file maintenance

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Oct 4, 2021
    Copy the full SHA
    5d2a088 View commit details

Commits on May 16, 2022

  1. Copy the full SHA
    3508192 View commit details

Commits on Jun 5, 2022

  1. Copy the full SHA
    eb44f05 View commit details

Commits on Jun 17, 2022

  1. Create SECURITY.md

    nickfloyd authored Jun 17, 2022
    Copy the full SHA
    bf85410 View commit details

Commits on Jun 24, 2022

  1. build(deps): update dependency ansi-regex [security] (#348)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 24, 2022
    Copy the full SHA
    2070c38 View commit details
  2. Copy the full SHA
    72b4505 View commit details
  3. Copy the full SHA
    95cf73d View commit details
  4. chore(deps): update dependency prettier to v2.7.1 (#354)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 24, 2022
    Copy the full SHA
    79622fe View commit details
  5. chore(deps): update dependency @types/node to v16

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 24, 2022
    Copy the full SHA
    2fd5de6 View commit details
  6. ci(action): update actions/setup-node action to v3 (#359)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 24, 2022
    Copy the full SHA
    21467a4 View commit details
  7. ci(action): update actions/checkout action to v3 (#358)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 24, 2022
    Copy the full SHA
    0ae9dfd View commit details
  8. ci(action): update github/codeql-action action to v2 (#360)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 24, 2022
    Copy the full SHA
    b8737b4 View commit details
  9. build(dev-deps): remove semantic-release (#352)

    Co-authored-by: wolfy1339 <webmaster@wolfy1339.com>
    renovate[bot] and wolfy1339 authored Jun 24, 2022
    Copy the full SHA
    b06300f View commit details
  10. build(deps): update dependency ansi-regex to 3.0.1 [security] (#361)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 24, 2022
    Copy the full SHA
    6a386ca View commit details
  11. Copy the full SHA
    0fb80ce View commit details

Commits on Jun 25, 2022

  1. Copy the full SHA
    2f83ab4 View commit details

Commits on Jul 7, 2022

  1. ci(action): pin dependencies (#366)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 7, 2022
    Copy the full SHA
    73b7cec View commit details
  2. fix(deps): update dependency @octokit/request to v6 (#367)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 7, 2022
    Copy the full SHA
    c75759b View commit details

Commits on Jul 8, 2022

  1. ci: stop testing against NodeJS v10, v12 (#365)

    BREAKING CHANGE: Drop support for NodeJS v10, v12
    wolfy1339 authored Jul 8, 2022
    Copy the full SHA
    41d5993 View commit details
Showing with 909 additions and 4,801 deletions.
  1. +6 −4 .github/workflows/codeql.yml
  2. +5 −6 .github/workflows/release.yml
  3. +3 −4 .github/workflows/test.yml
  4. +5 −5 .github/workflows/update-prettier.yml
  5. +1 −1 README.md
  6. +12 −0 SECURITY.md
  7. +866 −4,775 package-lock.json
  8. +11 −6 package.json
10 changes: 6 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,8 @@ name: "Code scanning - action"
on:
push:
pull_request:
branches-ignore:
- "dependabot/**"
schedule:
- cron: '0 19 * * 0'

@@ -14,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
@@ -27,15 +29,15 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@3f62b754e23e0dd60f91b744033e1dc1654c0ec6 # tag=v2
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@3f62b754e23e0dd60f91b744033e1dc1654c0ec6 # tag=v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -49,4 +51,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@3f62b754e23e0dd60f91b744033e1dc1654c0ec6 # tag=v2
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: Release
on:
"on":
push:
branches:
- master
- next
- beta
- "*.x" # maintenance releases

- "*.x"
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3
with:
node-version: 12
node-version: 16
cache: npm
- run: npm ci
- run: npm run build
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -13,14 +13,13 @@ jobs:
strategy:
matrix:
node_version:
- 10
- 12
- 14
- 16
- 18
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: "Use Node.js ${{ matrix.node_version }}"
uses: actions/setup-node@v2
uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3
with:
node-version: "${{ matrix.node_version }}"
cache: npm
10 changes: 5 additions & 5 deletions .github/workflows/update-prettier.yml
Original file line number Diff line number Diff line change
@@ -8,17 +8,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v2
- uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3
with:
node-version: 12
node-version: 16
cache: npm
- run: npm ci
- run: "npm run lint:fix"
- run: npm run lint:fix
- uses: gr2m/create-or-update-pull-request-action@v1.x
env:
GITHUB_TOKEN: "${{ secrets.OCTOKITBOT_PAT }}"
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
with:
title: Prettier updated
body: An update to prettier required updates to your code.
branch: "${{ github.ref }}"
branch: ${{ github.ref }}
commit-message: "style: prettier"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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`,
},
12 changes: 12 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Security Policy

Thanks for helping make GitHub Open Source Software safe for everyone.

GitHub takes the security of our software products and services seriously, including all of the open source code repositories managed through our GitHub organizations, such as [Octokit](https://github.com/octokit).

Even though [open source repositories are outside of the scope of our bug bounty program](https://bounty.github.com/index.html#scope) and therefore not eligible for bounty rewards, we want to make sure that your finding gets passed along to the maintainers of this project for remediation.


## Reporting a Vulnerability

Since this source is part of [Octokit](https://github.com/octokit) (a GitHub organization) we ask that you follow the guidelines [here](https://github.com/github/.github/blob/master/SECURITY.md#reporting-security-issues) to report anything that you might've found.
5,641 changes: 866 additions & 4,775 deletions package-lock.json

Large diffs are not rendered by default.

17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
},
"description": "GitHub GraphQL API client for browsers and Node",
"scripts": {
"build": "pika build",
"build": "pika-pack build",
"lint": "prettier --check {src,test}/* README.md package.json",
"lint:fix": "prettier --write {src,test}/* README.md package.json",
"pretest": "npm run lint -s",
@@ -22,7 +22,7 @@
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT",
"dependencies": {
"@octokit/request": "^5.6.0",
"@octokit/request": "^6.0.0",
"@octokit/types": "^6.0.3",
"universal-user-agent": "^6.0.0"
},
@@ -33,11 +33,10 @@
"@pika/plugin-ts-standard-pkg": "^0.9.0",
"@types/fetch-mock": "^7.2.5",
"@types/jest": "^27.0.0",
"@types/node": "^14.0.4",
"@types/node": "^16.0.0",
"fetch-mock": "^9.0.0",
"jest": "^27.0.0",
"prettier": "2.3.2",
"semantic-release": "^17.0.0",
"prettier": "2.7.1",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"ts-jest": "^27.0.0-next.12",
"typescript": "^4.0.0"
@@ -59,7 +58,10 @@
"@pika/plugin-ts-standard-pkg"
],
[
"@pika/plugin-build-node"
"@pika/plugin-build-node",
{
"minNodeVersion": "14"
}
],
[
"@pika/plugin-build-web"
@@ -93,5 +95,8 @@
"extends": [
"github>octokit/.github"
]
},
"engines": {
"node": ">= 14"
}
}