Skip to content

Commit

Permalink
chore: update dependencies (#463)
Browse files Browse the repository at this point in the history
Using the new eslint and TypeScript version requires the removal of a
type cast which is now unnecessary, as TypeScript 5.5 recognizes that
after .filter() with a type check all remaining items have this type.

In current vscode, this requires the manual selection of the workspace
version of TypeScript, as vscode itself still uses version 5.4.
  • Loading branch information
akudev committed Jun 27, 2024
1 parent b65eafa commit fe41265
Show file tree
Hide file tree
Showing 6 changed files with 1,084 additions and 1,351 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
"ncu-u": "ncu -ws --root -u"
},
"devDependencies": {
"@commitlint/cli": "19.2.2",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"chai": "4.4.1",
"cz-conventional-changelog": "3.3.0",
"husky": "9.0.11",
"lerna": "8.1.2",
"lint-staged": "15.2.2",
"mocha": "10.4.0",
"lerna": "8.1.5",
"lint-staged": "15.2.7",
"mocha": "10.5.1",
"npm-run-all": "4.1.5",
"prettier": "3.2.5",
"prettier": "3.3.2",
"shx": "0.3.4",
"typescript": "5.4.5"
"typescript": "5.5.2"
},
"lint-staged": {
"*.{ts,js,json,md,yml}": [
Expand Down
8 changes: 4 additions & 4 deletions packages/dts-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
"lodash": "4.17.21",
"lodash.combinations": "18.11.1",
"node-fetch": "^3.3.2",
"prettier": "3.2.5",
"prettier": "3.3.2",
"resolve": "^1.22.8",
"sanitize-html": "2.13.0",
"strip-json-comments": "^5.0.1",
"typescript": "^5.4.5"
"typescript": "^5.5.2"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.43.1",
"@microsoft/api-extractor": "^7.47.0",
"@types/argparse": "^2.0.16",
"@types/lodash": "4.17.0",
"@types/lodash": "4.17.5",
"@types/sanitize-html": "2.11.0",
"@types/urijs": "1.19.25",
"copyfiles": "^2.4.1",
Expand Down
10 changes: 5 additions & 5 deletions packages/ts-interface-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@
"devDependencies": {
"@types/hjson": "2.4.6",
"@types/jest": "29.5.12",
"@types/node": "20.12.7",
"@types/node": "20.14.9",
"@types/openui5": "1.117.0",
"@types/yargs": "17.0.32",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"@typescript-eslint/eslint-plugin": "7.14.1",
"@typescript-eslint/parser": "7.14.1",
"eslint": "8.57.0",
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"ts-jest": "29.1.2",
"typescript": "5.4.5"
"ts-jest": "29.1.5",
"typescript": "5.5.2"
},
"dependencies": {
"hjson": "3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -732,10 +732,10 @@ function generateInterface(
.forEach((prop) => {
const name = prop.name.getText().replace(/['"]/g, "");
metadataObject[memberKind][name] = getMemberFromPropertyAssignment(
prop as ts.PropertyAssignment,
prop,
memberKind,
);
}); // cast ensured to be valid by the line above
});
}
} catch (e) {
// enrich error info with class/file context
Expand Down
2 changes: 1 addition & 1 deletion test-packages/openui5-snapshot-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@ui5/dts-generator": "link:../../packages/dts-generator",
"fs-extra": "11.2.0",
"lodash": "4.17.21",
"typescript": "5.4.5"
"typescript": "5.5.2"
},
"devDependencies": {
"@types/jquery": "3.5.13",
Expand Down
Loading

0 comments on commit fe41265

Please sign in to comment.