@gooddata/code-cli 0.58.0-alpha.3 → 0.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Change Log - @gooddata/code-cli
2
2
 
3
- This log was last generated on Mon, 25 May 2026 11:03:40 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 14 Oct 2026 06:23:37 GMT and should not be manually modified.
4
+
5
+ ## 0.58.0
6
+
7
+ Wed, 14 Oct 2026 06:23:37 GMT
8
+
9
+ _Version update only_
4
10
 
5
11
  ## 0.32.0
6
12
 
package/dist/index.js CHANGED
@@ -37370,7 +37370,7 @@ function isPromise(value) {
37370
37370
  //#endregion
37371
37371
  //#region package.json
37372
37372
  var name$1 = "@gooddata/code-cli";
37373
- var version$1 = "0.58.0-alpha.3";
37373
+ var version$1 = "0.58.0";
37374
37374
  //#endregion
37375
37375
  //#region ../../../common/temp/aac/node_modules/.pnpm/vscode-languageserver@8.1.0/node_modules/vscode-languageserver/lib/common/utils/is.js
37376
37376
  var require_is$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -106498,7 +106498,7 @@ function linkDirectory(root, filepath, content) {
106498
106498
  errors.push(...res.errors ?? []);
106499
106499
  }
106500
106500
  });
106501
- const allErrors = [...errors.filter(Boolean)];
106501
+ const allErrors = errors.filter(Boolean);
106502
106502
  return {
106503
106503
  descriptor: createDirectoryDescriptor(root, start),
106504
106504
  added: addedNodes,
@@ -138186,7 +138186,7 @@ function declarativeFilterContextToYaml(dateFilterConfig, filterContext, errorCo
138186
138186
  function declarativeDateFilterToYaml(filter, errorContext) {
138187
138187
  const dateFilter = new import_dist.YAMLMap();
138188
138188
  dateFilter.add(new import_dist.Pair("type", "date_filter"));
138189
- const gran = parseGranularity(filter.dateFilter.granularity);
138189
+ const gran = parseGranularity(filter.dateFilter.granularity ?? "GDC.time.date");
138190
138190
  if (gran !== "DAY") dateFilter.add(new import_dist.Pair("granularity", gran));
138191
138191
  if (filter.dateFilter.dataSet) dateFilter.add(new import_dist.Pair("date", getIdentifier(filter.dateFilter.dataSet, true, updateErrorContext(errorContext, { path: ["date"] }))));
138192
138192
  if (isRelativeDashboardDateFilter(filter)) {
@@ -146736,7 +146736,7 @@ function resolveReferencesObjects(references, objects) {
146736
146736
  attributeAdded = true;
146737
146737
  }
146738
146738
  if (isAttribute$3(field)) {
146739
- const allLabels = { ...field.labels || {} };
146739
+ const allLabels = { ...field.labels };
146740
146740
  const defLabels = Object.keys(allLabels);
146741
146741
  let defaultAdded = false;
146742
146742
  if (defLabels.length === 0) {
@@ -160955,7 +160955,7 @@ function convertSchemaCompletionListToFileCompletionList(list) {
160955
160955
  cItem.sortText = item.sortText;
160956
160956
  cItem.filterText = item.filterText;
160957
160957
  cItem.data = {
160958
- ...item.data || {},
160958
+ ...item.data,
160959
160959
  isArray: item.tags?.includes(SchemaCompletionItemTag.Array) || false
160960
160960
  };
160961
160961
  cItem.insertText = {
@@ -160979,7 +160979,7 @@ function convertVscodeCompletionListToFileCompletionList(list) {
160979
160979
  cItem.sortText = item.sortText;
160980
160980
  cItem.filterText = item.filterText;
160981
160981
  cItem.data = {
160982
- ...item.data || {},
160982
+ ...item.data,
160983
160983
  isArray: item.data?.isArray ?? false
160984
160984
  };
160985
160985
  cItem.insertText = {
@@ -163750,7 +163750,7 @@ function performTextChanges(state, emitter, updatedFiles, updates) {
163750
163750
  if (isFileDescriptor(foundFile)) {
163751
163751
  const { textDocument, changes } = updates.updates[file];
163752
163752
  if (saveSync(state, emitter, file, Buffer.from(textDocument.getText()), {})) updatedFiles[file] = {
163753
- ...updatedFiles[file] || {},
163753
+ ...updatedFiles[file],
163754
163754
  changes
163755
163755
  };
163756
163756
  }
@@ -163767,7 +163767,7 @@ function performFileChanges(state, emitter, updatedFiles, updates) {
163767
163767
  if (rename) {
163768
163768
  const mode = getFileMode(foundFile);
163769
163769
  if (renameSync(state, emitter, rename.oldPath, rename.newPath, { mode })) updatedFiles[file] = {
163770
- ...updatedFiles[file] || {},
163770
+ ...updatedFiles[file],
163771
163771
  rename: rename.newPath
163772
163772
  };
163773
163773
  }
@@ -163811,7 +163811,7 @@ async function open(state, emitter, file) {
163811
163811
  //#endregion
163812
163812
  //#region ../code/package.json
163813
163813
  var name = "@gooddata/code";
163814
- var version = "0.58.0-alpha.3";
163814
+ var version = "0.58.0";
163815
163815
  //#endregion
163816
163816
  //#region ../../../sdk/libs/api-client-tiger/src/axios.ts
163817
163817
  /**
@@ -163833,7 +163833,7 @@ const _CONFIG = {
163833
163833
  common: {
163834
163834
  "X-Requested-With": "XMLHttpRequest",
163835
163835
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
163836
- "X-GDC-JS-PACKAGE-VERSION": "11.62.0-alpha.3"
163836
+ "X-GDC-JS-PACKAGE-VERSION": "11.62.0"
163837
163837
  },
163838
163838
  post: { "Content-Type": "application/json;charset=utf8" },
163839
163839
  put: { "Content-Type": "application/json;charset=utf8" }
@@ -197416,7 +197416,7 @@ const tigerLocationStyleClientFactory = (axios) => {
197416
197416
  * Low-level request that retrieves the default MapLibre style configuration.
197417
197417
  */
197418
197418
  async function LocationStyleApi_GetDefaultStyle(axios, params) {
197419
- const queryParams = { ...params?.language === void 0 ? {} : { language: params.language } };
197419
+ const queryParams = params?.language === void 0 ? {} : { language: params.language };
197420
197420
  return (await axios.get("/api/v1/location/style", { params: queryParams })).data;
197421
197421
  }
197422
197422
  /**
@@ -197429,7 +197429,7 @@ async function LocationStyleApi_GetStyles(axios) {
197429
197429
  * Low-level request that retrieves the MapLibre style for a specific style ID.
197430
197430
  */
197431
197431
  async function LocationStyleApi_GetStyleById(axios, styleId, params) {
197432
- const queryParams = { ...params?.language === void 0 ? {} : { language: params.language } };
197432
+ const queryParams = params?.language === void 0 ? {} : { language: params.language };
197433
197433
  return (await axios.get(`/api/v1/location/styles/${encodeURIComponent(styleId)}`, { params: queryParams })).data;
197434
197434
  }
197435
197435
  //#endregion
@@ -204395,7 +204395,7 @@ function updateDeclarativeLayout(currentWs, newWs) {
204395
204395
  ...currentWs,
204396
204396
  ldm: newWs.ldm,
204397
204397
  analytics: {
204398
- ...currentWs.analytics ?? {},
204398
+ ...currentWs.analytics,
204399
204399
  metrics: newWs.analytics?.metrics,
204400
204400
  ...newWs.analytics?.computedAttributes ? { computedAttributes: newWs.analytics?.computedAttributes } : {},
204401
204401
  ...newWs.analytics?.visualizationObjects ? { visualizationObjects: newWs.analytics?.visualizationObjects } : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/code-cli",
3
- "version": "0.58.0-alpha.3",
3
+ "version": "0.58.0",
4
4
  "description": "GoodData CLI",
5
5
  "keywords": [
6
6
  "analytics",