Skip to content

[sdk] fix pnpm audit failure #22121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions dapps/kiosk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@
"precommit": "pnpm prettier:fix && pnpm lint"
},
"dependencies": {
"@headlessui/react": "^1.7.15",
"@mysten/dapp-kit": "^0.14.44",
"@headlessui/react": "^1.7.19",
"@mysten/dapp-kit": "^0.14.53",
"@mysten/kiosk": "^0.9.34",
"@mysten/sui": "^1.18.0",
"@tanstack/react-query": "^5.50.1",
"@tanstack/react-query": "^5.76.0",
"clsx": "^2.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.4.1",
"react-router-dom": "^6.24.1"
"react-hot-toast": "^2.5.2",
"react-router-dom": "^6.30.0"
},
"devDependencies": {
"@headlessui/tailwindcss": "^0.1.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.4",
"@vitejs/plugin-react": "^4.4.1",
"autoprefixer": "^10.4.21",
"postcss": "^8.5.3",
"tailwindcss": "^3.4.17",
"typescript": "^5.5.3",
"vite": "^5.3.3"
}
Expand Down
48 changes: 24 additions & 24 deletions dapps/multisig-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,44 +16,44 @@
"shadcnui": "pnpm dlx shadcn-ui@latest"
},
"dependencies": {
"@fontsource-variable/inter": "^5.0.19",
"@fontsource-variable/red-hat-mono": "^5.0.19",
"@hookform/resolvers": "^3.9.0",
"@fontsource-variable/inter": "^5.2.5",
"@fontsource-variable/red-hat-mono": "^5.2.5",
"@hookform/resolvers": "^3.10.0",
"@markdoc/markdoc": "^0.4.0",
"@mysten/dapp-kit": "^0.14.44",
"@mysten/dapp-kit": "^0.14.53",
"@mysten/sui": "^1.18.0",
"@noble/hashes": "^1.4.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-navigation-menu": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@tanstack/react-query": "^5.50.1",
"@noble/hashes": "^1.8.0",
"@radix-ui/react-dialog": "^1.1.13",
"@radix-ui/react-label": "^2.1.6",
"@radix-ui/react-navigation-menu": "^1.2.12",
"@radix-ui/react-popover": "^1.1.13",
"@radix-ui/react-slot": "^1.2.2",
"@radix-ui/react-tabs": "^1.1.11",
"@tanstack/react-query": "^5.76.0",
"add": "^2.0.6",
"class-variance-authority": "^0.7.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"cmdk": "^1.1.1",
"lucide-react": "^0.406.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.52.1",
"react-hot-toast": "^2.4.1",
"react-router-dom": "^6.24.1",
"react-hook-form": "^7.56.3",
"react-hot-toast": "^2.5.2",
"react-router-dom": "^6.30.0",
"react-scrollspy-navigation": "^2.0.6",
"tailwind-merge": "^2.4.0",
"zod": "^3.23.8"
"tailwind-merge": "^2.6.0",
"zod": "^3.24.4"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/forms": "^0.5.10",
"@tsconfig/docusaurus": "^2.0.3",
"@types/node": "^20.14.10",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.4",
"@vitejs/plugin-react": "^4.4.1",
"autoprefixer": "^10.4.21",
"postcss": "^8.5.3",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.5.3",
"vite": "^5.3.3",
Expand Down
12 changes: 6 additions & 6 deletions dapps/sponsored-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix"
},
"dependencies": {
"@tanstack/react-query": "^5.50.1",
"@tanstack/react-query": "^5.76.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@mysten/dapp-kit": "^0.14.44",
"@mysten/dapp-kit": "^0.14.53",
"@mysten/sui": "^1.18.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.4",
"@vitejs/plugin-react": "^4.4.1",
"autoprefixer": "^10.4.21",
"postcss": "^8.5.3",
"tailwindcss": "^3.4.17",
"typescript": "^5.5.3",
"vite": "^5.3.3"
}
Expand Down
16 changes: 8 additions & 8 deletions examples/tic-tac-toe/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@
"preview": "vite preview"
},
"dependencies": {
"@mysten/dapp-kit": "^0.14.44",
"@mysten/dapp-kit": "^0.14.53",
"@mysten/sui": "^1.18.0",
"@radix-ui/colors": "^3.0.0",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/themes": "^3.1.1",
"@tanstack/react-query": "^5.50.1",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/themes": "^3.2.1",
"@tanstack/react-query": "^5.76.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.4.1"
"react-hot-toast": "^2.5.2"
},
"devDependencies": {
"@tanstack/react-query-devtools": "^5.0.0",
"@tanstack/react-query-devtools": "^5.76.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"@vitejs/plugin-react-swc": "^3.9.0",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"eslint-plugin-react-refresh": "^0.4.20",
"prettier": "^3.3.2",
"typescript": "^5.5.3",
"vite": "^5.3.3",
Expand Down
7 changes: 5 additions & 2 deletions examples/tic-tac-toe/ui/src/components/NewMultiSigGame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function NewMultiSigGame(): ReactElement {
const { address, publicKey: bytes } = useCurrentAccount() || {};
const [opponent, setOpponent] = useState<PublicKey | null>(null);

const publicKey = bytes && publicKeyFromRawBytes("ED25519", bytes);
const publicKey = bytes && publicKeyFromRawBytes("ED25519", new Uint8Array(bytes));
const hasPlayer = publicKey != null;
const hasOpponent = opponent != null;

Expand All @@ -50,7 +50,10 @@ export function NewMultiSigGame(): ReactElement {

return (
<>
<ComputedField value={bytes && toBase64(bytes)} label="Your public key" />
<ComputedField
value={bytes && toBase64(new Uint8Array(bytes))}
label="Your public key"
/>
<ComputedField value={address} label="Your address" />
<TextField.Root
size="2"
Expand Down
2 changes: 2 additions & 0 deletions examples/tic-tac-toe/ui/src/hooks/useTrophyQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export function useTrophyQuery(game?: Game): [UseTrophyQueryResponse, Invalidate
const { results } = await client.devInspectTransactionBlock({
// It doesn't matter who's sending this query.
sender: normalizeSuiAddress("0x0"),
// Fails with Transaction type version mismatch
// @ts-ignore
transactionBlock: tx.ended(game!!),
});

Expand Down
2 changes: 2 additions & 0 deletions examples/tic-tac-toe/ui/src/mutations/useExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export function useExecutor({ execute }: { execute?: ExecuteCallback } = {}): Ex
const mutate: Executor = ({ tx, ...options }, then) => {
signAndExecute(
{
// Fails with Transaction type version mismatch
// @ts-ignore
transaction: tx,
},
{
Expand Down
22 changes: 11 additions & 11 deletions examples/trading/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,30 @@
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix"
},
"dependencies": {
"@mysten/dapp-kit": "^0.14.44",
"@mysten/dapp-kit": "^0.14.53",
"@mysten/sui": "^1.18.0",
"@radix-ui/colors": "^3.0.0",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/themes": "^3.1.1",
"@tanstack/react-query": "^5.50.1",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/themes": "^3.2.1",
"@tanstack/react-query": "^5.76.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.4.1",
"react-router-dom": "^6.24.1"
"react-hot-toast": "^2.5.2",
"react-router-dom": "^6.30.0"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"autoprefixer": "^10.4.19",
"@vitejs/plugin-react-swc": "^3.9.0",
"autoprefixer": "^10.4.21",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"postcss": "^8.4.39",
"eslint-plugin-react-refresh": "^0.4.20",
"postcss": "^8.5.3",
"prettier": "^3.3.2",
"tailwindcss": "^3.4.4",
"tailwindcss": "^3.4.17",
"typescript": "^5.5.3",
"vite": "^5.3.3"
}
Expand Down
6 changes: 3 additions & 3 deletions examples/usdc-transfer-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"author": "",
"license": "Apache 2.0",
"dependencies": {
"@mysten/dapp-kit": "^0.14.44",
"@mysten/dapp-kit": "^0.14.53",
"@mysten/sui": "^1.18.0",
"@tanstack/react-query": "^5.50.1",
"parcel": "^2.12.0",
"@tanstack/react-query": "^5.76.0",
"parcel": "^2.15.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"semver@<7.5.2": ">=7.5.2",
"postcss@<8.4.31": ">=8.4.31",
"dompurify@>=3.0.0 <3.1.3": ">=3.1.3",
"cross-spawn@5.1.0": "7.0.5"
"cross-spawn@5.1.0": "7.0.5",
"base-x@=5.0.0": ">=5.0.1"
}
},
"engines": {
Expand All @@ -36,28 +37,28 @@
]
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@ianvs/prettier-plugin-sort-imports": "^4.3.0",
"@changesets/cli": "^2.29.4",
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
"@manypkg/cli": "^0.21.4",
"@tanstack/eslint-plugin-query": "^5.50.1",
"@tanstack/eslint-plugin-query": "^5.74.7",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"concurrently": "^8.2.2",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-import-resolver-typescript": "^3.10.1",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.4.0",
"eslint-plugin-require-extensions": "^0.1.3",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-unused-imports": "^3.0.0",
"graphql-config": "^5.0.3",
"eslint-plugin-unused-imports": "^3.2.0",
"graphql-config": "^5.1.5",
"prettier": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.5",
"tsx": "^4.16.2",
"turbo": "^2.0.6",
"prettier-plugin-tailwindcss": "^0.6.11",
"tsx": "^4.19.4",
"turbo": "^2.5.3",
"typescript": "^5.5.3"
},
"packageManager": "pnpm@9.1.1+sha512.14e915759c11f77eac07faba4d019c193ec8637229e62ec99eefb7cf3c3b75c64447882b7c485142451ee3a6b408059cdfb7b7fa0341b975f12d0f7629c71195"
Expand Down
Loading
Loading