Skip to content

Commit

Permalink
chore: remove unused and vulnerable github-api package (#1571)
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov authored Nov 10, 2023
1 parent f828c96 commit 43f6c8f
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 92 deletions.
2 changes: 1 addition & 1 deletion .github/actions/docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ inputs:
default: release
bucket:
description: S3 bucket to use for caching, must match runner define in `runs-on`
default: multi-runner-linux-x64-platform-cache-ui535z23
default: multi-runner-cache-x1xibo9c

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/nodejs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
uses: everpcpc/actions-cache@v1
if: contains(runner.name, 'ubuntu-platform')
with:
bucket: multi-runner-linux-x64-platform-cache-ui535z23
bucket: multi-runner-cache-x1xibo9c
root: actions-cache
path: |
.yarn/unplugged
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
uses: everpcpc/actions-cache@v1
if: contains(runner.name, 'ubuntu-platform')
with:
bucket: multi-runner-linux-x64-platform-cache-ui535z23
bucket: multi-runner-cache-x1xibo9c
root: actions-cache
path: |
/home/ubuntu/.cargo/registry/index
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/s3-layer-cache-settings/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:
default: eu-west-1
bucket:
description: S3 bucket name
default: multi-runner-linux-x64-platform-cache-ui535z23
default: multi-runner-cache-x1xibo9c
prefix:
description: S3 key prefix
default: 'cache-layers/'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Load Docker mount cache
uses: dcginfra/buildkit-cache-dance/inject@main
with:
bucket: multi-runner-linux-x64-platform-cache-ui535z23
bucket: multi-runner-cache-x1xibo9c
mounts: |
cargo_registry_index
cargo_registry_cache
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
- name: Store Docker mount cache
uses: dcginfra/buildkit-cache-dance/extract@main
with:
bucket: multi-runner-linux-x64-platform-cache-ui535z23
bucket: multi-runner-cache-x1xibo9c
mounts: |
cargo_registry_index
cargo_registry_cache
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
- name: Load Docker mount cache
uses: dcginfra/buildkit-cache-dance/inject@main
with:
bucket: multi-runner-linux-x64-platform-cache-ui535z23
bucket: multi-runner-cache-x1xibo9c
mounts: |
cargo_registry_index
cargo_registry_cache
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:
- name: Store Docker mount cache
uses: dcginfra/buildkit-cache-dance/extract@main
with:
bucket: multi-runner-linux-x64-platform-cache-ui535z23
bucket: multi-runner-cache-x1xibo9c
mounts: |
cargo_registry_index
cargo_registry_cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/js-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
if: ${{ inputs.start-local-network }}
uses: dcginfra/buildkit-cache-dance/inject@main
with:
bucket: multi-runner-linux-x64-platform-cache-ui535z23
bucket: multi-runner-cache-x1xibo9c
mounts: |
cargo_registry_index
cargo_registry_cache
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
if: ${{ inputs.start-local-network }}
uses: dcginfra/buildkit-cache-dance/extract@main
with:
bucket: multi-runner-linux-x64-platform-cache-ui535z23
bucket: multi-runner-cache-x1xibo9c
mounts: |
cargo_registry_index
cargo_registry_cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
push: true
image_tag: ${{steps.tag.outputs.result}}
bucket: multi-runner-linux-x64-platform-8x-cache-wp1sy0o6
bucket: multi-runner-cache-x1xibo9c
cache_mounts: |
cargo_registry_index
cargo_registry_cache
Expand Down
42 changes: 0 additions & 42 deletions .pnp.cjs

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

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/utf8-npm-2.1.2-17bfd49a94-de5d18adb2.zip
Binary file not shown.
1 change: 0 additions & 1 deletion packages/platform-test-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"dirty-chai": "^2.0.1",
"dotenv-safe": "^8.2.0",
"events": "^3.3.0",
"github-api": "^3.3.0",
"https-browserify": "^1.0.0",
"js-merkle": "^0.1.5",
"karma": "^6.4.1",
Expand Down
40 changes: 2 additions & 38 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,6 @@ __metadata:
eslint-config-airbnb-base: ^14.2.1
eslint-plugin-import: ^2.24.2
events: ^3.3.0
github-api: ^3.3.0
https-browserify: ^1.0.0
js-merkle: ^0.1.5
karma: ^6.4.1
Expand Down Expand Up @@ -4338,15 +4337,6 @@ __metadata:
languageName: node
linkType: hard

"axios@npm:^0.21.1":
version: 0.21.4
resolution: "axios@npm:0.21.4"
dependencies:
follow-redirects: ^1.14.0
checksum: 44245f24ac971e7458f3120c92f9d66d1fc695e8b97019139de5b0cc65d9b8104647db01e5f46917728edfc0cfd88eb30fc4c55e6053eef4ace76768ce95ff3c
languageName: node
linkType: hard

"babel-eslint@npm:^10.1.0":
version: 10.1.0
resolution: "babel-eslint@npm:10.1.0"
Expand Down Expand Up @@ -6171,7 +6161,7 @@ __metadata:
languageName: node
linkType: hard

"debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.6.9":
"debug@npm:2.6.9, debug@npm:^2.6.9":
version: 2.6.9
resolution: "debug@npm:2.6.9"
dependencies:
Expand Down Expand Up @@ -7631,7 +7621,7 @@ __metadata:
languageName: node
linkType: hard

"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.0":
"follow-redirects@npm:^1.0.0":
version: 1.15.2
resolution: "follow-redirects@npm:1.15.2"
peerDependenciesMeta:
Expand Down Expand Up @@ -7994,18 +7984,6 @@ fsevents@~2.3.2:
languageName: node
linkType: hard

"github-api@npm:^3.3.0":
version: 3.4.0
resolution: "github-api@npm:3.4.0"
dependencies:
axios: ^0.21.1
debug: ^2.2.0
js-base64: ^2.1.9
utf8: ^2.1.1
checksum: d6f2def92b518af436b0fde572c9f2b619922d2ccd1038c5e3f5772b382b8a5800b5003421b89d4690b5c1ec067a1f98dd62c90686b160567edfe7105bf7d59a
languageName: node
linkType: hard

"github-slugger@npm:^1.5.0":
version: 1.5.0
resolution: "github-slugger@npm:1.5.0"
Expand Down Expand Up @@ -9425,13 +9403,6 @@ fsevents@~2.3.2:
languageName: node
linkType: hard

"js-base64@npm:^2.1.9":
version: 2.6.4
resolution: "js-base64@npm:2.6.4"
checksum: 5f4084078d6c46f8529741d110df84b14fac3276b903760c21fa8cc8521370d607325dfe1c1a9fbbeaae1ff8e602665aaeef1362427d8fef704f9e3659472ce8
languageName: node
linkType: hard

"js-merkle@npm:^0.1.5":
version: 0.1.5
resolution: "js-merkle@npm:0.1.5"
Expand Down Expand Up @@ -14870,13 +14841,6 @@ typescript@^3.9.5:
languageName: node
linkType: hard

"utf8@npm:^2.1.1":
version: 2.1.2
resolution: "utf8@npm:2.1.2"
checksum: de5d18adb219cae7871e1c105249e2fc7e6cae0e01c2b4c2eb6b099851b3bf62d1db6be6d83b5e4dea09036f8d16dd7222ad46eb326b38940a988e86743c1a61
languageName: node
linkType: hard

"util-deprecate@npm:^1.0.1, util-deprecate@npm:~1.0.1":
version: 1.0.2
resolution: "util-deprecate@npm:1.0.2"
Expand Down

0 comments on commit 43f6c8f

Please sign in to comment.