Skip to content

Commit cb855c4

Browse files
authored
Merge pull request #161 from ethdebug/upgrades
Upgrade dependencies to latest compatible versions
2 parents 94f6ae5 + 0ef496b commit cb855c4

8 files changed

Lines changed: 4913 additions & 3297 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
"devDependencies": {
2121
"@typescript-eslint/eslint-plugin": "^8.21.0",
2222
"@typescript-eslint/parser": "^8.21.0",
23-
"@vitest/ui": "^3.0.5",
23+
"@vitest/ui": "^3.2.4",
2424
"concurrently": "^8.2.2",
2525
"eslint": "^8.57.1",
2626
"husky": "^9.1.7",
27-
"lerna": "^8.0.2",
27+
"lerna": "^8.2.4",
2828
"lint-staged": "^15.4.1",
2929
"prettier": "^3.4.2",
30-
"tsx": "^4.16.2",
31-
"vitest": "^3.0.5"
30+
"tsx": "^4.21.0",
31+
"vitest": "^3.2.4"
3232
},
3333
"lint-staged": {
3434
"*.{ts,tsx}": [

packages/format/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
"watch": "yarn prepare && concurrently --names=tsc,schemas \"yarn watch:typescript\" \"yarn watch:schemas\""
1919
},
2020
"dependencies": {
21-
"json-schema-typed": "^8.0.1",
22-
"yaml": "^2.3.4"
21+
"json-schema-typed": "8.0.1",
22+
"yaml": "^2.8.2"
2323
},
2424
"devDependencies": {
25-
"@hyperjump/browser": "^1.2.0",
26-
"@hyperjump/json-schema": "^1.11.0",
25+
"@hyperjump/browser": "^1.3.1",
26+
"@hyperjump/json-schema": "^1.17.3",
2727
"chalk": "^4.1.0",
2828
"cli-highlight": "^2.1.11",
2929
"concurrently": "^8.2.2",
3030
"indent-string": "^4.0.0",
31-
"nodemon": "^3.0.2",
31+
"nodemon": "^3.1.11",
3232
"ts-node": "^10.9.2",
33-
"typescript": "^5.3.3",
34-
"vitest": "^3.0.5"
33+
"typescript": "^5.9.3",
34+
"vitest": "^3.2.4"
3535
},
3636
"publishConfig": {
3737
"access": "public"

packages/format/src/schemas/validity.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { schemas } from ".";
1010
// loads schemas into global hyperjump json schema validator
1111
import "../../test/hyperjump";
1212

13-
const printErrors = (output: OutputUnit): string =>
13+
const printErrors = (output: { errors?: OutputUnit[] }): string =>
1414
output
1515
.errors!.map((error) => {
1616
if (!error.valid && !error.keyword.endsWith("#validate")) {

packages/format/vitest.setup.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ expect.extend({
3636
} of the following values:\n${results
3737
.map(
3838
(result) =>
39-
` ${result.pass ? chalk.green("✓") : chalk.red("✗")} ${
40-
// @ts-expect-error this.utils exists in vitest matcher context
41-
this.utils.printReceived(result.value)
42-
}`,
39+
` ${result.pass ? chalk.green("✓") : chalk.red("✗")} ${this.utils.printReceived(
40+
result.value,
41+
)}`,
4342
)
4443
.join("\n")}`,
4544
};

packages/pointers/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
},
1414
"devDependencies": {
1515
"@ethdebug/format": "^0.1.0-0",
16-
"chalk": "^5.3.0",
16+
"chalk": "^5.6.2",
1717
"cli-highlight": "^2.1.11",
1818
"ganache": "7.9.x",
19-
"solc": "^0.8.26",
19+
"solc": "^0.8.33",
2020
"ts-node": "^10.9.2",
21-
"typescript": "^5.3.3",
22-
"vitest": "^3.0.5"
21+
"typescript": "^5.9.3",
22+
"vitest": "^3.2.4"
2323
},
2424
"dependencies": {
25-
"ethereum-cryptography": "^2.1.3"
25+
"ethereum-cryptography": "^2.2.1"
2626
},
2727
"publishConfig": {
2828
"access": "public"

packages/pointers/src/evaluate.test.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,14 @@ describe("evaluate", () => {
201201
};
202202

203203
const expectedHash = keccak256(
204-
Buffer.from(
205-
toHex(Data.fromNumber(42)).slice(2) +
206-
toHex(Data.fromHex("0x1f")).slice(2) +
207-
toHex(variables.foo).slice(2) +
208-
toHex(variables.bar).slice(2),
209-
"hex",
204+
new Uint8Array(
205+
Buffer.from(
206+
toHex(Data.fromNumber(42)).slice(2) +
207+
toHex(Data.fromHex("0x1f")).slice(2) +
208+
toHex(variables.foo).slice(2) +
209+
toHex(variables.bar).slice(2),
210+
"hex",
211+
),
210212
),
211213
);
212214

packages/web/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,39 @@
1616
},
1717
"dependencies": {
1818
"@apideck/better-ajv-errors": "^0.3.6",
19-
"@docusaurus/core": "^3.4.0",
20-
"@docusaurus/plugin-content-docs": "^3.4.0",
21-
"@docusaurus/preset-classic": "^3.4.0",
22-
"@docusaurus/tsconfig": "^3.4.0",
23-
"@docusaurus/types": "^3.4.0",
19+
"@docusaurus/core": "^3.9.2",
20+
"@docusaurus/plugin-content-docs": "^3.9.2",
21+
"@docusaurus/preset-classic": "^3.9.2",
22+
"@docusaurus/tsconfig": "^3.9.2",
23+
"@docusaurus/types": "^3.9.2",
2424
"@ethdebug/format": "^0.1.0-0",
25-
"@fortawesome/fontawesome-svg-core": "^6.5.1",
26-
"@fortawesome/free-brands-svg-icons": "^6.5.1",
27-
"@fortawesome/free-solid-svg-icons": "^6.5.1",
28-
"@fortawesome/react-fontawesome": "^0.2.0",
29-
"@mdx-js/react": "^3.0.0",
25+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
26+
"@fortawesome/free-brands-svg-icons": "^6.7.2",
27+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
28+
"@fortawesome/react-fontawesome": "^0.2.6",
29+
"@mdx-js/react": "^3.1.1",
3030
"@mischnic/json-sourcemap": "^0.1.1",
31-
"@monaco-editor/react": "^4.6.0",
31+
"@monaco-editor/react": "^4.7.0",
3232
"@saucelabs/theme-github-codeblock": "^0.2.3",
33-
"@shikijs/themes": "^2.2.0",
34-
"ajv": "^8.12.0",
33+
"@shikijs/themes": "^2.5.0",
34+
"ajv": "^8.17.1",
3535
"clsx": "^1.2.1",
36-
"docusaurus-json-schema-plugin": "^1.12.1",
37-
"prism-react-renderer": "^2.1.0",
36+
"docusaurus-json-schema-plugin": "^1.15.0",
37+
"prism-react-renderer": "^2.4.1",
3838
"raw-loader": "^4.0.2",
39-
"react": "^18.0.0",
40-
"react-dom": "^18.0.0",
41-
"react-markdown": "^9.0.1",
42-
"shiki": "^2.2.0",
39+
"react": "^18.3.1",
40+
"react-dom": "^18.3.1",
41+
"react-markdown": "^9.1.0",
42+
"shiki": "^2.5.0",
4343
"ts-morph": "^22.0.0",
4444
"yaml-template": "^1.0.0"
4545
},
4646
"devDependencies": {
47-
"@docusaurus/module-type-aliases": "^3.0.1",
48-
"@docusaurus/tsconfig": "^3.0.1",
49-
"@docusaurus/types": "^3.0.1",
50-
"json-schema-typed": "^8.0.1",
51-
"typescript": "~5.2.2"
47+
"@docusaurus/module-type-aliases": "^3.9.2",
48+
"@docusaurus/tsconfig": "^3.9.2",
49+
"@docusaurus/types": "^3.9.2",
50+
"json-schema-typed": "8.0.1",
51+
"typescript": "^5.9.3"
5252
},
5353
"browserslist": {
5454
"production": [

0 commit comments

Comments
 (0)