Skip to content

Commit

Permalink
deps: Bump @sapui5/types to 1.120.12
Browse files Browse the repository at this point in the history
  • Loading branch information
matz3 committed Apr 4, 2024
1 parent cd36baf commit bddd89f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.4.15",
"@jridgewell/trace-mapping": "^0.3.25",
"@sapui5/types": "1.120.11",
"@sapui5/types": "1.120.12",
"@ui5/fs": "^3.0.5",
"@ui5/logger": "^3.0.0",
"@ui5/project": "^3.9.1",
Expand Down
4 changes: 3 additions & 1 deletion resources/api-extract.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"framework": {
"name": "SAPUI5",
"version": "1.120.11"
"version": "1.120.12"
},
"defaultAggregations": {
"sap.ca.ui.CustomerControlListItem": "content",
Expand Down Expand Up @@ -347,13 +347,15 @@
"sap.ui.vbm.ClusterDistance": "vizTemplate",
"sap.ui.vbm.ClusterGrid": "vizTemplate",
"sap.ui.vbm.ClusterTree": "vizTemplate",
"sap.ui.vbm.ContainerBase": "content",
"sap.ui.vbm.Containers": "items",
"sap.ui.vbm.FeatureCollection": "items",
"sap.ui.vbm.GeoCircles": "items",
"sap.ui.vbm.GeoJsonLayer": "items",
"sap.ui.vbm.GeoMap": "vos",
"sap.ui.vbm.Heatmap": "items",
"sap.ui.vbm.Legend": "items",
"sap.ui.vbm.MapContainer": "content",
"sap.ui.vbm.Pie": "items",
"sap.ui.vbm.Pies": "items",
"sap.ui.vbm.Routes": "items",
Expand Down
4 changes: 2 additions & 2 deletions scripts/metadataProvider/MetadataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {

export default class MetadataProvider {
#model: UI5SemanticModel | null = null;
async init(apiJsonsRoot: string) {
this.#model = await createSemanticModel(apiJsonsRoot);
async init(apiJsonsRoot: string, sapui5Version: string) {
this.#model = await createSemanticModel(apiJsonsRoot, sapui5Version);
}

getModel(): UI5SemanticModel {
Expand Down
2 changes: 1 addition & 1 deletion scripts/metadataProvider/createMetadataInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {

async function main(apiJsonsRoot: string, sapui5Version: string) {
const metadataProvider = new MetadataProvider();
await metadataProvider.init(apiJsonsRoot);
await metadataProvider.init(apiJsonsRoot, sapui5Version);

const semanticModel = metadataProvider.getModel();

Expand Down
4 changes: 2 additions & 2 deletions scripts/metadataProvider/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function getTypeNameFix(): TypeNameFix {
}

let model: UI5SemanticModel | null = null;
export async function createSemanticModel(apiJsonsRoot: string): Promise<UI5SemanticModel> {
export async function createSemanticModel(apiJsonsRoot: string, sapui5Version: string): Promise<UI5SemanticModel> {
if (model) {
return model;
}
Expand All @@ -71,7 +71,7 @@ export async function createSemanticModel(apiJsonsRoot: string): Promise<UI5Sema
console.error = () => {};
}
model = generate({
version: "1.120.9",
version: sapui5Version,
libraries: indexJson,
typeNameFix: getTypeNameFix(),
strict: false, // Throw instead of log errors
Expand Down

0 comments on commit bddd89f

Please sign in to comment.