Skip to content

Commit

Permalink
chore: dependency pinning and auditing (#3449)
Browse files Browse the repository at this point in the history
* chore: run audit in CI

* chore: pin dependencies

* chore: changeset

* chore: pin tilde deps

* chore: fix changeset

* chore: fix workspace versions

* chore: regen lock

* chore: remove audit

* chore: update changeset

Co-authored-by: Peter Smith <[email protected]>

* chore: add audit workflow

* chore: changeset

* chore: worflow check

* chore: rebuild

* chore: rebuild

* chore: test audit

* chore: disable audit

---------

Co-authored-by: Peter Smith <[email protected]>
  • Loading branch information
danielbate and petertonysmith94 authored Jan 2, 2025
1 parent e8a8c71 commit 12e801e
Show file tree
Hide file tree
Showing 33 changed files with 973 additions and 2,894 deletions.
20 changes: 20 additions & 0 deletions .changeset/fluffy-cooks-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"create-fuels": patch
"@fuel-ts/transactions": patch
"@fuel-ts/abi-typegen": patch
"@fuel-ts/abi-coder": patch
"@fuel-ts/contract": patch
"@fuel-ts/versions": patch
"@fuel-ts/account": patch
"@fuel-ts/address": patch
"@fuel-ts/program": patch
"@fuel-ts/crypto": patch
"@fuel-ts/hasher": patch
"@fuel-ts/logger": patch
"@fuel-ts/merkle": patch
"fuels": patch
"@fuel-ts/utils": patch
"@fuel-ts/math": patch
---

chore: dependency pinning and auditing
21 changes: 21 additions & 0 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Audit"

on:
pull_request:
branches:
- master

jobs:
audit:
if: false
# if: startsWith(github.head_ref, 'changeset-release')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: CI Setup
uses: ./.github/actions/ci-setup

- name: Audit
run: pnpm audit
52 changes: 26 additions & 26 deletions apps/create-fuels-counter-guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@
"postbuild": "run-s fuels:build original:build"
},
"dependencies": {
"@fuels/connectors": "^0.36.1",
"@fuels/react": "^0.36.1",
"@tanstack/react-query": "^5.55.4",
"@fuels/connectors": "0.36.1",
"@fuels/react": "0.36.1",
"@tanstack/react-query": "5.55.4",
"clsx": "2.1.1",
"@wagmi/connectors": "^5.1.14",
"@wagmi/core": "^2.13.9",
"dotenv": "^16.4.5",
"@wagmi/connectors": "5.1.14",
"@wagmi/core": "2.13.9",
"dotenv": "16.4.5",
"fuels": "workspace:*",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-toastify": "^10.0.6"
"react": "18.3.1",
"react-dom": "18.3.1",
"react-toastify": "10.0.6"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.3",
"@eslint/js": "^9.10.0",
"@types/node": "^22.5.5",
"@playwright/test": "^1.49.1",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.13",
"globals": "^15.9.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.14",
"typescript": "~5.6.3",
"typescript-eslint": "^8.8.0",
"vite": "^5.4.9",
"vitest": "~2.0.5"
"@vitejs/plugin-react": "4.3.3",
"@eslint/js": "9.10.0",
"@types/node": "22.5.5",
"@playwright/test": "1.49.1",
"@types/react": "18.3.11",
"@types/react-dom": "18.3",
"autoprefixer": "10.4.20",
"eslint": "8.57.0",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-react-refresh": "0.4.13",
"globals": "15.9.0",
"postcss": "8.4.49",
"tailwindcss": "3.4.14",
"typescript": "5.6.3",
"typescript-eslint": "8.8.0",
"vite": "5.4.9",
"vitest": "2.0.5"
}
}
6 changes: 3 additions & 3 deletions apps/demo-bun-fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"license": "Apache-2.0",
"dependencies": {
"@fuel-ts/account": "workspace:^",
"@fuel-ts/errors": "workspace:^",
"@fuel-ts/account": "workspace:*",
"@fuel-ts/errors": "workspace:*",
"fuels": "workspace:*"
},
"devDependencies": {
"bun": "^1.1.31"
"bun": "1.1.31"
}
}
4 changes: 2 additions & 2 deletions apps/demo-fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"@fuel-ts/errors": "workspace:^",
"@fuel-ts/account": "workspace:^",
"@fuel-ts/errors": "workspace:*",
"@fuel-ts/account": "workspace:*",
"fuels": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions apps/demo-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
},
"dependencies": {
"@fuels/vm-asm": "0.58.2",
"@types/node": "^22.5.5",
"@types/react-dom": "^18.3",
"@types/react": "^18.3.11",
"@types/node": "22.5.5",
"@types/react-dom": "18.3",
"@types/react": "18.3.11",
"fuels": "workspace:*",
"next": "14.2.15",
"react-dom": "^18.3.1",
"react": "^18.3.1",
"typescript": "~5.6.3"
"react-dom": "18.3.1",
"react": "18.3.1",
"typescript": "5.6.3"
}
}
20 changes: 10 additions & 10 deletions apps/demo-react-cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"private": true,
"dependencies": {
"@fuels/vm-asm": "0.58.2",
"@testing-library/react": "^16.0.1",
"@types/node": "^22.5.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3",
"eslint-config-react-app": "^7.0.1",
"@testing-library/react": "16.0.1",
"@types/node": "22.5.5",
"@types/react": "18.3.11",
"@types/react-dom": "18.3",
"eslint-config-react-app": "7.0.1",
"fuels": "workspace:*",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-scripts": "5.0.1",
"typescript": "~5.6.3",
"web-vitals": "^2.1.4"
"typescript": "5.6.3",
"web-vitals": "2.1.4"
},
"scripts": {
"original:start": "react-scripts start",
Expand Down Expand Up @@ -42,6 +42,6 @@
]
},
"devDependencies": {
"@types/jest": "^29.5.13"
"@types/jest": "29.5.13"
}
}
24 changes: 12 additions & 12 deletions apps/demo-react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
"dependencies": {
"@fuels/vm-asm": "0.58.2",
"fuels": "workspace:*",
"react-dom": "^18.3.1",
"react": "^18.3.1"
"react-dom": "18.3.1",
"react": "18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.3.3",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.13",
"typescript": "~5.6.3",
"vite": "^5.4.9"
"@types/react": "18.3.11",
"@types/react-dom": "18.3",
"@typescript-eslint/eslint-plugin": "6.9.1",
"@typescript-eslint/parser": "6.21.0",
"@vitejs/plugin-react": "4.3.3",
"eslint": "8.57.0",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-react-refresh": "0.4.13",
"typescript": "5.6.3",
"vite": "5.4.9"
}
}
26 changes: 13 additions & 13 deletions apps/demo-wallet-sdk-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
"lint": "next lint"
},
"dependencies": {
"@fuels/connectors": "^0.36.1",
"@fuels/react": "^0.36.1",
"@tanstack/react-query": "^5.55.4",
"@fuels/connectors": "0.36.1",
"@fuels/react": "0.36.1",
"@tanstack/react-query": "5.55.4",
"fuels": "workspace:*",
"next": "14.2.15",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@types/node": "^22.5.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3",
"eslint": "^8.57.0",
"@types/node": "22.5.5",
"@types/react": "18.3.11",
"@types/react-dom": "18.3",
"eslint": "8.57.0",
"eslint-config-next": "14.2.15",
"postcss": "^8.4.49",
"postcss-load-config": "^6.0.1",
"tailwindcss": "^3.4.14",
"typescript": "~5.6.3"
"postcss": "8.4.49",
"postcss-load-config": "6.0.1",
"tailwindcss": "3.4.14",
"typescript": "5.6.3"
}
}
2 changes: 1 addition & 1 deletion apps/docs-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"license": "ISC",
"devDependencies": {
"fuels": "workspace:*",
"typedoc": "^0.26.3"
"typedoc": "0.26.3"
}
}
18 changes: 9 additions & 9 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@
"@fuel-ts/errors": "workspace:*",
"@fuel-ts/versions": "workspace:*",
"fuels": "workspace:*",
"ethers": "^6.13.2"
"ethers": "6.13.2"
},
"devDependencies": {
"@types/markdown-it": "^14.1.2",
"@vue/devtools-api": "^6.6.3",
"flexsearch": "^0.7.43",
"glob": "^10.4.5",
"markdown-it": "^14.1.0",
"nodemon": "^3.1.7",
"replace": "^1.2.2",
"@types/markdown-it": "14.1.2",
"@vue/devtools-api": "6.6.3",
"flexsearch": "0.7.43",
"glob": "10.4.5",
"markdown-it": "14.1.0",
"nodemon": "3.1.7",
"replace": "1.2.2",
"vitepress-plugin-search": "1.0.4-alpha.22",
"vitepress": "1.3.4",
"vue": "^3.5.12"
"vue": "3.5.12"
}
}
2 changes: 1 addition & 1 deletion internal/forc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
},
"license": "Apache-2.0",
"dependencies": {
"node-fetch": "^3.3.2"
"node-fetch": "3.3.2"
}
}
2 changes: 1 addition & 1 deletion internal/fuel-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
},
"license": "Apache-2.0",
"dependencies": {
"node-fetch": "^3.3.2"
"node-fetch": "3.3.2"
}
}
Loading

0 comments on commit 12e801e

Please sign in to comment.