Skip to content

Commit 12e801e

Browse files
chore: dependency pinning and auditing (#3449)
* 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]>
1 parent e8a8c71 commit 12e801e

File tree

33 files changed

+973
-2894
lines changed

33 files changed

+973
-2894
lines changed

.changeset/fluffy-cooks-worry.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"create-fuels": patch
3+
"@fuel-ts/transactions": patch
4+
"@fuel-ts/abi-typegen": patch
5+
"@fuel-ts/abi-coder": patch
6+
"@fuel-ts/contract": patch
7+
"@fuel-ts/versions": patch
8+
"@fuel-ts/account": patch
9+
"@fuel-ts/address": patch
10+
"@fuel-ts/program": patch
11+
"@fuel-ts/crypto": patch
12+
"@fuel-ts/hasher": patch
13+
"@fuel-ts/logger": patch
14+
"@fuel-ts/merkle": patch
15+
"fuels": patch
16+
"@fuel-ts/utils": patch
17+
"@fuel-ts/math": patch
18+
---
19+
20+
chore: dependency pinning and auditing

.github/workflows/audit.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Audit"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
audit:
10+
if: false
11+
# if: startsWith(github.head_ref, 'changeset-release')
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: CI Setup
18+
uses: ./.github/actions/ci-setup
19+
20+
- name: Audit
21+
run: pnpm audit

apps/create-fuels-counter-guide/package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,35 @@
1414
"postbuild": "run-s fuels:build original:build"
1515
},
1616
"dependencies": {
17-
"@fuels/connectors": "^0.36.1",
18-
"@fuels/react": "^0.36.1",
19-
"@tanstack/react-query": "^5.55.4",
17+
"@fuels/connectors": "0.36.1",
18+
"@fuels/react": "0.36.1",
19+
"@tanstack/react-query": "5.55.4",
2020
"clsx": "2.1.1",
21-
"@wagmi/connectors": "^5.1.14",
22-
"@wagmi/core": "^2.13.9",
23-
"dotenv": "^16.4.5",
21+
"@wagmi/connectors": "5.1.14",
22+
"@wagmi/core": "2.13.9",
23+
"dotenv": "16.4.5",
2424
"fuels": "workspace:*",
25-
"react": "^18.3.1",
26-
"react-dom": "^18.3.1",
27-
"react-toastify": "^10.0.6"
25+
"react": "18.3.1",
26+
"react-dom": "18.3.1",
27+
"react-toastify": "10.0.6"
2828
},
2929
"devDependencies": {
30-
"@vitejs/plugin-react": "^4.3.3",
31-
"@eslint/js": "^9.10.0",
32-
"@types/node": "^22.5.5",
33-
"@playwright/test": "^1.49.1",
34-
"@types/react": "^18.3.11",
35-
"@types/react-dom": "^18.3",
36-
"autoprefixer": "^10.4.20",
37-
"eslint": "^8.57.0",
38-
"eslint-plugin-react-hooks": "^4.6.2",
39-
"eslint-plugin-react-refresh": "^0.4.13",
40-
"globals": "^15.9.0",
41-
"postcss": "^8.4.49",
42-
"tailwindcss": "^3.4.14",
43-
"typescript": "~5.6.3",
44-
"typescript-eslint": "^8.8.0",
45-
"vite": "^5.4.9",
46-
"vitest": "~2.0.5"
30+
"@vitejs/plugin-react": "4.3.3",
31+
"@eslint/js": "9.10.0",
32+
"@types/node": "22.5.5",
33+
"@playwright/test": "1.49.1",
34+
"@types/react": "18.3.11",
35+
"@types/react-dom": "18.3",
36+
"autoprefixer": "10.4.20",
37+
"eslint": "8.57.0",
38+
"eslint-plugin-react-hooks": "4.6.2",
39+
"eslint-plugin-react-refresh": "0.4.13",
40+
"globals": "15.9.0",
41+
"postcss": "8.4.49",
42+
"tailwindcss": "3.4.14",
43+
"typescript": "5.6.3",
44+
"typescript-eslint": "8.8.0",
45+
"vite": "5.4.9",
46+
"vitest": "2.0.5"
4747
}
4848
}

apps/demo-bun-fuels/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
},
1010
"license": "Apache-2.0",
1111
"dependencies": {
12-
"@fuel-ts/account": "workspace:^",
13-
"@fuel-ts/errors": "workspace:^",
12+
"@fuel-ts/account": "workspace:*",
13+
"@fuel-ts/errors": "workspace:*",
1414
"fuels": "workspace:*"
1515
},
1616
"devDependencies": {
17-
"bun": "^1.1.31"
17+
"bun": "1.1.31"
1818
}
1919
}

apps/demo-fuels/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
},
1111
"license": "Apache-2.0",
1212
"dependencies": {
13-
"@fuel-ts/errors": "workspace:^",
14-
"@fuel-ts/account": "workspace:^",
13+
"@fuel-ts/errors": "workspace:*",
14+
"@fuel-ts/account": "workspace:*",
1515
"fuels": "workspace:*"
1616
}
1717
}

apps/demo-nextjs/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
},
1212
"dependencies": {
1313
"@fuels/vm-asm": "0.58.2",
14-
"@types/node": "^22.5.5",
15-
"@types/react-dom": "^18.3",
16-
"@types/react": "^18.3.11",
14+
"@types/node": "22.5.5",
15+
"@types/react-dom": "18.3",
16+
"@types/react": "18.3.11",
1717
"fuels": "workspace:*",
1818
"next": "14.2.15",
19-
"react-dom": "^18.3.1",
20-
"react": "^18.3.1",
21-
"typescript": "~5.6.3"
19+
"react-dom": "18.3.1",
20+
"react": "18.3.1",
21+
"typescript": "5.6.3"
2222
}
2323
}

apps/demo-react-cra/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
"private": true,
55
"dependencies": {
66
"@fuels/vm-asm": "0.58.2",
7-
"@testing-library/react": "^16.0.1",
8-
"@types/node": "^22.5.5",
9-
"@types/react": "^18.3.11",
10-
"@types/react-dom": "^18.3",
11-
"eslint-config-react-app": "^7.0.1",
7+
"@testing-library/react": "16.0.1",
8+
"@types/node": "22.5.5",
9+
"@types/react": "18.3.11",
10+
"@types/react-dom": "18.3",
11+
"eslint-config-react-app": "7.0.1",
1212
"fuels": "workspace:*",
13-
"react": "^18.3.1",
14-
"react-dom": "^18.3.1",
13+
"react": "18.3.1",
14+
"react-dom": "18.3.1",
1515
"react-scripts": "5.0.1",
16-
"typescript": "~5.6.3",
17-
"web-vitals": "^2.1.4"
16+
"typescript": "5.6.3",
17+
"web-vitals": "2.1.4"
1818
},
1919
"scripts": {
2020
"original:start": "react-scripts start",
@@ -42,6 +42,6 @@
4242
]
4343
},
4444
"devDependencies": {
45-
"@types/jest": "^29.5.13"
45+
"@types/jest": "29.5.13"
4646
}
4747
}

apps/demo-react-vite/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
"dependencies": {
1414
"@fuels/vm-asm": "0.58.2",
1515
"fuels": "workspace:*",
16-
"react-dom": "^18.3.1",
17-
"react": "^18.3.1"
16+
"react-dom": "18.3.1",
17+
"react": "18.3.1"
1818
},
1919
"devDependencies": {
20-
"@types/react": "^18.3.11",
21-
"@types/react-dom": "^18.3",
22-
"@typescript-eslint/eslint-plugin": "^6.9.1",
23-
"@typescript-eslint/parser": "^6.21.0",
24-
"@vitejs/plugin-react": "^4.3.3",
25-
"eslint": "^8.57.0",
26-
"eslint-plugin-react-hooks": "^4.6.2",
27-
"eslint-plugin-react-refresh": "^0.4.13",
28-
"typescript": "~5.6.3",
29-
"vite": "^5.4.9"
20+
"@types/react": "18.3.11",
21+
"@types/react-dom": "18.3",
22+
"@typescript-eslint/eslint-plugin": "6.9.1",
23+
"@typescript-eslint/parser": "6.21.0",
24+
"@vitejs/plugin-react": "4.3.3",
25+
"eslint": "8.57.0",
26+
"eslint-plugin-react-hooks": "4.6.2",
27+
"eslint-plugin-react-refresh": "0.4.13",
28+
"typescript": "5.6.3",
29+
"vite": "5.4.9"
3030
}
3131
}

apps/demo-wallet-sdk-react/package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@fuels/connectors": "^0.36.1",
13-
"@fuels/react": "^0.36.1",
14-
"@tanstack/react-query": "^5.55.4",
12+
"@fuels/connectors": "0.36.1",
13+
"@fuels/react": "0.36.1",
14+
"@tanstack/react-query": "5.55.4",
1515
"fuels": "workspace:*",
1616
"next": "14.2.15",
17-
"react": "^18.3.1",
18-
"react-dom": "^18.3.1"
17+
"react": "18.3.1",
18+
"react-dom": "18.3.1"
1919
},
2020
"devDependencies": {
21-
"@types/node": "^22.5.5",
22-
"@types/react": "^18.3.11",
23-
"@types/react-dom": "^18.3",
24-
"eslint": "^8.57.0",
21+
"@types/node": "22.5.5",
22+
"@types/react": "18.3.11",
23+
"@types/react-dom": "18.3",
24+
"eslint": "8.57.0",
2525
"eslint-config-next": "14.2.15",
26-
"postcss": "^8.4.49",
27-
"postcss-load-config": "^6.0.1",
28-
"tailwindcss": "^3.4.14",
29-
"typescript": "~5.6.3"
26+
"postcss": "8.4.49",
27+
"postcss-load-config": "6.0.1",
28+
"tailwindcss": "3.4.14",
29+
"typescript": "5.6.3"
3030
}
3131
}

apps/docs-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"license": "ISC",
1313
"devDependencies": {
1414
"fuels": "workspace:*",
15-
"typedoc": "^0.26.3"
15+
"typedoc": "0.26.3"
1616
}
1717
}

apps/docs/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@
2525
"@fuel-ts/errors": "workspace:*",
2626
"@fuel-ts/versions": "workspace:*",
2727
"fuels": "workspace:*",
28-
"ethers": "^6.13.2"
28+
"ethers": "6.13.2"
2929
},
3030
"devDependencies": {
31-
"@types/markdown-it": "^14.1.2",
32-
"@vue/devtools-api": "^6.6.3",
33-
"flexsearch": "^0.7.43",
34-
"glob": "^10.4.5",
35-
"markdown-it": "^14.1.0",
36-
"nodemon": "^3.1.7",
37-
"replace": "^1.2.2",
31+
"@types/markdown-it": "14.1.2",
32+
"@vue/devtools-api": "6.6.3",
33+
"flexsearch": "0.7.43",
34+
"glob": "10.4.5",
35+
"markdown-it": "14.1.0",
36+
"nodemon": "3.1.7",
37+
"replace": "1.2.2",
3838
"vitepress-plugin-search": "1.0.4-alpha.22",
3939
"vitepress": "1.3.4",
40-
"vue": "^3.5.12"
40+
"vue": "3.5.12"
4141
}
4242
}

internal/forc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
},
1919
"license": "Apache-2.0",
2020
"dependencies": {
21-
"node-fetch": "^3.3.2"
21+
"node-fetch": "3.3.2"
2222
}
2323
}

internal/fuel-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
},
1919
"license": "Apache-2.0",
2020
"dependencies": {
21-
"node-fetch": "^3.3.2"
21+
"node-fetch": "3.3.2"
2222
}
2323
}

0 commit comments

Comments
 (0)