Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade all dependencies #624

Merged
merged 4 commits into from Jun 5, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .yarn/sdks/eslint/package.json
@@ -1,6 +1,6 @@
{
"name": "eslint",
"version": "8.16.0-sdk",
"version": "8.17.0-sdk",
"main": "./lib/api.js",
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/package.json
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "4.7.2-sdk",
"version": "4.7.3-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
}
7 changes: 6 additions & 1 deletion jest.config.mjs
Expand Up @@ -2,10 +2,15 @@

/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
export default {
preset: "ts-jest/presets/default-esm",
preset: "ts-jest",
testEnvironment: "node",
extensionsToTreatAsEsm: [".ts"],
globals: {
"ts-jest": {
useESM: true,
tsconfig: {
types: ["node", "jest"],
},
},
},
moduleNameMapper: {
Expand Down
19 changes: 10 additions & 9 deletions package.json
Expand Up @@ -16,40 +16,41 @@
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@jest/types": "^28.1.0",
"@project-serum/anchor": "^0.24.2",
"@project-serum/anchor": "^0.25.0-beta.1",
"@rushstack/eslint-patch": "^1.1.3",
"@saberhq/eslint-config": "workspace:*",
"@saberhq/eslint-config-react": "workspace:*",
"@saberhq/use-solana": "workspace:*",
"@size-limit/file": "^7.0.8",
"@size-limit/webpack": "^7.0.8",
"@size-limit/webpack-why": "^7.0.8",
"@solana/web3.js": "^1.43.4",
"@solana/web3.js": "^1.43.5",
"@types/babel__core": "^7.1.19",
"@types/babel__preset-env": "^7.9.2",
"@types/bn.js": "^5.1.0",
"@types/eslint": "^8.4.2",
"@types/jest": "^28.1.0",
"@types/node": "^17.0.38",
"@types/react": "^18.0.10",
"@types/jest": "^28.1.1",
"@types/node": "^17.0.40",
"@types/react": "^18.0.11",
"@types/source-map-support": "^0.5.4",
"@types/w3c-web-usb": "^1.0.6",
"@yarnpkg/doctor": "^3.1.3",
"bn.js": "^5.2.1",
"buffer": "^6.0.3",
"eslint": "^8.16.0",
"eslint": "^8.17.0",
"husky": "^8.0.1",
"jest": "^28.1.0",
"jest-runtime": "^28.1.0",
"jsbi": "^4.3.0",
"lint-staged": "^13.0.0",
"prettier": "^2.6.2",
"react": "^18.1.0",
"size-limit": "^7.0.8",
"source-map-support": "^0.5.21",
"ts-jest": "^28.0.3",
"ts-node": "^10.8.0",
"ts-jest": "^28.0.4",
"ts-node": "^10.8.1",
"typedoc": "^0.22.17",
"typescript": "^4.7.2"
"typescript": "^4.7.3"
},
"resolutions": {
"@solana/web3.js": "^1.42"
Expand Down
6 changes: 3 additions & 3 deletions packages/anchor-contrib/package.json
Expand Up @@ -27,13 +27,13 @@
"bn.js": "^4 || ^5"
},
"devDependencies": {
"@project-serum/anchor": "^0.24.2",
"@project-serum/anchor": "^0.25.0-beta.1",
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.43.4",
"@solana/web3.js": "^1.43.5",
"@types/lodash.camelcase": "^4.3.7",
"@types/lodash.mapvalues": "^4.6.7",
"bn.js": "^5.2.1",
"typescript": "^4.7.2"
"typescript": "^4.7.3"
},
"dependencies": {
"@saberhq/solana-contrib": "workspace:^",
Expand Down
6 changes: 3 additions & 3 deletions packages/chai-solana/package.json
Expand Up @@ -48,11 +48,11 @@
"jsbi": "*"
},
"devDependencies": {
"@project-serum/anchor": "^0.24.2",
"@project-serum/anchor": "^0.25.0-beta.1",
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.43.4",
"@solana/web3.js": "^1.43.5",
"bn.js": "^5.2.1",
"jsbi": "^4.3.0",
"typescript": "^4.7.2"
"typescript": "^4.7.3"
}
}
6 changes: 3 additions & 3 deletions packages/eslint-config-react/package.json
Expand Up @@ -36,8 +36,8 @@
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@types/eslint": "^8.4.2",
"@types/node": "^17.0.38",
"eslint": "^8.16.0",
"typescript": "^4.7.2"
"@types/node": "^17.0.40",
"eslint": "^8.17.0",
"typescript": "^4.7.3"
}
}
6 changes: 3 additions & 3 deletions packages/eslint-config/package.json
Expand Up @@ -40,8 +40,8 @@
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@types/eslint": "^8.4.2",
"@types/node": "^17.0.38",
"eslint": "^8.16.0",
"typescript": "^4.7.2"
"@types/node": "^17.0.40",
"eslint": "^8.17.0",
"typescript": "^4.7.3"
}
}
2 changes: 1 addition & 1 deletion packages/option-utils/package.json
Expand Up @@ -37,6 +37,6 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"typescript": "^4.7.2"
"typescript": "^4.7.3"
}
}
8 changes: 4 additions & 4 deletions packages/solana-contrib/package.json
Expand Up @@ -37,12 +37,12 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.43.4",
"@solana/web3.js": "^1.43.5",
"@types/bn.js": "^5.1.0",
"@types/jest": "^28.1.0",
"@types/node": "^17.0.38",
"@types/jest": "^28.1.1",
"@types/node": "^17.0.40",
"bn.js": "^5.2.1",
"typescript": "^4.7.2"
"typescript": "^4.7.3"
},
"peerDependencies": {
"@solana/web3.js": "^1.42",
Expand Down
6 changes: 3 additions & 3 deletions packages/stableswap-sdk/package.json
Expand Up @@ -28,13 +28,13 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.43.4",
"@solana/web3.js": "^1.43.5",
"@types/bn.js": "^5.1.0",
"@types/lodash.mapvalues": "^4.6.7",
"@types/node": "^17.0.38",
"@types/node": "^17.0.40",
"bn.js": "^5.2.1",
"jsbi": "^4.3.0",
"typescript": "^4.7.2"
"typescript": "^4.7.3"
},
"peerDependencies": {
"@solana/web3.js": "^1.42",
Expand Down
6 changes: 3 additions & 3 deletions packages/token-utils/package.json
Expand Up @@ -29,7 +29,7 @@
"@saberhq/solana-contrib": "workspace:^",
"@solana/buffer-layout": "^4.0.0",
"@solana/spl-token": "^0.1.8",
"@ubeswap/token-math": "^5.1.2",
"@ubeswap/token-math": "^5.1.5",
"tiny-invariant": "^1.2.0",
"tslib": "^2.4.0"
},
Expand All @@ -39,10 +39,10 @@
],
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.43.4",
"@solana/web3.js": "^1.43.5",
"@types/bn.js": "^5.1.0",
"jsbi": "^4.3.0",
"typescript": "^4.7.2"
"typescript": "^4.7.3"
},
"peerDependencies": {
"@solana/web3.js": "^1.42",
Expand Down
8 changes: 4 additions & 4 deletions packages/use-solana/package.json
Expand Up @@ -20,13 +20,13 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.43.4",
"@solana/web3.js": "^1.43.5",
"@types/bn.js": "^5.1.0",
"@types/node": "^17.0.38",
"@types/react": "^18.0.10",
"@types/node": "^17.0.40",
"@types/react": "^18.0.11",
"bn.js": "^5.2.1",
"react": "^18.1.0",
"typescript": "^4.7.2"
"typescript": "^4.7.3"
},
"dependencies": {
"@ledgerhq/hw-transport": "^6.27.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/wallet-adapter-icons/package.json
Expand Up @@ -41,8 +41,8 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@types/react": "^18.0.10",
"@types/react": "^18.0.11",
"react": "^18.1.0",
"typescript": "^4.7.2"
"typescript": "^4.7.3"
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -5,5 +5,5 @@
"jsxImportSource": "react",
"types": ["jest"]
},
"include": ["packages/"]
"include": ["packages/", "jest.config.mjs"]
}