Skip to content

Commit f619b63

Browse files
Dependencies security updates (#36)
* fix: update dependencies for security vulnerabilities **Direct dependency updates:** - happy-dom: ^17.4.4 → ^20.3.1 (critical: VM Context Escape fix) - playwright: ^1.52.0 → ^1.57.0 (high: SSL certificate verification fix) - next: 15.3.6 → 15.5.9 (moderate: Server Actions Source Code Exposure fix) - vite: ^6.3.5 → ^6.4.1 (low: middleware and fs settings fixes) - vitest: ^3.2.4 → ^4.0.17 (fixes glob vulnerability) - @vitest/coverage-v8: ^3.2.4 → ^4.0.17 - @vitest/browser: ^3.1.2 → ^4.0.17 - eslint: ^9.34.0 → ^9.39.2 (fixes @eslint/plugin-kit ReDoS) - @eslint/js: ^9.26.0 → ^9.39.2 - @next/eslint-plugin-next: ^15.3.6 → ^15.5.9 - vite-plugin-node-polyfills: ^0.23.0 → ^0.25.0 **pnpm overrides for transitive dependencies:** - glob: >=10.5.0 (high: command injection fix) - form-data: >=4.0.4 (critical: unsafe random fix) - axios: >=1.12.0 (high: SSRF and DoS fixes) - qs: >=6.14.1 (high: DoS via memory exhaustion fix) - js-yaml: >=4.1.1 (moderate: prototype pollution fix) - tmp: >=0.2.4 (low: symlink dir fix) - mermaid: >=11.10.0 (moderate: vulnerabilities fix) - mdast-util-to-hast: >=13.2.1 (moderate: unsanitized class fix) - pbkdf2: >=3.1.3 (critical: Uint8Array input fix) - sha.js: >=2.4.12 (critical: hash rewind fix) Reduced vulnerabilities from 35 to 4 (3 low, 1 moderate). Remaining issues are unfixable transitive dependencies: - vite in @vitest/browser (needs vitest update) - elliptic (no patch available) Co-authored-by: greg <greg@gnazar.io> * test: update fetchNameFromAddress snapshot for changed on-chain data The ANS name for address 0xfb385da49059a1a0617f085eddeeb67ef2b0f4d0ca0b3e324f36af35650351fa changed from 'rasa.apt' to 'fasterandmorefuriouser.apt' on testnet. Co-authored-by: greg <greg@gnazar.io> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent eee357e commit f619b63

File tree

8 files changed

+855
-1688
lines changed

8 files changed

+855
-1688
lines changed

apps/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"clsx": "^2.1.1",
2222
"lucide-react": "^0.468.0",
2323
"motion": "^12.23.12",
24-
"next": "15.3.6",
24+
"next": "15.5.9",
2525
"nextra": "4.3.0-alpha.22",
2626
"nextra-theme-docs": "4.3.0-alpha.22",
2727
"react": "19.1.2",

examples/vite/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
"sonner": "^1.7.4",
3030
"tailwind-merge": "^3.2.0",
3131
"tailwindcss": "^4.1.5",
32-
"vite-plugin-node-polyfills": "^0.23.0"
32+
"vite-plugin-node-polyfills": "^0.25.0"
3333
},
3434
"devDependencies": {
3535
"@aptos-labs/eslint-config-petra": "workspace:*",
3636
"@types/react": "^19.1.3",
3737
"@types/react-dom": "^19.1.3",
3838
"@vitejs/plugin-react": "^4.4.1",
3939
"tw-animate-css": "^1.2.9",
40-
"vite": "^6.3.5"
40+
"vite": "^6.4.1"
4141
}
4242
}

package.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"devDependencies": {
1717
"@changesets/cli": "^2.29.6",
1818
"@types/node": "22.15.3",
19-
"@vitest/coverage-v8": "^3.2.4",
20-
"eslint": "^9.34.0",
19+
"@vitest/coverage-v8": "^4.0.17",
20+
"eslint": "^9.39.2",
2121
"prettier": "^3.6.2",
2222
"turbo": "^2.5.6",
2323
"typescript": "^5.9.2",
24-
"vitest": "^3.2.4"
24+
"vitest": "^4.0.17"
2525
},
2626
"packageManager": "pnpm@10.15.0",
2727
"engines": {
@@ -36,6 +36,18 @@
3636
"esbuild",
3737
"sharp",
3838
"utf-8-validate"
39-
]
39+
],
40+
"overrides": {
41+
"glob": ">=10.5.0",
42+
"form-data": ">=4.0.4",
43+
"axios": ">=1.12.0",
44+
"qs": ">=6.14.1",
45+
"js-yaml": ">=4.1.1",
46+
"tmp": ">=0.2.4",
47+
"mermaid": ">=11.10.0",
48+
"mdast-util-to-hast": ">=13.2.1",
49+
"pbkdf2": ">=3.1.3",
50+
"sha.js": ">=2.4.12"
51+
}
4052
}
4153
}

packages/eslint-config/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"./next": "./next.js"
1010
},
1111
"devDependencies": {
12-
"@eslint/js": "^9.26.0",
13-
"@next/eslint-plugin-next": "^15.3.6",
14-
"eslint": "^9.26.0",
12+
"@eslint/js": "^9.39.2",
13+
"@next/eslint-plugin-next": "^15.5.9",
14+
"eslint": "^9.39.2",
1515
"eslint-config-prettier": "^10.1.3",
1616
"eslint-plugin-headers": "^1.2.1",
1717
"eslint-plugin-only-warn": "^1.1.0",

packages/js-pro/src/queries/fetchNameFromAddress.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe("fetchAddressFromName", () => {
1313
address: AccountAddress.from(address),
1414
});
1515

16-
expect(name?.toString()).toMatchInlineSnapshot(`"rasa.apt"`);
16+
expect(name?.toString()).toMatchInlineSnapshot(`"fasterandmorefuriouser.apt"`);
1717
});
1818

1919
test("should return null if the name is not found", async ({ testnet }) => {

packages/react/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565
"@testing-library/react": "^16.3.0",
6666
"@types/react": "^19.1.2",
6767
"@types/react-dom": "^19.1.2",
68-
"@vitest/browser": "^3.1.2",
68+
"@vitest/browser": "^4.0.17",
6969
"dotenv": "^16.5.0",
70-
"happy-dom": "^17.4.4",
71-
"playwright": "^1.52.0",
70+
"happy-dom": "^20.3.1",
71+
"playwright": "^1.57.0",
7272
"tsup": "^8.4.0",
73-
"vitest": "^3.1.2"
73+
"vitest": "^4.0.17"
7474
},
7575
"keywords": [
7676
"aptos",

packages/react/src/queries/useNameFromAddress.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ test("useNameForAddress", async ({ testnet }) => {
1616

1717
await waitFor(() => expect(result.current.isSuccess).toBeTruthy());
1818

19-
expect(result.current.data?.toString()).toMatchInlineSnapshot(`"rasa.apt"`);
19+
expect(result.current.data?.toString()).toMatchInlineSnapshot(`"fasterandmorefuriouser.apt"`);
2020
});

0 commit comments

Comments
 (0)