Skip to content

Commit 4c260ef

Browse files
chore: npm-check-updates && yarn upgrade (#4840)
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
1 parent 79ade62 commit 4c260ef

File tree

10 files changed

+1143
-1655
lines changed

10 files changed

+1143
-1655
lines changed

.github/workflows/yarn-upgrade.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ jobs:
7171
# We special-case @types/yargs because 17.0.13 is the last version that doesn't break
7272
# We special-case eslint-plugin-import because 26 is the last version that works for us.
7373
# We special-case glob because newer version don't support Node 18
74-
# We special-case typescript-json-schema because newer versions require @types/node@18 which breaks packages that need to build with ts3.9
7574
# We special-case @xmldom/xmldom because newer versions are not compatible with the code and jsii-rosetta 1.x is soon EOS
7675
run: |-
7776
# Upgrade devDependencies at repository root
@@ -90,7 +89,7 @@ jobs:
9089
9190
# Upgrade all other dependencies (devDependencies) to the latest
9291
lerna exec --parallel ncu -- --upgrade --target=latest \
93-
--reject='@types/diff,@types/inquirer,@types/node,@types/fs-extra,@types/yargs,@xmldom/xmldom,glob,typescript,typescript-json-schema,${{ steps.production-dependencies.outputs.list }},jsii,jsii-rosetta,${{ steps.monorepo-packages.outputs.list }}'
92+
--reject='@types/diff,@types/inquirer,@types/node,@types/fs-extra,@types/yargs,@xmldom/xmldom,glob,typescript,${{ steps.production-dependencies.outputs.list }},jsii,jsii-rosetta,${{ steps.monorepo-packages.outputs.list }}'
9493
9594
# This will ensure the current lockfile is up-to-date with the dependency specifications (necessary for "yarn update" to run)
9695
- name: Run "yarn install"

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@
1717
},
1818
"devDependencies": {
1919
"@jest/types": "^29.6.3",
20-
"@types/jest": "^29.5.14",
20+
"@types/jest": "^30.0.0",
2121
"@types/node": "^18",
22-
"@typescript-eslint/eslint-plugin": "^8.33.0",
23-
"@typescript-eslint/parser": "^8.33.0",
22+
"@typescript-eslint/eslint-plugin": "^8.36.0",
23+
"@typescript-eslint/parser": "^8.36.0",
2424
"all-contributors-cli": "^6.26.1",
25-
"eslint": "^9.27.0",
25+
"eslint": "^9.30.1",
2626
"eslint-config-prettier": "^10.1.5",
2727
"eslint-import-resolver-node": "^0.3.9",
28-
"eslint-import-resolver-typescript": "^4.4.1",
28+
"eslint-import-resolver-typescript": "^4.4.4",
2929
"eslint-plugin-import": "2.31.0",
30-
"eslint-plugin-prettier": "^5.4.0",
31-
"jest": "^29.7.0",
32-
"jest-circus": "^28.1.3",
33-
"jest-config": "^28.1.3",
30+
"eslint-plugin-prettier": "^5.5.1",
31+
"jest": "^30.0.4",
32+
"jest-circus": "^30.0.4",
33+
"jest-config": "^30.0.4",
3434
"jest-expect-message": "^1.1.3",
35-
"lerna": "^8.2.2",
35+
"lerna": "^8.2.3",
3636
"npm-check-updates": "^18.0.1",
37-
"prettier": "^3.5.3",
37+
"prettier": "^3.6.2",
3838
"standard-version": "^9.5.0",
3939
"ts-node": "^10.9.2",
4040
"typescript": "~4.7.4"

packages/@jsii/python-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
"jsii-build-tools": "^0.0.0",
4545
"jsii-calc": "^3.20.120",
4646
"jsii-pacmak": "^0.0.0",
47-
"pyright": "^1.1.401"
47+
"pyright": "^1.1.403"
4848
}
4949
}

packages/@jsii/runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"jsii-build-tools": "^0.0.0",
4545
"jsii-calc": "^3.20.120",
4646
"source-map-loader": "^5.0.0",
47-
"webpack": "^5.99.9",
47+
"webpack": "^5.100.0",
4848
"webpack-cli": "^6.0.1"
4949
}
5050
}

packages/@jsii/spec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"devDependencies": {
3737
"fs-extra": "^10.1.0",
3838
"jsii-build-tools": "^0.0.0",
39-
"typescript-json-schema": "0.64.0"
39+
"typescript-json-schema": "^0.65.1"
4040
}
4141
}

packages/@jsii/spec/src/assembly-utils.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe(loadAssemblyFromPath, () => {
128128
filename: '.jsii.7z',
129129
});
130130

131-
expect(() => loadAssemblyFromPath(tmpdir)).toThrowError(
131+
expect(() => loadAssemblyFromPath(tmpdir)).toThrow(
132132
/Error: Invalid assembly redirect:\n \* redirect\/compression must be equal to constant/m,
133133
);
134134
});
@@ -138,7 +138,7 @@ describe(loadAssemblyFromPath, () => {
138138
schema: 'jsii/file-redirect',
139139
});
140140

141-
expect(() => loadAssemblyFromPath(tmpdir)).toThrowError(
141+
expect(() => loadAssemblyFromPath(tmpdir)).toThrow(
142142
/Error: Invalid assembly redirect:\n \* redirect must have required property 'filename'/m,
143143
);
144144
});

packages/jsii-pacmak/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@jsii/java-runtime": "^0.0.0",
5757
"@scope/jsii-calc-lib": "^0.0.0",
5858
"@types/clone": "^2.1.4",
59-
"@types/commonmark": "^0.27.9",
59+
"@types/commonmark": "^0.27.10",
6060
"@types/diff": "^5.2.3",
6161
"@types/fs-extra": "^9.0.13",
6262
"@types/semver": "^7.7.0",
@@ -65,7 +65,7 @@
6565
"jsii-build-tools": "^0.0.0",
6666
"jsii-calc": "^3.20.120",
6767
"jsii-rosetta": "~5.8.0",
68-
"pyright": "^1.1.401"
68+
"pyright": "^1.1.403"
6969
},
7070
"peerDependencies": {
7171
"jsii-rosetta": ">=5.5.0"

packages/jsii-pacmak/test/generated-code/harness.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ async function runPacmak(
281281
runtimeTypeChecking,
282282
targets: [targetName],
283283
}),
284-
).resolves.not.toThrowError();
284+
).resolves.not.toThrow();
285285
}
286286

287287
export async function preparePythonVirtualEnv({
@@ -330,7 +330,7 @@ export async function preparePythonVirtualEnv({
330330
: []),
331331
JSON.stringify(venvRoot),
332332
]),
333-
).resolves.not.toThrowError();
333+
).resolves.not.toThrow();
334334

335335
// First install dev dependencies
336336
await expect(
@@ -346,7 +346,7 @@ export async function preparePythonVirtualEnv({
346346
],
347347
{ env, retry: { maxAttempts: 5 } },
348348
),
349-
).resolves.not.toThrowError();
349+
).resolves.not.toThrow();
350350

351351
await expect(
352352
shell(
@@ -369,7 +369,7 @@ export async function preparePythonVirtualEnv({
369369
],
370370
{ env, retry: { maxAttempts: 5 } },
371371
),
372-
).resolves.not.toThrowError();
372+
).resolves.not.toThrow();
373373

374374
return { env, venvPython, venvRoot };
375375
}
@@ -406,7 +406,7 @@ async function runMypy(pythonRoot: string): Promise<void> {
406406
],
407407
{ env },
408408
),
409-
).resolves.not.toThrowError();
409+
).resolves.not.toThrow();
410410
}
411411

412412
type TreeStructure =

packages/jsii-pacmak/test/generated-code/python-pyright.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,5 @@ test('generated code passes pyright', async () => {
9595
env: venv.env,
9696
},
9797
),
98-
).resolves.not.toThrowError();
98+
).resolves.not.toThrow();
9999
});

0 commit comments

Comments
 (0)